Can you password-protect files on iPhone?
Short answer: not folder by folder. Apple’s Files app has no option to put a password on a folder or file. You can lock the whole Files app, password-protect Pages, Numbers and Keynote documents, or keep private documents in an encrypted vault app.
Last reviewed 2 December 2026.
People usually want this for a handful of documents: a passport scan, a contract, medical letters, bank statements. Here are the options on an iPhone, from the simplest to the most private.
1. Lock the Files app (iOS 18 and later)
Touch and hold the Files icon and choose Require Face ID (or Touch ID or Passcode). Files then asks for authentication every time it opens. It is quick and it covers everything in Files, but it is all or nothing, and the lock is your normal Face ID or passcode, so anyone who knows your passcode can still open it.
2. Password-protect Pages, Numbers or Keynote documents
Apple’s own apps can put a password on a single document. In Pages, open the document, tap the document options button, tap Set Password, fill in the password and a hint, then tap Done. Apple says adding a password encrypts the document, and that Face ID or Touch ID can open it on your device. Numbers and Keynote work the same way.
Two things to know. It only works for documents in those apps, not for PDFs, photos or other files. And Apple says there is no way to recover a forgotten document password, so keep it somewhere safe.
3. Keep documents in an encrypted vault
A vault app keeps files in its own encrypted storage, behind a credential that is not your phone passcode, and it works for any kind of document. This is the option to choose when you want one private place for PDFs, scans, photos and notes together.
In Cipher, you can:
- import PDFs and other documents from the Files app;
- scan paper documents into PDFs straight into a vault, so the scan is not left in your photo library;
- search the words inside PDFs, notes and text documents, on your iPhone, without the search being saved to disk;
- export a copy when you need to send or print a document. The exported copy is a normal file and is no longer protected by Cipher.
Each vault opens with its own pattern or passphrase, and has a 12-word recovery phrase in case you forget it. To move to a new iPhone, you save an encrypted backup file of the vault and restore it with the phrase (see backup and recovery).
Which to choose
| Option | Works for | Separate from your passcode? | If you forget the password |
|---|---|---|---|
| Lock the Files app | Everything in Files | No | Opens with your passcode |
| Pages, Numbers, Keynote password | Documents in those apps | Yes | Apple says it cannot be recovered |
| Encrypted vault (Cipher) | PDFs, scans, documents, photos, videos, notes | Yes | The vault’s recovery phrase sets a new one |
A note on what “encrypted” means on an iPhone
Your iPhone already encrypts its storage, and that protection is strong while the phone is locked. Every option above is about something narrower: who can open a particular file once the phone itself is unlocked. That is why the useful question is not “is it encrypted?” but “what opens it, and who knows that?”
Sources: Apple, Password-protect a Pages document on iPhone; Apple, Lock or hide an app.