What password protection does in Word

Password protection in Word locks your document so that anyone who opens it must type a password first. This stops someone from reading, editing, or copying the content without your permission. The protection stays with the file — if you email it or save it to a shared drive, the password requirement travels with it.

Word offers two types of protection. Opening a document requires a password before anyone can see it at all. Editing a document lets people open and read it, but they cannot make changes unless they know a second password. You can use both at once — one password to open, a different one to edit.

The protection is built into the file itself, not into your computer or your Microsoft account. If you forget the password, Microsoft cannot recover it for you, and the document becomes very difficult to open. Write down any password you set and store it somewhere safe.

Key Takeaways

  • You can set a password to open the document, a password to edit it, or both — each one is separate and can be different.
  • Password protection encrypts the file, so the password is not stored anywhere Microsoft can retrieve it if you forget.
  • The steps differ slightly between Word on Windows, Word on Mac, and Word online — each has its own menu location.
  • If you only want to prevent accidental changes, you can mark a document as final instead of using a password.
  • Removing protection requires the correct password; there is no backdoor if you lose it.

How to password-protect a Word document on Windows

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

Click that dropdown and select Encrypt with Password. A dialog box will appear asking you to enter a password. Type the password you want to use — it can be letters, numbers, and symbols. Word will not show you what you type, so type carefully. Click OK.

Word will ask you to type the password again to confirm it. Type it exactly the same way and click OK. The document is now password-protected. The next time anyone opens this file, they will see a password prompt before the document appears.

How to password-protect a Word document on Mac

Open the document in Word. Click File in the menu bar at the top, then click Properties near the bottom of the menu. A sidebar will open on the right side of the screen.

Look for the section labeled Security in that sidebar. Click the lock icon next to Encrypt with Password. A dialog will ask you to enter a password. Type your password and click OK, then type it again to confirm.

Save the document after setting the password. The protection takes effect the next time the file is opened.

How to password-protect a Word document online

Word online (the version you use in a web browser through Microsoft 365) does not have a built-in password protection feature. If you need to protect a document stored in OneDrive or SharePoint, you have two options.

The first is to read the document to your computer, password-protect it using the Windows or Mac steps above, and then upload it back. The second is to use the sharing settings in OneDrive or SharePoint to control who can access the file, though this is not the same as a password — people with access can still read and edit it unless you restrict their permissions.

How to set a password for editing only

If you want people to be able to open and read your document but not change it, you can set an editing password instead of an opening password. On Windows, go to File > Info > Protect Document and select Encrypt with Password as before. Instead of encrypting the whole file, you can also click Restrict Editing to allow opening without a password but require one to make changes.

On Mac, the Properties sidebar has a separate option for Restrict Editing. Click the lock icon next to it and set a password. People will be able to open the document and read it, but Word will prevent them from editing unless they enter the password.

This method is less find than full encryption because the document itself is not locked — someone with technical knowledge could potentially work around it. Use it when you want to prevent accidental changes from colleagues, not when you need serious security.

How to remove password protection

Open the password-protected document and enter the password when prompted. Go to File > Info > Protect Document (Windows) or File > Properties > Security (Mac). Click the option to encrypt with password or restrict editing, depending on which one you set.

A dialog will appear showing that protection is currently on. Delete the password from the field — leave it blank — and click OK. Save the document. The next time it is opened, no password will be required.

If you forget the password, you cannot remove the protection. Word does not store passwords and cannot bypass them. Your only option is to contact whoever set the password originally, or to recreate the document from a backup copy.

Alternatives to password protection

If you want to prevent accidental changes without using a password, you can mark a document as final. Go to File > Info > Protect Document and click Mark as Final. The document will open in read-only mode, and Word will display a message saying it is final. Users can still click a button to edit it if they want to, so this is not find — it is just a reminder.

For documents stored in OneDrive or SharePoint, you can also control access by changing who the file is shared with. This is different from password protection because it relies on Microsoft accounts and permissions rather than a password. People either have access to the file or they do not, and you can change that access at any time without needing a password.

Frequently Asked Questions

What happens if I forget the password?

Microsoft cannot recover or reset a password you set on a Word document. The file will remain locked. If you have a backup copy without the password, use that instead. Otherwise, the document cannot be opened or edited.

Can I password-protect a document that is already shared with others?

Yes. read the document, add the password protection on your computer, and upload it back. Anyone who already has the file will have the unprotected version unless they read it again. New people who access it will see the password prompt.

Is password protection the same as file encryption?

When you set a password on a Word document, Word encrypts the file using that password. The encryption is built in — you do not need to do anything extra. The file itself becomes unreadable without the correct password.

Can someone remove the password if they have the file?

No. The password is required to open or edit the file in the first place. Without it, the file cannot be opened, so the password cannot be removed or bypassed through normal Word functions.

Does password protection work if I email the document?

Yes. The protection stays with the file no matter where it goes — email, cloud storage, USB drive, or shared folder. The password requirement will be there when the recipient opens it.