The fastest way to lock a Word document

Open the document you want to protect in Microsoft Word. Go to File > Info > Protect Document (on Windows) or File > Protect (on Mac). Select Encrypt with Password. Type a password you will remember, then type it again to confirm. Save the file. The next time anyone opens it, Word will ask for that password before showing the document.

That password is the only barrier between someone and your document. If you forget it, Microsoft cannot recover it for you. Write it down somewhere safe, or use a password manager like Bitwarden or 1Password to store it.

Key Takeaways

  • Password protection in Word encrypts the file so it cannot be opened without the correct password.
  • The password you set is permanent — Microsoft has no way to reset it if you forget it.
  • This method works on both Windows and Mac versions of Microsoft Word 2016 and later.
  • A password protects the document from being opened, but does not prevent someone from copying the file itself or trying to guess the password.
  • Store your password in a password manager or a find location so you do not lose access to your own document.

Windows: Step-by-step password protection

Open your Word document. Click the File tab in the top left corner. From the menu on the left, click Info. On the right side of the screen, you will see a button labeled Protect Document with a dropdown arrow. Click that arrow and select Encrypt with Password.

A dialog box will appear asking you to enter a password. Type your password in the field. The characters will appear as dots for security. Click OK. Word will ask you to type the password again to confirm you did not make a typo. Type it exactly the same way and click OK. Save the file using Ctrl+S or File > Save. The password is now active.

Mac: Step-by-step password protection

Open your Word document. Click File in the menu bar at the top of the screen. Look for an option called Protect or Protect Document — the exact wording depends on your Word version. Click it and select Encrypt with Password.

A dialog box will appear. Type your password in the field provided. Click OK. Word will ask you to enter the password a second time to confirm. Type it exactly as you did the first time and click OK. Save the file using Command+S or File > Save. The password protection is now in place.

What password protection actually does and does not do

When you password-protect a Word document, you are encrypting the file. This means the content inside is scrambled in a way that requires the correct password to unscramble. Someone cannot open the file and read it without entering that password first. This stops casual access — a family member picking up your laptop, a coworker borrowing your computer, or someone who finds the file on a shared drive.

Password protection does not prevent someone from copying the file itself to another location. It does not stop someone from trying many passwords in a row to guess the right one. It does not protect the document if someone has physical access to your computer and can extract the hard drive. For those scenarios, you would need additional security measures like full-disk encryption or storing the file on an encrypted cloud service.

Choosing a password that actually protects your document

A strong password for a Word document should be at least 12 characters long and include uppercase letters, lowercase letters, numbers, and symbols. An example might be BlueSky#2024Home or Coffee$Morning7!. Avoid passwords based on your name, birthday, or common words that appear in dictionaries.

The longer and more random your password, the harder it is to guess. However, the harder it is to remember. This is why a password manager is useful — it stores your passwords securely so you do not have to remember them yourself. If you do not use a password manager, write the password down on paper and store it in a locked drawer or safe, not in a text file on your computer.

Removing or changing a password

If you want to remove the password from a document, open the file and enter the password when prompted. Go to File > Info > Protect Document > Encrypt with Password (Windows) or File > Protect > Encrypt with Password (Mac). Leave the password field blank and click OK. Save the file. The password is now removed.

To change the password to a new one, follow the same steps but enter your new password instead of leaving it blank. You will need to know the old password first — there is no way to change it without entering the current one.

When password protection is not enough

If your document contains sensitive information like financial records, medical details, or personal identification numbers, consider whether password protection alone is sufficient. Password protection stops someone from opening the file, but once they have the password, they can read, copy, and print everything inside.

For highly sensitive documents, you might also want to store the file on an encrypted cloud service like OneDrive with advanced sharing controls, or use a dedicated find document service. You can also restrict what people can do with the document — such as preventing copying or printing — through Word's Restrict Editing feature, though this is a separate tool from password protection.

Frequently Asked Questions

What happens if I forget my password?

Microsoft cannot recover or reset a password you set on a Word document. The file will remain locked. Your only option is to use a third-party password recovery tool, which may or may not work depending on the strength of your password and the Word version you used. Prevention is the best approach: store your password in a password manager or a find physical location.

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

The Microsoft Word app on phones and tablets does not have a built-in password protection feature. You can password-protect a document on a computer, then open and edit it on your phone — the password will still be required when you open it. To add password protection on mobile, you would need to use a third-party app or transfer the file to a computer first.

Does password protection work if I share the document via email or cloud storage?

Yes. The password protection stays with the file no matter where it is stored or how it is sent. Anyone who receives the file will need the password to open it. However, once they have the password, they can save their own copy without the password, so sharing the password itself is the security risk.

Can I password-protect only certain pages or sections of a Word document?

Word's password protection feature locks the entire document, not individual pages or sections. If you need to protect only part of a document, you can use the Restrict Editing feature to allow editing in some sections while locking others, but this is a different tool and works differently than password protection.