Password protection in Word works two ways: you can require a password to open the file, or require one to edit it while allowing others to read it

Microsoft Word lets you add a password in the Save dialog, not in a separate security menu. The process takes about 30 seconds and works the same way in Word for Windows, Word for Mac, and Word Online, though the exact menu location shifts slightly between versions.

When you password-protect a document, Word encrypts the file. Anyone who tries to open it will see a password prompt before the document appears. If you choose "password to modify" instead, readers can open the file without a password but cannot save changes unless they enter the password you set.

Key Takeaways

  • Open the File menu, select Save As, and look for a Tools or Options button that opens an encryption dialog where you type your password twice.
  • A password to open the document prevents anyone without the password from viewing it at all; a password to modify lets people read it but blocks edits.
  • Word does not show you the password as you type it, so write it down before you save or you will lock yourself out of your own document.
  • If you forget the password, there is no recovery option — Microsoft cannot unlock the file for you, and no standard tool can break the encryption.

Password to open: blocking all access without the password

This option encrypts the entire file. No one can view, edit, or even see what the document contains without entering the correct password first.

In Word for Windows, go to File, then Save As. Choose where to save the file and type the filename. Before you click Save, look for a button labeled Tools (in older versions) or Options (in newer versions) near the bottom right of the dialog. Click it and select General Options. You will see two password fields: one labeled "Password to open" and one labeled "Password to modify". Type your password in the "Password to open" field only. Word will ask you to type it again to confirm. Then click OK and save the file normally.

In Word for Mac, the path is File > Save As, then click the Options button in the lower left corner of the save dialog. Check the box next to "Password protect" and type your password twice in the field that appears.

In Word Online (the browser version), go to File > Info > Protect Document > Encrypt with Password. Type the password and save.

Password to modify: letting people read but not change

This option lets anyone open the document without a password, but they cannot save changes unless they know the password. They can read everything, copy text, and print — they just cannot edit and overwrite the original file.

Use the same Save As path as above. In the General Options dialog (Windows) or Options panel (Mac), type your password in the "Password to modify" field only, leaving "Password to open" blank. Confirm the password and save. When someone else opens the file, they will see a dialog asking whether they want to open it as read-only or enter the password to edit. If they choose read-only, they can view and copy but cannot make permanent changes.

What happens when someone tries to open a protected document

If you set a password to open, Word displays a dialog box the moment the file is clicked. The person must type the correct password or the file will not open at all. They get three attempts before Word closes the dialog.

If you set a password to modify, the file opens when ready, but a separate dialog appears asking whether to open as read-only or enter the password to edit. Choosing read-only is the default and requires no password. The document opens in a mode where the ribbon is grayed out and edits cannot be saved — the person can only read and copy.

Changing or removing a password later

To change the password, open the document (you will need to enter the current password if one is set to open). Go to File > Save As again, click Tools or Options, and type the new password in the same field. Leave it blank if you want to remove the password entirely. Save the file with the same name — Word will ask if you want to replace the existing file, and you do.

If you are removing a password to modify but keeping a password to open, you must know both passwords. Open the file with the open password, then go to Save As, click Tools or Options, clear the modify password field, and save.

Why password protection is not the same as file encryption

Word's password protection uses encryption, but it is not the same as encrypting the entire file on your hard drive using Windows BitLocker or Mac FileVault. Word's method protects the document itself — if someone steals the file, they cannot open it without the password. But if someone gains access to your computer while you are logged in, they can still see the file in Windows Explorer or Finder.

For documents containing sensitive information like financial records or medical details, consider using both: password-protect the Word file and also encrypt the folder it sits in using your operating system's built-in encryption tool.

Common mistakes that lock you out

The most common error is forgetting to write down the password before closing the save dialog. Word does not display the password as you type — it shows dots instead — so if you do not write it down, you have no way to remember it. There is no "forgot password" recovery for Word documents. If you lose the password, the file is inaccessible.

Another mistake is setting the same password for both "open" and "modify" when you only meant to set one. This can happen if you do not read the dialog carefully. Check which fields you actually filled in before clicking OK.

Some people also password-protect a document, then save it to a cloud service like OneDrive or Google Drive and assume the cloud storage password protects the Word file too. It does not — the Word file itself is encrypted separately, and the cloud password only controls who can access your cloud account. Someone who somehow gets the Word file can still open it without knowing your cloud password if they know the Word password.

Frequently Asked Questions

Can I password protect a Word document on my phone or tablet?

Word for iPhone and iPad does not have a built-in password protection feature in the app itself. You can password-protect a document on a computer, then open it on your phone, but you cannot set the password from the phone. If you need to protect a document created on mobile, save it to OneDrive, open it on a computer, and add the password there.

What if I set a password and now I cannot remember it?

There is no recovery option. Microsoft does not store your password and cannot unlock the file. You will need to recreate the document from a backup or from memory. This is why writing down the password before you close the save dialog is critical.

Does password protecting a Word document work in Google Docs or LibreOffice?

Google Docs does not have a password protection feature — it relies on Google account permissions instead. LibreOffice Writer does support password protection and uses a similar Save As dialog. Passwords set in Word are not compatible with LibreOffice and vice versa, so if you need to share the file with someone using different software, test it first.

Can someone break a Word password if they have the file?

Word uses encryption that is difficult to break with standard tools, but specialized password-cracking software exists. For highly sensitive documents, password protection alone is not enough — combine it with file-level encryption on your operating system or store the document in a password-protected cloud vault.

If I password protect a document, can I still track changes?

Yes. Password protection and track changes are separate features. You can turn on track changes, then password-protect the document. Reviewers will see the tracked changes, but they cannot save edits without the password (if you set a password to modify) or cannot open the file at all (if you set a password to open).