Skip to Content

How to Passcode Lock an App on iPhone

by

Apple doesn't have an official method for individually locking sensitive apps like Photos with a passcode, but there is a workaround that was introduced with the Screen Time feature that first came out in iOS 12. This article explains how it's done, but if your device is running iOS 16.4 or later, you can use a new Lock Screen action to lock specific apps behind FaceTime or your iPhone's passcode, which is arguably the more secure method.

If you want to make sure one of your apps is inaccessible, you can use Apple's Screen Time App Limits feature to do so. Here's how:

  1. Open up the Settings app.
  2. Choose "Screen Time." app limits 1
  3. Make sure Screen Time is enabled and a Screen Time passcode is set by choosing the "Use Screen Time Passcode" option
  4. Tap on App Limits and Tap on the Add Limit option. app limits 2
  5. Choose the category that you want. If you want to lock the ‌Photos‌ app, it's in the "Creativity" category.
  6. Tap on the app that you've picked and then tap Next.
  7. At the slider where you select the time, choose 1 minute. app limits 3
  8. Tap on Add.
  9. Toggle on "Block at End of Limit."
  10. If you want to add additional apps, go through the "Add Limit" steps again. Otherwise, exit the Screen Time interface.
  11. When the time limit that you've set expires, you'll be told you've run out of time. You can continue to use the app for one minute, but after that, you'll need to enter your Screen Time passcode to continue to use the app.

    There is no way around the passcode, which prevents anyone who has access to your iPhone from opening up and using the app that's been passcode blocked.

    app limits 4

    How to Use a Locked App

    Once you have App Limits in place to lock apps you want to be inaccessible, you can tap on "Ask for More Time" to access the app. You'll need to put in your passcode, and then once you do, you can unlock it for 15 minutes, an hour, or the rest of the day. There's no way to immediately lock it again after approving it for 15 minutes without redoing the entire App Limit setup, so keep that in mind.

    app limits 5

    Limitations

    You can passcode lock any app on your phone except for the Phone app. There is no option to turn off access to the Phone app at all. For apps like Messages or FaceTime, you need to edit the "Always Allowed" section of Screen Time to remove them for the limit to be enabled.

    You can disable access to Messages and ‌FaceTime‌, but you might not want to. When access to Messages is disabled via App Limits, devices using iCloud for Screen Time are not able to send or receive messages during downtime. You're also not able to see notifications for apps that are locked, so keep that in mind when locking down social networking apps.

Top Rated Comments

drinkingtea Avatar
103 months ago
Nice. But Apple can simplify this process by giving us the ability to officially lock our apps.
Score: 18 Votes (Like | Disagree)
Doctor Q Avatar
103 months ago
Don't forget your Screen Time passcode, which is not the same as your Lock Screen passcode.

It's pretty hard to recover from a lost Screen Time passcode, so add it to your password manager. You DO have a password manager, right?
Score: 6 Votes (Like | Disagree)
sterlingindigo Avatar
103 months ago
Good, I’ll use this next time I go to apple store and the employees ask me to unlock my device before working on my phone.
Score: 4 Votes (Like | Disagree)
jsmith189 Avatar
103 months ago
I mean that makes sense, but we can play the what if game all day long with 58385 scenarios. Other than photos, I don't see why you would need apps protected?
Photos aside... not wanting people to be able to access your Messages. Not wanting people to have access to your dating apps. Not wanting people to be able to post from your social media pages. Not wanting people to mess with HomeKit stuff (lights, locks, alarms, garage doors etc). Not wanting people to go through your browsing history. Extra protection for banking apps (most/all of which already have a layer of security, but another layer would be more comforting). Having extra security on private things if your phone was stolen unlocked. There are countless ways this would be useful for people.

I understand a phone lock would solve a lot of these, but that's not always possible - especially in the case of children using their parents' phone/s throughout the day. This seems like such a simple task for them, I don't understand why they wouldn't just make it an option.
Score: 3 Votes (Like | Disagree)
Gudi Avatar
103 months ago
Doesn’t work for me. You still have to use every time limited app for at least one minute every day before it is locked for the rest of the day. After three days this gets super annoying.
Score: 2 Votes (Like | Disagree)
MadeTheSwitch Avatar
103 months ago
Just a heads up: if you lock the Photos app without locking the camera app, that is still a way to reach your photos.
Well that blows this whole workaround then. Having to go through all those steps and put in a passcode each time you wanted to take a photo would not only be annoying, but in a lot of cases would cause you to miss whatever you were trying to take a photo of. Memories lost forever because Apple couldn’t do things right and a stupid workaround had to be used.

I really don’t understand Apple sometimes. You would think many of the problems and issues we experience here would be also experienced internally by staff within Apple, but yet these issues never get addressed. I don’t understand that.

I mean that makes sense, but we can play the what if game all day long with 58385 scenarios. Other than photos, I don't see why you would need apps protected?
Message apps, like kik for instance, would be another use case scenario.
Score: 1 Votes (Like | Disagree)

Popular Stories

apple design award 2025

Apple Announces 2025 Design Award Winners Ahead of WWDC 2025

