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

When you password protect a Word document, you're adding a layer of security that requires anyone opening the file to enter a password first. Microsoft Word has this feature built in — you don't need extra software. The document itself stays encrypted, meaning the file is scrambled in a way that can't be read without the correct password.

This works differently depending on whether you use Word on Windows, Mac, or online. The steps are straightforward, but the location of the password option changes between versions. Once you set a password, even someone who has the file can't view its contents without typing it in correctly.

Key Takeaways

  • Word's password protection is built into the File menu under "Info" on Windows and "Protect Document" on Mac.
  • You set the password once when protecting the document, and Word will ask for it every time someone opens the file.
  • Password protection encrypts the entire document, not just parts of it — the whole file is locked until the password is entered.
  • If you forget the password, there is no recovery option; Microsoft cannot unlock the document for you.
  • Online Word (Office.com) does not have password protection built in, so you must use the desktop version or save to your computer first.

How to password protect in Word 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 menu. You'll see a button labeled Protect Document — click it and choose Encrypt with Password from the dropdown.

A dialog box will appear asking you to enter a password. Type the password you want to use, then click OK. Word will ask you to type the password again to confirm it. Once you confirm, click OK again. Save the document — Word will save it with the password protection in place. The next time anyone opens this file, they'll see a password prompt before the document appears.

How to password protect in Word on Mac

Open your document in Word on Mac. Click Tools in the top menu bar, then select Protect Document. A dropdown menu will show options — click Encrypt with Password.

Enter your password in the box that appears, then click OK. Mac will ask you to type the password again to verify it. Click OK once more, then save the document. The password protection is now active. Anyone opening the file will need to enter the password first.

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

When a password-protected Word document is opened, the person sees a password prompt before anything else. They must type the correct password to proceed. If they enter the wrong password, Word tells them it's incorrect and lets them try again. There's no limit to how many times they can attempt to enter the password — Word doesn't lock them out after a certain number of wrong tries.

Once the correct password is entered, the document opens normally and can be edited like any other file. The password is only required at the moment of opening, not for each action within the document.

The difference between password protecting and restricting edits

Password protection and edit restrictions are two separate features that do different things. Password protection locks the entire document — nobody can even see it without the password. Restricting edits (also called "Mark as Final" or "Restrict Editing") lets people open and read the document but prevents them from making changes without a password.

If you want to share a document for review but don't want people accidentally changing it, restricting edits is the right choice. If you want to keep the document completely private until someone enters a password, use password protection. You can use both at the same time if you need to.

Important things to know before you password protect

Write down your password somewhere safe before you protect the document. If you forget the password, Microsoft cannot recover it or unlock the document. There is no "forgot password" option for Word documents — the encryption is permanent and unbreakable without the correct password.

Password protection works on the file itself, not on copies. If someone has an unprotected copy of your document from before you added the password, that copy remains unprotected. Password protection also doesn't prevent someone from copying the text if they have the password and open the file — it only prevents them from opening it in the first place.

Password protection in Word Online and alternatives

Microsoft Word Online (the version you access through Office.com) does not have a built-in password protection feature. If you need to protect a document, read it to your computer, password protect it in the desktop version of Word, then upload it back to OneDrive or SharePoint. When someone tries to open it from the cloud, they'll still need the password.

If you're using Google Docs instead of Word, you can restrict access by changing who can view or edit the document, but this isn't the same as password protection — it relies on Google account login, not a separate password. For true password protection in Google Docs, you would need to read the document, protect it in Word, then re-upload it.

Frequently Asked Questions

Can I password protect just part of a Word document?

No. Word's password protection locks the entire document. If you need to protect only certain sections, you can use the "Restrict Editing" feature instead, which lets you lock specific parts while leaving others editable. This requires a different approach than full password protection.

What if I password protect a document and then forget the password?

There is no recovery option. Microsoft does not store your password and cannot unlock the document. The file will remain locked permanently. This is why it's important to store your password in a safe place before protecting the document.

Does password protection work if I email the document to someone?

Yes. The password protection stays with the file no matter how it's shared — email, cloud storage, USB drive, or any other method. The person receiving it will see the password prompt when they try to open it.

Can someone remove the password protection without knowing the password?

No. The encryption in Word is strong enough that removing it without the password is not practical. This is why password protection is effective for keeping documents private.

Does password protecting a document slow it down or change how it works?

No. Once the password is entered and the document is open, it behaves exactly like an unprotected document. The only difference is the password prompt at the beginning.