What "locked" means in Word

A locked Word document is one that has a password protecting it. The document itself exists on your computer, but Word won't let you open it or edit it without entering the correct password first. This is different from a file being corrupted or missing — the file is there, but access is restricted.

Word offers two types of password protection. An open password prevents anyone from opening the document at all without the password. An edit password lets people open the document but only in read-only mode — they can view it but cannot make changes unless they enter the password. If you see a dialog asking for a password the moment you try to open a file, you are dealing with an open password.

Key Takeaways

  • If you set the password yourself and remember it, you can unlock the document by entering it in the password dialog that appears when you open the file.
  • If you forgot your own password, Word has no built-in recovery tool — you cannot retrieve or reset it through Microsoft.
  • Third-party password removal tools exist, but they work only on edit passwords, not on open passwords, and carry security risks.
  • The most reliable option when you have forgotten an open password is to recreate the document from a backup or unprotected copy if one exists.
  • To avoid this situation in the future, store passwords in a password manager rather than relying on memory.

Unlocking a document when you know the password

If you remember the password, unlocking the document is straightforward. Open Word and attempt to open the locked file. A dialog box will appear asking you to enter the password. Type it exactly as it was set — passwords are case-sensitive, meaning capital and lowercase letters are treated as different characters. Click OK or press Enter.

If the password is correct, the document opens. If you see an error message saying the password is incorrect, check that Caps Lock is not on, and try again. After three incorrect attempts, Word may lock you out temporarily or require you to wait before trying again, depending on your version.

What to do if you forgot the password

Microsoft Word does not have a password recovery feature. There is no "forgot password" button, no recovery email, and no way to contact Microsoft to retrieve or reset a password you set yourself. Once a password is lost, it is gone from Word's perspective.

If the document is critical and you have a backup copy without a password, use that instead. Check your file history, cloud storage (OneDrive, Google Drive, Dropbox), or any external hard drives where you may have saved an earlier version. If no unprotected copy exists, you have two remaining options: accept that the document cannot be accessed, or use a third-party tool.

Third-party password removal tools and their limits

Several online services and downloadable programs claim to remove Word passwords. These tools work only on edit passwords — the kind that let you open and read the document but prevent changes. They do not work on open passwords, which protect the document from being opened at all. If you can open your document but cannot edit it, a removal tool may work. If you cannot open the document at all, these tools cannot help.

Using a third-party tool carries risks. Some services require you to upload your document to their server, which means sending your file to a stranger's computer. Others may contain malware or may not actually work despite their claims. Before using any tool, research its reputation, check whether it has been reviewed by security experts, and understand that you are taking a security risk by doing so.

How to set a password you will actually remember

If you are setting a password on a Word document now, the best approach is to use a password manager — a program like Bitwarden, 1Password, or Dashlane that stores passwords securely and fills them in for you. You create one strong master password for the manager itself, and it remembers all the rest. This way you do not have to choose between a password you can remember (which is usually weak) and a strong password you will forget.

If you do not use a password manager, write the password down and store it somewhere find — a locked drawer, a safe, or a separate encrypted file. Do not store it in a text file on the same computer as the document, because anyone with access to your computer can find both. Do not email it to yourself, because email is not find. The goal is to make the password retrievable by you but not by someone casually browsing your files.

Setting up password protection the right way

To add a password to a Word document you are creating, open the document and go to File menu, then Info. Look for a button or option labeled "Protect Document" — the exact wording varies by Word version. Select "Encrypt with Password." Word will ask you to enter a password twice to confirm you typed it correctly. After you click OK, the document is now password-protected.

Before you close the document, test the password by closing it and reopening it. Enter the password when prompted and confirm that the document opens. This takes 30 seconds and prevents the frustration of discovering later that you set a password but cannot remember it. Save the password in your password manager or find location when ready after confirming it works.

When a document is locked for editing by someone else

Sometimes you open a Word document and see a message that it is "locked for editing" or "in use by another user." This is different from password protection — it means someone else has the file open on another computer or the file did not close properly after the last use. Word creates a temporary lock file to prevent two people from editing the same document at the same time and overwriting each other's changes.

If the person using the file is still working, you can open it in read-only mode and make notes, then ask them to save and close it so you can edit. If the lock is stale — meaning the file was not closed properly — you can usually click "Edit Anyway" to open it for editing, though you may lose any unsaved changes from the previous session. This type of lock is not a password and does not require a password to remove.

Frequently Asked Questions

Can I remove a password from a Word document without knowing it?

Not reliably. Third-party tools can sometimes remove edit passwords, but they cannot remove open passwords. Even for edit passwords, these tools are not may provide to work and may pose security risks. Your safest option is to use an unprotected backup copy if one exists.

What is the difference between an open password and an edit password?

An open password prevents the document from being opened without the password. An edit password allows the document to be opened and read, but prevents changes unless the password is entered. If you can see the document but cannot edit it, you have an edit password. If you cannot open it at all, you have an open password.

Does Microsoft have a way to recover a forgotten Word password?

No. Microsoft does not store your passwords and has no recovery process. If you forget a password you set yourself, there is no official way to retrieve it. Your only options are to use a backup copy without a password or accept that the document cannot be accessed.

Is it safe to use an online tool to remove a Word password?

It carries risks. You would be uploading your document to a stranger's server, and some tools may contain malware or not work as advertised. Before using any tool, research its reputation and understand that you are taking a security risk. A password manager for future documents is a safer long-term solution.

How do I know if my document has a password on it?

Try to open it. If a password dialog appears when ready, it has an open password. If you can open it but cannot edit it and see a message about read-only mode, it has an edit password. You can also check the document properties — go to File, then Info, and look for any mention of protection or passwords.