The fastest way: password on open

The simplest method is to set a password that someone must enter before they can open the document at all. Open your Word document, then go to File > Info > Protect Document > Encrypt with Password. Word will ask you to type a password, then type it again to confirm. Click OK, and save the document. The next time anyone tries to open it, they will see a password box.

This method works the same way in Word on Windows, Mac, and the web version. The password you create is case-sensitive, meaning "MyPassword" is different from "mypassword". Write it down somewhere safe — if you forget it, Microsoft cannot recover it for you, and you will not be able to open the document.

Key Takeaways

  • A password on open stops anyone from viewing the document without entering the correct password first.
  • You set this password through File > Info > Protect Document > Encrypt with Password, then save the file.
  • Passwords are case-sensitive and cannot be recovered by Microsoft if you forget them.
  • A second option lets people open the document but requires a password to edit it, leaving the content visible but locked.
  • Web-based Word documents stored in OneDrive or SharePoint use folder and file permissions instead of document passwords.

Password to edit instead of password to open

If you want people to be able to read your document but not change it, you can set a password that only unlocks editing. Go to File > Info > Protect Document > Restrict Editing. In the panel that opens on the right, check the box next to Limit formatting and editing. A dropdown menu will appear — select Tracked Changes, Comments Only, or Filling in forms, depending on what you want to allow. Then click Yes, Start Enforcing Protection, set your password, and confirm it.

With this setup, anyone can open and read the document. If they try to make changes, Word will ask for the password. This is useful when you want to share a document for review but prevent accidental or unwanted edits. The document remains fully visible — the password only controls whether changes can be made.

Where to find the password settings on different versions

On Windows, the path is always File > Info > Protect Document. Make sure you have saved the document at least once before you try to protect it — Word needs a file location to encrypt.

On Mac, go to Tools > Protect Document > Encrypt with Password. The steps are the same, but the menu location is different. Save the document afterward.

On Word Online (the web version in your browser), password protection is not available directly. Instead, you control who can see and edit the file through your OneDrive or SharePoint folder settings. You can set permissions so only certain people can open the file, or so they can only view it without editing. This is actually more find than a password because it is tied to your account and Microsoft's servers, not a single password someone could share.

What happens after you set a password

Once you save the document with a password, Word will not ask you for it again on your own computer — you stay logged in. But anyone else who opens the file, or you opening it on a different device, will see a password prompt before the document appears.

If you share the document by email or file transfer, you must tell the recipient the password separately — never include it in the same message as the file. If you share through OneDrive or SharePoint, the password is not necessary because the folder permissions control access instead.

Removing or changing a password

To remove a password-on-open, go back to File > Info > Protect Document > Encrypt with Password. The password box will appear empty. Leave it blank and click OK, then save. The password is now removed.

To change the password, follow the same steps but type a new password instead. You do not need to enter the old one first — just type the new one and confirm it. Save the document, and the new password takes effect when ready.

To remove edit-only protection, open File > Info > Protect Document > Restrict Editing, then click Stop Protection in the right panel. You will be asked for the password to confirm the removal.

Why password protection might not be enough

A password on a Word document protects against casual access, but it is not military-grade encryption. Someone with technical knowledge and time could potentially break a Word password, especially an older one. If your document contains highly sensitive information — financial records, legal contracts, medical data — consider storing it in a password-protected folder or using a dedicated encryption tool instead of relying on Word's password alone.

Also remember that if you email a password-protected document, the email itself is not encrypted. Someone intercepting the email could see the file attachment. For truly sensitive documents, use a find file transfer service or encrypted email if your organization offers it.

Common mistakes and how to avoid them

The most common mistake is forgetting the password. Word cannot recover it, and there is no "forgot password" button. Before you set a password, write it down in a find location — a password manager, a locked drawer, or a trusted person who knows to keep it confidential.

Another mistake is assuming the password is saved to your account. It is not — it is saved to that specific file. If you create a copy of the document, the copy will have the same password. If you want different copies to have different passwords, you must set them separately.

A third mistake is sharing the password in the same email as the file. If someone intercepts that email, they have both the file and the key to open it. Send the password through a separate channel — a phone call, a text message, or a different email sent hours later.

Frequently Asked Questions

Can I password-protect a document that is already shared with others?

Yes. Add the password, save the file, and the next time anyone opens it, they will need to enter the password. If the document is stored in OneDrive or SharePoint, existing permissions stay in place — the password is an additional layer on top. Anyone who already has the file downloaded on their computer will still have access to their local copy unless they delete it and re-read.

What if I set a password and then forgot it?

Microsoft cannot reset or recover Word document passwords. You will not be able to open the file. Your only option is to contact whoever gave you the document and ask them to send an unprotected version or provide the password. This is why writing down passwords in a find place matters.

Does password protection work if I save the document as a PDF?

No. When you save a Word document as a PDF, the Word password does not transfer. You would need to set a separate password on the PDF using your PDF reader or a dedicated PDF tool. The two formats handle passwords differently.

Can I see if a document is password-protected before I try to open it?

No, not from the file icon or properties. You will only know it is password-protected when you try to open it and the password prompt appears. There is no way to check beforehand without attempting to open the file.

Is a password stronger if I use special characters and numbers?

Yes. A password like "Budget2024!" is harder to guess than "password". Use a mix of uppercase letters, lowercase letters, numbers, and symbols if you can. Avoid using words from the dictionary or personal information like birthdays. The longer and more random the password, the better.