Skip to content

Your Partner Knows Your iPhone Passcode: What It Opens and What to Change

What a shared passcode unlocks, how to change and expire it, what Safety Check reviews, and how to give private photos a code of their own.

Get Stash

Quick answer

Change the passcode in Settings > Face ID & Passcode, then tap Expire Previous Passcode; otherwise the old one can reset the new one for 72 hours. Then run Safety Check and give private photos a separate code.

What it opens
Almost everything: Photos, the Hidden album, Recently Deleted, Notes, Messages and settings. Apple says a person who knows it can view and change information on the device.
Change it properly
Settings > Face ID & Passcode > Change Passcode, then Expire Previous Passcode (iOS 17 and later) so the old code stops working for a reset.
Check the rest
Settings > Privacy & Security > Safety Check reviews sharing, connected devices, Face ID, Touch ID and your Apple Account in one place (iOS 16 and later).
When to use a vault
When some photos and files should need a second code, so the phone's passcode alone no longer opens them.

Best overall: Stash

A new iPhone passcode closes the front door, but everything behind it still opens with that one code, including the Hidden album. Stash gives private photos and files a lock of their own: a working calculator that opens a vault only with a PIN you choose. Imported items are encrypted on the iPhone with AES-256 and stay outside the Photos library and iCloud Photos. Premium adds a guest PIN for a separate vault. Stash is free to download with no ads, so the calculator and the encrypted vault work from the first launch.

What your iPhone passcode opens

Sharing a passcode is common: someone set up the phone, saw it typed on the sofa, or was simply told it once. Years later the same digits still open the phone.

Apple is direct about what that means. Its Personal Safety User Guide asks for a passcode "that only you know" and explains that anyone who knows it can view and change information on the device and on the Apple Account connected to it (as of 2 December 2026). The passcode is also what turns on data protection, which encrypts the device so that "only someone who knows the passcode can access it." That encryption protects the phone against a stranger. It does nothing against a person who has the code.

In practice a known passcode reaches:

  • Photos, including the Hidden album and Recently Deleted. Apple's iPhone User Guide says both collections "are locked by default" and unlock with Face ID, Touch ID or your passcode (Delete or hide photos and videos). The passcode is one of the three keys.
  • Apps you locked or hid with Require Face ID. Apple's guide to locking or hiding apps says a locked app "requires Face ID, Touch ID, or your passcode to open," so the same code opens those too.
  • Messages, Mail, Notes and Files, and anything in apps that do not ask for their own sign-in.
  • Settings, where a person can change sharing, add a Face ID appearance or a fingerprint, or switch off the lock on the Hidden album.

The device passcode is not the same thing as your Apple Account password, which Apple uses for iCloud and the App Store. If the other person also knows that password, the steps further down matter even more.

How to change your iPhone passcode, and expire the old one

These steps follow the Personal Safety User Guide as of 2 December 2026 and apply to iOS 17 and later. On iOS 16 the first four steps are the same; the expiry option does not exist there.

  1. Open Settings and tap Face ID & Passcode. On an iPhone with a Home button, tap Touch ID & Passcode. Enter your current passcode.
  2. Tap Change Passcode and enter the current passcode again.
  3. Optional: tap Passcode Options and choose Custom Alphanumeric Code or Custom Numeric Code. A longer code is harder to read over a shoulder than six digits.
  4. Enter the new passcode twice.
  5. If the option Review Access appears, tap it. It shows settings that may still give ongoing access to your data.
  6. Back in Face ID & Passcode, tap Expire Previous Passcode.

Step 6 is the one most people miss. Since iOS 17, Apple keeps the old passcode usable for 72 hours after a change, so that a person who forgets the new code can reset it with the old one. That is a kind safety net if you forget. It is also a gap: for three days, anyone who knows the old code can use it to set a passcode of their own. Expiring it closes that window at once.

Choose a code unrelated to dates or numbers the other person knows: no birthday, anniversary or old code with one digit changed.

Run Safety Check to see what else is shared

A passcode is only one way in. Shared locations, shared albums, old devices on your account and a second Face ID appearance can all keep access open after the code changes. Safety Check reviews them in one place.

