On iOS 26 and later, open the PDF in Preview, tap the Actions Menu button next to the file name, choose Lock, type the password twice and tap Done. iOS 18 has no built-in way to lock an existing PDF; Pages only protects documents made in Pages. FileLock's Lock PDF tool (PRO) works on iOS 17 and later.
"Password protect a PDF" can mean two different things, and it helps to know which one you need before you start.
- A password on the file itself. Anyone who opens the PDF, on any phone or computer, has to type the password first. This is what you want before you email a contract, a payslip or a medical report.
- A lock on your phone. The PDF stays on your iPhone, and nobody who picks up your phone can open it without a passcode. This is what you want for documents you only keep for yourself.
iPhone can do the first one with built-in apps, but only in certain cases. Here is every method that works, what each one cannot do, and which to pick.
Which method should you use?
- You have iOS 26 or later and the PDF already exists: use Preview (Method 1).
- You are writing the document yourself in Pages: export it with a password (Method 2).
- You are on iOS 18, or you also want the file kept behind a passcode on your phone: use FileLock (Method 3).
To check your version, go to Settings > General > About and look at iOS Version.
Method 1: Lock a PDF with Preview (iOS 26 and later)
iOS 26 added Preview, Apple's PDF and image app, to the iPhone. It is the first built-in app that can add a password to a PDF you already have.
- Open Preview and browse to the PDF. It can be in iCloud Drive or On My iPhone.
- Open the PDF.
- If you want to keep a copy without a password, tap the Actions Menu button next to the file name and tap Duplicate first. Lock changes the file you have open, not a copy.
- Tap the Actions Menu button next to the file name, then tap Lock.
- Type the same password in the Password and Verify fields. On iOS 27 the Require Password switch turns on by itself. On iOS 26, turn on Require Password first, then type the password.
- Tap Done.
The PDF now shows a lock in Preview. When you share it by Mail, Messages or any other app, the person who receives it has to type the password to open it.
Method 2: Export a password protected PDF from Pages
If the document starts life in Pages (or you open a Word file in Pages), you can set a password on it and the PDF you export carries the same password. Pages is free from Apple, and this works on iOS 18 as well as iOS 26 and later.
- Open the document in Pages.
- Tap the More button, then tap Document Options.
- Tap Set Password, enter and verify the password, add a hint if you like, then tap Done.
- Tap the More button again, then tap Export and choose PDF.
- On the Layout Options screen, tap Export.
- Choose where the PDF goes: Save to Files, Mail, Messages and so on.
Apple's Pages guide confirms that when the original file has a password, it applies to copies exported in PDF and Word formats. Open the exported PDF once to check that it asks for the password.
The catch: Pages cannot open a PDF you already have. It only works for documents you create in Pages or bring in from formats Pages can import, such as Word files. For a PDF someone sent you, use Method 1 or Method 3.
What the Files app and Notes cannot do
Two places people often try first, and why they do not give you a password protected PDF:
- Files app. Files can create PDFs, mark them up and move them around, but it has no lock or password option for a file.
- Notes. You can lock a note with its Note Actions button and Lock, using your iPhone passcode or a separate Notes password. But Apple's own list of notes that cannot be locked includes notes with PDF attachments, and a locked note only protects the note inside the Notes app. Anything you share from it goes out with no password.
Method 3: Lock a PDF with FileLock (works on iOS 17 and later)
FileLock is a private file locker for iPhone. It keeps your files in its own storage behind a 4-digit passcode, with Face ID or Touch ID, and it has a set of PDF tools that run on the phone itself, with no upload and no internet connection.
Its Lock PDF tool adds a password to a PDF on any iPhone that runs iOS 17 or later, so it is the practical choice on iOS 18. Lock PDF and Unlock PDF are FileLock PRO tools: the free version shows them, but you need a PRO subscription to run them.
- Install FileLock and set your passcode.
- Bring the PDF in: tap + and choose Files, then pick the PDF from iCloud Drive or On My iPhone. From Mail or another app, you can also use the Share sheet and choose Save to FileLock.
- Open the Tools tab and tap Lock PDF.
- Pick the PDF.
- Type the password in Password and Repeat password. FileLock reminds you that anyone opening the copy will need this password.
- FileLock saves a locked copy with "-locked" added to the name, in your Documents folder by default, and opens that folder in the Files tab.

To send it, select the locked copy, tap Share and pick Mail, Messages or any other app.
Two things are different from Preview. First, your original stays untouched, so you never lose the unlocked version by accident. Second, both versions stay inside FileLock, where opening the app itself needs your passcode or Face ID. If you imported the PDF from the Files app, the original is still in Files too: delete it there if you only want the protected copies.
To take a password off later, use Unlock PDF (also PRO). It asks for the current password and saves a copy without it.
How to choose and share the password
A PDF password is only as good as the password and the way you send it.
- Make it long. A short password can be guessed by cracking software. A phrase of four or five unrelated words is easier to remember and much harder to guess.
- Send it separately. If the PDF goes by email, send the password by text message, say it on a call, or agree on it in person. A password in the same email as the file protects nothing.
- Write it down safely. Neither Apple nor FileLock can recover a forgotten PDF password. Keep it in a password manager, or keep an unlocked copy somewhere only you can reach.
If the PDF is a paper document
Many of the PDFs people want to protect start as paper: an ID card, a lease, a tax form. Scan it with your iPhone, then lock the resulting PDF with any method above. The guide to scanning documents on iPhone covers the scanner in Notes, Files and Preview, and how to scan straight into FileLock so the paper copy never lands in iCloud Drive.
If you mostly want a private place on your phone for documents rather than a password on each file, see how to lock a folder on iPhone.
Frequently asked questions
Can I password protect a PDF in the Files app?
No. Files can create PDFs and mark them up, but it has no option to add a password. Use Preview on iOS 26 or later, Pages for documents you write yourself, or a PDF tool such as FileLock's Lock PDF.
How do I remove a password from a PDF on iPhone?
You need to know the current password. In FileLock, the Unlock PDF tool (FileLock PRO) asks for it and saves a copy without the password. If you do not know the password, there is no legitimate way to remove it.
Will the password still work when I send the PDF to a Windows PC or an Android phone?
Yes. The password is part of the PDF file itself, so any standard PDF reader asks for it before showing the pages, on any device.
What happens if I forget the password?
It cannot be recovered. Apple says there is no way to recover a forgotten Pages password, and a PDF locked in Preview or FileLock is just as final, so keep an unlocked copy somewhere safe or save the password in a password manager.
Is a locked note the same as a password protected PDF?
No. A locked note is protected only inside the Notes app. As soon as you share a scan or file from that note, the copy you send has no password.