How to lock apps with a passcode on iPhone

Complete guide with multiple methods and troubleshooting

7-10 min read
Expert Verified
Last Updated: August 2025

Quick Answer

To lock apps with a passcode on an iPhone, you can use the built-in Screen Time feature, which allows you to set restrictions on app usage. This feature is available on iOS 12 and later, enabling users to secure their apps effectively.

Easy7-10 min read

Prerequisites & Requirements

Before you start locking apps with a passcode on your iPhone, ensure you meet the following requirements:
  • An iPhone running iOS 12 or later.
  • Access to the device's Settings app.
  • A valid Apple ID for additional features if needed.
  • Backup important data in case of any issues during the process.

Method 1: Locking Apps Using Screen Time

This is the primary method to lock apps on your iPhone using the Screen Time feature. Use this method to restrict access to specific apps effectively.
  • Step 1: Open the Settings app on your iPhone by tapping the gear icon.
  • Step 2: Scroll down and tap on 'Screen Time'. If you haven't set it up, tap 'Turn On Screen Time' and follow the prompts.
  • Step 3: Tap on 'App Limits'.
  • Step 4: Tap 'Add Limit'. Here, you can select specific app categories or individual apps.
  • Step 5: After selecting the apps, tap 'Next'. Set the time limit to 1 minute to effectively lock the app.
  • Step 6: Tap 'Add' in the top right corner. You will be prompted to set a Screen Time passcode.
  • Step 7: Enter a 4-digit passcode that will be required to access the apps you've restricted.
  • Step 8: To verify it worked, try to open the locked app; it should prompt you for the passcode.
  • Step 9: If it doesn't work, ensure you have set the passcode correctly and that the app is included in the limit.

For iOS 15 and Later

In iOS 15 and later, the Screen Time interface may have slight changes.
  • Step 1: Open Settings and tap on 'Screen Time'.
  • Step 2: Tap 'Use Screen Time Passcode' if you haven't set it up yet.
  • Step 3: Follow the same steps as above to set app limits.

For iOS 14 and Earlier

The process is similar, but the layout may differ slightly.
  • Step 1: Open Settings and tap on 'General'.
  • Step 2: Scroll down to 'Restrictions' and enable it.
  • Step 3: Set a passcode and select the apps to restrict.

Method 2: Using Third-Party Apps

If you prefer additional features or customization options, consider using third-party apps designed for app locking.
  • Step 1: Download a reputable app locker from the App Store, such as 'AppLock' or 'LockMyApps'.
  • Step 2: Open the app and follow the setup instructions, which typically involve creating a passcode.
  • Step 3: Select the apps you want to lock within the third-party app.
  • Step 4: Verify the lock by attempting to open the locked app; it should prompt for the passcode.

Troubleshooting Common Issues

If you encounter issues while trying to lock apps, consider the following solutions:
  • Error: 'Screen Time Passcode Not Working' - Solution: Ensure you are entering the correct passcode. If forgotten, you may need to reset your device or use recovery options.
  • Issue: 'App Not Locking' - Fix: Double-check that the app is included in the App Limits and that the limit is set to 1 minute.
  • Problem: 'Third-Party App Not Functioning' - Workaround: Ensure the app has the necessary permissions and is updated to the latest version.

Advanced Tips & Shortcuts

Enhance your app locking experience with these tips:
  • Shortcut: Use 'Settings > Screen Time' to quickly access app limits.
  • Hidden feature: Enable 'Always Allowed' apps to prevent them from being locked, ensuring essential apps remain accessible.
  • Pro tip: Regularly update your iOS to ensure compatibility with third-party app lockers.

Common Mistakes to Avoid

Avoid these common pitfalls:

Expert Tips

Using Screen Time is the most secure method for locking apps on iPhone, as it is built into iOS and regularly updated for security.