How to Put a Password on a Word Document

Protecting a Word document with a password is one of the most straightforward ways to keep sensitive content away from unauthorized eyes. Whether you're securing a contract, a personal journal, financial records, or a confidential work file, Microsoft Word has built-in encryption tools that go well beyond a simple lock — and understanding how they work helps you make smarter decisions about how much protection you actually need.

How Word Document Password Protection Works

When you apply a password to a Word document, you're not just adding a access barrier — you're triggering AES encryption (Advanced Encryption Standard). By default, modern versions of Word use AES-256 bit encryption, which is the same standard used by banks and governments. This means the file's contents are mathematically scrambled, and without the correct password, the data is effectively unreadable.

This is meaningfully different from simply hiding a file or setting folder permissions on your computer. Password-protected Word documents carry their encryption with them — so even if someone copies the file to a USB drive or downloads it from email, the protection travels along with it.

Step-by-Step: Adding a Password in Microsoft Word (Windows)

The process is nearly identical across Word 2016, 2019, Word for Microsoft 365, and most recent versions:

  1. Open the document you want to protect
  2. Click File in the top-left corner
  3. Select Info from the left-hand menu
  4. Click Protect Document
  5. Choose Encrypt with Password
  6. Enter your chosen password and click OK
  7. Re-enter the password to confirm, then click OK
  8. Save the file — the password only takes effect once the document is saved

The next time anyone attempts to open that file, Word will display a password prompt before revealing any content.

Step-by-Step: Adding a Password in Word for Mac

On macOS, the path is slightly different:

  1. Open the document
  2. Click Review in the top menu bar
  3. Select Protect Document
  4. Under Security, enter a password in the Password to open field
  5. Click OK, confirm the password, then save

Alternatively, you can access the same option via File → Passwords in newer versions of Word for Mac.

Two Types of Password Protection 🔒

Word actually offers two distinct password layers, and they serve different purposes:

Protection TypeWhat It Does
Password to OpenEncrypts the file — no one can view the content without the password
Password to ModifyAllows the file to be opened and read, but restricts editing

Password to Open is the stronger option. It applies full encryption and is appropriate when the content itself must stay private. Password to Modify is more of a soft lock — useful for shared documents where you want to control who can make changes, but where the content doesn't need to be hidden.

You can apply one or both, depending on your situation.

What Happens If You Forget the Password

This is where the strength of Word's encryption becomes a double-edged sword. Microsoft has no backdoor or recovery option for encrypted Word documents. If you lose the password to a document encrypted with AES-256, recovery is not guaranteed — and any third-party "recovery" tools work by attempting billions of password combinations, with success depending heavily on password length and complexity.

Short or simple passwords are more vulnerable to brute-force attempts. Long, complex passwords offer stronger protection but carry a higher cost if forgotten. This is a real trade-off worth thinking through before you set one.

Removing or Changing a Password

If you have the current password and want to remove or change it:

  1. Open the document (you'll need the existing password to do so)
  2. Go to File → Info → Protect Document → Encrypt with Password
  3. Clear the password field completely and click OK to remove it, or type a new password to replace it
  4. Save the file

Factors That Affect How This Works for You 🖥️

Word's password feature isn't universally identical in behavior across every environment. A few variables can change the experience:

  • Word version: Older versions (pre-2007) used weaker encryption. If you're on a current version, you're getting AES-256. If you're saving in .doc format (instead of .docx) for compatibility with older software, encryption strength may be reduced.
  • Operating system: The steps differ slightly between Windows and Mac, and the interface has shifted across macOS versions.
  • Microsoft 365 vs. standalone license: Both support encryption, but the interface location may differ slightly depending on your build version.
  • Third-party Word alternatives: Apps like LibreOffice Writer or Google Docs handle file passwords differently. LibreOffice supports password protection for .docx files, but Google Docs does not natively encrypt files with a standalone password — the security model there depends on Google account permissions instead.
  • Shared or cloud-stored files: If your document lives in OneDrive or SharePoint, file-level password encryption stacks on top of whatever sharing permissions are already set. Both layers apply independently.

The Strength of Your Password Matters as Much as the Feature Itself

Enabling encryption on a Word document is only as effective as the password protecting it. A password like doc123 offers minimal real security regardless of the underlying encryption standard. Length and randomness — a mix of uppercase, lowercase, numbers, and symbols — are what make a password genuinely resistant to guessing or automated attacks.

Some users protect highly sensitive documents with a passphrase stored in a password manager, treating the Word encryption as one layer within a broader security setup. Others use it casually for basic privacy. The feature is the same either way — but the practical security outcome varies enormously based on how the password itself is chosen and stored.

How much that matters depends entirely on what's in the document, who might try to access it, and what your broader file security habits look like.