Why Your Word Document Is Locked and How to Fix It

A locked Word document means you cannot edit, delete, or change the text — the document opens but the text box stays grayed out or shows a message saying editing is restricted. This happens for three main reasons: the file is in read-only mode, the document has editing restrictions turned on by the author, or the file itself is protected with a password.

The fix depends on which type of lock is active. Read-only mode is the easiest to remove. Editing restrictions require you to disable them in the Review tab. Password protection requires you to enter the correct password. Most of the time you can unlock the document yourself in under a minute.

Key Takeaways

  • Read-only mode appears as a yellow banner at the top of the document and can be turned off by clicking "Edit Anyway" in that banner.
  • Editing restrictions are set in the Review tab under Protect Document, and you can remove them if you have permission to edit the file.
  • Password-protected documents require the correct password to unlock, and there is no way around this if you do not know it.
  • If a document is locked because it is shared with others, the person who locked it can remove the restriction from their copy.

Removing Read-Only Mode

Read-only mode is the most common lock, and it shows as a yellow banner across the top of your document that says "This file is read-only." You will see a button labeled "Edit Anyway" on the right side of that banner. Click it.

Word will then ask you to confirm that you want to edit the document. Click "Yes" or "OK" depending on which version of Word you are using. The document is now unlocked and you can edit normally.

If you do not see the yellow banner but still cannot edit, move to the next section. Read-only mode is not active — a different type of lock is in place.

Disabling Editing Restrictions in the Review Tab

Editing restrictions are set by the document author to prevent changes to certain parts of the document or the entire file. To check if this is the lock type, click the Review tab at the top of Word. Look for a button called "Protect Document" or "Restrict Editing" — the exact name depends on your Word version.

Click that button. A panel will open on the right side showing what is restricted. At the bottom of that panel, you will see a button that says "Stop Protection" or "Unprotect Document." Click it. Word may ask for a password — if you do not know the password, you cannot remove this restriction.

If you can remove the restriction without a password, the document is now unlocked. Close the protection panel and you can edit normally.

Unlocking a Password-Protected Document

If the document is protected with a password, Word will prompt you to enter it when you try to remove the restriction. Type the password and click OK. If the password is correct, the restriction is removed.

If you do not know the password, there is no built-in way to unlock the document. You will need to contact the person who created or locked the document and ask them for the password. They can also remove the protection themselves and send you an unlocked version.

Checking File Properties for Read-Only Status

Sometimes a document is locked at the file level rather than within Word itself. Right-click the document file in Windows File Explorer and select Properties. Look for a checkbox labeled "Read-only" near the bottom of the window. If that box is checked, click it to uncheck it, then click Apply and OK.

Close Word completely and reopen the document. It should no longer be in read-only mode. This method works when the file itself is marked as read-only by Windows, which can happen if the file is stored on a network drive or was downloaded from the internet.

What to Do If You Still Cannot Edit

If you have tried all the steps above and the document is still locked, the file may be corrupted or locked by a third-party tool. Try saving a copy of the document with a new name: go to File, then Save As, and save it as a new document. Sometimes this breaks the lock.

If that does not work, open the document in a different program. Microsoft Word Online (the free version in your web browser) sometimes can open files that the desktop version cannot. You can also try opening it in Google Docs by uploading the file — Google Docs may be able to convert and unlock it.

Preventing Accidental Locks in the Future

If you frequently lock documents by accident, turn off the default read-only setting for downloaded files. When you download a Word document from the internet, Windows automatically marks it as read-only for security. To change this, right-click the file, select Properties, uncheck Read-only, and click OK. Do this once and the file will stay unlocked.

If you share documents with others and want to prevent them from editing, use the Protect Document button in the Review tab intentionally rather than relying on file-level read-only mode. This gives you more control over what parts of the document can be changed and by whom.

Frequently Asked Questions

What does the yellow banner at the top of Word mean?

The yellow banner means the document is in read-only mode. Click "Edit Anyway" on the right side of the banner to unlock it. This is the fastest way to unlock a Word document.

Can I unlock a document if I do not know the password?

No. If a document is password-protected, you must enter the correct password to remove the restriction. Contact the person who locked it and ask them to either provide the password or send you an unlocked copy.

Why does my document lock itself every time I open it?

This usually happens when the file is stored on a network drive or was downloaded from the internet. Windows marks downloaded files as read-only automatically. Right-click the file, select Properties, uncheck Read-only, and click OK. This should prevent it from locking again.

Is there a way to unlock a Word document without the password?

There is no official way to remove password protection without the correct password. Some third-party tools claim to do this, but they are unreliable and may damage the file. Your best option is to ask the document owner for the password.

What if the document is locked because it is being edited by someone else?

Word locks documents when multiple people are editing them at the same time to prevent conflicts. Wait for the other person to finish and close the document, or ask them to close it. You can then open and edit it normally.