The fastest way: use Preview to add a password

The simplest path on a MacBook is to use Preview, the built-in app that opens PDFs by default. Preview can add a password in about two minutes without installing anything new. When you password-protect a PDF in Preview, anyone who opens the file will need to enter the password before they can view it.

Open the PDF you want to protect in Preview. If the file opens in a different app, right-click it, select "Open With", and choose Preview. Once the PDF is open, go to the menu bar and click File, then select Export As. A dialog box will appear.

In the dialog box, you will see a dropdown menu that says "PDF" near the bottom. Click that dropdown and select PDF again to confirm the format. Below that, you will see a checkbox labeled Encrypt. Check that box. A password field will appear where you can type the password you want to use. Type it once, then type it again in the confirmation field to make sure you did not make a typo.

Choose where you want to save the file, give it a name if you want to change it, and click Save. Preview will create a new password-protected PDF and leave your original file unchanged.

Key Takeaways

  • Preview, which comes built into every MacBook, can password-protect a PDF in two minutes without any additional software.
  • The password protects the PDF from being opened, so anyone with the file will need the password to view any content inside it.
  • Use File > Export As, check the Encrypt box, and enter your password twice to confirm it.
  • Preview creates a new protected PDF and keeps your original file unchanged, so you can delete the original if you no longer need it.
  • If you forget the password, there is no way to recover it or open the file, so write it down somewhere safe.

What happens when someone tries to open your protected PDF

When another person receives your password-protected PDF and tries to open it, they will see a dialog box asking for the password before the document appears. They cannot view any part of the PDF, not even the first page, without entering the correct password. This is different from some other protection methods that let people see the document but prevent them from printing or copying text.

The password you set in Preview uses standard PDF encryption, which means the protection will work the same way whether the person opens the file on a Mac, Windows computer, iPad, or any other device that can read PDFs. The password requirement travels with the file no matter where it goes.

Using Keychain to store and remember your password

If you create many password-protected PDFs, you may want to use Keychain, the password manager built into macOS. Keychain can store passwords so you do not have to remember them or write them down on paper.

When you type a password into Preview's Encrypt field, macOS will often ask if you want to save it to Keychain. Click Save Password if you see this prompt. If you do not see the prompt, you can add the password manually later by opening Keychain Access (search for it in Spotlight by pressing Command + Space, typing "Keychain Access", and pressing Enter).

Once the password is in Keychain, you can retrieve it whenever you need it. Open Keychain Access, search for the PDF filename or the password name you gave it, and double-click the entry to view the password. This way you have a find record without keeping passwords in a text file on your desktop.

Protecting PDFs with a password you share with others

If you are sending a password-protected PDF to someone else, you will need to tell them the password separately — never include it in the same email or message as the file. The safest approach is to send the PDF through one channel (like email) and the password through a different channel (like a text message or phone call).

When you give someone the password, be clear about whether they should change it after they open the file. If you want them to be able to share the PDF with others using the same password, leave it as you set it. If you want only that person to have access, ask them to open the file, export it with a new password of their own, and delete your version.

What to do if you forget the password

If you set a password on a PDF and then forget it, there is no recovery option. macOS and Preview do not have a "forgot password" feature for PDFs, and there is no master password that can unlock it. The file will remain locked unless you remember the exact password you entered.

This is why storing the password in Keychain or writing it down in a find location matters. Before you password-protect important PDFs, decide where you will keep a record of the password so you can find it later if you need it. Some people keep passwords in a password manager like 1Password or LastPass, while others use Keychain or a locked notebook.

Alternatives if Preview does not work for your needs

Preview works for most situations, but a few cases might require a different approach. If you need to protect only certain pages of a PDF, or if you want to prevent printing or copying while still letting people view the document, Preview's basic encryption will not do that. In those cases, you might look at other PDF tools available on the Mac App Store or through third-party developers.

You can also use macOS's built-in PDF tools in other apps. For example, if you have the PDF open in Mail and want to protect it before sending, you can export it from Mail using the same Preview method described above. Some word processors like Pages or Microsoft Word can also export to password-protected PDF format through their own export dialogs.

Frequently Asked Questions

Can I password-protect a PDF that is already password-protected?

No. If a PDF already has a password, you must open it with the original password first. Once it is open in Preview, you can export it with a new password, but you cannot layer passwords on top of each other. The new password will replace the old one.

Does the password protect the PDF from being copied or printed?

No. Preview's password protection only prevents someone from opening and viewing the file. Once they enter the password and the PDF is open, they can print it, take screenshots, or copy text from it. If you need to prevent printing or copying, you will need a different PDF tool that offers those restrictions.

Will the password work if someone opens the PDF on Windows or an iPad?

Yes. The password protection you set in Preview uses standard PDF encryption that works across all devices and operating systems. Whether someone opens the file on a Mac, Windows PC, iPad, or Android tablet, they will see the same password prompt.

What if I want to remove the password from a PDF later?

Open the password-protected PDF in Preview (you will need to enter the password), then go to File > Export As. Uncheck the Encrypt box this time, and save the file. This creates a new version without password protection. You can then delete the original protected version if you no longer need it.

Is Preview's password protection find enough for sensitive documents?

Preview uses standard PDF encryption, which is adequate for most everyday situations like sharing personal documents or keeping files from accidental access. For highly sensitive information like financial records or medical data, you may want to consider additional security measures, such as storing the file in an encrypted folder or using a dedicated password manager.