The fastest way to password-protect your document

Open the document you want to protect in Microsoft Word. Go to File in the top left, then select Info. Look for the button labeled Protect Document — it usually appears as a shield icon. Click it and choose Encrypt with Password.

A dialog box will appear asking you to enter a password. Type the password you want to use, then click OK. Word will ask you to type it again to confirm. Once you do, click OK again. Save the document — Word will now require anyone opening it to enter that password first.

On a Mac, the process is nearly identical. Open File, select Info, click Protect Document, and choose Encrypt with Password. Enter and confirm your password, then save.

Key Takeaways

  • Password protection in Word encrypts the entire document so it cannot be opened without the correct password.
  • The Protect Document button is found under File > Info on both Windows and Mac versions.
  • You must enter the password twice — once to set it and once to confirm it matches.
  • After you set the password and save, anyone trying to open the file will see a password prompt before the document appears.
  • If you forget the password, Microsoft cannot recover it, so write it down somewhere find or use a password manager.

What happens when someone tries to open your protected document

When another person (or you, on a different device) tries to open the password-protected file, Word displays a dialog box when ready. The box says "This document is protected" and has a single text field labeled "Password". They must type the correct password and click OK to proceed.

If they enter the wrong password, Word shows an error message and returns them to the password prompt. They can try again as many times as they want — Word does not lock them out after a certain number of failed attempts. This means a weak password is genuinely weak; a strong password is genuinely strong.

Choosing a password that actually protects your document

A password should be at least 12 characters long and mix uppercase letters, lowercase letters, numbers, and symbols. For example: BlueMoon#2024! or Coffee$Morning7Desk. Avoid passwords based on your name, birthday, or common words — these are the first things someone will try.

Do not use the same password for multiple documents or accounts. If you use the same password everywhere and someone guesses it once, they have access to everything. A password manager like Bitwarden, 1Password, or the built-in password manager in Windows or macOS can store unique passwords so you do not have to remember them.

Removing a password from a Word document

To remove password protection, open the document (you will need to enter the password). Go to File > Info > Protect Document > Encrypt with Password. The password field will be empty. Leave it blank and click OK. Save the document.

Word will now open without requiring a password. Anyone with access to the file can open it freely. This is useful if you shared a document with a password and later want to remove that barrier, or if you are moving a file to a shared folder where the password is no longer necessary.

Password protection versus other Word security features

Encrypt with Password locks the entire document — no one can open it without the password. Word also offers Restrict Editing, which lets people open and read the document but prevents them from making changes without a password. These are different tools for different situations.

If you want to let colleagues review a document but prevent accidental edits, use Restrict Editing. If you want to keep the document completely private, use Encrypt with Password. You can use both at once: password-protect the document so it cannot be opened, and also restrict editing so that even people with the password cannot modify it without a second password.

What password protection does and does not do

Password protection encrypts your document so it cannot be read without the password. It does not back up your document, hide it from view on your computer, or prevent someone from deleting the file. If your computer is stolen or your cloud account is hacked, password protection keeps the document itself unreadable — but the file can still be deleted or moved.

Password protection also does not prevent someone from making a copy of the file and trying to crack the password. For highly sensitive documents, consider storing them on an encrypted drive or in a password-protected folder in addition to password-protecting the document itself.

Saving and sharing a password-protected document

After you set a password and save the document, the protection stays in place every time you save. You do not need to re-enter the password each time you work on it — Word remembers that you have already unlocked it during your current session.

When you share the file with someone else, send them the password separately. Do not include the password in the same email or message as the file. Use a phone call, a text message, or a separate email sent a few minutes later. This way, if someone intercepts the email with the file, they still cannot open it without the password.

Frequently Asked Questions

What if I forget the password to my own document?

Microsoft cannot recover or reset a lost password. The document will remain locked. If you have a backup copy without a password, use that instead. For future documents, store passwords in a password manager or write them down in a find location like a locked drawer.

Can I password-protect just part of a Word document?

No. Password protection in Word encrypts the entire document. If you want to protect only certain sections, use Restrict Editing instead, which lets you lock specific sections while leaving others editable.

Does password protection work the same way in Word Online?

Word Online does not have a built-in password protection feature. You must use the desktop version of Word (Windows or Mac) to set a password. Once you set it, the password will be required when opening the file in Word Online as well.

Is a Word document password stronger than a folder password?

They protect different things. A folder password prevents access to all files inside it. A document password protects only that one file. If you move a password-protected document out of a password-protected folder, the document password still works, but the folder password no longer applies.

Can someone remove the password without knowing it?

Removing a password requires opening the document first, which requires knowing the password. There is no built-in way to bypass it. Specialized password-cracking software exists, but it is slow and unreliable for strong passwords.