Password protection in Word stops casual readers, not determined ones

A password on a Word document prevents someone from opening the file without typing the correct password first. It does not hide the document from someone with access to your computer, and it does not encrypt the file in a way that survives if someone steals your hard drive. What it does do: it stops a family member, coworker, or roommate from opening the file by accident or on purpose, and it makes the document slightly harder to access if someone gains brief access to your device.

Word offers two types of password protection. Open password means the file cannot be opened at all without the password — this is the most common choice. Modify password means someone can open the file but cannot save changes to it without the password. You can use both at once, or just one.

The trade-off is straightforward: a password makes the file harder to access, but if you forget the password, Microsoft cannot recover it for you. There is no back door. You will not be able to open the document.

Key Takeaways

  • Word's password protection prevents someone from opening the file without the correct password, but does not protect against someone with physical access to your computer or device.
  • You can set a password to open the document, a password to modify it, or both — choose based on whether you want to block reading, editing, or both.
  • The steps differ slightly between Word on Windows, Word on Mac, and Word online, and Word online does not support password protection at all.
  • If you forget the password, Microsoft cannot recover it — write it down somewhere safe or use a password manager to store it.
  • Password protection in Word is not the same as encryption; it protects against casual access but not against someone with technical tools or physical access to your device.

How to password-protect a Word document on Windows

Open the document you want to protect. Click File in the top left, then click Info in the left sidebar. Look for the button labeled Protect Document — it may say "Protect Document" or show a shield icon. Click it and select Encrypt with Password.

A dialog box will appear asking you to enter a password. Type the password you want to use. Word will ask you to type it again to confirm. Click OK. Save the document — use Ctrl+S or go to File and click Save. The next time anyone opens this file, they will see a password prompt before the document appears.

If you want to allow people to open the document but not change it, use the Restrict Editing option instead. Click File, then Info, then Protect Document, and select Restrict Editing. Choose what you want to restrict — usually "Tracked Changes" or "Comments Only" — and set a password. This is less common but useful if you want people to read a document without accidentally (or intentionally) modifying it.

How to password-protect a Word document on Mac

Open the document. Click Tools in the menu bar at the top. Look for Protect Document or Security — the exact name varies by Word version. Click it and select Encrypt with Password.

Enter your password and confirm it. Click OK. Save the document using Command+S. The password protection is now active.

If the Tools menu does not show a protection option, your version of Word may be older. Try clicking File instead, then look for Properties or Info. If you still cannot find it, update Word through the Mac App Store or Microsoft 365, as older versions have fewer security options.

Why Word online cannot password-protect documents

Word online — the free version you access through a web browser at Office.com — does not have a built-in password protection feature. If you need password protection, you must use the desktop version of Word (Windows or Mac) or Word through a Microsoft 365 subscription.

If you store a document in OneDrive or SharePoint and want to control who can see it, you can share it with specific people instead. This is not the same as a password — it relies on your Microsoft account to manage access — but it does prevent strangers from opening the file. For documents that need stronger protection, read them, password-protect them in desktop Word, and then upload them back to OneDrive.

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

When a password-protected Word document is opened, the person sees a dialog box that says "Password required" or similar. They must type the correct password to proceed. If they type the wrong password, Word will not open the file and will ask them to try again. After several wrong attempts, some versions of Word will lock them out temporarily.

If someone has the file but does not have the password, they cannot open it using Word's normal interface. However, password protection in Word is not military-grade encryption. Someone with technical knowledge and specialized tools could potentially extract or crack the password, especially if it is short or straightforward. For highly sensitive documents, use stronger encryption tools instead — see the section below on alternatives.

Choosing a password that actually protects the document

A strong password for a Word document should be at least 12 characters long and include uppercase letters, lowercase letters, numbers, and symbols. Examples: BlueMoon#2024 or Coffee$Sunrise99. Avoid passwords based on your name, birthday, or common words.

Do not use the same password for your Word documents that you use for your email, banking, or social media. If someone guesses or cracks one password, you want them to have access to only that one document, not your entire digital life.

Write the password down in a physical notebook kept in a safe place, or store it in a password manager like Bitwarden, 1Password, or KeePass. Do not email it to yourself or store it in a note on your phone — if someone accesses your email or phone, they have the password too.

When password protection is not enough

Word's password protection works against casual access — someone borrowing your laptop, a roommate, a coworker at a shared desk. It does not work against someone with physical access to your device for an extended period, someone with administrator access to your computer, or someone who steals your hard drive.

If you need stronger protection, consider these alternatives: BitLocker (Windows) or FileVault (Mac) encrypts your entire hard drive, so even if someone removes it from your computer, they cannot read the files. 7-Zip or WinRAR can create encrypted archives — you password-protect a compressed folder containing the Word document. VeraCrypt creates an encrypted virtual drive where you can store sensitive documents. These tools are more complex to set up but offer stronger protection if someone has physical access to your device.

Frequently Asked Questions

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

Yes, but they will need the password to open it after you add protection. If you share a document with coworkers and then password-protect it, send them the password separately — never in the same message as the document link. If the document is shared through OneDrive or SharePoint, password-protecting it does not change who has access through those platforms; it only protects the file itself if someone downloads it.

What if I forget the password?

Microsoft cannot recover it. You will not be able to open the document. This is why writing down the password or storing it in a password manager is important. If you forget it, your only option is to contact whoever gave you the document and ask them to remove the password and send you an unprotected copy.

Does password protection work on documents saved as PDF?

No. If you save a Word document as a PDF, the Word password protection does not transfer. You must password-protect the PDF separately using your PDF reader or a dedicated PDF tool. Most PDF readers have their own password protection feature.

Can someone remove the password without knowing it?

Not easily with Word's built-in tools. However, specialized password-cracking software exists, and someone with technical knowledge might be able to extract the password from the file. For documents that need to stay private from someone with technical skills, use full-disk encryption or a dedicated encryption tool instead of Word's password feature.

Does password protection slow down Word or make the file larger?

No. Password-protected documents open and save at the same speed as unprotected ones, and the file size does not increase noticeably. The only difference you will notice is the password prompt when opening the file.