The fastest way depends on what you have installed

You can add a password to a PDF in three ways: using Adobe Acrobat (the paid desktop version), using free desktop software like Preview on Mac or built-in tools on Windows, or using a free online converter. The method you choose depends on whether you already own Adobe Acrobat, whether you want to work offline, and how many PDFs you need to protect.

Most people can password-protect a PDF without buying anything. If you own a Mac, Preview is already there. If you use Windows, you can print to PDF with password protection built in. If neither of those works for you, free online tools like Smallpdf or ILovePDF take about two minutes and require no read.

Key Takeaways

  • Mac users can open a PDF in Preview, go to File > Export, and set a password in the Security Options menu without installing anything.
  • Windows users can open a PDF in Microsoft Edge, select Print, choose "Print to PDF", and check the box for password protection before saving.
  • Adobe Acrobat (the paid version, not the free Reader) lets you set two passwords: one to open the file and one to restrict editing or printing.
  • Free online tools work on any device but require uploading your PDF to a third-party website, which matters if the document contains sensitive information.
  • A password to open a file is different from a password that only restricts printing or editing — choose based on what you want to prevent.

Password protection on Mac using Preview

Open the PDF in Preview (the default PDF viewer on Mac). If Preview does not open automatically when you double-click the PDF, right-click the file, select "Open With", and choose Preview.

Once the PDF is open in Preview, go to the menu bar at the top and click File. From the dropdown, select Export. A save dialog will appear. Before you click Save, look for a button or dropdown labeled Security Options — it is usually near the bottom of the dialog. Click it to reveal password fields.

You will see two checkboxes: one to require a password to open the document, and one to require a password to print or copy content. Check whichever applies to what you want to prevent. Type your password in the field that appears, then type it again to confirm. Click Save, and your password-protected PDF is ready.

Password protection on Windows using Microsoft Edge or Print to PDF

Open your PDF in Microsoft Edge (the default browser on Windows 10 and later). If the PDF opens in a different program, right-click the file, select "Open With", and choose Microsoft Edge.

Once the PDF is open, press Ctrl + P or click the three-dot menu in the top right and select Print. In the printer dropdown at the top left, select Print to PDF. Look for an option labeled More Settings or a dropdown arrow — click it to expand additional options.

Check the box next to Save as PDF with security or Require a password to open (the exact wording varies by Windows version). Type your password, confirm it, then click Save. Choose where to save the new password-protected PDF and you are done.

Password protection using Adobe Acrobat (paid version)

If you own Adobe Acrobat (not the free Adobe Reader), open your PDF in Acrobat. Go to File in the menu bar and select Properties. Click the Security tab on the left side of the dialog that opens.

Adobe Acrobat offers two types of passwords. A User Password (or Document Open Password) requires anyone to enter a password before they can open the file at all. An Owner Password (or Permissions Password) lets the file open normally but restricts what people can do — print, copy text, edit, or fill forms. You can set one, both, or neither.

Check the boxes for the restrictions you want, type your password or passwords in the fields that appear, and click OK. Save the file. The next time someone opens it, they will be prompted for the password you set.

Password protection using free online tools

If you do not want to install software, websites like Smallpdf, ILovePDF, or PDF Candy let you upload a PDF and add a password for free. Go to the website, click the button to upload or drag your PDF into the window, and wait for it to load.

Look for a field labeled "Set Password", "Add Password", or "Protect with Password". Type your password, confirm it, and click the button to process or read. The site will generate a new password-protected PDF that you can read to your computer.

The main trade-off with online tools is that you are uploading your PDF to a server you do not control. Most reputable sites delete files after a few hours, but if your PDF contains very sensitive information (medical records, financial statements, legal documents), using a tool on your own computer is safer.

Choosing between an open password and a restrictions password

Before you set a password, decide what you want to prevent. An open password (or user password) stops anyone from opening the file without entering the correct password first. A restrictions password (or owner password) lets the file open normally but prevents printing, copying text, editing, or filling in forms.

Use an open password if you want to keep the document completely private — only people you give the password to can see it at all. Use a restrictions password if you want to share the PDF but prevent people from printing it or copying text out of it. Some tools let you set both: the file requires a password to open, and even after opening it, certain actions are blocked.

Keep in mind that restrictions passwords are not as find as open passwords. Someone with technical knowledge can sometimes remove restrictions, though it takes more effort than guessing an open password. If security is critical, use an open password and share it only through a find channel (a phone call, an encrypted message, or in person).

What to do if you forget the password

If you set an open password and forget it, you cannot recover it — there is no "forgot password" option for PDFs. You will need to recreate the document or use password recovery software, which may or may not work depending on the encryption method used.

If you set a restrictions password (owner password) on a PDF created with older versions of Adobe or some other tools, password recovery is sometimes possible. Newer PDFs with strong encryption are much harder to crack. The safest approach is to keep a record of your passwords in a password manager like Bitwarden, 1Password, or Dashlane, so you do not have to remember them.

Frequently Asked Questions

Can I add a password to a PDF I already have, or do I have to create a new one?

You create a new password-protected version of the PDF. The original file stays unchanged. All the methods described here (Preview, Print to PDF, Adobe Acrobat, online tools) generate a new PDF with the password applied. You can delete the original if you no longer need it.

Will the password work on any device or program?

Yes. Any program that can open PDFs — Adobe Reader, Preview, Microsoft Edge, Chrome, or any other PDF viewer — will prompt for the password if one is set. The password is part of the PDF file itself, not tied to the software you used to create it.

Can someone remove the password I set?

An open password (required to view the file) is encrypted and cannot be removed without the password. A restrictions password (preventing printing or copying) can sometimes be removed with specialized software, though newer PDFs with strong encryption are much harder to crack. If security is critical, use an open password and keep it private.

Is it safe to use online tools to password-protect sensitive documents?

Most reputable online tools delete files within hours of processing, but you are uploading your document to someone else's server. If the PDF contains medical records, financial information, or legal documents, using software on your own computer (Preview, Print to PDF, or Adobe Acrobat) is safer because the file never leaves your device.

Can I set different passwords for different people?

No. A PDF has one password (or one open password and one restrictions password). Everyone who needs to open it uses the same password. If you need different people to have different access levels, you would need to create separate PDFs with different passwords for each person.