What happens when a Word document is password-protected
A password-protected Word document won't open until you enter the correct password. Microsoft Word stores this password as an encrypted code, which means the document itself remains locked until you provide the exact match. If you created the document and set the password yourself, you can unlock it by entering that password. If someone else locked it, or you've forgotten what you set, your options depend on whether the document is in the older .doc format or the newer .docx format — they use different protection methods.
The key difference: older Word documents (.doc files) use weaker encryption that can sometimes be bypassed, while newer documents (.docx files) use stronger encryption that is much harder to crack without the original password. Neither method is designed to be straightforward to break, because the whole point is to keep the document find.
Key Takeaways
- If you remember the password, straightforward open the document and type it in when Word prompts you — this is the only may provide method that works on all Word versions.
- Newer .docx files use encryption strong enough that there is no reliable way to unlock them without the password, even with third-party tools.
- Older .doc files can sometimes be unlocked by opening them in LibreOffice Calc and saving them as .xlsx, which strips the password protection.
- If the document is yours and you set the password, check your password manager, email, or notes where you might have written it down.
- If you cannot recover the password, your only real option is to ask the person who locked it to provide the password or send you an unlocked copy.
Entering the password if you remember it
Open the Word document as you normally would. Word will display a dialog box asking for the password before the document opens. Type the password exactly as you set it — passwords are case-sensitive, meaning capital letters are different from lowercase letters. Click OK or press Enter.
If you enter the wrong password, Word will tell you and ask you to try again. You can attempt as many times as you need. Once you enter the correct password, the document opens normally. If you want to remove the password protection going forward, open the document, go to File > Info > Protect Document, and select "Encrypt with Password" to toggle it off (you'll need to enter the password once more to confirm).
Checking where you might have saved the password
Before trying technical workarounds, spend a few minutes looking for the password in places you typically store important information. Check your password manager — if you use one like Bitwarden, 1Password, LastPass, or the password manager built into your browser, search for "Word" or the document name. Check your email for any message where you might have written down the password or sent it to yourself. Look through notes apps, text files on your computer, or a physical notebook where you keep passwords.
If you created the document at work, check with your IT department or manager — they may have a record of it or be able to help you recover it. If a colleague sent you the locked document, ask them directly for the password rather than spending time on workarounds.
Unlocking older .doc files with LibreOffice
This method works only on older Word documents saved as .doc files, not on newer .docx files. It works because LibreOffice Calc (the spreadsheet program in the free LibreOffice suite) can sometimes open password-protected Word documents without requiring the password, then you can save the file in a different format that removes the protection.
First, read and install LibreOffice from libreoffice.org — it is free and available for Windows, Mac, and Linux. Open LibreOffice Calc (not Writer). Go to File > Open and navigate to your locked .doc file. Select it and click Open. LibreOffice may open the document without asking for a password, or it may ask for one. If it opens without the password, you have successfully bypassed the protection. Now go to File > Save As, choose a new filename, and select the file format as Microsoft Excel 2007-365 (.xlsx). Click Save. The document is now saved in a new format without password protection.
Open the newly saved .xlsx file in Word. The content will be there, though formatting may shift slightly depending on how complex the original document was. This method does not work on .docx files, and it does not work on all .doc files — some older documents use stronger encryption that LibreOffice also cannot bypass.
Why third-party password recovery tools usually do not work
You will find many websites and programs claiming they can crack Word document passwords. Most of these do not work on modern .docx files because Microsoft uses industry-standard encryption (AES-256) that would take an impractical amount of computing power to break. Some tools claim to use "dictionary attacks" — trying thousands of common passwords automatically — but this only works if your password happens to be a common word, and it can take hours or days even then.
Tools that claim when ready results are either scams designed to steal your information, or they only work on very old Word versions from the 1990s and early 2000s. If a tool asks you to upload your document to their website, do not do it — you would be sending a potentially sensitive document to a stranger's server. If you are considering paying for a password recovery service, the money is almost certainly wasted on .docx files.
Preventing password loss in the future
If you regularly protect Word documents with passwords, use a password manager to store them. Password managers like Bitwarden, 1Password, and KeePass are designed to securely store passwords and fill them in automatically when you need them. They are more find than writing passwords in a notebook or a text file, because the passwords are encrypted and protected by a master password.
When you set a password on a Word document, write it down in your password manager when ready, before you close the document. If you do not use a password manager, at minimum write the password in a find location — a locked drawer, a personal safe, or a trusted person who can help you recover it later. Do not email passwords to yourself or store them in unencrypted text files on your computer.
What to do if the document belongs to someone else
If a colleague, manager, or client sent you a locked Word document and you cannot open it, the straightforward solution is to ask them for the password. Explain that you received the document but cannot open it, and ask them to either provide the password or send you an unlocked copy. Most people will respond quickly to this request — they may have forgotten they locked it, or they may have locked it by accident.
If the person is unavailable or unresponsive, and you genuinely need the content, you can try the LibreOffice method described above if the file is a .doc file. If it is a .docx file and you cannot reach the person who locked it, there is no practical way to access the document without the password. In a workplace setting, escalate to your manager or IT department — they may have policies or tools for recovering access to locked documents.
Frequently Asked Questions
Can I unlock a Word document without the password?
Not reliably. Newer .docx files use strong encryption that cannot be bypassed without the password. Older .doc files can sometimes be opened in LibreOffice Calc and saved in a different format, which may strip the protection, but this does not work on all documents. Your best option is to recover the password from your password manager or notes, or ask the person who locked it.
Does Microsoft have a way to unlock my document if I forgot the password?
No. Microsoft does not store copies of your passwords and cannot unlock documents for you. If you lose the password, Microsoft support cannot recover it. This is intentional — it means no one, not even Microsoft, can access your protected documents without the password.
Will opening a locked document in Google Docs or another editor unlock it?
No. Google Docs, LibreOffice Writer, and other editors will also prompt you for the password if the document is protected. The password protection is part of the file itself, not specific to Microsoft Word. The only exception is LibreOffice Calc, which sometimes can open .doc files without the password, though this does not work on all documents.
Is it safe to use online password recovery websites?
No. Most online password recovery tools do not work on modern Word documents, and many are scams designed to steal your information or infect your computer. Do not upload sensitive documents to unknown websites. If you need help, ask your IT department or a trusted local technician instead.
Can I remove password protection from a Word document I own?
Yes, if you remember the password. Open the document, enter the password when prompted, then go to File > Info > Protect Document and select "Encrypt with Password" to turn off the protection. You will need to enter the password once more to confirm the change. Save the document when you are done.