How to Lock Files and Folders on iPhone When No Folder Has a Password
Every kind of folder on iPhone, which ones iOS can lock, how to lock files with Face ID, Notes, zip and PDF, and when a vault fits better.
Quick answer
No folder on iPhone takes a password of its own. Since iOS 18 you can lock the whole Files app with Face ID, Touch ID or the passcode, lock a note with its own password, or move the files into a vault.
- One folder
- No setting in Files puts a password on one folder. The app lock in iOS 18 and later covers every folder at once.
- Own password
- A locked note can use a password separate from the passcode, but it refuses PDFs, audio and video.
- Other devices
- Apple says an app's locked status does not sync with iCloud, so the same iCloud Drive folder stays open on a Mac.
- When to use a vault
- When one set of files needs a code that differs from the phone's passcode, with PDFs and videos included.
Best overall: Stash
iOS locks apps, not folders: the Files app lock covers every folder at once and opens with the phone's own passcode. Stash works like a folder with its own code. Photos, videos, PDFs, documents and audio go into albums inside a vault that opens as a working calculator, behind a PIN you choose. Each item is encrypted on the iPhone with AES-256, with the key in the iOS Keychain. Stash is free to download with no ads, so the vault and its albums are ready from the first launch.
What counts as a folder on iPhone, and which ones lock
"Folder" means four different things on an iPhone, and each one has its own rules. The table sums up what iOS offers for each, based on the Apple pages linked further down, as of 2 December 2026.
| Kind of folder | Where it is | Can it be locked? | What opens it |
|---|---|---|---|
| A folder in the Files app | Files > iCloud Drive or On My iPhone | Only by locking the whole Files app (iOS 18 and later) | Face ID, Touch ID or the iPhone passcode |
| A folder in Notes | Notes sidebar | Apple documents a lock for single notes, not folders | A note's lock: the passcode or a separate Notes password |
| An album in Photos | Photos > Collections | Apple documents a lock for the Hidden and Recently Deleted albums only | Face ID, Touch ID or the passcode |
| The Hidden folder in App Library | Bottom of the App Library | Yes, always | Face ID, Touch ID or the passcode |
| An app folder on the Home Screen | Home Screen | Single apps inside it can be locked | Face ID, Touch ID or the passcode |
Read the last column first. Every folder lock that iOS offers, apart from a locked note with its own password, opens with the same passcode as the phone. That matters if anyone else knows it.
The Hidden folder in the App Library is the one folder that always asks for authentication. Apple's page Lock or hide an app on iPhone says, as of 2 December 2026, that a hidden app moves to a Hidden folder in App Library that requires authentication to open. It holds apps, though, not files.
How to lock the Files app on iPhone
This is the closest thing to a locked folder for documents, and it covers every folder in Files at once. The steps are from Apple's lock-or-hide page and apply to iOS 18 and later, including iOS 26 and iOS 27.
- Find Files on the Home Screen or in the App Library.
- Touch and hold the icon until the Quick Actions menu opens.
- Tap Require Face ID (or Require Touch ID or Require Passcode, depending on the iPhone).
- Authenticate to confirm.
From now on, Files asks before it opens. Apple adds three points:
- It locks again by itself. Opening a locked app does not unlock it for good; it locks again after you quit it.
- Its content stays out of other places. Information inside a locked app does not appear in notification previews, search or CarPlay, among others.
- The lock lives on one iPhone. Apple says the locked status of an app is set only on that iPhone and does not sync with iCloud.
Files cannot be hidden, only locked. Apple states that apps that come installed cannot be hidden; only apps downloaded separately from the App Store can. The full walk-through of the Files app lock is in lock the Files app on iPhone.
How to lock files in a note
Notes is the one built-in app that can put a password of its own on content. You cannot lock a Notes folder, but you can collect a folder's worth of photos and scans in one note and lock that. Apple's article How to lock or unlock notes on your iPhone or iPad, published 11 December 2025, gives the rules, checked as of 2 December 2026.
- Open Notes and make a note in iCloud or On My iPhone.
- Add photos with the camera button, or scan paper with Scan Documents.
- Tap the More button, then Lock.
- The first time, pick the iPhone passcode or a separate password for Notes.
What a locked note cannot hold decides whether this works for you. Apple says you cannot lock notes that have tags, PDFs, audio, video, or Keynote, Pages or Numbers documents. Shared notes and notes synced over IMAP accounts cannot be locked either.
Two upsides: Apple says both password options keep locked notes end-to-end encrypted for iCloud accounts. And with a separate password, the note does not open with the phone's passcode. The flip side is just as firm: Apple has no access to locked notes and cannot help if you forget that password.
Zip files and PDFs: a password per file, made elsewhere
A third route protects the files instead of the folder. Two formats can carry a password, and the iPhone adds it to neither.
Zip archives. The Files app can pack a folder's files into a zip. Apple's article Create or open ZIP files on your iPhone, iPad, or Apple Vision Pro, published 29 October 2026, gives the steps: open Files, tap More, tap Select, choose the files, tap More again and tap Compress. The steps include no password and no encryption option, so the zip opens with a tap for anyone who has it. A password has to be added on a computer or with another app; password-protected photo zip on iPhone covers that route.
PDFs. A single PDF can ask for a password before it opens. On a Mac, Apple's Preview guide Password-protect a PDF in Preview on Mac describes it as of 2 December 2026:
- Open the PDF in Preview and choose File > Export. Give the copy a new name to keep the original.
- Click Permissions and select Require Password To Open Document, then set the password.
- Enter and confirm an Owner Password.
- Click Apply, then Save.
Then move the protected copy to the iPhone and delete the open original. Both formats protect one file at a time, and both stop protecting once someone with the password saves an open copy. For the iPhone side of PDFs, see password protect a PDF on iPhone.
Shortcuts and Screen Time: friction, not a lock
Two workarounds come up in many guides. Both are worth knowing about, and neither is a lock on a folder.
- A shortcut that asks for a password before opening Files. The Shortcuts app can ask for text and compare it with a stored word. The files themselves stay where they were, open in the Files app, in search results and on other devices. Anyone who opens Files directly skips the shortcut.
- Screen Time limits on the Files app. Screen Time is built to limit how long apps are used. It can put a pause in front of an app, but it is a time tool, and the app lock in iOS 18 and later does the job it was being bent to do.
On iOS 18 and later, the app lock above replaces both.
Who can open a locked folder on iPhone
This table compares the options by who gets through, based on the Apple pages linked on this page, as of 2 December 2026.
| Method | Someone with your unlocked phone | Someone who knows your passcode | Your Mac or iCloud.com | PDFs, audio, video |
|---|---|---|---|---|
| Files app locked with Face ID | Blocked | Gets in | Open; the lock does not sync | Yes, all locked |
| Locked note, passcode option | Blocked | Gets in | Stays locked, end-to-end encrypted in iCloud | Refused by Notes |
| Locked note, separate password | Blocked | Blocked | Stays locked, end-to-end encrypted in iCloud | Refused by Notes |
| Zip from the Files app | Opens it | Opens it | Opens it | No password at all |
| PDF with a Preview password | Blocked | Blocked | Blocked | PDF only |
| Vault app with its own PIN | Blocked | Blocked | Not in iCloud Drive | Yes |
The pattern: the options that cover every file type use the phone's passcode, and the options with their own password cover only some types. A vault app is the row that does both.
iCloud Drive: the same folder on other devices
A folder in Files > iCloud Drive is not only on the iPhone. Apple's Add your Desktop and Documents files to iCloud Drive, published 14 September 2026, describes reaching iCloud Drive from the Files app, from the Finder on a Mac and at iCloud.com. Since Apple says an app's locked status does not sync with iCloud, a Files app locked on the iPhone leaves the same folders open on a Mac that is signed in and at iCloud.com for anyone with the account password.
Encryption on Apple's servers is a separate question. Apple's iCloud data security overview, published 5 January 2026, lists iCloud Drive under standard data protection as encrypted in transit and on the server, with the keys held by Apple. With Advanced Data Protection, available from iOS 16.2, iCloud Drive is end-to-end encrypted with the keys on your trusted devices.
Folders under On My iPhone are stored on the phone rather than in iCloud Drive, which makes them the better place for private files if you lock the Files app.
Password protection and encryption are not the same thing
A password on a folder decides who may open it in an app. Encryption changes the data itself, so that without the key it is unreadable anywhere, even if the file is copied off the device.
The Files app lock is the first kind: it stands in front of the app, and the files behind it are stored as before. A locked note, a protected PDF and a vault app that encrypts each item are closer to the second kind.
Does iPhone have a Secure Folder like Samsung?
Is there a secure folder on iPhone? No. Samsung's Secure Folder is a separate, locked area with its own apps and files. iOS has the pieces described above instead: a locked Files app, locked notes and the locked Hidden album for photos, each with its own rules. Apple's documentation, as of 2 December 2026, describes no feature with that name for iPhone. How the pieces compare to Samsung's version is in secure folder on iPhone.
When the built-in options are enough
For many people one of them is the right answer:
- Nobody else knows your passcode, and you only want Files to ask for Face ID when the phone is in someone else's hands. The app lock is free and quick.
- The files are photos, screenshots or scanned paper. A locked note with a separate password holds them well.
- It is one document you send now and then. A password-protected PDF keeps its lock wherever it goes.
When you need more than the built-in options
The table shows where each one stops. Look at a vault app when:
- Someone else knows your passcode. The Files app lock opens with it.
- The folder mixes PDFs, videos and photos. A locked note refuses PDFs, audio and video.
- You want several separate folders, for example one for documents and one for photos, each behind the same private code.
- The files should not sit in iCloud Drive on a shared Mac or at iCloud.com.
How to password protect a folder on iPhone with Stash
Stash looks and works like a calculator. Your PIN opens a vault, and inside it you sort items into albums, which work like private folders. Photos and videos from the library, and PDFs, documents and audio from the Files app, are encrypted on the iPhone with AES-256 before they are saved, with the key kept in the iOS Keychain.
- Install Stash on your iPhone or iPad. It runs on iOS 15 or later.
- Choose a PIN that differs from your iPhone passcode, and write down the recovery key that Stash shows once during setup.
- Create an album for each folder you want to protect.
- Open the album, tap +, and import the files from the Files app or the photos from your library. Import makes a copy.
- Check the copies, then delete the originals in Files and in Photos, and empty Recently Deleted in Photos.
- Optional: add private text as secure notes, and turn on Face ID or Touch ID and auto-lock. Premium adds a guest PIN that opens a separate vault.
Someone who opens the app sees a calculator that really calculates. Keep a strong iPhone passcode as well; the vault is a second lock for the folders you choose.
FAQ
Can you password protect a folder on iPhone?
Not one folder on its own. Since iOS 18 you can lock the whole Files app with Face ID, Touch ID or the passcode, which covers every folder in it at once.
How do I lock files on iPhone?
Touch and hold the Files app and tap Require Face ID. For a password that differs from the passcode, use a locked note for photos and scans, or a vault app for every file type.
Does locking the Files app lock iCloud Drive on my Mac?
No. Apple says the locked status of an app does not sync with iCloud, so the same iCloud Drive folders stay open on a signed-in Mac and at iCloud.com.
Can I password protect a zip file on iPhone?
Not with the Files app. Apple's steps for Compress include no password option. A password has to be added on a computer or with another app.
Can I lock a folder in the Notes app?
Apple documents locking single notes, not folders. Put the content into one note and lock it; PDFs, audio and video cannot be in a locked note.
What happens if I forget my Notes password?
Apple says it cannot help you open notes locked with a forgotten Notes password. Resetting the password applies only to notes you lock afterwards.
The Bottom Line
The iPhone has no password for a single folder. The Files app locks all or none: since iOS 18, Require Face ID puts every folder in Files behind the phone's own Face ID, Touch ID or passcode, on that iPhone only. A locked note can have a separate password but refuses PDFs, audio and video; a zip from Files has no password at all; a PDF can carry one, made on a Mac.
The table of who can open what shows the trade-off: the options that cover every file type open with the passcode, and the options with their own password cover only some types. For a folder that needs its own code and holds any kind of file, use a vault with albums, delete the originals, and keep a strong iPhone passcode on top.
·Written by the developer of Stash
Save this guide
Download this guide as an image