The most common way to lock a PDF is to add a password during export or through your PDF reader

Most PDF readers and document programs let you add password protection without special software. The steps differ slightly depending on what program created the PDF and what you're trying to prevent — some passwords stop people from opening the file at all, while others let someone open it but block printing, copying, or editing.

The fastest route is usually your existing program. If you created the PDF in Microsoft Word, Google Docs, or Adobe Acrobat, each has a built-in password option. If you already have a PDF file and want to lock it, your PDF reader (like Adobe Acrobat Reader or Preview on Mac) can add protection without converting the file.

Key Takeaways

  • A password that prevents opening the file is called an owner password or user password, depending on the program; a password that blocks printing or copying is called a permissions password.
  • Microsoft Word, Google Docs, and Adobe Acrobat all have password options built into their export or save settings — you do not need separate software.
  • Mac Preview and most free PDF readers can add password protection to an existing PDF without changing the file format.
  • Once you set a password, write it down somewhere safe — if you forget it, there is no standard way to recover it.

Password protection in Microsoft Word and Google Docs

In Microsoft Word, open the document you want to protect, then go to File > Info > Protect Document > Encrypt with Password. Type the password you want, confirm it, and save the file. When you export to PDF, the password stays attached — anyone opening the PDF will need to enter it first.

Google Docs does not have a built-in password option for PDFs, but you can download the file as a Word document, add the password in Word, then convert it to PDF. Alternatively, you can share the Google Doc with view-only access to specific people, which prevents downloading or printing without a password.

Password protection in Adobe Acrobat

If you have Adobe Acrobat (the paid version, not the free Reader), open the PDF and go to File > Properties > Security. Choose "Password Security" and set either a user password (which prevents opening the file) or a permissions password (which allows opening but blocks printing, copying, or editing). You can set both at once.

Adobe Acrobat Reader (the free version) cannot add new passwords to PDFs, but it can open password-protected files if you know the password. If you only have Reader and need to lock a PDF, you will need to use a different program or service.

Adding a password to an existing PDF on Mac

On Mac, open the PDF in Preview (the built-in app), then go to Tools > Encrypt. Choose a password, confirm it, and save. Preview will ask whether you want to replace the original file or save a copy — choose based on whether you want to keep an unprotected version.

This method works on any Mac without additional software and takes about 30 seconds. The password prevents opening the file, not just printing or copying.

Adding a password to an existing PDF on Windows

Windows does not have a built-in PDF password tool in File Explorer or Notepad. Your options are to use Adobe Acrobat (paid), open the PDF in Microsoft Word, save it with a password, then export back to PDF, or use a free online PDF tool.

If you choose an online tool, upload the PDF to a site like SmallPDF, ILovePDF, or PDF Candy, set your password, download the locked file, and delete it from the site. Be cautious with sensitive documents — use only sites with clear privacy policies and HTTPS encryption (the URL starts with https://).

The difference between user passwords and permissions passwords

A user password (sometimes called an owner password) stops someone from opening the PDF at all. They see a dialog box asking for a password before the file opens. This is the strongest protection.

A permissions password lets anyone open the PDF, but blocks specific actions like printing, copying text, or editing. This is useful if you want to share a document widely but prevent people from modifying it or printing it for redistribution. Some PDF readers ignore permissions passwords, so this is not a security measure — it is a courtesy lock.

What to do if you forget the password

There is no standard recovery method for PDF passwords. If you set a user password and forget it, you cannot open the file without the password. If you set a permissions password and forget it, you can open the file but cannot remove the restrictions.

Write down any password you set in a password manager (like Bitwarden, 1Password, or your browser's built-in manager) or in a physical notebook kept in a safe place. If you lose the password, your only option is to recreate the document from scratch or contact whoever gave you the original unprotected file.

Frequently Asked Questions

Can I password-protect a PDF on my phone?

Most phone PDF readers cannot add passwords. On iPhone, you can use the Shortcuts app to automate exporting from Notes or Mail with password protection, but this requires some setup. On Android, apps like Adobe Acrobat Reader and PDFtk do not offer password features in their free versions. The easiest route is to password-protect the PDF on a computer first, then share it to your phone.

If I password-protect a PDF, can someone still print it?

That depends on which type of password you use. A user password (prevents opening) stops printing because the file cannot be opened. A permissions password (allows opening but blocks actions) can prevent printing, but some PDF readers ignore this restriction. If security is critical, use a user password instead.

Does password-protecting a PDF make it smaller or change the file?

No. The file size stays the same, and the content does not change. Password protection is metadata added to the file, not a conversion. You can open and edit a password-protected PDF normally once you enter the password.

What if the PDF is already locked and I do not know the password?

If it has a user password (prevents opening), you cannot access it without the password. If it has a permissions password (allows opening but blocks printing or copying), you can open it normally — the restrictions only apply to those specific actions. There is no legitimate way to remove a user password you do not know.