Hide photos · Guide

How to Password-Protect a Folder on iPhone: 5 Real Ways

iOS 27 cannot lock a folder in Files. Five things on iPhone do take a password — a PDF, a Pages file, a note, an app, a vault — with Apple's steps and limits.

iPhone Updated Nov 7, 2026
The short answer You cannot password-protect a folder on iPhone: the Files app in iOS 27 has no lock, hide or password option for folders, and neither does iCloud Drive. What iOS does let you password-protect is the things inside a folder, or the app around it. A PDF takes a password in the Preview app (iOS 26 or later); a Pages, Numbers or Keynote document takes one from its More menu; a note takes its own password in Notes with Create Password; photos go into the Hidden album; and the whole Files app can be locked with Require Face ID. All of those except a custom Notes password fall back to your iPhone passcode. The only true password-protected folder — photos, videos, documents and contacts together behind a code that is not your passcode — is a folder inside an encrypted vault app such as TuckVault.

Every guide to password-protecting a folder on iPhone opens with the same bad news — the Files app cannot do it — and then lists the same three workarounds. This one does the workarounds properly: the five things on iOS 27 that genuinely take a password, with Apple’s current menu wording, which of them use a password that is not your iPhone passcode, and who can still open each one.

Steps checked on iOS 27 in November 2026 against Apple’s support pages; menus may differ on older versions.

What can take a password on iPhone, and whether it is your passcode in disguise
Takes a password?Different from the iPhone passcode?Holds a whole folder?
Folder in Files / iCloud DriveNoNoYes
PDF in PreviewYesYesNo
Pages, Numbers, Keynote fileYesYesNo
Note in NotesYesPartlyNo
Hidden album (Photos)PartlyNoPartly
Files app (Require Face ID)PartlyNoYes
TuckVault folderYesYesYes
Partly on Notes means yes with Create Password and no with Use Device Passcode; on the Hidden album and a locked app the lock is Face ID, with your passcode as the fallback.

In this guide: why Files has no folder password · PDFs · Pages, Numbers and Keynote · notes · photos · lock the Files app · vault folder · comparison · mistakes

Why iOS has no password-protected folder

The Files app cannot lock, hide or password-protect a folder, and nothing in iOS 27 changes that. Apple’s Files guide covers creating folders, favourites and tags, and stops there; a folder in iCloud Drive is readable on every device signed in with your Apple Account; and Apple’s iCloud sharing guide offers only People you choose or Anyone with the Link for a shared folder, never a password. Apple’s own answer is to lock the contents file by file, or to lock the app. Those are the five methods below, and the sixth is the folder iOS cannot give you.

1. Password-protect a PDF in Preview

Since iOS 26 a PDF is the one kind of file an iPhone can password-protect on its own, through the Preview app that now opens PDFs from Files.

  1. Open the PDF — tapping it in Files opens it in Preview on iOS 26 and later.
  2. Tap the document’s name at the top of the screen to open its menu.
  3. Tap Lock, turn on the password requirement and enter the password twice.
  4. The file stays where it was in Files; opening it now asks for the password.

Apple’s iPhone User Guide has a page for this, Lock PDFs in Preview, which describes locking a PDF “with a password to prevent others from editing or deleting your work”. The password is set per file, so a folder of ten PDFs needs ten locks.

What this protects: the contents of that PDF from anyone who does not know its password, including someone who knows your iPhone passcode.

What it does not: the file name and thumbnail, which stay visible in Files, and anything that is not a PDF. Lose the password and the PDF is lost with it.

2. Password-protect a Pages, Numbers or Keynote document

A Pages, Numbers or Keynote document can carry its own password, and Apple says adding one encrypts the file — which makes this the strongest built-in lock for a document, as long as the document is in one of those three formats.

  1. Open the document, then tap the More button (•••).
  2. In Pages, tap Document Options → Set Password; in Keynote, tap Presentation Options → Set Password; in Numbers, tap Set Password directly.
  3. Enter the password, a verification and an optional hint, then tap Done.
  4. To change or remove it later, return to the same menu and tap Change Password, or turn off Require Password.

Apple’s Pages guide adds two details worth knowing: “adding a password to a document encrypts the file”, and “there’s no way to recover your password if you forget it”. You can let Face ID or Touch ID open protected documents from Settings → Face ID & Passcode → Other Apps, which is convenient but brings back the passcode fallback.

What this protects: the document’s contents from a passcode holder, if you do not enable Face ID for it.

What it does not: PDFs, images, videos, Word files or anything else in the folder — convert a Word document to Pages first if you want this lock.

3. Lock a note with its own password

