Password protection turns your Word document into a locked file that requires a password to open
Microsoft Word has a built-in feature that encrypts your document and locks it behind a password. When you set a password, the entire file becomes unreadable without it — someone cannot open the document, view it, or edit it unless they type the correct password first. This works on both Windows and Mac versions of Word, and the encrypted file stays locked even if you email it or move it to another computer.
The process takes less than a minute and requires no additional software. Your password is the only key — if you forget it, Microsoft cannot recover the document for you, so write it down somewhere safe before you close the file for the first time.
Key Takeaways
- Open your document in Word, then go to File > Info > Protect Document > Encrypt with Password to set protection.
- Choose a password you can remember but that others cannot guess — avoid birthdays, names, or common words.
- Write your password down in a secure location before closing the file, because Microsoft cannot recover a forgotten password.
- The encrypted file works normally in Word once you enter the password, and the protection stays in place when you share or move the file.
- Password protection encrypts the entire document; it does not allow you to lock only certain sections while leaving others editable.
Steps to password-protect a Word document on Windows
Start with the document already open 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 that arrow and choose Encrypt with Password.
A dialog box will appear asking you to enter a password. Type your password in the field — you will not see the characters as you type, only dots or asterisks. Click OK. Word will ask you to type the password again to confirm it. Type it exactly the same way and click OK again. Your document is now encrypted.
Close the document and reopen it. Word will prompt you to enter the password before the document loads. This confirms the encryption is working. From now on, anyone who tries to open this file will see the password prompt first.
Steps to password-protect a Word document on Mac
Open your document in Word on Mac. Click File in the menu bar at the top, then select Properties or Info (the exact name depends on your Word version). Look for a button or option labeled Protect Document or Security. Click it and choose Encrypt with Password.
A password dialog will open. Enter your password and click OK. Word will ask you to type it again to confirm. After you confirm, save the document. The next time you or anyone else opens this file, Word will require the password.
If you do not see these options in your Mac version of Word, try clicking File > Save As, then look for a checkbox that says Encrypt File or Protect with Password near the bottom of the save dialog. Check that box, set your password, and save.
Choosing a strong password you will actually remember
A strong password is one that someone else cannot guess but that you can remember without writing it down in an obvious place. Avoid passwords based on your name, birthdate, pet's name, or common words like "password" or "123456". These are the first things someone will try.
A practical approach is to combine a memorable phrase with numbers and symbols. For example, take a sentence you know well — "My daughter was born in April" — and use the first letter of each word plus a number: "Mdwbia2024". This is hard to guess but easier to remember than a random string. Write this password down in a secure location separate from your computer, such as a locked drawer or a password manager you trust.
Do not store the password in a note file on the same computer as the document, because anyone with access to your computer can find both. If you use a password manager like Bitwarden, 1Password, or the password manager built into Windows or Mac, store it there instead.
What happens when you open an encrypted document
When you or someone else tries to open a password-protected Word document, a dialog box appears before the document loads. It says "This document is protected. Enter the password." There is a single text field where the password must be typed. If the password is wrong, Word shows an error message and returns to the password prompt — you can try again as many times as needed.
Once the correct password is entered, the document opens normally and works exactly like any other Word file. You can edit it, format it, save it, and print it. The password protection does not limit what you can do inside the document — it only controls who can open it in the first place.
If you save the document again after opening it, the password protection stays in place. You do not have to re-enter the password every time you work on it during the same session — only when you close and reopen the file.
Removing or changing a password
To remove the password from a document, open the file and enter the password when prompted. Once it is open, go to File > Info > Protect Document > Encrypt with Password (Windows) or File > Properties > Protect Document > Encrypt with Password (Mac). The password dialog will appear again, but this time the field will be empty. Leave it empty and click OK twice. The encryption is now removed.
To change the password instead of removing it, follow the same steps but type a new password in the dialog instead of leaving it blank. Save the document. The old password will no longer work, and only the new password will open the file.
Common problems and what to do
If you cannot find the Protect Document option, you may be using an older version of Word or a different application that opens Word files. Check that you are using Microsoft Word itself, not a web browser version or a third-party program. Web-based Word (Office 365 online) does not have password protection built in — you must use the desktop version of Word installed on your computer.
If you forgot your password, there is no recovery option. Microsoft does not store your password and cannot unlock the file for you. The only way forward is to contact whoever gave you the document and ask them to provide an unencrypted copy or to open it and save it without the password. This is why writing down your password in a secure place is so important.
If the document was encrypted by someone else and you need to open it, you must ask them for the password. There is no way to bypass password protection in Word without the correct password.
Frequently Asked Questions
Can I password-protect only part of a Word document?
No. Word's password protection encrypts the entire document — you cannot lock some sections while leaving others open. If you need to protect only certain paragraphs or pages, you would have to create separate documents and password-protect each one individually.
Will the password work if I convert the document to PDF?
No. If you save a password-protected Word document as a PDF, the Word password does not transfer. You would need to set a separate password in your PDF reader or converter. The Word encryption only applies to .docx and .doc files.
What if someone has the password but I want to lock them out?
Change the password. Open the document with the old password, go to File > Info > Protect Document > Encrypt with Password, and type a new password. Anyone with the old password will no longer be able to open the file. Only people who know the new password can access it.
Does password protection work on Word documents opened in Google Docs or other programs?
Password protection only works in Microsoft Word. If you open a password-protected Word file in Google Docs, LibreOffice, or another program, that program may not recognize the encryption. Always open password-protected Word documents in Microsoft Word to ensure the protection works as intended.
Can I password-protect a document that is already shared with others?
Yes. You can add password protection to a document at any time, even if others have copies. However, password protection only affects the file you are working on — it does not retroactively protect copies that others already have. If you want to secure a shared document, add the password, then send the newly encrypted version to anyone who needs the updated file.