When someone goes through your phone

A friend wants to see one photo and keeps swiping. A parent or partner knows your passcode and uses it. Or the person going through your phone is someone you are afraid of. These are three different problems, and the fix for the first two can make the third one worse. Work out which one you are in before you change anything.

Short answer

If you are handing the phone over for a minute, lock it to one app first: Guided Access on an iPhone, app pinning on Android. If someone knows your passcode, the iPhone Hidden album and Google Photos Locked Folder will not help, because both open with that same passcode; you need a second lock, which means Samsung Secure Folder, Android 15 Private Space, or a vault app with its own code, and ideally a new passcode. If the person going through your phone controls you or frightens you, stop: specialists at NNEDV and Refuge warn that changing settings can alert the person and escalate things, and they recommend getting advice from a safer device first.

On this page

First, which situation is this?

Most pages about hiding photos treat every reader the same. That is a mistake, because the same action is good advice for one person and dangerous for another. Be honest with yourself about which of these describes you.

Someone borrows the phone
A friend, a child, a colleague. They have it for minutes, you are in the room, and the worry is a swipe too far. The phone has a feature for exactly this, and the rest of this page is overkill.
Someone knows your passcode
A partner, a parent, a sibling, a flatmate. They open the phone when you are not looking, and anything the passcode opens is open to them. The fix is a second lock the passcode does not open, and, where you can, a passcode they do not know.
Someone controls you
They demand the phone, demand the code, react badly when something is hidden, or seem to know things they should not. This is technology-facilitated abuse, and both NNEDV in the US and Refuge in the UK say the same thing about it: making changes will often alert the other person and can make them more abusive. Skip to the section near the end before you do anything on this phone.

Sources: NNEDV Safety Net: Survivors' Guide to Phones, Refuge Tech Safety: Secure my phone guide

Handing the phone over for a minute

Both platforms can pin the screen to one app, so the person holding the phone cannot leave it without your code. This is the whole answer for the first situation, and almost nobody uses it.

iPhone: Guided Access
Settings, Accessibility, Guided Access, turn it on and set a Guided Access passcode. Then open the app you want to show, triple-click the side button, and tap Start. Apple's page says the device is restricted to that single app until you triple-click again and enter the Guided Access passcode, Face ID or Touch ID. You can also circle areas of the screen that should ignore touches. Apple notes that emergency calls are not available during a session.
Android: app pinning
Settings, Security, then Advanced or More security settings, App pinning, turn it on and leave "Ask for PIN before unpinning" on. Then open Overview, tap the app's icon at the top of its card, and tap Pin. Google's page: with the screen pinned, your friend can use only that app, and unpinning asks for your PIN, pattern or password. The exact menu varies by maker.
Android: a guest user
For longer loans, Settings, System, Multiple users, lets you add a guest with a separate space, as Google describes. Your apps and files are not there. The person can switch back to your user from the lock screen, so your own lock has to hold.

Sources: Apple Support: Use Guided Access on iPhone or iPad, Android Help: Pin and unpin screens, Android Help: Delete, switch or add users

Why a hidden album does nothing against someone who knows your passcode

The first thing most people do is move the photos into the Hidden album on an iPhone or Locked Folder in Google Photos. Against this person, that changes nothing. Apple's page says the Hidden album unlocks with Face ID or Touch ID, and the fallback when that fails is the device passcode. Google's page says Locked Folder opens with your device screen lock and cannot be given a different one. Someone who knows your passcode knows the code to both, and both are the first places they will look.

Apple does let you turn off Show Hidden Album in Settings, Apps, Photos, so the album disappears from the Photos app. That hides the door. It does not change the key.

The same logic applies to locking individual apps on iOS 18 and later. Apple's guide says a locked app opens with Face ID, Touch ID or your passcode, so it keeps out someone who picks up an unlocked phone, and nobody who knows the code. Locking Photos this way is still worth doing against the first kind of person on this page.

Sources: Apple Support: Hide photos with the Hidden album, iPhone User Guide: Lock or hide an app, Google Photos Help: Locked Folder

What does work: a second lock

A second lock means a code that is not your screen lock and does not fall back to it. There are three kinds on a phone, and which one you have depends on the phone.

