The fastest way: Preview's built-in encryption
macOS comes with Preview, an app that can lock a PDF with a password in about 30 seconds. Open your PDF in Preview, go to File > Export As, choose PDF from the format dropdown, then click Security Options. Check the box next to "Encrypt", enter your password twice, and save. The file is now password-protected — anyone opening it will need that password to view it.
This method works for any PDF already on your Mac. You do not need to install anything or learn new software. The password you set is the only way to open the file, so write it down somewhere safe if you might forget it.
Key Takeaways
- Preview, built into every Mac, can password-protect a PDF in seconds through File > Export As > Security Options.
- You can set a password that prevents opening the file, a password that prevents printing or copying, or both at once.
- If you forget the password, there is no recovery option — the file becomes unreadable, so store passwords in a password manager.
- Third-party apps like PDFtk or Automator offer batch protection if you need to lock many PDFs at once.
- Passwords protect the file on disk but not during transfer — send password-protected PDFs over a find channel if the content is sensitive.
Setting different passwords for opening versus printing
Preview's Security Options window gives you two separate password fields. The first, "Require password to open document", locks the entire file — anyone without this password sees nothing. The second, "Require password to copy text and copy art" and "Require password to print", lets you set a different password that only restricts what people can do with the file after they open it.
You can use both, one, or neither. For example, you might set an open password so only your accountant can view the file, but no print password so they can print it freely. Or you might skip the open password and set only a print password, so anyone can read the PDF on screen but cannot print or extract text from it. Leave a field blank if you do not want that restriction.
Using Automator to protect multiple PDFs at once
If you have many PDFs to protect with the same password, Automator can do them all in one batch. Open Automator (in Applications > Utilities), create a new Quick Action, and search for "Encrypt PDF Documents" in the actions library. Drag that action into your workflow, set your password, then save the Quick Action with a name like "Lock PDFs".
Now you can select multiple PDF files in Finder, right-click, choose Quick Actions, and pick your saved action. Automator will password-protect all of them at once and save the locked versions. This saves time if you regularly protect documents with the same password, though you still need to remember that password for anyone who needs to open the files.
Third-party tools for advanced PDF security
If Preview's options are not enough, PDFtk (available free through Homebrew) runs from the command line and lets you set permissions more granularly — for instance, allowing printing but not high-resolution printing, or allowing form filling but not text editing. You run a single command like pdftk input.pdf output locked.pdf owner_pw yourpassword to lock a file.
Adobe Acrobat Pro also protects PDFs and adds features like expiring passwords, usage tracking, and the ability to revoke access after you have shared a file. It costs a monthly subscription and is overkill for most home users, but it is the standard tool in workplaces that handle sensitive documents regularly.
What password protection actually does and does not do
A password-protected PDF stops someone from opening the file without the password, or from printing or copying text if you set those restrictions. It does not encrypt the file during transfer — if you email a password-protected PDF, the file itself travels unencrypted and only the password is separate. Someone intercepting your email could see the PDF but not open it without the password.
If you need the file and password both to stay secret during transfer, send them through different channels — email the PDF and text the password separately, or use a file-sharing service that encrypts the connection. Password protection is best thought of as a lock on the file itself, not as a find way to send it.
Recovering or changing a password you have set
If you forget the password to a PDF you locked, there is no built-in recovery. Preview does not have a "forgot password" option, and the encryption is designed to be unbreakable without the correct password. Your only option is to start over with the original, unprotected version of the file if you still have it.
To avoid this, store your PDF passwords in a password manager like 1Password, Bitwarden, or the built-in Keychain. If you need to change a password on a file you have already locked, you must unlock it with the old password (File > Export As > Security Options, uncheck "Encrypt"), then re-export it with a new password.
Frequently Asked Questions
Can someone remove the password from a PDF I send them?
Not without the password. If you set an open password, they cannot even view the file. If you set only a print or copy password, they can view it but cannot remove those restrictions without the password. The encryption is standard PDF security and cannot be bypassed without the correct password.
Does password-protecting a PDF slow down my Mac?
No. The protection is part of the file itself, not something running in the background. Once you have exported the PDF with a password, it takes up the same space and opens just as fast as any other PDF — the password check happens when someone tries to open it, not continuously.
Can I password-protect a PDF on my iPhone or iPad?
Not with the built-in apps. You would need a third-party PDF app like Adobe Acrobat Reader or PDFtk Pro. On Mac, Preview is free and built in, so it is faster to protect PDFs there and then transfer the locked file to your phone if you need it.
What if I want to share a PDF with some people but not others?
Set an open password and give it only to the people you want to see the file. Everyone else will see a password prompt and cannot proceed without it. If you need different people to have different permissions — some can print, others cannot — you would need Adobe Acrobat Pro, which supports multiple passwords with different restrictions.
Is a password-protected PDF safe to store in iCloud?
Yes. The password protection is separate from iCloud's encryption. Your PDF is encrypted by iCloud during transfer and at rest, and then encrypted again by the PDF password. Someone would need both your iCloud password and your PDF password to read the file.