How to password protect a PDF on iPhone
Published October 19, 2026

To password protect a PDF on iPhone, open it in the Files app, tap the menu next to the file name and choose Lock, then set a password. Apple documents this as locking PDFs in Preview. Only people who know the password can open the locked copy, wherever the file goes.
This guide covers the steps, the mistakes that lock you out of your own document, and what to do when you want a PDF to stay private on your phone rather than travel to someone else. Menu names depend on your iOS version.
How do I put a password on a PDF on iPhone?
- 1In the Files app, touch and hold the PDF and choose Duplicate. Work on the copy, so you still have an unlocked version.
- 2Open the copy. It opens in Preview.
- 3Tap the menu (Actions) next to the file name at the top and choose Lock.
- 4Enter a password, confirm it and save. The file now asks for the password when someone opens it.
If Lock is not in the menu, your iOS version may not offer it or the file may not be a plain PDF; it is a recent addition to iOS, so update first. Apple's own guide is called Lock PDFs in Preview on iPhone.
What does the password protect, and what does it not?
The password belongs to the locked file, so it stays with the PDF when you email it or upload it. That is the useful part: you can send the locked copy to an accountant or landlord and give them the password in a separate message or call.
It does not protect the unlocked original, which is still in Files, in Recently Deleted and in any backup that ran before you deleted it. It does not protect copies you shared earlier. And a short or guessable password is the weak point, so pick something long that you do not use anywhere else.

What mistakes lock you out of your own PDF?
- Deleting the unlocked original before you have tested the locked copy. Open the locked file and enter the password once to be sure it works.
- Forgetting the password. There is no reset: keep it in a password manager or a locked note rather than trusting memory. See how to store passwords safely on your phone.
- Sending the password in the same message as the file. If the message is read by someone else, the lock is gone.
How do I keep a PDF private on my phone instead?
A password on a PDF is made for sending. If the goal is only that nobody who picks up your phone sees an ID scan, a contract or a bank statement, a vault is the better tool. Lockboxy is an iPhone app that keeps files in an encrypted vault with its own passcode.
- 1Open Lockboxy, go to Files and tap +.
- 2Choose Import files and pick the PDF, or choose Scan a document to scan paper straight into the vault. You can also send a file in from Files or Mail through the Share Sheet.
- 3Lockboxy encrypts the file with AES-256 on your device, behind a passcode that is separate from your iPhone passcode. There is no account and no server holding a copy.
- 4Delete the original. Importing makes a copy; it does not remove the file you picked. Delete it in Files, then empty Recently Deleted.
PDFs open in a preview inside the vault. The vault is for keeping and viewing, so if you need to send the PDF to someone, keep the original or use the locked copy from the first section. How to password protect a folder on iPhone compares this with a locked note and the other built-in options.

What does it cost and what are the limits?
- The built-in Lock option is free and does not need an app.
- The free plan of Lockboxy holds up to 10 files; a PDF counts once. Premium removes that limit. Prices are on the Premium page and the app shows the exact price before you buy.
- If you forget the vault passcode and did not set a Recovery Key (Premium), nobody can open the vault, including us.
- Apple can rename menus between iOS versions. If a step does not match your screen, use Search in Settings or the Files app.
Frequently asked questions
Can you password protect a PDF on iPhone without an app?
Yes. Open the PDF in the Files app, tap the menu next to the file name, choose Lock and set a password. Duplicate the file first so you keep an unlocked copy.
Does the PDF password stay with the file when I send it?
Yes. The password belongs to the locked file, so whoever opens the copy you send is asked for it. Send the password through a different channel.
What if I forget the PDF password?
There is no reset, so keep the password in a password manager and keep an unlocked duplicate until you have tested the locked one.
Is a locked PDF better than keeping it in a vault?
They do different jobs. A locked PDF is for sending to someone. A vault such as Lockboxy is for keeping a document private on your own phone behind its own passcode.
Does importing a PDF into Lockboxy remove the original?
No. Importing creates an encrypted copy in the vault. Delete the original yourself in Files, then clear Recently Deleted.
Want a private place with its own passcode?
Lockboxy encrypts photos, videos, files and notes on your device, behind a passcode separate from your phone's. No account, no server.
Get Lockboxy on the App StoreMore guides
- How to password protect a folder on iPhone
- How to scan documents on iPhone (no app needed) and store them safely
- How to store photos of your ID safely on your phone
- How to lock notes on iPhone with a password or Face ID
- How to hide photos on iPhone (and what “hidden” really protects)
- How to lock apps on iPhone: Face ID lock, hiding apps and older-iOS workarounds
- How to permanently delete photos on iPhone (and every copy you forgot)
- How to store passwords safely on your phone
- How to lend your iPhone without exposing your photos
- How to store a seed phrase safely (and what not to do)
- What to do before sending your iPhone for repair
- How to take photos that don't save to your iPhone camera roll
- How to store 2FA backup codes safely (and where not to)
- How to handle sensitive screenshots on iPhone (bank transfers, OTPs, IDs)
- How to keep voice recordings private on iPhone
- How to stop iPhone photos syncing to your iPad and Mac
- What to do when your iPhone is lost or stolen
- How to erase your iPhone before selling it
- Lockboxy vs the iPhone Hidden album: which should you use?
- Lockboxy vs locked notes on iPhone: which is better for private notes?
- Phone privacy for livestream sellers: keep customer data off the stream
- Keeping client documents private: a phone routine for real-estate agents
- How to hide contacts on iPhone: what really works
- How to tell if someone went through your iPhone
- How to move private photos to a new iPhone
- How to remove location data from photos on iPhone before sharing
- How to store bank card details safely on your phone
- How to find and share a saved Wi-Fi password on iPhone
- How to stop unwanted photos from showing up in Memories and Featured Photos on iPhone
- How to control which photos an app can access on iPhone
- How to find the Hidden album on iPhone (and why it may be missing)
- How to show someone a photo on your iPhone without them swiping to the others
- How to stop WhatsApp saving photos to your iPhone camera roll
- How to stop photos from Messages showing up in your iPhone Photos app
- How to password protect a video on iPhone
- What does Private Browsing on iPhone actually hide?
- Where do downloads go on iPhone? How to find, move and delete them
- How to hide private content in the iPhone App Switcher
- How to back up your iPhone photos without iCloud
- How to stop photos from showing up in iPhone Spotlight search
- What can someone do with your locked iPhone? How to limit Lock Screen access
- Why is there a green or orange dot on my iPhone? How to see which app is using your camera or microphone
- How to keep a private journal on iPhone
- How to stop unwanted AirDrops on iPhone
- How to keep medical documents and insurance cards private on iPhone
- How to change or remove the camera button on the iPhone Lock Screen
- Forgot the passcode of your private photo vault app? What you can and can't recover
- What happens to your iPhone photos and private data when you die? How to set up a Legacy Contact
- You copied a password on iPhone: who can see your clipboard, and how to stop apps pasting from it
- What is Stolen Device Protection on iPhone, and should you turn it on?
- Where to store PIN codes and door codes on iPhone
- How to share a password with family on iPhone without sending it in a chat
- Where to store your Apple Account recovery key (and what if you lose it)
- How to see saved passwords on iPhone (and what to do when one is missing)
Questions about how Lockboxy works? Read the FAQ