The fastest way depends on what program you're using
Most documents can be password protected directly inside the program that created them — Microsoft Word, Google Docs, Apple Pages — without any extra software. The steps differ by program and by whether you're working on your computer or online. If you're protecting a PDF, the process is different again. Start with the program you already have open, because that's usually the quickest route.
Password protection encrypts your document so it cannot be opened without the correct password. The person who receives the file sees only a locked file; they cannot read, edit, or copy anything inside until they enter the password you set.
Key Takeaways
- Microsoft Word, Google Docs, and Apple Pages all have built-in password protection in their File or Tools menus — no separate software needed.
- Google Docs and OneDrive let you password protect a document while it stays online, so you don't have to read and re-upload it.
- PDFs can be password protected through Adobe Acrobat, Preview on Mac, or free online PDF tools, but the steps are different from word processors.
- A password-protected document still needs to be shared or sent to someone; the password protection only controls who can open it once they have the file.
- If you forget the password, most programs cannot recover it — write it down somewhere safe or use a password manager.
Password protecting a Word document on Windows or Mac
Open the document in Microsoft Word. Click File in the top left, then scroll down and click Info. On the right side, you'll see a button that says Protect Document — click it and select Encrypt with Password.
Word will ask you to enter a password twice to confirm you typed it correctly. Use something you'll remember or store in a password manager; Word cannot recover a forgotten password. Once you click OK, the document is encrypted. Anyone who opens it will see a password prompt before the document appears.
If you're using an older version of Word, the path may be File > Properties > Security, but the result is the same. Save the document after setting the password — Word will prompt you to do this automatically.
Password protecting a Google Docs document
Google Docs handles password protection differently because the document lives online. Open your document and click File > Share. In the sharing dialog, look for the option to change who can access the document — by default it may say "Anyone with the link" or show specific people.
Click that dropdown and select Restricted. This means only people you explicitly add can open the document, even if they have the link. You can then share the link with specific people and set their permission level to View, Comment, or Edit.
This is not the same as a password on the file itself — it's access control through Google's servers. If you need a password that travels with the file (so someone can't open it even if they read it), read the document as a Word file first, then password protect it using Word's encryption.
Password protecting a document in Apple Pages
Open your document in Pages. Click File in the menu bar, then select Set Password. Pages will ask you to enter a password and a password hint. The hint appears when someone tries to open the file, so make it something only you would understand.
After you set the password, save the document — Pages will save it in an encrypted format. Anyone opening the file will see the password prompt and your hint before they can access the document.
If you're using Pages on iPad or iPhone, the process is similar: open the document, tap the three dots in the top right, scroll to Tools, and look for password options. The exact location varies by iOS version.
Password protecting a PDF
PDFs require a different approach because they're not edited in Word or Docs — they're usually viewed in a reader. If you have Adobe Acrobat (the paid version, not the free Reader), open the PDF, click File > Properties, go to the Security tab, and choose Encrypt with Password.
On a Mac, you can password protect a PDF without buying software. Open the PDF in Preview, click File > Export As, and in the save dialog look for a Security Options button. Click it and check the box to encrypt the PDF, then set your password.
If you don't have Acrobat or a Mac, free online PDF tools like Smallpdf or ILovePDF let you upload a PDF, set a password, and read the encrypted version. Be aware that you're uploading your file to someone else's server, so only use this method for documents that aren't sensitive beyond the password protection itself.
What happens after you password protect a document
The document is now encrypted on your computer or in your online account. You can still open it normally with your password. When you send it to someone else or share the file, they will need the password to open it — they cannot view, edit, or copy anything without entering it first.
If you email the document, the email itself is not encrypted, only the file. The password and the file travel separately, so send the password through a different channel if possible — a phone call, a text message, or a separate email. This way, if someone intercepts one, they don't have both.
Password protection does not prevent someone from sharing the file with others once they open it. It only controls the initial opening. If you need to prevent copying or editing, some programs offer additional restrictions — Word and Google Docs both have options to limit what people can do inside the document after they open it.
Storing and recovering your password
Write down your password or store it in a password manager like Bitwarden, 1Password, or the password manager built into Windows and Mac. Most programs cannot recover a forgotten password — if you lose it, the document may become permanently inaccessible.
Some password managers can generate a strong password for you and store it automatically, which is safer than writing it down or reusing a password you use elsewhere. If you're protecting multiple documents, a password manager keeps track of which password goes with which file.
If you do forget the password and the document is important, your only option is usually to contact the person who created it and ask them to set a new password. This is not always possible, so treat password protection as permanent — choose a password you can remember or store securely.
Frequently Asked Questions
Can I password protect a document that's already shared with others?
Yes, but they'll need the password to open it after you add protection. If the document was previously unprotected and shared, let them know the password has changed. In Google Docs, you can restrict access without a password by changing the sharing settings to "Restricted" instead.
What if I want to password protect only certain pages or sections?
Most word processors encrypt the entire document, not individual pages. If you need different people to see different sections, create separate documents for each section and password protect them individually, or use your program's permission settings to control who can edit specific parts.
Does password protecting a document slow it down or make it harder to edit?
No. Once you open it with the correct password, it works exactly like an unprotected document. The encryption only affects the file when it's closed or being transferred. You won't notice any difference in speed or functionality while you're working inside it.
Can someone remove the password if they have the file?
Not without the password. If the encryption is done properly — which it is in Word, Google Docs, Pages, and Adobe Acrobat — the file cannot be opened or decrypted without the correct password. This is why forgetting the password is a serious problem.
Is password protection the same as making a document read-only?
No. Read-only means someone can open and view the document but cannot save changes. Password protection means they cannot open the document at all without the password. You can combine both — password protect a document and then set it to read-only so people can view it but not edit it.