The three ways to protect a document in Word

Word gives you three separate tools to stop people from editing your document, and which one you use depends on what you're trying to prevent. You can restrict editing to comments only, require a password to open the file, or encrypt the entire document so it's unreadable without the right password. Most people need the first option — restricting edits — but if you're sending sensitive information, you'll want encryption instead.

The simplest protection is built into Word's "Restrict Editing" feature, which lets you lock the document so readers can only add comments, not change the text itself. A stronger option is password protection, which prevents anyone from opening the file without entering a password you set. The strongest is encryption, which scrambles the entire file so it cannot be opened at all without the correct password.

Key Takeaways

  • Restrict Editing is the fastest way to stop people from changing text while still letting them view and comment on the document.
  • Password protection requires someone to enter a password before they can even open the file, but they can still edit it once it's open.
  • Encryption scrambles the entire file and is the strongest protection, but both you and anyone you share it with must remember the password.
  • Word's protection tools work on both .docx files and older .doc formats, though some features vary slightly between versions.

How to restrict editing so people can only comment

Open the document you want to protect in Word. Go to the Review tab at the top of the screen. Look for the button labeled Restrict Editing — in newer versions of Word, this may be called Protect instead. Click it.

A panel will open on the right side of your screen. Check the box next to "Limit formatting to a selection of styles" if you want to prevent people from changing fonts or styles, or check "Allow only this type of editing in the document" if you want to restrict what people can do. Select Comments from the dropdown menu. This means people can read the document and add comments, but cannot change any of the actual text.

Click the Yes, Start Enforcing Protection button. Word will ask you to set a password. You can leave this blank if you want — the document will still be protected, but anyone can unprotect it. If you enter a password, only someone who knows that password can turn off the protection. Click OK when you're done.

Save the document. The protection is now active. When someone opens this file, they'll see the text but won't be able to edit it — they can only add comments in the margin. If you need to edit it yourself later, go back to the Review tab, click Restrict Editing again, and click Stop Protection. If you set a password, Word will ask for it.

How to password-protect a document so it can't be opened

Open the document in Word. Click File in the top left corner. Look for Info in the left sidebar and click it. You'll see a button labeled Protect Document — click the dropdown arrow next to it.

Select Encrypt with Password. A dialog box will appear asking you to enter a password. Type a password you'll remember — Word does not store this anywhere, so if you forget it, you cannot recover the document. Click OK. Word will ask you to type the password again to confirm it. Do this and click OK.

Save the document. The next time anyone tries to open it, Word will ask for the password before showing the document. Without the correct password, the file cannot be opened at all. This is stronger protection than Restrict Editing because it prevents people from even seeing the content unless they have the password.

Be aware that if you forget the password, Microsoft cannot recover it for you. Write it down somewhere safe, or use a password manager to store it. If you need to remove the password later, repeat these steps and leave the password field blank when prompted.

How to protect a document with a password for editing only

This option lets people open the document without a password, but they need a password to make changes. It's useful when you want to share a document widely but prevent accidental edits.

Click File, then Info, then the dropdown next to Protect Document. Select Restrict Editing. In the panel that opens on the right, check the box for "Allow only this type of editing in the document" and select No Changes (Read Only) from the dropdown.

Click Yes, Start Enforcing Protection. Enter a password if you want one — this password will be required to turn off the read-only protection. Click OK, confirm the password, and save the document. Now people can open and read it, but they'll get a message saying the document is read-only if they try to edit it. They can click Edit Anyway to bypass this, but if you set a password, they won't be able to remove the protection without it.

Protecting documents in different Word versions

The steps above work in Word 2016, 2019, and Microsoft 365 (the subscription version). If you're using an older version like Word 2010 or 2013, the buttons are in slightly different places. Look for Protect Document under the File menu instead of under Review.

If you're using Word Online (the free version in your web browser), protection options are more limited. You can set a password to open the file, but you cannot use Restrict Editing. To protect a document in Word Online, click File, then Info, then Protect Document, then Encrypt with Password. The process is the same as the desktop version.

Mac versions of Word have the same protection tools, but the menu locations are slightly different. Click Tools instead of Review to find protection options. The feature names and what they do are identical to the Windows version.

What protection does and doesn't do

Word's protection tools prevent casual editing and accidental changes, but they are not military-grade security. Someone with technical knowledge can sometimes work around these protections, especially if you don't set a password. If you're protecting a document because it contains truly sensitive information — financial records, medical data, or legal documents — encryption with a strong password is your best option within Word itself.

Protection does not prevent someone from taking a screenshot of your document or copying text before you protect it. It only stops them from editing the file itself. If you send an unprotected version to someone and they make changes, you'll have two different versions of the document floating around.

Once you protect a document, you need to remember the password if you set one. Word cannot recover lost passwords. If you're protecting multiple documents, consider using the same password across all of them so you only have to remember one, but only if the documents are not highly sensitive.

Frequently Asked Questions

Can I protect just certain parts of a document and leave other parts editable?

Yes. Before you turn on protection, select the sections you want to keep editable and go to Review > Restrict Editing. Check "Allow only this type of editing" and select "Comments" or "Tracked Changes". Then protect the document. The unselected sections will be locked, and only the sections you chose will be editable.

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

If you set a password on Restrict Editing or encryption, and you forget it, you cannot open or unprotect the document. Microsoft does not store passwords and cannot recover them. Keep passwords written down in a safe place or use a password manager.

Can I protect a document that's already been shared with others?

Yes, but protection only applies to new copies. If you've already sent an unprotected version to someone, they have an editable copy. Protect the document and send the protected version separately. Make clear which version is the final one.

Does protecting a document in Word protect it if I save it as a PDF?

No. Word protection only works on Word files. If you save a protected Word document as a PDF, the protection is lost. PDFs have their own separate protection tools. If you need to protect a PDF, use your PDF reader's protection features instead.

Can I see who made changes if I protect a document with Restrict Editing?

If you set protection to allow only comments, you can see who commented and when. If you allow tracked changes instead of comments, Word will show you who made each edit. Go to Review > Track Changes to see the history of who changed what.