Word has two password methods, and they protect different things

You can password-protect a Word document in two ways, and they do different jobs. Opening password stops anyone from reading the document at all without the password. Edit password lets people open and read the document, but they cannot change it without the password. Most people want the opening password — it is simpler and stronger.

Both methods use encryption that is reasonably strong for personal and small-business use. The encryption is built into Word itself, so you do not need extra software. However, if you lose the password, Microsoft cannot recover it for you, and neither can anyone else. The document becomes unreadable.

Key Takeaways

  • Opening password (also called "read password") encrypts the entire document and requires the password to open it at all.
  • Edit password lets people open the document but prevents changes unless they enter a second password.
  • You set both passwords in the same dialog box: File > Info > Protect Document > Encrypt with Password.
  • Write down your password and store it somewhere separate from the document, because Word cannot recover a lost password.
  • Password protection in Word does not work the same way in older versions or in Word Online — check your version before relying on it.

How to set an opening password in Word (Windows and Mac)

Open the document you want to protect. Click File in the top left. Click Info in the left sidebar. Look for a button or link that says Protect Document — on Windows it is usually a yellow or orange button. On Mac, it may say Protect Document or show a dropdown menu next to it.

Click Encrypt with Password. A dialog box will appear asking you to enter a password. Type your password and click OK. Word will ask you to type the password again to confirm it. After you confirm, save the document. The next time anyone opens it, Word will ask for the password before showing the content.

The password you choose should be something you can remember but that others cannot guess. Word does not enforce length or complexity rules, but longer passwords are harder to crack. Avoid birthdays, names, or dictionary words used alone.

How to set an edit password (optional second layer)

If you want people to be able to read the document but not change it, you can set an edit password instead of (or in addition to) an opening password. In the same Protect Document menu, look for an option called Restrict Editing or Restrict Permissions — the exact name varies by Word version.

Click it, then choose Restricted Access or Edit Restrictions. You will see a checkbox for "Limit formatting and editing permissions." Check that box, then set the permission level to Read Only or Comments Only depending on what you want. You can then set a password that people must enter to remove the restriction and make edits.

This method is less common because it is more steps, and the opening password alone is usually enough. Use edit password only if you specifically need people to see the document but not change it.

What happens when someone tries to open a password-protected document

When a password-protected Word document is opened, Word displays a dialog box asking for the password before showing any content. The person opening the file cannot see the document, search it, or copy text from it without entering the correct password. If they enter the wrong password, Word rejects it and asks again.

There is no limit to how many times someone can try different passwords, so a weak password can be cracked by repeated guessing. There is also no way to know how many times someone has tried to open the document — Word does not log failed attempts.

Removing or changing a password you set

To remove a password, open the document (you will need to enter the current password). Go to File > Info > Protect Document > Encrypt with Password. The password field will be blank or show dots. Delete any text in that field and click OK. Save the document. The next time it is opened, no password will be required.

To change the password to a different one, follow the same steps but type the new password instead of leaving the field blank. You do not need to enter the old password first — Word assumes you know it because you were able to open the document.

Why Word password protection has limits

Word's password protection works well for keeping casual readers out and for basic security in a workplace where people follow rules. It does not protect against someone with serious technical skill or specialized software. If the document contains highly sensitive information — financial records, legal strategy, medical data — password protection alone is not enough.

Word also does not protect the document if someone has physical access to your computer and can copy the file before it is opened. Password protection only stops people who encounter the file after it is saved. If you need to send a password-protected document to someone, send the password through a separate channel (a phone call, a different email, a text message) rather than in the same message as the file.

Password protection in Word Online and older versions

Word Online (the free version you use in a web browser) does not support password protection. If you upload a password-protected document to OneDrive and open it in Word Online, it will ask for the password, but you cannot set a new password or change the existing one through the web version. You must use the desktop version of Word to manage passwords.

Word 2007 and earlier versions use a different encryption method that is weaker than newer versions. If you are using Word 2010 or later, you have the stronger encryption. If you need to share a password-protected document with someone using very old Word software, test it first to make sure they can open it.

Frequently Asked Questions

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

No. Word's password protection applies to the entire document. If you need to protect only part of a document, you must save that section as a separate file and password-protect the separate file. You cannot lock individual pages or sections within a single document.

What if I forget the password?

There is no way to recover it. Microsoft does not store your password and cannot reset it. You will not be able to open the document. If you have an unprotected copy or a backup, use that instead. Going forward, store passwords in a password manager like Bitwarden or 1Password so you do not lose them.

Does password protection stop someone from copying the file itself?

No. Password protection only stops someone from opening and reading the file. If someone has access to your computer or your email, they can copy the password-protected file and try to open it elsewhere. To prevent copying, you need file-level permissions or encryption at the operating system level, not Word-level protection.

Can I set different passwords for different people?

No. Word uses one password for the entire document. Everyone who opens it uses the same password. If you need different people to have different access levels, you need a more advanced tool like SharePoint or a document management system.

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

No. When you save a Word document as a PDF, the Word password protection does not carry over. You would need to set PDF password protection separately using your PDF reader or a PDF tool. The two systems do not communicate.