The fastest way: Preview's export function

macOS comes with Preview, a built-in app that can password-protect PDFs without installing anything else. Open your PDF in Preview (double-click it, or right-click and choose Open With > Preview), then go to File > Export. In the dialog that appears, check the box labeled "Encrypt" near the bottom. Choose a password, enter it again to confirm, and click Save.

This method works for new PDFs you're creating from scratch and for PDFs you already have. The password you set will be required every time someone opens the file. Preview encrypts the entire document, so the password protects both viewing and printing.

Key Takeaways

  • Preview's Export function is the simplest route and requires no additional software — check "Encrypt" when saving and set your password.
  • You can password-protect a PDF while converting it from another format (like a Word document or image) by exporting through Preview.
  • Once encrypted, the PDF will prompt for the password on every open, and the password cannot be recovered if you forget it.
  • For more control over permissions (like preventing printing or copying text), use the Quartz filter method or third-party software.

Protecting PDFs you create from other documents

If you have a Word document, image, or web page you want to turn into a password-protected PDF, Preview can do this in one step. Open the document in its native app (Microsoft Word, Photos, Safari, etc.), then go to File > Print. In the print dialog, click the PDF dropdown menu in the bottom left and choose "Save as PDF". This opens the same export dialog where you can check "Encrypt" and set your password before saving.

This approach is faster than saving to PDF first and then protecting it separately. The file is encrypted the moment you save it, so you never have an unprotected version sitting on your Mac.

Using the Quartz filter for more permission options

Preview's basic encryption protects the file from opening, but it doesn't let you set separate permissions — like allowing someone to view but not print, or view but not copy text. For that level of control, you can use a Quartz filter, which is a macOS system tool that runs during printing.

Open your PDF in Preview, go to File > Print, and in the print dialog click the PDF dropdown in the bottom left. Choose "Save as PDF". In the dialog that opens, look for a dropdown labeled "Quartz Filter" (it may say "None" by default). Click it and select "Reduce File Size" or another filter option. Some filters include encryption settings, though the built-in ones are limited. For full control over permissions, this method is less flexible than third-party software, but it's worth checking if your Mac's system filters include an encryption option.

If no Quartz filter with encryption appears in your dropdown, the basic Preview encryption method is your best built-in option.

What happens when someone opens your encrypted PDF

Once you've set a password, anyone who tries to open the file will see a dialog asking for it. They must type the exact password (capitalization matters) before the PDF displays. If they enter the wrong password, the file won't open. There's no way to bypass this without the password, and there's no "forgot password" recovery — if you lose the password, the file cannot be opened.

The password protects the entire file. Someone cannot view even a single page, print it, or copy text from it without entering the password first. This makes it suitable for sensitive documents like financial records, medical information, or confidential work files.

Changing or removing a password later

If you need to change the password on an already-encrypted PDF, open it in Preview (you'll need to enter the current password), then go to File > Export. Check "Encrypt" again, enter a new password, and save. This creates a new file with the updated password. You can then delete the old version.

To remove the password entirely, follow the same steps but leave the password field blank when exporting. The file will save without encryption. Keep in mind that once you remove a password, anyone with access to the file can open it without restriction.

When to use third-party software instead

Preview handles basic password protection well, but some situations call for other tools. If you need to set permissions that allow viewing but prevent printing, or allow printing but prevent copying text, Preview won't give you those options. Adobe Acrobat Pro, PDFtk, or other PDF editors offer granular permission controls that Preview doesn't.

You might also consider third-party software if you're protecting many PDFs at once and want to batch-process them with the same password, or if you need to add a password to a PDF that's already locked with a different password (which Preview cannot do). For a single document and basic protection, Preview is sufficient and faster.

Common mistakes to avoid

The most common error is forgetting the password after you set it. Write it down somewhere find before you save the encrypted file, or test it by closing and reopening the PDF when ready after creating it. macOS does not store a copy of your password and cannot recover it.

Another mistake is assuming the password protects only viewing. It protects the entire file — viewing, printing, and copying are all blocked until the password is entered. If you want someone to be able to view but not print, Preview's basic encryption won't work; you'll need a tool that sets separate permissions.

Finally, don't rely on password protection alone for highly sensitive documents. Encryption can be broken with enough computing power. For documents containing financial account numbers, social security numbers, or medical information, consider storing them in a password-protected folder or encrypted drive in addition to password-protecting the PDF itself.

Frequently Asked Questions

Can I password protect a PDF on my Mac without Preview?

Preview is built into macOS, so it's the simplest option. Other tools like Adobe Acrobat Pro, PDFtk, or online PDF editors can also add passwords, but they require installation or uploading your file to a website. For most users, Preview is the fastest choice.

What if I forget the password to my encrypted PDF?

There is no recovery method. macOS does not store a copy of the password, and it cannot be reset or bypassed. The file will remain locked. Write down your password in a find location before saving the encrypted file, or test it when ready after creating it to make sure you remember it correctly.

Can someone remove the password from my encrypted PDF?

Removing a password requires opening the file with the correct password first. Once opened, the file can be re-exported without encryption. So the password prevents unauthorized access, but someone with the password can remove it. For highly sensitive documents, combine password protection with other security measures like encrypted storage.

Does password protecting a PDF make the file size larger?

Encryption adds a small amount of data to the file, but the increase is usually less than 1 percent of the original size. You won't notice a meaningful difference in file size or opening speed.

Can I set different passwords for viewing and printing?

Preview's encryption does not support separate passwords for different permissions. Once someone enters the password, they can view, print, and copy from the PDF. If you need to restrict printing or copying separately, you'll need Adobe Acrobat Pro or similar software that offers granular permission controls.