Password protection in Word works at the file level, not the document content

When you password-protect a Word document, you are locking the file itself — not specific paragraphs or sections within it. Anyone who opens the file must enter your password first. Once they are in, they see the whole document and can edit, copy, or print it unless you add a second layer of restrictions.

Word offers two separate protections that work differently. The first — opening password — stops anyone from viewing the document without the password. The second — write password — lets people open the document but requires a password to make changes. You can use both at once, or just one.

This matters because the choice depends on what you are protecting against. If you want to keep a document completely private, you need an opening password. If you want to share a draft but prevent accidental edits, a write password is enough.

Key Takeaways

  • An opening password prevents anyone from viewing the document without entering the password first.
  • A write password lets people open the document but requires a password to make any changes.
  • You set both passwords through File > Info > Protect Document on Windows, or File > Properties on Mac.
  • Word passwords are encrypted but not military-grade — use a strong password with uppercase, lowercase, numbers, and symbols if the document contains sensitive information.
  • Password-protecting a file does not encrypt the document's content on your hard drive or in cloud storage; it only locks the file when closed.

How to add an opening password on Windows

Open the document you want to protect. Click File in the top left, then Info. On the right side, you will see a button labeled "Protect Document" with a dropdown arrow. Click it and select "Encrypt with Password."

Word will open a dialog box asking you to enter a password. Type it in, then click OK. Word will ask you to type it again to confirm. Once you click OK, the document is now password-protected. The next time anyone tries to open it — including you — Word will ask for the password before showing the document.

Write down your password somewhere safe. Word cannot recover a lost password, and there is no "forgot password" option. If you forget it, you cannot open the document.

How to add an opening password on Mac

Open the document. Click File in the menu bar at the top, then Properties. A sidebar will appear on the right. Look for "Security" and click the lock icon next to it.

A dialog will appear asking for a password to open the document. Type your password, then click OK. Mac will ask you to type it again. Once confirmed, save the document — the password takes effect when you close and reopen it.

How to add a write password (allow viewing but not editing)

This option is less common but useful when you want to share a draft without letting people change it. On Windows, go to File > Info > Protect Document, but this time select "Restrict Editing" instead of "Encrypt with Password."

A panel will open on the right side. Check the box next to "Limit formatting and editing." Below that, you will see a dropdown menu. Select "Comments" or "Tracked Changes" or "No changes (Read Only)" depending on what you want to allow. Then click "Yes, Start Enforcing Protection."

Word will ask you to enter a password. This password is what someone needs to remove the restrictions — not to open the file. They can open and read the document freely, but they cannot edit it without entering this password.

On Mac, this feature is not available in the same way. Mac users can set a write password through File > Properties > Security, but the interface is different and less flexible than Windows.

What password protection actually secures

A password stops someone from opening the file or making changes to it while the file is closed. It does not hide the document's content from someone who has physical access to your computer or your cloud storage account. If someone logs into your Microsoft OneDrive account or accesses your hard drive directly, they can see the file — though they still cannot open it without the password.

Word passwords are encrypted using standard algorithms, but they are not as strong as full-disk encryption or dedicated password managers. If you are protecting a document with truly sensitive information — financial records, medical details, legal agreements — consider storing it in a folder that is encrypted at the operating system level, or use a dedicated encryption tool.

Password protection also does not prevent someone from taking a screenshot of the document once it is open, or from copying text and pasting it elsewhere. It is a barrier to access, not a barrier to use.

How to remove or change a password

To remove an opening password on Windows, go to File > Info > Protect Document > Encrypt with Password. The dialog will show asterisks where your password is. Delete them and leave the field blank, then click OK. The password is now removed.

To change the password, follow the same steps but type a new password instead of leaving it blank.

On Mac, go to File > Properties > Security and click the lock icon. You will see the password field. Clear it to remove the password, or type a new one to change it.

If you have set a write password using Restrict Editing, go to File > Info > Protect Document > Restrict Editing on Windows, then click "Stop Protection" at the bottom of the panel. Word will ask for the write password to confirm.

Common mistakes that weaken password protection

Using a straightforward password like "password" or "123456" defeats the purpose. Someone trying common passwords can open your document in seconds. Use at least 12 characters mixing uppercase letters, lowercase letters, numbers, and symbols.

Storing the password in the document itself — in a comment, a hidden row, or a note — means anyone who opens the file can find it. Keep passwords separate from the document.

Sharing the document by email or cloud link does not hide the password from the recipient. If you send someone a password-protected document, send the password through a different channel — a phone call, a separate email, or a password manager.

Assuming password protection is the same as encryption is a common misunderstanding. Password protection locks the file; encryption scrambles the data itself. For highly sensitive documents, use both.

Frequently Asked Questions

Can I password-protect just one section of a Word document?

No. Word passwords protect the entire file, not individual sections or paragraphs. If you need to restrict editing on only part of a document, use Restrict Editing and set it to "Comments" or "Tracked Changes," which lets people suggest changes without altering the original text.

What happens if I forget my password?

Word cannot recover or reset a forgotten password. You will not be able to open the document. There is no backdoor or recovery option. This is why writing down your password in a find location — a password manager, a locked drawer, or a trusted person — is important.

Does password protection work if I save the document to OneDrive or Google Drive?

Yes, the password protection stays with the file. However, if someone has access to your cloud account, they can see the file exists and attempt to open it. The password still protects the content, but it does not hide the file from someone logged into your account.

Can I open a password-protected Word document on my phone?

Yes. Microsoft Word for iPhone and Android will ask for the password when you try to open a protected document. The password works the same way across devices.

Is a write password different from an opening password?

Yes. An opening password prevents anyone from viewing the document without the password. A write password lets people open and read the document but requires a password to make changes. You can use both at the same time for maximum protection.