Password protection in Word works two ways: you can require a password to open the file, or require one to edit it while allowing others to read it

The simplest method is to save your document with a password that readers must enter before they can open it at all. This is called encryption. The second method lets anyone open the document but requires a password to make changes — useful when you want people to see something but not alter it.

Both methods are built into Word itself. You do not need extra software. The password you set is the only way to unlock the document, so if you forget it, Microsoft cannot recover it for you — write it down somewhere safe.

Key Takeaways

  • To require a password before opening a Word document, go to File > Info > Protect Document > Encrypt with Password, type your password twice, and save the file.
  • To allow viewing but block editing, go to File > Info > Protect Document > Restrict Editing, choose "Editing restrictions", and set a password.
  • Passwords are case-sensitive, so "MyPassword" and "mypassword" are different — write down exactly what you typed.
  • If you forget the password, there is no recovery method; Word cannot unlock the document for you.

Encrypting a document so it requires a password to open

This method scrambles the entire file. Anyone who tries to open it will see a password prompt before they can read anything inside.

Open the document you want to protect. Click File in the top left corner. Click Info in the left sidebar. Look for the button labeled Protect Document — it may show a dropdown arrow. Click it and select Encrypt with Password.

A dialog box will appear asking you to enter a password. Type the password you want to use. Click OK. Word will ask you to type the password again to confirm you did not make a typo. Type it exactly the same way. Click OK. Now save the document by pressing Ctrl+S (Windows) or Command+S (Mac). The encryption takes effect when you save.

The next time anyone opens this file, Word will prompt them for the password before the document appears. If they enter the wrong password, the document will not open.

Restricting editing while allowing others to view the document

This method lets you share a document that people can read but cannot change without your password. It is useful for templates, final versions, or documents you want feedback on without accidental edits.

Open the document. Click File, then Info. Click Protect Document and select Restrict Editing. On the right side of the screen, a panel labeled "Restrict Editing" will open. Under "Editing restrictions", check the box next to Allow only this type of editing in the document. A dropdown menu will appear. Select No Changes (Read Only).

Below that, you will see a field labeled Start enforcing protection. Click the button next to it. A dialog box will ask for a password. Type the password you want to use, click OK, type it again to confirm, and click OK. Save the document with Ctrl+S or Command+S.

Now when someone opens the file, they can read it but cannot edit it. If they try to make changes, Word will tell them the document is read-only. They can save a copy with a different name and edit that, but they cannot modify the original without the password.

Removing password protection from a document

If you encrypted a document with a password to open it, you must know that password to remove the protection. Open the document and enter the password when prompted. Go to File > Info > Protect Document > Encrypt with Password. The password field will be empty. Leave it blank and click OK. Save the document. The encryption is now removed.

If you restricted editing instead, open the document (you do not need a password to open it, only to edit). Click File > Info > Protect Document > Restrict Editing. In the Restrict Editing panel on the right, click Stop Protection. Word will ask for the password. Enter it and click OK. Save the document. The restriction is now removed and anyone can edit it.

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

If you encrypted the document, the person will see a password prompt as soon as they try to open the file. They must enter the correct password or the file will not open. They get three attempts before Word locks them out temporarily.

If you restricted editing only, the document opens normally and they can read it. When they try to make changes, Word displays a message saying the document is protected and offers them the option to enter a password or save a copy. If they enter the wrong password, they cannot edit the document.

Passwords and security: what actually protects your document

Word passwords protect against casual access and accidental changes. They do not protect against someone with serious technical skill who wants to break in — password protection in Office documents can be bypassed with specialized tools. If you are protecting documents containing highly sensitive information like financial records or medical data, password protection alone is not enough.

For everyday documents — contracts you want to prevent accidental editing of, files you want to keep from being opened by someone browsing your computer, or templates you want to share read-only — Word passwords work well. The password is case-sensitive, so "Password123" is different from "password123". Use something you can remember but others cannot guess.

Frequently Asked Questions

Can I password-protect just part of a Word document?

No. You can protect the entire document or leave it unprotected. However, you can use the Restrict Editing feature to allow specific people to edit certain sections while the rest remains locked. This requires setting up permissions for individual users, which is more complex than a simple password.

What if I forget the password to my encrypted document?

Microsoft cannot recover or reset the password. The document will remain locked. You cannot open it without the correct password. This is why you should write down important passwords and store them somewhere safe, separate from the document itself.

Does password protection work the same way on Mac and Windows?

Yes. The steps are identical. Click File, Info, Protect Document, and choose either Encrypt with Password or Restrict Editing. The dialog boxes look slightly different on Mac, but the process and result are the same.

Can someone copy text from a read-only document without the password?

Yes. If you restricted editing only (not encryption), people can still select and copy text from the document. They just cannot save changes to the original file. If you need to prevent copying, you must encrypt the document instead, which requires a password to open it at all.

Does password protection slow down Word or make the file larger?

Encryption adds a small amount of processing time when you open and save the file, but it is not noticeable on modern computers. The file size does not increase significantly. The only downside is that you cannot recover a forgotten password.