Skip to content

How to Password Protect a PDF on iPhone With Preview

Lock a PDF in Preview step by step, keep or remove the password, what a locked PDF still shows, and when a vault suits many files.

Get Stash

Quick answer

Open the PDF in the Preview app, tap the Actions Menu button next to the filename, tap Lock, enter the password twice and tap Done. It works in iOS 26 and iOS 27 with no extra app.

Where
The Preview app, built into iOS 26 and iOS 27. Open the PDF, tap the Actions Menu button, then Lock.
Keep a copy
Tap Duplicate first if you want an unlocked copy. The lock applies to the file you have open.
What stays visible
The file's name, size and place in Files. The password protects the pages, one file at a time.
When to use a vault
When many documents need one lock, the file names should not show, or photos and notes belong with them.

Best overall: Stash

A PDF password locks the pages of one file, but each document needs its own password, the file name still shows in Files, and a forgotten password leaves the pages shut. Stash keeps PDFs, documents, photos and notes together in one vault that opens as a working calculator, behind a PIN of its own. Every file is encrypted on the iPhone with AES-256, and a recovery key shown at setup restores access if the PIN is forgotten. Stash is free to download with no ads, so the calculator, the PIN and the encrypted vault are ready from the first launch.

Preview on iPhone can lock a PDF

For years, putting a password on a PDF meant a Mac or a third-party app. That changed with Preview on iPhone. Apple's iPhone User Guide describes Preview in its iOS 26 and iOS 27 editions as an app to "fill out and sign PDF forms, scan documents, and make changes to PDF documents and images" (Get started with Preview on iPhone, checked on 2 December 2026). One of those changes is a lock: a password the PDF asks for before it shows its pages.

The steps below follow Apple's page Lock PDFs in Preview on iPhone, checked for iOS 27 on 2 December 2026. The same page is in the iOS 26 edition of the guide. On iOS 18 and earlier there is no Preview app on iPhone; use a Mac (steps further down) or a vault app.

How to password protect a PDF on iPhone

  1. Open the Preview app.
  2. Find the PDF under Recents, Shared or Browse. To choose a place, tap Browse, tap the Back button, then tap an option under Locations. Tap the file to open it.
  3. To keep a copy without a password, tap the Actions Menu button next to the filename and tap Duplicate first. Then open the copy you want to lock.
  4. Tap the Actions Menu button next to the filename, then tap Lock.
  5. Enter the same password in the Password and Verify fields. The Require Password switch turns on by itself.
  6. Tap Done. To back out without locking, tap Close instead.

The next time anyone opens that PDF, in Preview or another PDF reader, it asks for the password before it shows a page.

Scan a paper document straight into a locked PDF

Preview can also scan. On the Preview start screen tap Scan Documents, capture each page, and Preview combines the pages into one PDF. Save it, then lock it with the steps above. That is the shortest way from a paper ID, contract or letter to a password-protected file on the iPhone. A guide to scanning IDs in particular is in how to scan ID documents on iPhone.

How to password protect a PDF on a Mac

On a Mac, Preview has more options, including an owner password that controls printing and editing. Apple's Preview User Guide, Password-protect a PDF in Preview on Mac (macOS 27, checked on 2 December 2026):

  1. Open the PDF in Preview and choose File > Export. Give the copy a new name if you want to keep the original without a password.
  2. Click Permissions and select Require Password To Open Document. Enter and verify the password.
  3. Under the permission checkboxes, leave a box unselected to require the owner password for that action, such as printing or copying.
  4. Enter and verify an Owner Password. It can match the open password or differ from it.
  5. Click Apply, then Save. Apple notes the changes take effect the next time the PDF is opened.

To change or remove the password later on the Mac, open the PDF and choose File > Edit Permissions, deselect Require Password To Open Document or change the owner password, and click Apply. You need the owner password to do that.

The finished file can go to the iPhone through iCloud Drive or AirDrop and keeps its password there.

What a PDF password protects, and what it does not

A PDF password is attached to the file, not to a folder or an app. That brings strengths and limits. This table sums them up; the iCloud row comes from Apple's iCloud data security overview (published 5 January 2026, checked 2 December 2026).

Question Password-protected PDF Vault app with its own PIN
What is locked The pages of one PDF Every file and note inside the vault
One password for many files No, each file is locked on its own Yes, one PIN for all
File name and size Visible in Files, in Recents and to anyone you send it to Inside the vault, behind the PIN
Copies made before locking Stay unlocked (the duplicate, the original download, email attachments) Stash imports a copy; delete the originals afterwards
Other file types PDFs only Stash holds PDFs, documents, audio, photos, videos and secure notes
Someone who knows the password Can open the file anywhere, also after you send it Needs the vault PIN on your iPhone
Forgotten password Apple's guides describe no recovery Stash shows a recovery key once at setup
In iCloud Drive Synced as a file; iCloud Drive is encrypted on the server with keys held by Apple, end-to-end only with Advanced Data Protection Stays in the app unless you start a backup
Cost Free in iOS 26 and iOS 27 Varies; Stash is free to download

