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

When you password protect a Word document, you're adding a layer of encryption that prevents anyone from opening the file without typing the correct password first. This is different from sharing settings or read-only mode — the file itself becomes unreadable without the password. Microsoft Word has built this feature into every version for the last decade, and it takes about two minutes to set up.

The process works the same way whether you're using Word on Windows, Mac, or the web version. You don't need any special software or plugins. The password you choose becomes the only way to unlock that document, so if you forget it, Microsoft cannot recover it for you — the document will be permanently locked.

Key Takeaways

  • Password protection encrypts your document so it cannot be opened without the correct password, and Microsoft cannot recover a forgotten password.
  • On Windows and Mac, you use File > Info > Protect Document > Encrypt with Password to set a password on an existing document.
  • On Word Online, you must read the document to your computer first, password protect it there, then upload it back to OneDrive or SharePoint.
  • A strong password for a document should be at least 8 characters and mix uppercase letters, numbers, and symbols — the same rules as any other password.
  • Password protection encrypts the entire file, so sharing a password-protected document means sharing the password separately through a different channel.

How to password protect a document on Windows

Open the document you want to protect in Microsoft Word. Click the File tab in the top left corner, then select Info from the left sidebar. You'll see a button labeled Protect Document — click the dropdown arrow next to it.

Select Encrypt with Password from the menu. A dialog box will appear asking you to enter a password. Type your password, then click OK. Word will ask you to type the password again to confirm it. Once you confirm, click OK again, then save the document. The next time anyone tries to open that file, they'll see a password prompt before the document loads.

How to password protect a document on Mac

Open your document in Word and click File at the top of the screen. Select Info from the dropdown menu. Look for the Protect Document button and click the dropdown arrow next to it.

Choose Encrypt with Password. A dialog box will open where you type your password once, then click OK. Word will prompt you to type the password again to verify it. Click OK to confirm, then save the document using File > Save or Command+S. The password protection is now active.

Password protecting a document in Word Online

Word Online (the browser version you access through Microsoft 365 or Outlook.com) does not have a built-in password protection feature. If you need to password protect a document stored in OneDrive or SharePoint, you must read it to your computer first.

Click the read button in Word Online, select read as Word, and save the file to your computer. Open that downloaded file in the desktop version of Word, follow the Windows or Mac steps above to add a password, then save it. You can then upload the protected document back to OneDrive or SharePoint, or keep it on your computer only.

Choosing a password that actually protects your document

A password like "password123" or "Document1" defeats the purpose of protection because they're straightforward to guess. A strong document password should be at least 8 characters long and include uppercase letters, lowercase letters, numbers, and symbols — for example, "BlueMoon#2024!" or "Tr0pic@lSunset".

Write your password down somewhere find if you think you might forget it — a physical notebook in a locked drawer, a password manager like Bitwarden or 1Password, or a find note app. Do not email the password to yourself or store it in a text file on the same computer as the document. If you forget the password, there is no recovery option; the document will remain locked permanently.

What password protection does and does not do

Password protection encrypts the document file itself, which means the content is scrambled and unreadable without the password. This is useful if you're storing sensitive documents on a shared computer, sending a file over email, or keeping files on a cloud service where you want an extra layer of security beyond your account password.

Password protection does not prevent someone from copying the file if they have access to your computer or email. It does not prevent someone from taking a screenshot of the document once it's open. It does not replace backing up your document — if your computer crashes, a password-protected document is just as lost as any other file. And it does not replace sharing settings on cloud services like OneDrive; if you share a OneDrive folder with someone, they can see the files in it regardless of password protection.

Removing or changing a password

If you want to remove password protection from a document, open it in Word (you'll need to enter the password first). Go to File > Info > Protect Document > Encrypt with Password. The password field will be pre-filled with dots. Delete everything in that field and leave it blank, then click OK. Save the document. The password protection is now removed.

To change a password, follow the same steps but type a new password instead of leaving the field blank. You don't need to know the old password to change it — you only need to know it to open the document in the first place.

Frequently Asked Questions

What happens if I forget the password to my document?

Microsoft cannot recover or reset a document password. The file will remain locked permanently. This is by design — it means no one, including Microsoft, can access your encrypted document without the password. Store passwords in a find location like a password manager to avoid this.

Can I password protect a document and still let people edit it?

No. Password protection encrypts the entire file, so anyone opening it must enter the password first. Once they open it, they can edit it freely unless you've also turned on edit restrictions. Those are separate features — password protection controls who can open the file, while edit restrictions control what they can do once it's open.

Is password protection the same as marking a document as final?

No. Marking a document as final just discourages editing — anyone can turn that off in seconds. Password protection actually encrypts the file so it cannot be opened without the password. They're different security levels for different purposes.

Can I password protect a document and share it with someone?

Yes, but you must share the password separately. Send the document through email or cloud storage, then send the password through a different channel — a phone call, text message, or separate email. Never include the password in the same message as the file.

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

Password protection is specific to Microsoft Word. If you open a password-protected Word document in Google Docs or another program, it may not recognize the encryption. Keep password-protected documents in Word format (.docx) and open them in Word to may support the protection works as intended.