Samsung Secure Folder
Built into Galaxy phones. Samsung describes it as a separate, encrypted space with its own lock type, and the apps and files inside do not appear in the normal gallery or app drawer. Choose a lock that is different from your screen lock, and do not add the same fingerprint to both.
Android 15 Private Space
On Pixels and some other Android 15 phones. Google's page: a separate space for apps whose data is isolated, with the option to set a separate lock rather than reusing the screen lock. When locked, its apps are hidden from the launcher, recents, the photo picker and Settings. Google is candid about the limits: someone who can connect the phone to a computer can tell it exists, and Settings shows a Reset private space entry whether or not you have one, which is deliberate.
A vault app with its own code
Works on any phone, including iPhones, which have no equivalent of Secure Folder. The photos are encrypted inside the app behind a code of its own. The next section is about ours, and is marked as such. Whatever vault you pick, read our guide to whether vault apps are safe first, because the category includes apps whose lock is only a screen.

Every second lock has the same weakness: it can be seen. A Secure Folder icon, a Private Space, a vault app on the home screen all tell someone who knows you that there is something behind them. For a parent or a flatmate that is usually fine. For someone who will demand the code, it is the problem the last section is about.

Sources: Samsung: What is the Secure Folder and how can I use it, Android Help: Hide sensitive apps with private space

Where a vault app fits, including ours

We make AlterVault, so weigh this section accordingly. It is built for the second situation on this page: a code that is not your screen lock, and nothing that falls back to it. Each photo is encrypted with XChaCha20-Poly1305, the key is derived from your six-digit code with Argon2id, and the code is never stored, so there is no email reset, no account and nothing of yours on a server of ours.

For the moment when someone is standing next to you and asks what the app is, a shake of the phone opens an ordinary-looking gallery instead of your real one, without typing a second code while they watch. The free version holds 10 items, which is enough to test the idea before trusting it.

A gallery of private photosThe same gallery after a shake, holding ordinary photos

What it does not do: it does not hide that the app exists, it does not hide photos you left in your camera roll, and against someone who can make you type the code, the decoy only works if they do not already know you have a vault. The code is six digits with no password option. The source is not published and there is no outside audit, so the cipher is our word in the same way other vendors' claims are theirs. The app sends anonymous usage events and a purchase check, never your photos, file names or code.

Change the passcode, and limit what a passcode can do

If the person knows your passcode because you told them, the simplest fix is a new one they do not know, and biometrics only for you. Where that is not realistic, the phones have a few settings that limit what a known passcode can do.

iPhone: Stolen Device Protection
Apple added this in iOS 17.3 for thieves who learn a passcode, and it applies just as well to anyone else who knows it. When on, viewing saved passwords, using saved cards and opening locked apps require Face ID or Touch ID with no passcode fallback when the phone is away from familiar locations, and changing the Apple Account password or security settings also needs an hour's delay. Settings, Face ID & Passcode, Stolen Device Protection. Choose Always under Require Security Delay if the person is in your home, since home is a familiar location.
A longer code
Google's help says a six-digit PIN is recommended over four and a password is the most secure option; Apple's iPhone passcode can be alphanumeric. A code someone has watched you type a hundred times is not secret, however long. Change it where they cannot see.
Notifications on the lock screen
Previews of messages and photo notifications show without unlocking. Both platforms let you hide previews until the phone is unlocked, in Settings, Notifications.

Sources: Apple Support: About Stolen Device Protection for iPhone, Android Help: Set screen lock on an Android device

The copies a phone lock does not cover

Securing the phone in your hand does not secure the account behind it. NNEDV's guide makes the point that someone with access to your Google or Apple account, or to the phone company account, may not need the phone at all.

Your cloud library in a browser
iCloud Photos at icloud.com and Google Photos at photos.google.com show everything with your account password. If the person knows it or shares the account, hiding photos on the phone changes nothing. Change the password, turn on two-factor authentication, and check the list of signed-in devices, which Refuge's iPhone and Android guides walk through step by step.
Shared albums and Family Sharing
An album you share, or a family group you are in, can expose location and purchases as well as photos. Refuge's guides cover leaving both.
Chat apps
WhatsApp, Telegram, Instagram and Snapchat keep their own copies of sent and received photos and open without a separate lock on most phones. Several now offer an app lock or locked chats of their own; turn those on.
Recently Deleted
Deleting a photo moves it to a folder that keeps it for 30 days on an iPhone and in Google Photos. Empty it.
The other screens signed in as you
A tablet, a laptop, an old phone. Anything signed into your account shows your photos. Refuge's first step on both platforms is to review the devices on the account and remove the ones you do not recognise or no longer use.

