How to password-protect a PDF on iPhone
Written for iPhone owners sending tax forms, contracts, ID scans or medical PDFs by email or chat who want the file encrypted with a password first
Short answer
You do not need to pay for a PDF subscription app to lock a PDF on an iPhone. Apple’s built-in Files app (and the system Print sheet in Safari, Mail and Photos) can encrypt any PDF with a password in under thirty seconds: open the PDF in Files, tap the small down-arrow next to the document title at the top of the screen, tap Lock PDF, and set a strong passphrase. Anyone opening that file on an iPhone, Android phone, Mac or Windows PC will have to enter that password first.
On this page
If you search the App Store for “lock PDF”, the top results are almost all $7.99-a-week scanner apps that upload your tax return or passport scan to their cloud server just to add a password.
Skip all of them. Apple builds native PDF password encryption straight into iOS inside the Files app and the system Print sheet (iPhone User Guide). It runs offline on your iPhone, costs nothing, and produces a standard encrypted PDF that opens on Windows, Mac, Android and iOS.
Two built-in ways to password-protect a PDF on iPhone
Method 1: Lock an existing PDF in the iPhone Files app
When your document is already saved as a .pdf file in Files (either in iCloud Drive or On My iPhone):
- Open the Files app on your iPhone and tap the PDF document to open its preview.
- Tap the file’s name (or the small down-arrow chevron next to the title) at the very top center of the screen.
- Tap Lock PDF from the drop-down menu.
- Enter a strong password, type it a second time in the Verify field, and tap Done in the top-right corner to encrypt the PDF.
Once locked, the thumbnail in the Files app shows a lock icon and the text “This document is password protected”.
Method 2: Turn a photo, scan or webpage into a locked PDF (the Print trick)
What if you photographed a passport, driver’s licence, signed lease or medical bill in Apple Photos and want to email it as a password-protected PDF? Use iOS’s built-in Print-to-PDF sheet:
- Open the photo (or select multiple photos) in Photos, or open the page in Safari or Mail, and tap the Share button.
- Scroll down the share menu and tap Print (you do not need a printer).
- At the top of the Print Options screen, tap the Share icon again.
- Notice the Lock PDF switch right below the PDF header at the top of the share sheet: switch Lock PDF on, enter and verify your password, and tap Save to Files (or send it straight to Mail or Messages).
Crucial cleanup step: if you created that locked PDF from a photo in Apple Photos, the original unencrypted photo is still sitting in your camera roll! Delete the original photo from Photos and empty Utilities > Recently Deleted, or move your stored ID scans into an encrypted vault app.
Why a PDF password must be much longer than a phone PIN
There is one major security difference between an iPhone lock screen and an emailed PDF file:
- On an iPhone lock screen, Apple’s Secure Enclave hardware chip enforces time delays and wipes/locks the key after 10 wrong attempts, so a 6-digit PIN is protected by hardware rate-limiting.
- An emailed PDF file has zero hardware rate-limiting. Anyone who intercepts or downloads that PDF attachment can run offline GPU software that tests hundreds of thousands or millions of passwords per second (RFC 8018).
A 4-digit PIN (0000–9999) or a 6-digit birthday on a PDF cracks in less than one second. When locking a PDF that will travel over email or cloud storage:
- Use at least 12 characters or 4 random words (for example
maple-anklet-cobalt-49). Test how fast an offline attacker can guess a password in our unlock strength calculator. - Send the password over a different channel: if you email the locked PDF to your accountant or lawyer, send the password by Signal, iMessage or SMS, never inside the body of the same email as the attachment.
- Rename the file before sending: PDF encryption hides the pages inside the file, not the filename in the email header. Name the file
Document-2026-10.pdfrather thanJohn-Smith-SSN-and-Passport.pdf.
For a complete guide to keeping ID cards, tax records and contracts safe on your phone day-to-day, see where to keep confidential documents on your phone.
Questions
Can I password-protect a PDF on iPhone for free without installing an app?
Yes. Both the built-in iPhone Files app (via the document title menu > Lock PDF) and the system Share > Print sheet (via the Share button inside Print Options > Lock PDF) encrypt PDFs with a password at no cost.
Can I turn a photo of my passport or ID into a password-protected PDF on iPhone?
Yes. Open the photo in Apple Photos, tap Share > Print, tap the Share icon at the top of the Print Options screen, toggle Lock PDF on, enter a strong password, and tap Save to Files or share it directly.
What happens if I forget the password I put on a PDF in Files?
There is no password reset or Apple recovery option for a locked PDF. Once you lock and save the PDF, neither Apple nor iCloud can open it without the password you typed.
Does locking a PDF hide its filename or file size?
No. Standard PDF encryption scrambles the pages and text inside the document, while the filename (such as 'Tax-Return-2026.pdf') and file size remain visible in the Files app, iCloud Drive and email attachments.
Is a 4-digit PIN safe enough for an emailed PDF?
No. Unlike an iPhone lock screen that slows down after wrong tries, an emailed PDF file can be copied onto a computer where password-cracking tools test millions of passwords per second offline. Always use a passphrase of at least 12 characters or 4 random words.
Keep reading
Where to keep confidential documents on your phone
A document you photograph lands in your photo library, open to anyone with your passcode. A locked note with its own password is one alternative.
GuidePassword-protect a folder on iPhone
The Hidden album and locked apps open with your phone’s passcode. A locked note can have its own password, and a vault app adds a separate lock.
GuideHow to make a QR code for a PDF without a paid subscription
A PDF cannot fit inside QR squares; only a link to it can. Host the PDF somewhere you control and generate a static QR code that never expires.