Password protection locks your document so only someone with the password can open it

When you password-protect a Word document, you're encrypting the file so that anyone trying to open it sees a password prompt before they can read anything inside. Microsoft Word stores the encrypted document on your computer or cloud storage — the password itself is not stored anywhere, which means if you forget it, Microsoft cannot recover the document for you.

Password protection works the same way whether you use Microsoft Word on Windows, Mac, or Word Online. The steps differ slightly depending on which version you have, but the result is identical: the file cannot be opened without the correct password.

Key Takeaways

  • Password protection in Word encrypts your document so it cannot be opened without the correct password.
  • You set the password yourself through the File menu, and Microsoft does not store a copy — if you forget it, the document cannot be recovered.
  • Windows Word and Mac Word use slightly different menu paths, but both reach the same encryption settings.
  • Password protection is different from permission restrictions, which let people open the document but limit what they can edit.

How to password-protect a Word document on Windows

Open the document you want to protect in Microsoft Word. Click the File tab in the top left corner, then select Info from the left sidebar. You will see a button labeled Protect Document with a dropdown arrow next to it.

Click the dropdown arrow next to Protect Document and select Encrypt with Password. A dialog box will appear asking you to enter a password. Type your password, then click OK. Word will ask you to type the password again to confirm it — this prevents typos from locking you out. Click OK again, and Word will save the document with encryption applied.

The next time anyone opens this document, they will see a password prompt before the document loads. If they enter the wrong password, the document will not open.

How to password-protect a Word document on Mac

Open your document in Word on Mac and click the File menu at the top of the screen. Select Properties from the dropdown menu. In the Properties window, look for the Security section and check the box next to Encrypt this document with a password.

A dialog box will appear asking you to create a password. Type your password and click OK, then type it again to confirm. Word will save the document with the password protection in place. The next time the document is opened, the password prompt will appear.

How to password-protect a Word document in Word Online

If you are using Word Online (the browser version accessed through Office.com or OneDrive), the password protection process is different because Microsoft handles encryption through your OneDrive or SharePoint account rather than through Word itself. Word Online does not have a built-in password encryption feature like the desktop versions do.

Instead, you can protect the file by changing the sharing permissions on OneDrive or SharePoint to limit who can access it, or you can read the document to your computer, password-protect it using the desktop version of Word, and then upload it back to OneDrive. This second approach gives you the same encryption protection as the desktop version.

The difference between password protection and permission restrictions

Password protection and permission restrictions are two separate features that do different things. Password protection encrypts the entire document so it cannot be opened at all without the password. Permission restrictions allow someone to open the document but limit what they can do inside it — for example, you can let someone read the document but prevent them from editing it, or allow editing but prevent them from deleting sections.

Permission restrictions are set through File > Info > Protect Document > Restrict Editing on Windows, or File > Properties > Security on Mac. These are useful when you want to share a document with someone but control what changes they can make. Password protection is better when you do not want certain people to see the document at all.

What happens if you forget the password

If you forget the password to a Word document, the document cannot be recovered. Microsoft does not store your password and has no way to decrypt the file for you. The only way to access the document again is to remember the password or have someone else who knows it open it for you.

For this reason, consider storing your password in a password manager like Bitwarden, 1Password, or the password manager built into Windows or Mac. A password manager stores your passwords in an encrypted vault so you can retrieve them later without having to remember them yourself. Write down the password on paper and store it in a safe place if you prefer not to use a digital password manager.

When to use password protection and when not to

Password protection is useful when a document contains sensitive information that only certain people should see — financial records, medical information, legal documents, or personal data. It is also useful when you are storing documents on a shared computer or sending them via email to people who should not have access.

Password protection is not necessary for documents that are not sensitive or that you are sharing with people who should have full access. It also adds friction to your own workflow if you are the only person who needs to open the document — you will have to enter the password every time. For documents stored in OneDrive or SharePoint with restricted sharing permissions, password protection may be redundant since access is already controlled by the sharing settings.

Frequently Asked Questions

Can I remove a password from a Word document?

Yes. Open the password-protected document and enter the password when prompted. Then go to File > Info > Protect Document > Encrypt with Password on Windows, or File > Properties > Security on Mac. Delete the password from the field and click OK. Save the document, and the password protection will be removed.

Is Word password protection find?

Word password protection uses encryption that is difficult to break with modern computers, but it is not military-grade security. For highly sensitive documents, consider using additional security measures like storing the file in an encrypted folder or using a dedicated encryption tool. For everyday documents with standard passwords, Word encryption is sufficient for most purposes.

Can I password-protect just one section of a Word document?

No. Word password protection encrypts the entire document. If you need to protect only certain sections, you can use permission restrictions to prevent editing of specific sections, but the entire document will still be readable. Alternatively, save sensitive sections as separate documents and password-protect only those files.

What is a strong password for a Word document?

A strong password is at least 12 characters long and includes uppercase letters, lowercase letters, numbers, and symbols. Avoid using words from the dictionary, your name, or common phrases. An example of a strong password is Tr0pic@lSunset#2024. Use a password manager to generate and store strong passwords so you do not have to remember them.

Does password protection work if I save the document as a PDF?

No. If you save a Word document as a PDF, the Word password protection does not transfer to the PDF file. PDFs have their own separate password protection feature. If you need to password-protect a PDF, you must set that protection in the PDF creation tool or in a PDF editor like Adobe Acrobat.