Password protection in Word works two ways: you can require a password to open the file, or require one to edit it while allowing others to read it

Microsoft Word lets you set a password that someone must enter before they can open your document at all. You can also set a separate password that prevents editing unless someone knows it — meaning people can read the file but cannot change it. These are different protections that do different things, and you choose which one fits your situation.

The process is the same whether you use Word on Windows, Mac, or the web version. You go to File, then Info, then Protect Document, and choose either "Encrypt with Password" (to lock opening) or "Restrict Editing" (to lock changes). Both take about 30 seconds.

Key Takeaways

  • Encrypt with Password prevents anyone from opening the file without the correct password — they cannot even see what is inside.
  • Restrict Editing lets people open and read the document but stops them from making changes unless they know the edit password.
  • You must remember your password; Word cannot recover it if you forget, and the document becomes permanently locked.
  • Password protection in Word is not the same as file-level encryption — the document itself is protected, but the file on your computer is not hidden from someone with access to your hard drive.

How to encrypt a Word document so it cannot be opened without a password

Open the document you want to protect. Click File in the top left, then click Info. Look for a button or section called "Protect Document" — in newer versions of Word this is a green button on the right side of the screen. Click it and select "Encrypt with Password."

A dialog box will appear asking you to enter a password. Type it in, then click OK. Word will ask you to type it again to confirm. Once you do, close and reopen the document — Word will now prompt for the password before showing any content. Anyone trying to open this file will see a password dialog before they can read a single word.

This method is strongest when you need to keep the document itself secret. A journalist protecting a source list, a manager keeping salary information private, or someone storing medical notes would all use this approach. The downside is that if you forget the password, the document is locked permanently — Microsoft has no master key and cannot unlock it for you.

How to allow reading but block editing with a password

Open the document and go to File, then Info, then Protect Document. This time, select "Restrict Editing" (on Mac, this may say "Protect Document" with a dropdown menu). A panel will open on the right side of the screen.

In that panel, check the box next to "Editing restrictions" and choose "Tracked changes" or "Comments only" from the dropdown — this prevents full editing. Below that, check "Start enforcement" and click "Yes, Start Enforcing Protection." Word will ask for a password. Enter one, confirm it, and click OK.

Now anyone who opens the document can read it freely, but if they try to make changes, Word will either force those changes to show as tracked edits (which you can accept or reject later) or allow only comments. This is useful when you want feedback without risking accidental or intentional changes to the final version. A teacher might use this to share a rubric that students can comment on but not alter, or a manager might share a budget template that people can annotate but not modify.

The difference between Word password protection and file encryption

Password protecting a Word document is not the same as encrypting the file itself. When you password-protect a document in Word, you are protecting the content inside the file — but the file itself sits on your computer unencrypted. Someone with physical access to your hard drive or someone who steals your laptop could potentially recover the file using data recovery tools, even if they cannot open it in Word.

If you need true file-level encryption — where the file itself is scrambled on your hard drive — you need a different tool. Windows has BitLocker (built into Pro and Enterprise versions), Mac has FileVault, and both Windows and Mac can use third-party encryption software. Word password protection is about controlling who can read or edit the document; file encryption is about making sure the file cannot be accessed at all without the encryption key.

For most everyday use — sharing a sensitive document with colleagues, protecting a personal file from casual access, or controlling who can edit a shared template — Word password protection is enough. For highly sensitive information stored on a device you are worried about losing or having stolen, add file-level encryption on top of it.

What happens when you forget the password

If you forget a password you set on a Word document, the document is locked permanently. Microsoft does not store your passwords and has no way to recover them. There is no "forgot password" button, no recovery email, and no master override. You cannot open an encrypted document or remove edit restrictions without the correct password.

Some third-party tools claim they can crack Word passwords, but they work only on older versions of Word (2007 and earlier). Modern Word uses encryption strong enough that brute-force cracking is not practical. Your best protection against this is to store your password somewhere safe — a password manager like Bitwarden or 1Password, a written note in a locked drawer, or a secure shared vault if you work in a team.

Protecting a document you share with others

If you are sharing a document with a team and want to control who can edit it, use Restrict Editing with a password. Everyone on the team gets the same password, and anyone who opens the file can read it but cannot make permanent changes without that password. This works well for templates, guidelines, or draft documents where you want input but not accidental overwrites.

If you are sharing a document with someone outside your organization and want to keep it private, use Encrypt with Password instead. Give them the password through a separate channel — never in the same email as the document. This way, even if an email is intercepted, someone would need both the file and the password to read it.

For highly sensitive sharing, consider whether you need the document in Word format at all. A PDF with password protection, or a document stored in a shared drive with access controls (like OneDrive or SharePoint), may give you better control over who can see it and for how long.

Password strength and what makes a Word document password actually secure

A strong password for a Word document follows the same rules as any other password: at least 12 characters, mixing uppercase and lowercase letters, numbers, and symbols. "Password123" is weak. "Tr0pical-Sunset-2024-Bridge" is strong. The longer and more random, the harder it is to guess.

That said, password strength matters less for Word documents than it does for online accounts. No one can try your password repeatedly — there is no login server counting attempts. Someone would have to use specialized software to try many passwords at once, which is slow even with modern computers. This means even a moderately strong password (10+ characters, mixed types) is usually enough for everyday protection.

What matters more is keeping the password secret. If you write it on a sticky note next to your monitor, or email it in the same message as the document, the password protection is useless. Store it in a password manager, or if you must write it down, keep it somewhere physically secure and separate from the document itself.

Frequently Asked Questions

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

Yes, if you use the Word app on iOS or Android. Open the document, tap File, then Info, then Protect Document. The options are the same as on desktop — you can encrypt with a password or restrict editing. The process is identical, just with touch controls instead of a mouse.

What if I set a password and then saved the document without closing it?

The password is active immediately. You do not need to close and reopen the document for it to take effect. The next time anyone opens that file — including you — they will need the password. If you close Word without saving after setting the password, the protection will not be saved.

Can I remove a password from a Word document if I remember it?

Yes. Open the document (you will need to enter the password). Go to File, Info, Protect Document, and select the same protection you used before — Encrypt with Password or Restrict Editing. This time, delete the password from the field and click OK. The protection is now removed. Save the document and it will no longer require a password.

Does password protecting a Word document work in Google Docs or other programs?

No. A password you set in Word protects the file only when it is opened in Word or compatible software. If you upload that document to Google Docs, Google will ask you to convert it — and once converted, the Word password protection is lost. Google Docs has its own sharing and permission controls, but they work differently. If you need the document to stay in Word format with password protection, keep it in Word and share it as a .docx file.

Is password protecting a Word document enough to keep it safe from hackers?

Password protection in Word protects against casual access and accidental changes, but it is not a defense against someone actively trying to break in. If your computer is infected with malware, or if someone has physical access to your hard drive, password protection alone may not be enough. For documents with serious security needs — financial records, legal documents, health information — combine Word password protection with file-level encryption and keep the document on a device you control physically.