Password protection locks your Word file so only someone with the password can open it

When you password-protect a Word document, you're adding a barrier that requires anyone opening the file to type in a password first. Microsoft Word has this feature built in — you don't need extra software. The protection works on both .docx files (modern Word) and .doc files (older versions), and it travels with the file if you email it or store it in the cloud.

There are two types of protection you can add: one that locks the file so it can't be opened without a password, and one that lets people open the file but prevents them from editing it without a password. Most people use the first type when they want to keep something private.

Key Takeaways

  • You set a password in Word's "Protect Document" menu, which is in the File tab under Info on Windows or in the Tools menu on Mac.
  • A password-protected Word file cannot be opened at all without the correct password — the person trying to open it will see a password prompt before the document appears.
  • If you forget your password, Microsoft cannot recover it for you, so write it down somewhere safe or use a password manager to store it.
  • Password protection only works if the person trying to access the file doesn't have the original unprotected copy — it doesn't prevent someone from copying the file before you protect it.

How to add password protection in Word on Windows

Open the document you want to protect. Click the File tab at the top left, then click Info. On the right side of the screen, you'll see a button that says "Protect Document" with a dropdown arrow next to it. Click that arrow and select "Encrypt with Password."

A dialog box will appear asking you to enter a password. Type in your password — Word will show dots instead of the actual letters for security. Click OK. Word will ask you to type the password again to confirm you didn't make a typo. Once you confirm, save the document. The next time anyone tries to open this file, they'll see a password prompt.

How to add password protection in Word on Mac

Open your document and click the Tools menu at the top of the screen. Look for "Protect Document" and click it, then select "Encrypt with Password" from the submenu. A dialog box will appear where you enter your password. Type it in, click OK, then type it again to confirm. Save the document when you're done.

The Mac version works the same way as Windows — once you save, the file is locked and requires the password to open.

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

When another person (or you, on a different computer) tries to open a password-protected Word document, they'll see a password dialog box before the document opens. They have to type in the correct password to proceed. If they type the wrong password, Word will tell them it's incorrect and let them try again. There's no limit to how many times they can try, so a weak password is easier to guess.

If they don't have the password, they cannot open the file at all — they can't see the contents, they can't edit it, they can't do anything with it. This is different from read-only protection, which lets someone open the file but prevents them from making changes.

Choosing a password that actually protects your file

A password is only as strong as the words or numbers you choose. "password" or "123456" or your name will be guessed quickly by someone determined to get in. A stronger password mixes uppercase letters, lowercase letters, numbers, and symbols — something like "BlueMoon$47!Kitchen" is much harder to crack than "bluemoon."

The longer your password, the harder it is to guess. Aim for at least 12 characters if the document contains something sensitive. Write it down in a physical notebook kept somewhere safe, or use a password manager like Bitwarden or 1Password that stores passwords encrypted on your device. Do not email the password to yourself or write it in a note on your computer — that defeats the purpose.

What password protection does not do

Password protection only works on the file itself. If someone already has a copy of your Word document before you protect it, the protection won't affect their copy. Password protection also doesn't encrypt the file — it just locks it. If someone with technical skill really wants to get in, there are tools that can break Word passwords, especially older ones. For documents with serious legal or financial sensitivity, you may need stronger encryption, which is different from Word's built-in protection.

If you share a document with someone and then password-protect it, they still have the unprotected version you sent them. Protecting the file after sharing it doesn't retroactively protect the copies already in someone else's hands.

Removing password protection if you need to

If you want to remove the password protection later, open the file with the password, then go back to File > Info > Protect Document > Encrypt with Password. Delete the password from the dialog box (leave it blank) and click OK. Save the document. The file is now unprotected and anyone can open it without a password.

This is why remembering your password matters — you need it to remove the protection. If you forget it, you cannot unprotect the file yourself. Microsoft does not have a way to reset Word document passwords, so a forgotten password is permanent.

Frequently Asked Questions

Can I password-protect a Word document in Google Docs or OneDrive?

Google Docs doesn't have built-in password protection the way Word does. OneDrive stores your files in the cloud, but the protection comes from your OneDrive account password, not the document itself. If you want password protection on the document level, save it as a .docx file, protect it in Word, then upload it to OneDrive.

What if I forgot the password to my protected Word file?

Microsoft cannot recover or reset a forgotten Word document password. The file will remain locked. Some third-party password recovery tools exist, but they work inconsistently and may not work on newer Word files. Your best option going forward is to use a password manager to store passwords so you don't lose them.

Does password protection work if I email the file to someone?

Yes. The protection stays with the file no matter how it travels — email, cloud storage, USB drive, or any other method. The person receiving it will see the password prompt when they try to open it.

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

Word's password protection locks the entire file, not sections of it. If you need to protect only certain paragraphs or pages, you would need to split the document into separate files and protect only the sensitive one.

Is Word password protection the same as encryption?

Not exactly. Word's password protection locks the file so it can't be opened without the password. Encryption scrambles the file's contents so they're unreadable without the password. Word's protection is simpler and faster, but encryption is technically stronger for highly sensitive documents.