How to Passcode Lock an App on iPhone - MacRumors
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
98 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
98 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
98 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
98 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
98 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
98 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 2026 Back to School Graphic

Apple's 2026 Back to School Offer Just Went Live in Select Countries

Wednesday July 15, 2026 11:48 am PDT by
Apple's annual Back to School promotion is now live in select countries in Asia, including China, India, Malaysia, the Philippines, Singapore, Taiwan, Thailand, and Vietnam. The offer provides college students and educational staff with a free item with the purchase of an eligible Mac or iPad model. The exact offer varies by country, with options including a pack of four AirTags, AirPods 4,...
iphone 17 cyber

Apple Closes Unlocked iPhone Loophole for T-Mobile and Verizon Financing

Wednesday July 15, 2026 3:20 pm PDT by
Carrier-financed iPhones purchased from Apple will soon be locked to the carrier, ending a workaround customers used to purchase an unlocked iPhone on a payment plan. Until the rule change, buying an iPhone from Apple and opting for financing through Verizon or T-Mobile meant you would get an iPhone not locked to either carrier's network. That's no longer the case, and now iPhones financed...
apple back to school sans airpods 2

Apple's 2026 Back to School Offer is Coming Soon

Sunday July 12, 2026 7:29 am PDT by
Apple's stores will be rolling out Back to School marketing materials this week, according to Bloomberg's Mark Gurman. This suggests that the offer will begin in the U.S. in the next few days. Last year, college students and educational staff could receive a free accessory like AirPods 4 or an Apple Pencil Pro with the purchase of a qualifying Mac or iPad model. The Back to School offer is in...