Word has a built-in password feature that locks your document so only someone with the password can open it

The fastest way to protect a Word document is to set a password through the File menu. When you do this, Word encrypts the file so that opening it requires the correct password — someone cannot read the document without it. This works on both Windows and Mac versions of Word, though the exact steps differ slightly between them.

Password protection is useful when you store sensitive documents on a shared computer, send files by email, or keep them in cloud storage where others might have access to your folder. The encryption happens automatically once you set the password; you do not need to do anything special each time you save.

Key Takeaways

  • On Windows, go to File > Info > Protect Document > Encrypt with Password, type your password twice, and save the file.
  • On Mac, use File > Properties > Security > Require a Password to Open, enter your password, and click OK.
  • Word encrypts the entire file, so anyone trying to open it will see a password prompt before the document appears.
  • If you forget the password, Word cannot recover it — there is no "forgot password" option for encrypted documents.
  • Password protection does not prevent someone from copying text if they already have the password and the document is open.

Steps to encrypt a Word document on Windows

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

Click the dropdown and select "Encrypt with Password". A dialog box will appear asking you to enter a password. Type your password in the field, then click OK. Word will ask you to type the password again to confirm it — this prevents typos that would lock you out of your own file. Click OK again, then save the document using Ctrl+S or File > Save. The encryption takes effect immediately.

Steps to encrypt a Word document on Mac

Open your document in Word and click File in the menu bar at the top. Scroll down and select Properties. In the Properties window, click the Security tab.

Check the box next to "Require a Password to Open". Type your password in the field that appears, then click OK. Word will ask you to confirm the password by typing it again. Click OK, then save your document using Command+S or File > Save. The password protection is now active.

What happens when someone tries to open an encrypted document

When another person (or you, on a different device) tries to open a password-protected Word file, they will see a password prompt before the document loads. They must type the correct password to proceed. If they enter the wrong password, Word will not open the file and will ask them to try again.

This protection applies every time the file is opened — the password does not expire or become optional after the first use. The person must know the password each time they want to view or edit the document.

Removing or changing a password

To remove password protection from a document, open the file (you will need to enter the password), then go to File > Info > Protect Document > Encrypt with Password on Windows, or File > Properties > Security on Mac. Delete the password from the field and click OK, then save the file. The document will no longer require a password to open.

To change an existing password, follow the same steps but enter a new password instead of leaving the field blank. Save the file, and the new password will take effect the next time someone tries to open it.

The difference between password protection and other Word security features

Word offers several ways to restrict what people can do with a document, and password protection is just one. "Restrict Editing" (found under File > Info > Protect Document on Windows) lets you allow people to open and read a document but prevent them from making changes — they can view it but cannot edit it. This does not require a password; anyone can open the file, but editing is blocked.

Password protection is stronger because it prevents anyone from even opening the file without the password. Use password protection when you want to keep the document completely private. Use Restrict Editing when you want to share the document but prevent accidental or unwanted changes.

Important things to know about encrypted Word documents

Word cannot recover a forgotten password. If you set a password and later forget it, there is no built-in way to reset it or bypass it — you will not be able to open the file. Write down your password somewhere secure, or use a password manager to store it.

Password protection encrypts the file itself, but it does not prevent someone from copying text once they have opened the document with the correct password. If you need to prevent copying or printing, use Restrict Editing instead, which has separate options for those actions.

Encrypted Word files are slightly larger than unencrypted ones because of the encryption data added to the file. The difference is usually small — a few kilobytes — and will not affect how the file works or how long it takes to open.

Frequently Asked Questions

Can I password-protect a Word document in OneDrive or SharePoint?

No. If your document is stored in OneDrive or SharePoint, you cannot use Word's password encryption feature. Instead, use the sharing settings in OneDrive or SharePoint to control who can access the file. You can set permissions so only specific people can open it, or you can share with a password through OneDrive's sharing link options.

What if I need to send an encrypted Word document to someone?

Send the file as an attachment through email or file transfer. The recipient will need to enter the password when they open it. Make sure to tell them the password through a separate channel — never send the password in the same email as the file, since that defeats the purpose of encryption.

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

No. If you convert a Word document to PDF, the Word password protection does not carry over. PDFs have their own password protection system, separate from Word. If you need a PDF with password protection, you will need to set that password when you export or save the file as a PDF.

Can I use the same password for multiple documents?

Yes, you can use the same password for as many documents as you want. However, using different passwords for different documents is more secure — if someone learns one password, they cannot access all your files. Consider using a password manager to keep track of different passwords.

Will password protection slow down my document?

No. Encryption happens in the background and does not affect how fast Word opens, saves, or edits the document. You will not notice any difference in performance.