Apple's Safety Check guide lists the requirements as of 2 December 2026: an iPhone with iOS 16 or later and an Apple Account that uses two-factor authentication.

  1. Open Settings > Privacy & Security.
  2. Scroll down and tap Safety Check.
  3. Choose one of two paths:
    • Manage Sharing & Access lets you go person by person and app by app, and choose exactly what to stop. Changes are saved as you go.
    • Emergency Reset stops sharing with all people and apps at once, and walks you through connected devices, emergency contacts, verification phone numbers and your Apple Account password.
  4. Review Devices and remove any device you do not recognise or no longer use.
  5. Update your device passcode, Face ID or Touch ID when Safety Check offers it.

Every Safety Check screen has a Quick Exit button in the top-right corner. It closes Settings at once and returns to the Home Screen, and changes made so far are kept.

Safety Check has edges, and Apple names them. It does not check accounts and passwords outside Apple, social media sharing, devices signed in to a different Apple Account, or an iPad or Mac that shares through other apps. Screen Time restrictions or a management (MDM) profile can also limit what it is allowed to change.

Check Face ID, Touch ID and your Apple Account

Apple's Checklist 1: Limit device and account access adds the checks Safety Check does not cover by itself:

  • Look for an unexpected Face ID or Touch ID fingerprint. A second appearance or an extra fingerprint unlocks the phone without any passcode. Apple's Face ID page places Reset Face ID in Settings > Face ID & Passcode; after a reset, set Face ID up again with your own face only. For Touch ID, delete any fingerprint you did not add in Settings > Touch ID & Passcode.
  • Review devices on your Apple Account. Go to Settings > [your name] > Devices. Tap a device you do not recognise and choose Remove from Account.
  • Check trusted devices if you use two-factor authentication, and the account details on the Apple Account website.
  • Review installed apps for anything you do not remember installing, and look for an unknown configuration profile.
  • Check iPhone Mirroring, which can show your iPhone on a Mac.

If the other person may know your Apple Account password, change that too. It protects iCloud, which holds your photos, backups and messages on Apple's servers.

Who can open what, before and after the change

This table sums up the Apple pages linked above. "Old passcode" means someone who knows your passcode from before.

What Old passcode, before you change anything After a new passcode and Expire Previous Passcode After a new passcode, old one not expired
Unlock the iPhone Yes No No, but can reset the passcode for 72 hours
Hidden album and Recently Deleted Yes No Yes, after a reset
Apps locked with Require Face ID Yes No Yes, after a reset
A second Face ID appearance or fingerprint Unlocks the phone Still unlocks it until you remove it Still unlocks it
iCloud Photos at iCloud.com or on another device Depends on the Apple Account password, not the passcode Same Same
Copies already sent, saved or screenshotted Stay where they are Stay where they are Stay where they are
A vault app with its own PIN Only with that PIN Only with that PIN Only with that PIN

The pattern is simple. One code opens the phone and almost everything on it. Changing the code removes that access, as long as you also expire the old one, remove extra biometrics and check the Apple Account. What was already copied off the phone is outside any setting.

If changing the passcode could cause trouble

For most people the steps above are a quiet bit of housekeeping. For some, a sudden lockout is noticed and can make things worse. Apple's Personal Safety User Guide covers everything from small changes to cutting digital ties completely, and it is worth reading in full before you decide how far to go, and how quickly.

If you feel watched or unsafe, a safety plan comes before app settings. Talk to a local support service you trust, and use a device the other person has never had access to for anything you research. A vault app keeps files private; it cannot make a situation safe. This section is general information and not legal or safety advice.

When a new passcode is enough

For many people, a fresh code is all that is needed. It is enough when:

  • The other person only ever knew the passcode, not your Apple Account password.
  • You expired the previous passcode and removed any Face ID appearance or fingerprint that is not yours.
  • Safety Check shows no sharing and no device you did not expect.
  • Nothing on the phone needs more than one lock.

In that case the Hidden album works as intended: locked behind a code only you know.

When you need more than a new passcode

