How to Lock the Files App on iPhone, and What the Lock Leaves Open
The Face ID lock for the Files app step by step, what it hides from search and Siri, and where the same files stay reachable without it.
Quick answer
Press and hold the Files icon, tap Require Face ID (or Touch ID or Passcode) and authenticate. The lock covers the Files app on that iPhone only; Apple says the setting does not sync with iCloud.
- How to lock it
- Home Screen > press and hold Files > Require Face ID. To undo it, choose Don't Require Face ID and authenticate.
- Hide it too?
- No. Apple's guide says apps that come installed on the iPhone cannot be hidden, so the Files icon stays in view.
- What stays open
- The same iCloud Drive files on a Mac, an iPad and iCloud.com, and anyone who knows the iPhone passcode.
- When to use a vault
- When the documents need a code that differs from the phone's passcode, or should not sit in iCloud Drive at all.
Best overall: Stash
The Files app lock adds a Face ID check when Files opens on one iPhone, but it opens with the phone's passcode and leaves iCloud Drive on other devices and iCloud.com as it was. Stash keeps PDFs, documents and audio behind a PIN of its own, inside a working calculator. Imported files are encrypted on the iPhone with AES-256 and kept inside the app. Stash is free to download with no ads, so the PIN and the encrypted vault are ready from the first launch, and a guest PIN and intruder photos come with Premium.
What the Files app lock is
Since iOS 18, any app on the Home Screen can ask for Face ID, Touch ID or the passcode before it opens, and that includes the Files app. Apple describes the feature on the iPhone User Guide page Lock or hide an app on iPhone, checked as of 2 December 2026 for iOS 27.
It is an app lock, not a file lock. It puts a check in front of one app on one iPhone. It does not add a password to a document, and it does not change where the document is stored. That difference decides what the lock is good for, and this page is about exactly that. For the other built-in ways to protect a document, such as locked notes and PDF passwords, see how to lock files on iPhone.
How to lock the Files app on iPhone
On iOS 18, iOS 26 or iOS 27:
- Go to the Home Screen and find Files. Apple's steps start from the Home Screen, so if Files lives only in the App Library, drag it onto a Home Screen page first.
- Press and hold the Files icon until the quick actions menu appears.
- Tap Require Face ID. On an iPhone with Touch ID it says Require Touch ID, and without biometrics it says Require Passcode.
- Authenticate to confirm.
From then on, tapping Files asks for Face ID first. Apple notes that a locked app locks again after you quit it, so switching away and back is not a way around the check.
How to unlock it again
- Press and hold the Files icon.
- Tap Don't Require Face ID (or Touch ID, or Passcode).
- Authenticate.
Turning the lock off needs the same check, so someone holding your unlocked phone cannot quietly switch it off without Face ID or the passcode.
Why there is no "Hide" option for Files
For apps from the App Store, the same menu offers Hide and Require Face ID, which moves the app into a locked Hidden folder at the bottom of the App Library. Apple lists three kinds of apps that cannot be hidden: apps that come installed on the iPhone, the app set as the default web browser, and the default app marketplace in the EU. Files comes with iOS, so it can be locked but its icon stays in view. A list of the apps you have hidden is in Settings > Apps > Hidden Apps.
What the lock hides inside iOS
Apple's guide says that information inside a locked app does not appear in CarPlay, notification previews, search, Siri suggestions or your call history. For Files, the practical effect is that document names and contents stop turning up when someone types in Search on the Home Screen, and Siri stops offering recent documents as suggestions.
Two more details from Apple:
- Children under 13 in a Family Sharing group cannot lock or hide apps. From 13 to 17 they can, and a parent can still see downloads and usage time and restrict the app with Screen Time.
- With Stolen Device Protection on, a locked app opens only with Face ID or Touch ID when the iPhone is away from familiar places such as home and work, with no passcode fallback (Use locked apps with Stolen Device Protection, published 11 June 2026). At home, the passcode still works. More in Stolen Device Protection on iPhone.
Where the same files stay open
This is the part most guides skip. Apple states on the same page that the locked or hidden status of an app applies only to that iPhone and does not sync with iCloud. The documents behind the Files app, though, usually do sync. Apple's page Add your Desktop and Documents files to iCloud Drive (published 14 September 2026) lists where iCloud Drive files can be opened: the Files app on iPhone and iPad, the Finder on a Mac, and iCloud Drive at iCloud.com.
| Where the document is reached | Does the iPhone's Files lock apply? | What protects it instead |
|---|---|---|
| Files app on the locked iPhone | Yes | Face ID, Touch ID or the iPhone passcode |
| Search and Siri suggestions on that iPhone | Yes, contents stay out | The same lock |
| Files app on your iPad | No, the lock does not sync | The iPad's own passcode, or a separate app lock there |
| Finder on a Mac with iCloud Drive on | No | The Mac's login password |
| iCloud Drive at iCloud.com | No | Your Apple Account password and two-factor code |
| Someone who knows the iPhone passcode | Yes, but the passcode opens it | Nothing extra |
| Another app that opens or saves documents | Not described by Apple | The other app's own lock, if any |
| iCloud servers | Not an app question | Standard data protection: Apple holds the keys; Advanced Data Protection: end-to-end |
The last row comes from Apple's iCloud data security overview (published 5 January 2026): under standard data protection, iCloud Drive is encrypted in transit and on the server with keys held by Apple, and with Advanced Data Protection it becomes end-to-end encrypted.
The "other app" row matters too. Apple describes the lock as a check when the Files app opens. Its page does not say the lock covers documents that other apps open, import or attach, so do not count on it for that.
Deleted files and Recently Deleted
A locked Files app still keeps a Recently Deleted location. Apple's page Delete files or recover deleted files in the Files app says deleted items from iCloud Drive or On My iPhone stay there for 30 days, under Browse > Locations > Recently Deleted. Apple's iCloud Drive page adds that a delete on one device deletes on every device signed in with the same Apple Account, and the item sits in Recently Deleted in Files or on iCloud.com for 30 days.
So when you move a document somewhere safer, deleting the original is only half the job. Open Recently Deleted and remove it there too, on the iPhone or at iCloud.com.
When the Files app lock is enough
The built-in lock is the right tool when:
- You hand your phone over now and then, and you only want Files to ask for Face ID before it opens.
- Nobody else knows your iPhone passcode.
- The documents are yours alone on your Apple Account, and it is fine that they also open on your iPad, your Mac and at iCloud.com.
- You want document names out of Search and Siri suggestions on the iPhone.
It costs nothing and takes ten seconds. Keep it on even if you also use something else.
When you need more than the Files app lock
The table shows where the lock stops. Look at a separate vault when:
- Someone else knows the passcode. The lock accepts the iPhone passcode, so a person who has it can open Files.
- The documents should not be in iCloud Drive. A lock on the iPhone does nothing for the same file in the Finder or at iCloud.com.
- You want a lock per document set, not per app. Apple's guide describes locks for whole apps; it lists no lock for one folder.
- The icon itself is a problem. Files cannot be hidden, so it is always on the phone, labelled Files.
How to lock files on iPhone with Stash
Stash opens as a calculator that really calculates; your PIN opens the vault. PDFs, documents and audio from the Files app, and photos and videos from the library, are encrypted on the iPhone with AES-256 before they are saved, and the key stays in the iOS Keychain.
- Install Stash from the App Store. It runs on iPhone and iPad with 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.
- In the vault, tap + and pick the documents from the Files app. Import makes a copy.
- Sort them into albums, and add private text as secure notes in the same vault.
- Delete the originals in Files, then remove them from Browse > Recently Deleted too, so no unprotected copy is left in iCloud Drive.
- Optional: turn on Face ID or Touch ID and auto-lock in Stash. Premium adds a guest PIN that opens a separate vault, and an encrypted backup to your own iCloud Drive or Google Drive that you start yourself.
Keep the Files app lock on as well; the vault is a second lock with its own code for the documents you choose.
FAQ
Can I lock just one folder in the Files app?
Apple's guide describes locks for whole apps and lists no lock for a single folder. A folder can only get its own code by moving its files into an app that has one.
Can I hide the Files app?
No. Apple says apps that come installed on the iPhone cannot be hidden. Files can be locked, but the icon stays visible.
Does locking Files lock my files on my Mac or iCloud.com?
No. Apple says a locked app's status applies to that iPhone only and does not sync with iCloud, while iCloud Drive files stay reachable in the Finder and at iCloud.com.
Does the lock work with my passcode, or only Face ID?
Both. The lock accepts Face ID, Touch ID or the passcode. With Stolen Device Protection on and the phone away from familiar places, only Face ID or Touch ID opens it.
Will locked files show up in Search?
No. Apple says information inside a locked app does not appear in search, Siri suggestions, notification previews, CarPlay or call history.
How do I remove the lock from Files?
Press and hold the Files icon, tap Don't Require Face ID and authenticate.
Does the lock encrypt my documents?
The lock is a check before the app opens. Encryption of iCloud Drive depends on your iCloud settings: Apple holds the keys under standard data protection, and Advanced Data Protection makes it end-to-end encrypted.
The Bottom Line
The Files app lock is one long press away and worth turning on: Files asks for Face ID, and its contents leave Search and Siri suggestions. But the lock stays on one iPhone. Apple says a locked app's status does not sync with iCloud, so the same iCloud Drive documents still open on your iPad, in the Finder on a Mac and at iCloud.com, and anyone who knows the iPhone passcode can open Files anyway. The table of where the same files stay open shows each gap.
For everyday documents, the lock plus a passcode only you know is fine. For files that need a code of their own, or should leave iCloud Drive, move them into a vault, delete the originals and clear Recently Deleted.
·Written by the developer of Stash
Save this guide
Download this guide as an image