Tuesday June 3, 2025 10:14 am PDT by
As we wait for WWDC to kick off next Monday, Apple today announced the winners of its annual Apple Design Awards, recognizing apps and games for their innovation, ingenuity, and technical achievement. The 2025 Apple Design Award winners are listed below, with one app and one game selected per category: Delight and Fun - CapWords (App) and Balatro (Game) Innovation - Play (App) and PBJ -...
Apple 2026 Black Friday Event Hero

Apple's Official 2026 Black Friday Offer Starts Rolling Out

Thursday November 26, 2026 8:37 am PST by
Apple's annual four-day Black Friday through Cyber Monday shopping event is now live in Australia, New Zealand, and Thailand, and it will continue to roll out across Europe, the U.S., and Canada as the calendar turns to Friday, November 27 around the world. In the U.S., Apple's terms and conditions say the promotion begins on November 27 at 12 a.m. Pacific Time and ends on November 30 at...
Black Friday Deals 26 1

The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More

Thursday November 26, 2026 1:19 pm PST by
Black Friday is over, but there are still plenty of great leftover discounts to grab right now. This year we're tracking big sales on popular Apple products like AirPods, iPad, Apple Watch, and much more. Note: MacRumors is an affiliate partner with some of these vendors. When you click a link and make a purchase, we may receive a small payment, which helps us keep the site running....
Latest Stories
Apple Now Aims to Repair Rather Than Replace iPhone Duos With Cracked Screens
Apple Now Aims to Repair Rather Than Replace iPhone Duos With Cracked Screens
12 hours ago
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
Here Are the Best Apple Black Friday Leftover Deals You Can Get Today
21 hours ago
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
HomePod Mini 2 in (RED) Seemingly Spotted Ahead of Announcement
1 day ago
Apple's M6 and PROLED MacBook Pro Reach New Low Prices for Black Friday
Apple's M6 and PROLED MacBook Pro Reach New Low Prices for Black Friday
2 days ago
The MacRumors Show: iPhone Air 2 and iPhone 18 Are Coming
The MacRumors Show: iPhone Air 2 and iPhone 18 Are Coming
2 days ago
Apple Store in Brisbane Reopening Next Month With New Design
Apple Store in Brisbane Reopening Next Month With New Design
2 days ago
The 60+ Best Black Friday Accessory Deals on iPhone Chargers, TVs, Headphones, and More
The 60+ Best Black Friday Accessory Deals on iPhone Chargers, TVs, Headphones, and More
20 hours ago
GTA VI Now (Barely) Running on Apple Silicon Macs
GTA VI Now (Barely) Running on Apple Silicon Macs
2 days ago
The Best Black Friday Streaming Deals on Apple TV, Disney+, and More
The Best Black Friday Streaming Deals on Apple TV, Disney+, and More
2 days ago
Apple TV's 'Carême' Wins International Emmy for Best Drama
Apple TV's 'Carême' Wins International Emmy for Best Drama
2 days ago
iPhone 18 Production Delay Leaves Apple Little Time Before Launch
iPhone 18 Production Delay Leaves Apple Little Time Before Launch
2 days ago
The Best Black Friday AirPods Deals Still Available
The Best Black Friday AirPods Deals Still Available
2 days ago
The Best Black Friday Deals on Apple Home Products
The Best Black Friday Deals on Apple Home Products
2 days ago
The Best Black Friday iPhone Deals Still Available
The Best Black Friday iPhone Deals Still Available
2 days ago
The Best Black Friday iPad Deals Still Available
The Best Black Friday iPad Deals Still Available
2 days ago
The Best Black Friday Apple Watch Deals Still Available
The Best Black Friday Apple Watch Deals Still Available
2 days ago
The Best Black Friday AirTag Deals Still Available
The Best Black Friday AirTag Deals Still Available
2 days ago
The Best Black Friday Mac Deals Still Available
The Best Black Friday Mac Deals Still Available
2 days ago
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
iPhone Share of US Smartphone Market Hits 57% as Rivals Slip
2 days ago
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
iPhone 20 Pro Rumored to Feature 3D-Printed Titanium Frame
2 days ago
The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More
The 50+ Best Apple Black Friday Deals Still Available on AirPods, iPads, and More
12 hours ago
Apple's Official 2026 Black Friday Offer Starts Rolling Out
Apple's Official 2026 Black Friday Offer Starts Rolling Out
3 days ago
Halide Adds Fill Light Feature for iPhone Duo
Halide Adds Fill Light Feature for iPhone Duo
3 days ago
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
MacBook Air Black Friday Deals Now Live With Massive $399 Savings
3 days ago
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
Amazon Discounts All MacBook Neo Models by $99 for Black Friday
3 days ago
Kodak Launches Unique AirTag Rival With E-Ink Display
Kodak Launches Unique AirTag Rival With E-Ink Display
3 days ago
Here's Why the Apple Store is Going Down
Here's Why the Apple Store is Going Down
3 days ago
Apple Still Working on Giant Foldable iPad That Could Cost $5,000
Apple Still Working on Giant Foldable iPad That Could Cost $5,000
3 days ago
iPhones Dominate China's Weak Singles' Day Smartphone Sales
iPhones Dominate China's Weak Singles' Day Smartphone Sales
3 days ago
iPhone 20 Pro Could Feature Ceramic in Limited-Edition Model
iPhone 20 Pro Could Feature Ceramic in Limited-Edition Model
3 days ago