Password protection in Word works differently depending on your version and device
Microsoft Word lets you lock a document so that anyone opening it must enter a password first. The steps vary slightly between Word on Windows, Mac, and the web version, but all three methods use the same underlying feature: encryption that scrambles the file until someone enters the correct password.
Password protection in Word is not the same as marking a document "read-only" or restricting edits. A password actually prevents the file from opening at all without the correct code. Once someone enters the password, they can edit, copy, and print the document unless you have also set separate edit restrictions.
The password you set should be something you can remember but others cannot guess. Write it down somewhere secure if you think you might forget it — Microsoft cannot recover a lost password, and the file will be permanently inaccessible.
Key Takeaways
- In Word on Windows and Mac, you password-protect a document through File > Info > Protect Document > Encrypt with Password.
- Word on the web (Office.com) does not have a built-in password protection feature; you must download the file to your computer first.
- Once you set a password, the document is encrypted and cannot be opened without entering that password.
- If you forget the password, there is no recovery method — the file will remain locked permanently.
- Password protection prevents opening the file, but does not prevent copying text if someone has the password and opens it normally.
How to password-protect a Word 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 will see a button labeled Protect Document with a dropdown arrow next to it.
Click that 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. Once you confirm, click OK again. Save the document — the password protection takes effect immediately.
The next time anyone opens this file, Word will display a password prompt before the document loads. They must enter the exact password you set, or the file will not open.
How to password-protect a Word document on Mac
Open your document in Word on Mac. Click File in the menu bar at the top of the screen, then select Info. Look for the Protect Document button and click the dropdown arrow next to it.
Select Encrypt with Password from the menu. A dialog box will open asking for your password. Enter it once, then click OK. Mac will ask you to type the password a second time to make sure you did not make a typo. Click OK again, then save the document.
The process is nearly identical to Windows, and the result is the same: the document is now encrypted and requires a password to open.
Why Word on the web does not have password protection
If you are using Word online through Office.com or your organization's Microsoft 365 account, you will not find a password protection option in the menus. Microsoft's web version does not support file-level encryption the way the desktop versions do.
If you need to password-protect a document, download it to your computer first by clicking File > Download, then use the Windows or Mac steps above. Once you have set the password, you can upload the protected file back to OneDrive or SharePoint if you want to store it in the cloud.
What happens when someone tries to open a password-protected file
When a password-protected Word document is opened, the user sees a dialog box labeled "Password" with a single text field. They must type the password exactly as you set it — passwords are case-sensitive, so "MyPassword" is different from "mypassword". If they enter the wrong password and click OK, Word shows an error message and returns to the password prompt.
After three incorrect attempts, some versions of Word will pause before allowing another try. This is a minor security measure, but it does not lock the file permanently. Someone can keep trying different passwords indefinitely.
Once the correct password is entered, the document opens normally. The person can then edit, copy, print, and save the file just like any other Word document. Password protection only controls who can open the file — it does not restrict what they can do once it is open.
How to remove password protection from a Word document
Open the password-protected document and enter the password when prompted. Once the file is open, go to File > Info > Protect Document > Encrypt with Password. The password dialog will appear again, but this time the field will be empty. Leave it blank and click OK. Save the document.
The password protection is now removed. The next time someone opens this file, no password will be required. This process works the same way on Windows and Mac.
Important limits of Word password protection
Word passwords protect against casual access, but they are not military-grade security. Someone with technical knowledge and specialized tools can potentially crack a Word password, especially if it is short or simple. If you are protecting highly sensitive information, consider using additional security measures like file encryption at the operating system level or storing the document in a password-protected cloud service.
Also remember that password protection only locks the file itself. If you email the document to someone, they receive the file as-is. If you share it through OneDrive or SharePoint, the same password still controls access to that file, but the cloud service itself has its own separate security layer.
Frequently Asked Questions
Can I password-protect just part of a Word document?
No. Word's password protection encrypts the entire file. If you want to restrict editing on specific sections while leaving others open, use the "Restrict Editing" feature instead, which is found under Review > Protect. That feature lets you lock certain parts of a document while allowing others to be edited without a password.
What if I forget the password to my own document?
Microsoft cannot recover or reset a lost Word password. The file will remain locked and inaccessible. There is no official recovery method. Some third-party tools claim to crack Word passwords, but their success depends on password complexity and Word version, and using them carries security risks.
Does password protection work the same way in older versions of Word?
The basic process is similar in Word 2010 and later, but the menu location may differ slightly. In older versions, you may find the option under File > Save As > Tools > General Options instead of File > Info > Protect Document. The principle remains the same: you set a password and the file becomes encrypted.
Can someone copy text from a password-protected Word document?
Yes. Once someone enters the correct password and opens the document, they can select, copy, and paste text normally. Password protection only prevents opening the file — it does not prevent copying content once the file is open. If you need to prevent copying, use the "Restrict Editing" feature with a separate password instead.
Is a password-protected Word file safe to email?
Password protection makes the file unreadable to anyone who intercepts it during transmission, but email itself is not encrypted. For maximum security, send the password through a separate channel — for example, email the document through one method and text the password separately. This way, someone would need access to both your email and your text messages to read the file.