Password-protect your document to prevent unwanted changes

Word lets you lock a document so that only people with the correct password can edit it, or you can make it read-only so viewers cannot change anything at all. The protection you choose depends on whether you want to block editing entirely or just require a password before someone can make changes.

The fastest route is the File menu. Open your document, click File, then look for the Protect Document option — the exact location and name shift slightly between Word versions, but it is always in that menu. From there you can set a password, restrict editing to comments only, or mark the document as final.

Key Takeaways

  • Password protection in Word prevents editing until someone enters the correct password, but does not prevent someone from removing the password if they have technical skill.
  • Read-only mode lets people view and copy text but blocks all editing, and is faster to set up than a password.
  • You can restrict editing to comments only, which lets reviewers add feedback without changing the actual text.
  • Different Word versions (desktop, online, Mac) have slightly different menu locations, but all three offer the same core protection options.

Set a password to require entry before editing

This is the strongest protection if you want to keep the document editable but only by people who know the password. Open the document you want to protect, then click File in the top left corner.

In the File menu, look for an option called Protect Document, Info, or Security — the exact wording depends on your Word version. Click it, then select Encrypt with Password. Word will ask you to type a password twice to confirm you did not make a typo. Once you save the document, anyone who opens it will see a password prompt before they can view or edit anything.

Write down the password somewhere safe, because Word cannot recover it if you forget. If you lose the password, you cannot open the document. Some people store passwords in a password manager like Bitwarden or 1Password so they do not lose them.

Make a document read-only without a password

Read-only mode is simpler than a password and works well when you want to share a document but prevent accidental changes. People can still open, read, and copy text from the document — they just cannot edit it directly.

Click File, then look for Protect Document or Info. Select Mark as Final or Make Read-Only. Some versions of Word also let you right-click the file in Windows File Explorer or Mac Finder, select Properties or Get Info, and check a Read-Only box there. Either method works, and you do not need to remember a password.

Keep in mind that read-only is a suggestion, not a lock. A determined user can still remove read-only status and edit the file. If you need real security, use password protection instead.

Restrict editing to comments only

This option lets reviewers add comments and suggestions without changing the actual text of the document. It is useful when you want feedback but want to control what gets changed.

Open your document and click File. Select Protect Document, then choose Restrict Editing or Edit Restrictions. A panel will appear on the right side of the screen with options for what people can do. Select Comments from the dropdown menu. Now anyone who opens the document can add comments but cannot delete or modify the text itself.

You can add a password to this restriction so that only people who know the password can turn off comment-only mode. If you do not add a password, anyone can remove the restriction by going back to the same menu and clicking Stop Protection.

Protect a document in Word Online

Word Online (the browser version you access through Office.com or OneDrive) has fewer protection options than the desktop version, but you can still set basic restrictions. Open your document and click File in the top left.

Look for Info or Protect Document. You will see an option to Restrict Editing or Protect Document. Click it and choose whether to allow only comments, or to mark the document as read-only. Word Online does not support password protection directly — if you need a password, you must use the desktop version of Word instead.

If your document is stored on OneDrive or SharePoint, you can also control who can view or edit it by changing the sharing settings. Click Share in the top right, then adjust permissions for each person. This is different from document protection but works alongside it.

Protect a document on Mac

Word for Mac uses the same protection features as Windows Word, but the menu path is slightly different. Open your document and click the Word menu at the very top of the screen, then select Preferences.

In the Preferences window, look for Security or Protection. Click it, then choose the protection type you want: password, read-only, or comments-only. Enter your password if you are using one, then click OK. Save the document and the protection takes effect immediately.

If you cannot find Security in Preferences, try clicking File instead and looking for Protect Document or Info. Mac versions of Word update frequently, so the exact menu location can shift between versions.

Remove protection from a document you own

If you protected a document and now want to remove the protection, the process depends on which type you used. For password protection, click File, then Protect Document, then Encrypt with Password. Delete the password from the box and click OK. Save the document.

For read-only or comments-only protection, click File, then Protect Document, then select Stop Protection or Remove Restriction. If you added a password to the restriction, Word will ask you to enter it before removing the protection.

If you forgot the password to a protected document, you cannot remove the protection yourself. You would need to contact whoever set the password, or in some cases use a third-party tool designed to remove Word passwords — though these tools are not always reliable and may not work on newer Word versions.

Frequently Asked Questions

Can someone remove the password protection if they really want to?

Password protection in Word is not military-grade encryption. A person with technical skill and the right tools can sometimes remove a Word password, especially on older documents. If you need absolute security, Word is not the right tool — you would need to use dedicated encryption software instead. For most everyday uses, a password is sufficient.

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

Word cannot recover a lost password. You will not be able to open or edit the document. To avoid this, store passwords in a password manager or write them down in a secure location. If you have already lost a password, you may be able to use a password recovery tool, but results vary and some tools do not work on newer Word versions.

Can I protect just part of a document and leave the rest editable?

Yes, but it requires a few extra steps. Use the Restrict Editing option and select specific sections to protect while leaving others open. Highlight the text you want to protect, then go to File > Protect Document > Restrict Editing. Choose which sections are protected and which are not, then set your password. This works best when you have clear sections that need different levels of protection.

Does protecting a document in Word Online work the same way as desktop Word?

Word Online has fewer protection options than desktop Word. You can restrict editing to comments only or mark as read-only, but you cannot set a password in the browser version. If you need password protection, download the document, protect it in desktop Word, then upload it back to OneDrive or SharePoint.

If I share a protected document with someone, can they unprotect it?

That depends on the protection type. If you used password protection, they cannot edit the document without the password, but they could potentially remove the password with the right tools. If you used read-only or comments-only without a password, they can remove the protection themselves. Always use a password if you want to prevent someone from removing the protection.