A locked note is the built-in lock most people should use for text and a few photos, because it is the one place in iOS where you can choose a password that is not your iPhone passcode.

  1. Open Settings → Apps → Notes → Password.
  2. Choose Create Password for a separate password. (Use Device Passcode is quicker but reuses the code the person you are hiding from may already know.)
  3. Open the note, tap More (•••), then tap Lock.
  4. Tap View Note to open it with Face ID, Touch ID or the password; it relocks when the iPhone sleeps or you leave Notes.

Apple’s locked-notes page lists what cannot be locked: notes you share with someone else, notes with tags, notes that contain PDFs, audio, video or Keynote, Pages and Numbers documents, and notes synced through Gmail, Yahoo or other IMAP accounts. The same page is blunt about recovery: “Apple can’t help you regain access to your locked notes”. There is no way to lock a Notes folder; every note is locked on its own.

What this protects: the text and photos in the note from a passcode holder, with Create Password.

What it does not: the note’s title, which stays readable in the list, and anything that is a PDF or a video.

4. Put photos in the Hidden album

For photos and videos the Hidden album is the folder iOS does provide, and on every iPhone since iOS 16 it is locked by default.

  1. Open Photos, tap and hold the photo or video, then tap Hide and confirm.
  2. To find it later, tap Collections, scroll to Utilities and tap Hidden; Face ID or Touch ID opens it.
  3. To remove the album from that list as well, open Settings → Apps → Photos and turn off Show Hidden Album.

Apple’s hide-photos page notes that the Hidden album “is locked by default and requires authentication to unlock”, that hidden photos “remain in your library”, and that with iCloud Photos “the photos that you hide on one device are hidden on your other devices too”. The password-protect-photos guide goes deeper on the photo side.

What this protects: the photos from a casual scroll through the library.

What it does not: the photos from anyone who knows your passcode, because Face ID falls back to it and Show Hidden Album can be switched back on; and the originals still sit in iCloud Photos and on every signed-in Mac and iPad.

5. Lock the whole Files app with Face ID

If what you want is a lock on all your folders at once, the closest iOS 18 and later get is locking the Files app itself.

  1. Touch and hold the Files icon on the Home Screen or in the App Library.
  2. Tap Require Face ID (it reads Touch ID or Passcode on other models), authenticate, then tap Require Face ID again.
  3. Files now asks for Face ID every time it opens. To undo it, touch and hold the icon and tap Don’t Require Face ID.

Apple’s locked and hidden apps page explains that a locked app’s information also stays out of search, Siri suggestions and notifications, and lists the apps that cannot be locked — Calculator, Camera, Clock, Contacts, Find My, Maps, Shortcuts and Settings. Files is not on that list. Apple’s Stolen Device Protection page adds that with that feature on and the iPhone away from familiar locations, locked apps open only with Face ID or Touch ID, with no passcode fallback.

What this protects: every folder in Files from a stranger, and from a nosy friend, in one step.

What it does not: the same folders from anyone who knows your passcode at home or work, and the files themselves, which other apps can still open through the share sheet and the Files picker.

6. A vault folder: the only real password-protected folder

A folder inside an encrypted vault app is the only option on this list that is a folder, takes a password that is not your iPhone passcode, and holds photos, videos, documents and contacts together.

TuckVault's vault home with the AES-256 Encrypted card, four named folders and the Security & Backup screen. Each folder in the vault is password-protected by the vault’s own PIN or pattern; the folder names are encrypted with the files.

In TuckVault you set a PIN or pattern that is nothing like your passcode, plus a recovery text in case you forget it, then create a folder and add photos, videos, PDFs, scans or contacts to it. The files are encrypted with AES-256 on the device, the key stays in the iPhone Keychain, nothing is sent to TuckVault’s servers, and an encrypted iCloud Backup is available but off until you turn it on. Then delete the originals from Files or Photos and empty Recently Deleted; the move-to-vault guide walks through that half, and the document vault page covers the file types.

What this protects: everything in the folder from a passcode holder, from iCloud Drive and from the Files picker, because the copies are encrypted and the originals are gone.

What it does not: an original you forgot to delete. TuckVault has no decoy vault, no break-in alerts and no Face ID unlock, and a forgotten PIN or pattern is reset only with your recovery text — TuckVault cannot reset it for you.

Which lock is really a password

Only three of the six locks take a password that is not your iPhone passcode — a PDF or iWork password, a note with Create Password, and a vault — and only the vault applies it to a folder rather than to one file at a time.

