What is a duress password, and do you need one?
A duress password (also called a duress PIN or panic code) is a second secret you give up when someone pressures you to unlock. Instead of your real data, it opens something harmless. Here's how it works, where it helps, where it doesn't, and how to set one up so it actually protects you.
Updated
Short answer. A duress password is a second unlock code that looks like it works but protects your real data instead of revealing it. In a photo vault it usually opens a decoy vault and quietly hides or removes the others. It's useful when someone can pressure you to unlock in person, such as a partner, a family member or a stranger who grabs your phone. It doesn't stop forensic analysis, someone who already knows your setup, or a person who saw you type the real code. Set it up only with a backup you can restore later, and practise it before you need it.
What "duress" means here
Most security assumes an attacker who doesn't know your password. Duress is the other case: the person in front of you can make you unlock. They might be someone you live with, someone checking your phone at a border or a party, or someone who simply won't give it back until you open an app.
In that moment, refusing can make things worse, and a normal lock gives you only two options: open everything or open nothing. A duress password adds a third option. You appear to comply, the app opens, and what the other person sees is ordinary and boring.
How a duress password usually works
The details vary by app, but the idea is the same everywhere:
- You set a normal password (or pattern) that opens your real data.
- You set a second, different duress password.
- When the duress password is entered, the app opens a harmless space, and in many designs it also hides, locks or removes the sensitive data from the device.
- Nothing on screen says a duress code was used. To the person watching, it looks like an ordinary unlock.
Some apps only show a decoy. Others also delete local data. The second type is stronger under pressure, but it only makes sense if the real data has a backup that the other person can't open, otherwise you lose it for good.
Duress password vs decoy vault vs disguised icon
These three features are often mixed up. They solve different problems:
| Feature | What it does | Protects against | Doesn't protect against |
|---|---|---|---|
| Disguised app icon | Makes the vault look like a calculator, notes or weather app | Someone scrolling your home screen | Anyone who opens the app or checks your storage and app list |
| Decoy (hidden) vaults | Each code opens its own separate vault, with no list of vaults | Being asked "show me what's in there" | Someone who asks for "the other vault" and keeps pushing |
| Duress password | Opens a harmless vault and removes or locks the rest on the device | Being forced to unlock, even repeatedly | Forensic tools, someone who knows the app, or cloud copies without encryption |
A disguised icon alone is the weakest of the three, because it hides the app, not its contents. We explain why in are calculator vault apps safe? The real protection always comes from encryption; duress and decoy features decide what you reveal when you can't say no.
When a duress password is worth it
- You share a home with someone who checks your phone. A partner or relative who insists on looking can be shown a vault of normal photos.
- You carry sensitive documents. Scans of IDs, medical papers or legal documents that would cause harm if someone forced you to open them. Our guide on storing passport and ID scans on iPhone covers where to keep them in the first place.
- You travel or attend events where phones get grabbed. Being able to "unlock" quickly can end a tense moment.
- You've been pressured before. If it has happened once, planning for the next time is reasonable, not paranoid.
If none of these apply, a strong, unique passcode and an encrypted vault are usually enough. A duress setup adds steps you have to remember, and a feature you forget about can surprise you at the wrong time.
The limits you should know
A duress password is a tool for a specific situation, not a promise. Be realistic about what it can't do:
- It can't fool everyone. Someone who knows the app, or who has seen you open the real vault, may keep asking. A duress code buys you a plausible answer, not immunity.
- It doesn't defeat forensic analysis. A person with time, tools and your device may find signs that other data existed, even if they can't read it.
- It doesn't help if you're watched. If someone saw you enter your real code, they can enter it too. Cover the screen when you unlock.
- It doesn't protect unencrypted copies. If the same photos sit in your camera roll, a shared album or an unencrypted backup, the duress code doesn't touch them. Delete the originals after moving them; our guide on permanently deleting photos from iPhone walks through Recently Deleted and iCloud.
- Removing data has a cost. If the duress action deletes vaults from the device and you have no backup, they're gone.
How to set up a duress password well
- Make sure the real data has a backup. Confirm your backup is working and that you hold whatever you need to restore it, such as a recovery phrase, stored somewhere the other person can't reach.
- Fill the decoy with believable content. An empty vault looks suspicious. Add everyday photos: food, screenshots, a pet, receipts. If you add real photos, strip their location first with our free metadata remover.
- Choose a duress code you can enter under stress. Make it different from the real one but just as easy for you to remember. Panic makes complicated codes hard to recall.
- Practise once. Try it while nothing is at stake, then restore your real data from backup. You'll know exactly what happens and how long recovery takes.
- Keep the real vault out of sight elsewhere. Check that notifications, widgets, recent files and the camera roll don't reveal what's inside the real vault. Our guide to locking and hiding apps on iPhone covers the places apps tend to show up.
How the duress pattern works in Hushkeeper
Hushkeeper, which makes this site, is built around the same ideas. Every pattern opens its own vault, and the unlock screen never lists them, not even how many there are. With Pro, you can set a duress pattern: it opens one vault as usual and removes every other vault from the device.
The removed vaults aren't lost. Their encrypted iCloud backups stay in your iCloud and can be restored later with each vault's recovery phrase. Because files are encrypted on the device with AES-256-GCM before they're backed up, the copy in iCloud is ciphertext that only your recovery phrase can open. That's why step 1 above matters so much: keep your recovery phrases written down and stored away from the phone.
Hushkeeper is also open about its limits. It can't protect you from someone watching you draw your pattern, and if you lose both your pattern and your recovery phrase, nobody can recover the files, not even us. Hushkeeper is coming soon to the App Store.
Quick checklist
- Real data is encrypted and backed up, and you know how to restore it.
- Recovery phrase or backup key is stored away from the phone.
- Decoy vault holds believable, location-free everyday photos.
- Originals are deleted from Photos and Recently Deleted.
- You've practised the duress code once and restored afterwards.
Free tools for this
See and remove photo metadata
See what a photo reveals — GPS location, camera, date, AI and Content Credentials markers — and download a clean copy without re-encoding the image.
Blur faces and redact photos
Hide faces, names, card numbers and addresses in photos and screenshots with a solid box, pixelation or blur.
Keep reading
Are calculator vault apps safe?
Calculator vault apps hide photos behind a fake calculator. A disguise isn't the same as encryption. Here's what to check before trusting any photo vault app with private files.
How to hide photos on iPhone
Four ways to hide photos on iPhone — the Hidden album, locked Notes, turning the Hidden album off, and an encrypted vault — and what each one actually protects against.
How to lock and hide apps on iPhone (and what it doesn't hide)
Lock any iPhone app with Face ID or hide it in the Hidden folder. Step-by-step instructions, the places hidden apps still show up, and the passcode gap.
Where to store passport and ID scans on your iPhone
Photos, Files, a locked note, Apple Wallet or an encrypted vault: where a passport or ID scan on your iPhone is actually protected, and where it isn't.