The PDF password travels with the file, which makes it the right tool for sending a document by email or message: the recipient needs the password, which you can share through another channel. For keeping documents on your own iPhone, the table shows its gaps: names show, every file needs its own password, and a vault covers many file types with one code.

Common mistakes that leave a copy open

Locking the PDF is the easy part. These are the places where an unlocked copy tends to stay behind:

  • The duplicate. If you tapped Duplicate in step 3, the duplicate has no password. Keep it somewhere locked, or delete it.
  • The original download. A PDF that came by email or from a website is still in the Mail attachment, the Downloads folder or the Messages thread.
  • Recently Deleted in Files. Deleted files wait in Recently Deleted in the Files app before they are gone. Empty it once you have the locked copy.
  • A weak or reused password. A PDF password that matches the iPhone passcode or a common word adds little.
  • Forgetting the password. Apple's iPhone and Mac guides describe locking and changing a PDF password, not recovering a lost one. Store the password where you will find it.

Lock the Files app as well

A PDF password protects one file. To put a check in front of all files at once, lock the Files app itself. On iOS 18 and later, touch and hold the Files icon, tap Require Face ID (or Touch ID or Passcode) and confirm, per Apple's page Lock or hide an app on iPhone (checked on 2 December 2026). That lock uses the phone's own Face ID or passcode, so anyone who knows the passcode can open Files. Apple's Personal Safety guide adds that the lock applies only to that device and does not sync with iCloud, and that built-in apps from iOS 18 or later cannot be hidden. More options are in how to lock files on iPhone.

When a PDF password is enough

A password on the PDF is the right choice when:

  • You are sending one document, such as a tax form or a contract, and want it protected in transit and in the recipient's inbox.
  • You keep only a few sensitive PDFs and can remember a strong password for each.
  • File names are neutral, so the list in Files says nothing.
  • Everything you need to protect is a PDF.

When you need more than a PDF password

A vault makes more sense when:

  • Many documents need protecting. IDs, statements, medical letters and contracts each need their own password otherwise.
  • The file names themselves are private. "Passport scan" or "Lab results" in Files says enough.
  • Documents come with photos, audio or notes. A PDF password covers PDFs only.
  • Someone else knows your passcode. A locked Files app opens for them; a separate vault PIN does not.
  • You want a recovery path. Check that the vault offers one before moving files in.

How to keep PDFs in a vault with Stash

Stash looks and works like a calculator. The PIN you choose opens the vault, where every imported file is encrypted on the iPhone with AES-256 and the key stays in the iOS Keychain.

  1. Install Stash on an iPhone or iPad with iOS 15 or later.
  2. Open it, choose a PIN and write down the recovery key that Stash shows once during setup.
  3. In the vault, tap + and import the PDFs from Files. Stash copies them in; you can sort them into albums with related photos, documents and audio.
  4. Add a secure note for anything that goes with the documents, such as reference numbers.
  5. Delete the originals in Files, then empty Recently Deleted in Files. Remove copies in Mail or Messages too.
  6. Optional: turn on Face ID or Touch ID and auto-lock. 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.

A locked PDF can go into the vault too: you then need the PIN to reach it and the PDF password to read it.

FAQ

Can I password protect a PDF on iPhone without another app?

Yes, on iOS 26 and iOS 27. Open the PDF in the built-in Preview app, tap the Actions Menu button, tap Lock, enter the password twice and tap Done.

Why can't I find Preview on my iPhone?

Preview on iPhone is part of iOS 26 and later. On iOS 18 and earlier, lock the PDF on a Mac with Preview, or keep it in a vault app.

How do I remove a password from a PDF?

On a Mac, open the PDF in Preview, choose File > Edit Permissions, deselect Require Password To Open Document and click Apply. Apple's iPhone guide covers locking only, so the simplest route on iPhone is to keep an unlocked duplicate in a safe place.

What happens if I forget a PDF password?

Apple's guides describe no way to recover it. Without the password the pages stay closed, so store it in a safe place.

Is a password-protected PDF safe in iCloud Drive?

The pages stay locked by the password. The file name and size are visible, and anyone who has the file and the password can open it.

Can I lock a PDF in the Notes app?

No. Apple says notes with PDFs cannot be locked. Lock the PDF itself in Preview, or keep it in a vault.

Can I password protect a folder on iPhone?

The Files app has no folder password. You can lock the whole Files app with Face ID, Touch ID or the passcode on iOS 18 and later, or keep the files in a vault app with its own PIN.

The Bottom Line

Since iOS 26, password protecting a PDF on iPhone needs no extra app: open the file in Preview, tap Lock, enter the password twice and tap Done. Duplicate it first if you want an unlocked copy, and remember that the copy you leave behind is the most common gap.

The table above shows what that lock covers. It protects the pages of one PDF, travels with the file when you send it, and works in any PDF reader. It leaves the file name visible, needs a separate password for every document, covers PDFs only, and has no recovery if the password is lost. For a document you send, that is ideal. For a collection of IDs, letters and scans you keep on the iPhone, a vault with one PIN, a recovery key and room for photos and notes fits better.

·Written by the developer of Stash

Save this guide

Summary of this guide as an image: How to Password Protect a PDF on iPhone With PreviewDownload this guide as an image