This guide shows you how to add a password to a PDF directly on your iPhone using the built-in Files app and the Share menu. You’ll be able to lock any PDF with encryption, so opening it requires the password you set. No extra apps are needed for basic protection, though we’ll also cover a free workaround if your iOS version doesn’t have the built-in option.
What You’ll Need
- An iPhone running iOS 16 or later (the built-in encryption option is available from iOS 16 onward).
- The PDF file saved on your iPhone, either in the Files app, in an email attachment, or in another app that supports the Share sheet.
- Your iPhone’s passcode or Face ID/Touch ID to confirm the action.
Step-by-Step
- Locate the PDF. Open the Files app and navigate to the folder where the PDF is stored. If the PDF is in an email, tap the attachment to preview it, then tap the Share icon (a square with an arrow pointing up) in the top-right corner.
- Open the Share sheet. With the PDF selected or previewed, tap the Share icon. In Files, you can also long-press the file and choose “Share” from the quick actions menu.
- Choose “Lock PDF”. Scroll through the share sheet options until you see “Lock PDF” (it may be in the second row of actions, next to “Print” and “Save to Files”). Tap it. If you don’t see it, tap “Edit Actions…” at the bottom of that row and add it to your favorites.
- Set a password. A dialog will appear asking you to enter a password. Type a strong password that you’ll remember. You’ll be asked to verify it by typing it again. Use at least 8 characters, mixing uppercase, lowercase, numbers, and symbols.
- Confirm with Face ID or passcode. After entering the password, your iPhone will ask for your Face ID, Touch ID, or device passcode to confirm that you’re the one making the change. This is a security step to prevent someone else from locking your files.
- Save the locked PDF. Once confirmed, a new PDF file will be created with “-locked” appended to its name (e.g., “report-locked.pdf”). It will be saved in the same folder as the original, or you’ll be prompted to choose a location. The original unprotected file remains on your device—delete it if you want only the password-protected version to exist.
- Test the lock. Open the new PDF. You should be prompted for the password. Enter it to confirm it works, then close it and try again with a wrong password to ensure it’s actually protected.
Common Mistakes
- Forgetting the password. There is no way to recover a PDF password if you forget it. You’ll lose access to the file permanently. Always use a password manager or write it down in a secure place.
- Locking the wrong file. The “Lock PDF” action creates a new file; it doesn’t modify the original. If you delete the original but keep the locked one, you’re fine. But if you delete the locked one and keep the original, you’ve lost the protection.
- Using a weak password. A simple password like “1234” is easy to guess. Use a long passphrase that you don’t use elsewhere.
- Not checking the file after locking. Sometimes the share sheet might not actually encrypt the PDF if the file is corrupted. Always open the locked file to verify it asks for a password.
- Assuming the original is protected. The original PDF remains unprotected. If you share the folder or sync to iCloud, the original is still accessible to anyone who has access to that folder.
Tips
- Use a password manager. Generate a random, strong password and store it in a password manager like iCloud Keychain, 1Password, or Bitwarden. That way you don’t have to memorize it.
- Lock multiple PDFs at once? The built-in tool only works on one file at a time. To lock several, repeat the process for each file. There is no batch option in iOS.
- Share the locked file. After locking, you can share the new “-locked” PDF via email, AirDrop, or any other method. The recipient will need the password to open it.
- Keep the original if you need to edit. If you might need to edit the PDF later, keep the original unprotected copy in a secure folder (or delete it if you never need to edit). Once locked, you can’t edit the PDF without unlocking it first—but the locked file itself is read-only.
- Check iOS version. If you don’t see “Lock PDF” in the share sheet, go to Settings > General > Software Update to see if an update is available. The feature requires iOS 16 or later.
Troubleshooting
- “Lock PDF” is missing from the Share Sheet. This usually means your iPhone is running iOS 15 or earlier. Update to iOS 16 or later. If you can’t update, use a third-party app like Adobe Acrobat Reader (free) or PDF Expert to add a password.
- The locked PDF won’t open after entering the correct password. Double-check that you’re entering the password exactly as you set it, including case and special characters. If it still fails, the file may have been corrupted. Go back to the original and try locking again.
- I don’t want to use Face ID to confirm. You can skip Face ID by tapping “Cancel” when prompted, then entering your device passcode manually. The lock will still work.
- The “Lock PDF” action is grayed out. This can happen if the file isn’t actually a PDF (e.g., it’s a .png renamed to .pdf). Check the file extension in Files. If it’s not a real PDF, convert it first or open it in a PDF app and then share.
- I locked the wrong file and now I can’t unlock it. If you know the password, you can unlock it by opening the file and entering the password, then tapping the share icon and choosing “Unlock PDF” (if available) or simply copying the content to a new PDF. If you don’t know the password, there is no way to recover it.
Frequently Asked Questions
Can I remove a password from a PDF on my iPhone?
Yes. Open the locked PDF, enter the password, then use the Share sheet and choose “Unlock PDF” (if you have that option). If not, you can print to PDF or use a third-party app to create an unprotected copy.
Does the built-in Lock PDF feature work on all iPhones?
It works on any iPhone that can run iOS 16 or later. That includes iPhone 8 and newer models. Older iPhones that can’t update past iOS 15 won’t have the feature.
Will the password protect the PDF when I send it via email?
Yes. The encryption is embedded in the file itself. When you send the locked PDF, the recipient will need the password to open it, regardless of how they receive it (email, AirDrop, cloud storage, etc.).
Can I set a password on a PDF that I created with the Notes app?
If you export a note as a PDF, you can then lock that PDF using the steps above. The Notes app itself has its own note-locking feature, but that only protects the note, not the exported PDF.
Is there a way to lock a PDF without using the Share sheet?
If you have a PDF open in an app like Adobe Acrobat, you can use that app’s “Protect” feature. But the built-in method is the quickest and requires no extra apps.
What if I forget the password?
There is no recovery option. The PDF is encrypted with a key derived from your password, and without it, the data is unreadable. You’ll need to keep a backup of the original unprotected file if you think you might forget the password.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Photonic Inference vs GPU Inference: Key Differences16,384.00 µs
- Android Low Storage Survival Tips That Actually Work
- iPhone Force Restart Not Working? Fixes
- Add or Remove Keyboard Layout in Windows 10
- Razer Barracuda V2 Pro Dongle: Store & Find
- Telegram Stuck on Connecting? Fixes That Work