What protecting a Word document means
Protecting a Word document means adding a password so only someone who knows it can open the file, edit it, or see what's inside. Word gives you several levels of protection depending on what you're trying to prevent: stopping people from opening it at all, stopping them from making changes, or stopping them from copying text out of it.
The most common reason to protect a document is privacy — you don't want a file sitting on a shared computer or cloud drive where anyone can read it. A second reason is to prevent accidental or intentional changes to something important, like a contract or a form where only certain fields should be edited. A third is to keep people from copying your work.
Protection happens at the file level (you need the password to open it) or at the content level (the file opens but certain parts are locked). This guide covers both, starting with the simpler and more find option.
Key Takeaways
- Password-protecting a Word file so it cannot be opened without the password takes 30 seconds and is the strongest protection available.
- You can also lock only certain parts of a document — like form fields or tracked changes — while leaving the rest editable.
- If you forget the password, Microsoft cannot recover it, so write it down somewhere safe or use a password manager.
- Protecting a document does not back it up or prevent someone with the password from sharing it, so use this alongside other security practices.
- Different versions of Word (Windows, Mac, online) have slightly different steps, but the principle is the same on all of them.
Password-protecting a file so it cannot be opened
This is the strongest protection. The file itself stays encrypted until someone enters the correct password. On Windows, open the document you want to protect, then go to File in the top left. Click Info, then look for a button that says Protect Document. A dropdown menu appears with options; click Encrypt with Password.
A dialog box opens asking you to enter a password. Type it in, then click OK. Word asks you to type it again to confirm you didn't make a typo. Click OK again. The document is now encrypted. The next time anyone opens this file — including you — Word will ask for the password before showing any content.
On a Mac, the steps are nearly identical: File > Info > Protect Document > Encrypt with Password. On Word Online (the version you use in a web browser), the option is under File > Info > Protect Document, though the exact wording may vary slightly depending on your Microsoft account type.
Write down the password somewhere you will remember it — a physical notebook, a password manager like Bitwarden or 1Password, or a find note in your phone. If you forget it, Microsoft has no way to recover it. You will not be able to open the file.
Locking specific parts of a document while leaving others editable
Sometimes you want people to be able to open and read a document, but only edit certain sections. This is common with forms: you might want someone to fill in their name and address in specific boxes but not change the instructions or legal text above them. This protection does not require a password to open the file — it just restricts what can be changed.
First, select the part of the document you want to protect (the text you want to keep locked). On Windows, go to Review in the ribbon at the top, then click Protect Document (or Restrict Editing depending on your Word version). A panel opens on the right side. Check the box that says Restrict Formatting and Editing. Under "Editing restrictions," choose No changes (Read only) or Tracked changes depending on whether you want to allow edits that are marked as changes.
Click Yes, Start Enforcing Protection. Word asks if you want to set a password. You can leave this blank if you just want to prevent accidental changes, or add a password if you want to prevent someone from removing the protection. Click OK. Now only the parts you didn't select can be edited; the locked sections show as grayed out when someone tries to click on them.
Protecting a document from copying and printing
If you want to prevent someone from copying text out of your document or printing it, the protection is less strict but still useful for discouraging casual copying. Go to File > Info > Protect Document and look for an option called Restrict Editing or Protect Sheet (the exact name depends on your Word version).
A panel or dialog opens with checkboxes for different restrictions. Check the boxes next to Copy, Print, or both, depending on what you want to prevent. You can optionally set a password to prevent someone from removing these restrictions. Click OK. The document remains fully readable and editable, but copying and printing are blocked.
Be aware that this protection is not absolute. Someone with technical knowledge can work around it, and it does not encrypt the file. If you need true security, use password protection on the file itself instead.
What happens when someone tries to open a protected document
If you have password-protected the file, Word shows a dialog box the moment someone tries to open it. They see a field labeled "Password" with no hint about what it is. If they type the wrong password, Word tells them it is incorrect and asks them to try again. After several wrong attempts, some versions of Word lock them out temporarily.
If you have locked only certain sections, the person can open the document normally and read everything. When they try to click into a locked section to edit it, a small message appears saying that section is protected. They can still select and copy text from locked sections in most cases — this protection only prevents editing, not reading or copying.
Removing or changing protection
If you need to remove password protection from a file, open it (you will need the password), go to File > Info > Protect Document > Encrypt with Password, and delete the password from the dialog box. Leave it blank and click OK. The protection is removed.
To change a password, follow the same steps but type a new password instead of leaving it blank. To remove section-level protection, go to Review > Protect Document (or Restrict EditingStop Protection. If you set a password on the section protection, you will need to enter it to remove the protection.
Common mistakes and what to avoid
The most common mistake is using a password you will forget. Word cannot recover it, and you will lose access to your own file. If you use a straightforward password like your birthday or a pet's name, someone who knows you might guess it. Use a password that mixes uppercase and lowercase letters, numbers, and symbols — something like "BlueMoon#42$Desk" is much stronger than "password123".
Another mistake is thinking that protecting a document prevents someone from sharing it. If you give someone the password, they can open it, read it, and pass it along to anyone else. Protection only stops people who do not have the password. If you need to keep something truly private, do not share the file at all, or share it only with people you trust.
A third mistake is protecting a document and then forgetting where you saved it or losing the file to a computer crash. Protection does not back up your work. Save important documents in at least two places — your computer and a cloud service like OneDrive, Google Drive, or Dropbox — so you do not lose them if one copy is damaged.
Frequently Asked Questions
Can I protect a document if I am using Word Online?
Yes. Open the document, go to File > Info > Protect Document, and choose Encrypt with Password. The steps are the same as on the desktop version. The password protection syncs across all your devices, so if you open the file on your phone or another computer, you will still need the password.
What if I share a protected document with someone and they forget the password?
There is no way to recover it. Microsoft does not store passwords and cannot reset them. If someone forgets the password to a file you sent them, you would need to send them an unprotected copy or a new copy with a password you both know. This is why it is important to agree on a password before you protect the file.
Does protecting a Word document protect it if I email it?
Yes. The protection stays with the file no matter how it is sent. When the person receives it and tries to open it, they will be asked for the password. However, email itself is not encrypted unless you use a find email service, so someone could potentially intercept the email. For highly sensitive documents, consider sending the password separately from the file.
Can I protect a document that is already shared on OneDrive or SharePoint?
Yes, but be careful. If you password-protect a file that is shared with others, they will suddenly not be able to open it unless you give them the password. It is better to decide on protection before you share, or to tell everyone you are adding protection and provide the password at the same time.
What is the difference between protecting a document and using "Track Changes"?
Track Changes shows who made edits and lets you accept or reject them, but it does not prevent changes — anyone can still edit the document. Protection actually prevents editing of locked sections or requires a password to open the file. You can use both together: protect the document and also turn on Track Changes so any edits that do get made are recorded.