MethodProtectsPassword separate from your passcode?Per file or per folder?Who can still get in
Folder in Files or iCloud DriveNothing——Anyone holding the unlocked iPhone; every signed-in device
PDF in Preview (iOS 26+)One PDFYesPer fileNobody without the PDF password; file name stays visible
Pages / Numbers / Keynote passwordOne documentYesPer fileNobody without it (unless Face ID is enabled for the app)
Locked noteText, photosYes with Create PasswordPer notePasscode holders, if you chose Use Device Passcode
Hidden albumPhotos, videosNoOne albumAnyone who knows the passcode; iCloud Photos on other devices
Files app with Require Face IDAll foldersNoWhole appAnyone who knows the passcode
TuckVault folderPhotos, videos, documents, contactsYesPer folderNobody without the vault PIN or pattern

Read the “separate from your passcode” column first. If the person you are worried about does not know your passcode, locking the Files app and hiding your photos is enough. If they do, choose a row that says yes.

Common mistakes

  • Making a folder in Files and assuming Require Face ID on the app locks it from everyone. It locks it from everyone except a passcode holder, and the files are still reachable from other apps’ Files pickers.
  • Locking notes with Use Device Passcode when the passcode is the problem. Choose Create Password in Settings → Apps → Notes → Password.
  • Expecting a Notes folder to lock. Apple locks notes one at a time; a folder of twenty notes needs twenty locks.
  • Password-protecting one PDF and leaving the Word and image files beside it open. Only PDFs and iWork documents take a password; everything else needs the Hidden album or a vault.
  • Hiding photos and forgetting iCloud. Apple’s page says hidden photos stay in your library and are hidden, not removed, on your other devices.
  • Moving files into a vault and leaving the originals. Delete them from Files or Photos, then from Recently Deleted.

If the folder you want to protect is a mix — some photos, a scanned passport, a PDF, a few contacts — no built-in lock covers it, and five separate locks are five things to forget. Download this secure vault for free, set a PIN or pattern that is not your passcode, make the folder there and move the originals out.

Download this secure vault for free

TuckVault keeps your private photos, videos, documents and contacts behind a PIN or pattern with AES-256 encryption on your device — and cleans up duplicates, large videos and messy contacts on the same phone. Free on iPhone and Android.

Frequently asked questions

Can you lock a folder on iPhone?

Not in the Files app. iOS 27 has no option to lock, hide or password-protect a folder in Files or iCloud Drive, and Apple's Files guide documents only creating, tagging and organising folders. You can lock the Files app itself (touch and hold its icon → Require Face ID), lock individual PDFs and iWork documents with a password, lock notes, or use a vault app whose folders sit behind their own PIN or pattern.

How do I password protect a folder on my iPhone?

Pick the lock by what is in the folder. For PDFs, open each in Preview and use Lock; for Pages, Numbers or Keynote files, use Set Password in the document's More menu; for text and a few photos, lock a note with Create Password; for photos and videos, use the Hidden album. For one folder that holds all of those behind a password that is not your passcode, put it in a vault app such as TuckVault.

Is there a Secure Folder for iPhone like Samsung?

No. Samsung's Secure Folder is a separate encrypted space for apps and files with its own lock, and iOS has no equivalent. The closest built-in pieces are the Hidden album for photos, the Hidden folder for apps, locked notes and per-file passwords on PDFs and iWork documents. A vault app such as TuckVault is the iPhone equivalent for photos, videos, documents and contacts: one encrypted space, its own PIN or pattern, nothing sent to a server.

Can I lock the Files app on iPhone?

Yes, since iOS 18. Touch and hold the Files icon, tap Require Face ID (Touch ID or Passcode on other models), authenticate, then tap Require Face ID again. Apple's guide says a locked app's contents also stay out of search and Siri suggestions. The limit is that Face ID falls back to your iPhone passcode, so anyone who knows the passcode can still open Files and every folder in it.

How do I lock iCloud folders on iPhone?

You cannot put a password on an iCloud Drive folder. Apple's iCloud guide offers two access options for a shared folder, People you choose and Anyone with the Link, with Edit or View and Download Only permissions, and no password. Every device signed in with your Apple Account can open your iCloud Drive folders. To keep documents behind a separate code, move them into an encrypted document vault on the device.

Can you lock a folder in Notes on iPhone?

No, only individual notes. Apple's locked-notes page describes locking one note at a time with the More button → Lock, after you set a password under Settings → Apps → Notes → Password. Shared notes, notes with tags, and notes containing PDFs, audio, video or iWork documents cannot be locked, and Apple cannot recover a forgotten Notes password, so choose Create Password only if you will remember it.

Free on iPhone and Android

Download this secure vault for free

QR code that opens TuckVault in your phone's app store
Scan with your phone's camera. It opens the App Store on iPhone and Google Play on Android.

Or open the store page:

TuckVault was formerly CleanUp Buddy: same app, same store listing.