A new passcode is still a single key to the whole phone. Look at a second lock when:

  • You will share the code again. Families hand phones around, and partners often unlock each other's phones for a photo, a map or a call. Each time, the full phone is open.
  • You hand the phone over unlocked. Showing a photo, passing the phone to someone in the car or letting a child play a game puts everything one swipe away.
  • Some photos should not be in Photos at all. The Hidden album is still part of the Photos library and of iCloud Photos, and anyone who opens Utilities sees that it exists.
  • You want files, not just photos, behind a code. PDFs, documents and notes have no Hidden album.

In each case the answer is the same: put the few items that matter behind a code that is different from the phone's.

How to keep private photos behind a second code with Stash

Stash looks and works like a calculator. Typing your PIN and = opens the vault, where imported photos, videos and files are encrypted on the iPhone with AES-256 and the key is kept in the iOS Keychain. The vault PIN is separate from the iPhone passcode, so knowing one does not reveal the other.

  1. Install Stash from the App Store. It runs on iPhone and iPad with iOS 15 or later.
  2. Choose a vault PIN that is different from your new iPhone passcode, and write down the recovery key that Stash shows once during setup.
  3. Tap + and import the photos and files you want behind the second code. Stash copies them into the vault.
  4. Delete the originals in Photos, then open Utilities > Recently Deleted and delete them there too. Otherwise they stay in the library, and in iCloud Photos, for up to 30 days.
  5. Check Messages, Files and shared albums for other copies of the same items.
  6. Optional: turn on Face ID or Touch ID and auto-lock in Stash. Premium adds a guest PIN that opens a separate vault with only the items you put there, and opt-in intruder photos after a wrong PIN.

From then on, handing over an unlocked phone leaves a calculator on the Home Screen, and the private items sit behind a PIN that only you chose.

FAQ

Can someone see my hidden photos if they know my iPhone passcode?

Yes. Apple says the Hidden album and Recently Deleted unlock with Face ID, Touch ID or the passcode, so anyone who knows the passcode can open them. A new passcode, with the old one expired, ends that.

Does the old passcode still work after I change it?

On iOS 17 and later, it can be used to reset the passcode for 72 hours after the change. Tap Expire Previous Passcode in Settings > Face ID & Passcode to stop that at once.

Will my partner be told that I changed the passcode?

Apple documents no notification for a passcode change. The other person will notice when the old code no longer unlocks the phone.

Does Safety Check tell people that I stopped sharing?

Apple's Safety Check guide does not say that people are notified when you stop sharing. It does note that some apps may notify you when you start sharing again. The person may still notice that a shared location or album is gone.

What does Emergency Reset do?

It stops sharing with every person and app at once, and leads you through connected devices, emergency contacts, verification phone numbers and your Apple Account password. Manage Sharing & Access is the slower path, person by person.

Can someone unlock my iPhone with their own face?

Only if their appearance was added to Face ID. Apple's checklist advises looking for an unexpected Face ID or Touch ID fingerprint. Use Reset Face ID in Settings > Face ID & Passcode, then set it up again with your own face.

Is my iCloud safe if only the passcode was known?

The passcode unlocks the phone; iCloud.com and other devices need your Apple Account password. If that password may be known as well, change it and review Settings > [your name] > Devices.

Is a second lock on private photos a sign of distrust?

No. A separate code for private photos and files is ordinary privacy, the same as a password on a laptop or a lock on a filing cabinet. It also keeps those items private when the phone is passed to a child, a friend or a repair shop.

The Bottom Line

When a partner knows your iPhone passcode, they hold the key to almost everything on the phone, including the Hidden album, Recently Deleted and apps locked with Face ID. Changing the code is the first step, and on iOS 17 and later it is only half the step: tap Expire Previous Passcode, or the old code can reset the new one for 72 hours. Then run Safety Check, remove any Face ID appearance or fingerprint that is not yours, and check the devices on your Apple Account.

The table of who can open what shows where those steps end. A passcode remains one key to the whole phone, and copies already made stay where they are. For the photos and files that should need more than that one key, a vault with its own PIN adds the second lock.

·Written by the developer of Stash

Save this guide

Summary of this guide as an image: Your Partner Knows Your iPhone Passcode: What It Opens and What to ChangeDownload this guide as an image