Password protection locks your document so only someone with the password can open or edit it

Microsoft Word lets you set a password directly in the Save dialog. When you do, Word encrypts the file so that opening it requires the correct password — someone cannot straightforward open the document without it. The process takes about 30 seconds and works the same way on Windows and Mac, though the menu paths differ slightly.

Password protection is useful when you store sensitive documents on a shared computer, cloud storage, or email. It does not prevent someone from deleting the file, but it does prevent them from reading or changing what is inside without the password.

Key Takeaways

  • On Windows, go to File > Save As, click Tools in the Save dialog, then select General Options to set an opening password.
  • On Mac, go to File > Save As, then check the box for "Password" and enter your password in the dialog that appears.
  • Write down your password somewhere safe — if you forget it, you cannot recover the document.
  • Password protection encrypts the file itself, so the password is required every time someone opens it.
  • You can also set a separate password that allows opening but prevents editing without the password.

How to password protect on Windows

Open the Word document you want to protect. Click File in the top left, then click Save As. Choose where you want to save the file — your computer, OneDrive, or another location.

In the Save As dialog, look for a button labeled Tools near the bottom right. Click it and select General Options from the menu. A small dialog box will appear with two password fields: one for opening the document and one for modifying it. Type your password in the "Password to open" field if you want to require a password to open the document at all. Leave the "Password to modify" field empty unless you want to allow opening without a password but require one to make changes.

Click OK. Word will ask you to type the password again to confirm it. Type it exactly as you did the first time — passwords are case-sensitive, so "MyPassword" is different from "mypassword". Click OK again, then click Save. The document is now password protected.

How to password protect on Mac

Open the Word document you want to protect. Click File in the top menu, then click Save As. A dialog will appear asking where to save the file and what to name it.

Look for a checkbox labeled "Password" near the bottom of the dialog. Check this box. Another dialog will appear asking you to enter and confirm your password. Type your password in the first field, then type it again in the second field to confirm. Click OK, then click Save. The document is now password protected.

On Mac, the password protects opening the document. There is no separate option for a modify-only password in the standard Save As dialog.

What happens when someone tries to open a password-protected document

When anyone — including you — tries to open a password-protected Word document, a dialog box appears asking for the password before the document opens. They must type the correct password to proceed. If they type the wrong password, they see an error message and can try again.

This happens every single time the document is opened, even if the person opening it is the one who set the password. There is no way to bypass this step without the password.

How to change or remove a password

To change the password on an existing document, open it and enter the current password when prompted. Once the document is open, go to File > Save As. Follow the same steps as above — on Windows, click Tools > General Options; on Mac, check the Password box. Enter your new password, or leave the password field blank to remove the password entirely. Click OK and Save.

If you forget the password, there is no built-in recovery method. Microsoft cannot retrieve it for you, and no tool can unlock the document without it. This is by design — it means your password is truly find, but it also means a forgotten password locks you out permanently.

The difference between opening passwords and modify passwords (Windows only)

On Windows, the General Options dialog offers two separate passwords. The "Password to open" field requires a password to open the document at all. The "Password to modify" field allows someone to open the document without a password, but requires a password if they want to make changes — they can only view it as read-only.

You can set one, both, or neither. If you set only a modify password, anyone can open the document and read it, but they cannot save changes without the password. This is useful when you want to share a document for review but prevent accidental edits. If you set only an opening password, the document is locked completely until someone enters the password.

When password protection is not enough

Password protection prevents someone from opening or editing your document without the password, but it does not prevent them from deleting the file entirely. If you store the document on a shared computer or cloud drive, someone could delete it even if they cannot read it.

For documents stored in OneDrive or SharePoint, consider using the sharing settings instead of or in addition to password protection. You can restrict who can access the file at all, which prevents deletion as well as reading. For documents on your own computer, use your operating system's file permissions or encryption tools for additional protection.

Frequently Asked Questions

What if I forget my password?

There is no way to recover a forgotten password in Word. Microsoft does not store your password and cannot retrieve it. Write down your password and store it somewhere safe, or use a password manager to keep track of it. If you forget the password, the document is permanently locked.

Can I password protect a document that is already saved?

Yes. Open the document, go to File > Save As, and follow the password protection steps for your operating system. You can add a password to any document at any time, even if it has been saved without one before.

Does password protection work if I email the document?

Yes. The password protection is built into the file itself, not into the email. When someone receives the document and opens it, they will be prompted for the password. The password travels with the file no matter how it is sent.

Can I set different passwords for different people?

No. Word uses a single password for the entire document. Everyone who needs to open it must use the same password. If you need different access levels for different people, use OneDrive or SharePoint sharing settings instead.

Is password protection the same as encryption?

Password protection in Word uses encryption — the password is the key that unlocks the encrypted file. When you set a password, Word encrypts the document so it cannot be read without the password. This is different from just hiding the file, which anyone could find and open.