Sources: NNEDV Safety Net: Survivors' Guide to Phones, Refuge Tech Safety: Secure my iPhone, Refuge Tech Safety: Secure my Android phone

If the person going through your phone controls you

Everything above assumes you can change a setting without consequences. If you cannot, read this section and not the rest. We are an app company, not a support service, so this is what the specialists say, with links to the people who do this work.

NNEDV's Safety Net project writes: "Making changes will often alert the other person. They might force you to unlock your phone or share your passwords. They might become more abusive. Making changes might also erase evidence." Refuge says the same: "some actions you take to increase your security or privacy might alert an abuser, and they might escalate their abusive behaviour." Both recommend using a safer device first, one the person has never had access to, such as a friend's phone or a library computer, to look up information and to make contact.

NNEDV also notes that most monitoring requires physical access to the phone, that stalkerware can be installed in minutes by someone who has it, and that if you suspect stalkerware, anything you do on that phone, including searching for it, can be seen. Documenting what is happening before changing anything, and talking to an advocate about a safety plan, are the steps they put first.

United States
NNEDV's hotline page lists the National Domestic Violence Hotline and other services, by phone, text and chat.
United Kingdom
Refuge's National Domestic Abuse Helpline, free, 24 hours: 0808 2000 247. In an emergency, 999.
Elsewhere
Search from a safer device for your country's domestic abuse helpline, or ask a doctor, who will know.

No app, including ours, is the answer in this situation. A vault a controlling partner knows about is a demand waiting to happen, and a vault they discover is worse. The specialists above are the right first call.

Sources: NNEDV Safety Net: Survivors' Guide to Phones, NNEDV Safety Net: Stalkerware, Phone Surveillance and Safety for Survivors, NNEDV Safety Net: Hotline services, Refuge Tech Safety: Secure my phone guide

Questions

How do I hide photos from someone who knows my passcode?

Not with the Hidden album or Locked Folder, which both open with that passcode. You need a lock the passcode does not open: Samsung Secure Folder, Android 15 Private Space with its own lock, or a vault app with its own code. And change the passcode if you can.

How do I let someone use my phone without them seeing my photos?

Lock the phone to one app before handing it over. On an iPhone, turn on Guided Access in Accessibility settings, open the app, and triple-click the side button. On Android, turn on app pinning in Security settings, open Overview, tap the app's icon and tap Pin. Leaving the app then asks for your code.

Is the iPhone Hidden album really hidden?

It is hidden from the library and other albums, and since iOS 16 it needs Face ID, Touch ID or your passcode to open, according to Apple. You can also stop it appearing in Photos at all. It is not hidden from anyone who knows your passcode, and it is the first place they look.

Can someone see my photos if they know my Apple or Google password?

Yes, from any browser, if your library is backed up to iCloud Photos or Google Photos. Hiding photos on the phone does not change this. Change the account password, turn on two-factor authentication and review the signed-in devices.

What is Stolen Device Protection and does it help with a partner who knows my passcode?

An iPhone setting from iOS 17.3 that requires Face ID or Touch ID, with no passcode fallback, for things like saved passwords and locked apps when the phone is away from familiar places, and adds an hour's delay to account changes. Set Require Security Delay to Always if the person lives with you, since home counts as familiar.

Does a photo vault app hide that it exists?

No. The app is visible on the phone, and anyone who knows you have it can ask you to open it. A decoy gallery helps when the person does not know there is a real vault behind it, and not otherwise. Private Space on Android 15 is the closest thing to invisible, and Google notes it can still be detected from a connected computer.

My partner checks my phone and gets angry when anything is locked. What should I do?

Stop before changing anything on that phone. NNEDV and Refuge both say changes can alert the person and escalate the abuse. Use a device they have never had access to, and contact a helpline: NNEDV's hotline page in the US, or Refuge's National Domestic Abuse Helpline on 0808 2000 247 in the UK. An advocate can help you plan what is safe to change and when.

How can I tell if someone has put spyware on my phone?

NNEDV says the most common sign is the other person knowing too much, and that the phone itself may show little. Battery drain, the phone turning itself off and on, and data spikes are possible signs. A factory reset usually removes stalkerware, but restoring from a backup can put it back. If you suspect it, do not search for it on that phone; get advice from a safer device.

A code your passcode does not open

No account. Your photos stay on your phone.