
How to Unprotect an Excel Sheet: With the Password, and When You Forgot It
To unprotect an Excel sheet, go to Review > Unprotect Sheet and enter the password. Excel has three different kinds of protection, and only one of them is a sheet. Here is how to remove each, what Microsoft says about forgotten passwords, and how to recover your own file.
Tech Talk News Editorial
8 min read
Key takeaways
- To unprotect an Excel sheet on Windows, go to Review > Changes > Unprotect Sheet or File > Info > Protect > Unprotect Sheet, and enter the password if there is one; in Excel for the web, go to Review > Manage Protection and turn off Protect sheet.
- Excel has three separate protections, a sheet that locks cells, a workbook structure that locks the sheets themselves, and a password to open the file, and removing one does not remove the others.
- Microsoft says that if you forget a password, Microsoft cannot retrieve it, and its Excel VBA reference says you cannot unprotect the sheet or workbook, so there is no supported way to remove a forgotten password.
- Microsoft also states that worksheet-level protection is not intended as a security feature, which means a sheet password is a guard against accidental edits and not a way to keep data secret.
- If you forgot the password to your own file, check a password manager, ask whoever set it, restore an earlier version or backup from before protection was added, or copy out the cells you need if the sheet allows selecting locked cells.
On this page8 sections
To unprotect an Excel sheet, go to the sheet, open the Review tab, choose Unprotect Sheet, and type the password if Excel asks for one. On Windows, File > Info > Protect > Unprotect Sheet does the same thing.[1] If you don't have the password, the honest answer is in the section on forgotten passwords below.
I checked these steps against Microsoft Support's pages on November 29, 2026. One thing most tutorials skip: Excel has three kinds of password, and the one you hit decides everything.
Which kind of protection do you have?
| Kind | What you see | How to remove it, with the password |
|---|---|---|
| Sheet protection | Locked cells refuse edits; the Review tab shows Unprotect Sheet | Review > Unprotect Sheet |
| Workbook structure protection | You can edit cells but can't add, move, hide or rename sheets | Review > Protect Workbook, then the password |
| Password to open | Excel asks for a password before the file opens at all | File > Info > Protect Workbook > Encrypt with Password, clear the password, save |
Microsoft separates these itself. Its worksheet page says sheet protection is not the same as password-protecting an Excel file or workbook, and points to separate pages for stopping people from opening a file and for protecting a workbook.[1]
Unprotect a sheet when you have the password
- Go to the worksheet you want to unprotect. Each sheet is protected on its own.
- Choose Review > Changes > Unprotect Sheet, or File > Info > Protect > Unprotect Sheet.
- If the sheet has a password, enter it in the Unprotect Sheet box and select OK.
That is Microsoft's Windows path.[1] If the workbook has five protected sheets, repeat it five times.
In Excel for the web
Go to Review > Manage Protection and turn off Protect sheet. Microsoft also describes Review > Pause Protection, which lifts protection for your current session only; if the sheet has a password, you must enter it to pause. A lock icon on the sheet tab shows protection is on, and an unlocked icon shows it is paused.[1]
Microsoft's page gives no separate Mac menu path, so I won't invent one. Look on the Review tab first.
Remove workbook protection and a password to open
Workbook structure protection locks the sheets themselves, so people can't add, delete, move, hide or rename them. Switch it off from the Review tab with Protect Workbook, and enter the password if asked. Cells can still be edited the whole time, and that mismatch is why people think the workbook is broken.
A password to open is the strong one. Microsoft's route to set it is File > Info > Protect Workbook > Encrypt with Password: type a password, select OK, type it again, then save the workbook.[2]
To remove it, open the same dialog with the file open, delete the password, select OK and save. You can only do that after opening the file, which needs the password.
If you forgot the password, here is what Microsoft says
Microsoft's page on protecting a worksheet is blunt: “It is critical that you remember your password. If you forget your password, Microsoft cannot retrieve it.”[1] The Excel VBA reference says the same in plainer terms: “If you forget the password, you cannot unprotect the sheet or workbook.”[3]
“If you forget the password, you cannot unprotect the sheet or workbook.”
Microsoft Q&A answers add that there is no supported Microsoft workaround or tool to unlock a protected workbook, worksheet or VBA project once the password is lost.[4]
You will find pages online that walk through ways around sheet passwords. I'm not going to publish them here. They aren't supported by Microsoft, and they can damage the file. I'd also rather this page not be a how-to for opening other people's protected work.
Community answers also say such tricks don't reach a password to open.[4] If the file is yours, the options below are better anyway.
Heads up
Recover your own file without cracking anything
Try these in this order. Most lost-password stories end at step 1 or 2.
- Look for the password. Search your password manager, your notes and the email you sent the file in. Microsoft's VBA reference says the password is case-sensitive and advises keeping a list of passwords and their document names in a safe place, so try capital-letter variations of the one you think you used.[3]
- Ask the person who set it. A coworker, a client or an IT administrator often has the password, or an unprotected copy.
- Go back to an earlier copy. A version saved before protection was added has no password. Check OneDrive or SharePoint version history, a backup, File History or Time Machine, and old email attachments.
- Copy out what you need. Microsoft lists Select locked cells as one of the things a protected sheet can allow.[1] If your sheet allows it, you can select the cells, copy them and paste them into a new workbook. That uses a permission the sheet grants, so nothing is bypassed. It won't help if selection is blocked, and formulas won't always come along intact.
- Rebuild it. For a sheet that is mostly formulas, recreating the logic can take an afternoon and leave you with a cleaner file.
Third-party recovery tools and services exist, and I'm not recommending any. A Microsoft Q&A answer advises caution with them, especially with sensitive data, and uploading a workbook to an unknown site hands your data to a stranger.[4]
How long a guessing attack takes depends heavily on how a password is stored, a point our password hashing explainer shows with hard numbers. I'm not claiming that applies to any specific Excel setting, only that “it can always be cracked” is not a fact.
If Unprotect Sheet is grayed out or missing
- The button says Protect Sheet. The sheet isn't protected, or you're on a different sheet. Check the tab you're on.
- The file is in Protected View. Protected View is a read-only mode where most editing is disabled. Select Enable Editing on the yellow Message Bar. If the bar is red, select File > Edit Anyway, and do that only if you trust the source.[5]
- You're in Excel for the web. The path is Review > Manage Protection, not the desktop menus.[1]
- Only some things are blocked. If the sheet lets you format cells but not insert rows, protection is on and the owner chose which actions to allow, from a list that includes formatting, inserting rows, sorting and using AutoFilter.[1]
My take
I like that Microsoft says plainly that it cannot retrieve the password. A recovery button for a protected file would be a hole in every protected file. The cost is that your own mistakes are final, so the practical rule is to save the password when you set it, in the same minute.
Takeaway
With the password, unprotecting takes a few clicks. Without it, the supported path is finding the password or an earlier copy of the file, not breaking in.
Next time you protect a file, store the password in your password manager before you hit OK.
Sources and further reading
- 1.PrimaryMicrosoft Support, "Protect a worksheet". Windows and Excel for the web steps to unprotect, Pause Protection, the forgotten-password warning, the protection options list, and the note that worksheet protection is not a security feature.
- 2.PrimaryMicrosoft Support, "Password protect workbooks in Excel". The File > Info > Protect Workbook > Encrypt with Password steps for setting a password to open. Removal uses the same dialog.
- 3.PrimaryMicrosoft Learn, "Worksheet.Unprotect method (Excel)". The password is case-sensitive, and if you forget it you cannot unprotect the sheet or workbook.
- 4.ReportingMicrosoft Q&A, answers on recovering a lost Excel password. Community answers: no supported Microsoft workaround exists, and third-party tools should be used with caution on sensitive data.
- 5.PrimaryMicrosoft Support, "What is Protected View?". Protected View is read-only; Enable Editing on the yellow bar, or Edit Anyway on the red one.
Frequently asked questions
6 questions
How do I unprotect an Excel sheet if I know the password?
Go to the sheet, open the Review tab and choose Unprotect Sheet, then type the password and select OK. On Windows you can also choose File > Info > Protect > Unprotect Sheet. In Excel for the web, go to Review > Manage Protection and turn off Protect sheet.
Can I unprotect an Excel sheet without the password?
Not through any supported route. Microsoft says it cannot retrieve a forgotten password, and its Excel VBA reference says that if you forget the password, you cannot unprotect the sheet or workbook. You can look for the password, ask the file's author, or restore an earlier copy.
What is the difference between sheet protection and a password to open?
Sheet protection stops edits to locked cells while the file still opens for anyone. A password to open encrypts the file, so nobody can read it without the password. Microsoft treats them as different features, and removing sheet protection does not remove a password to open.
Why is Unprotect Sheet grayed out or missing?
The sheet may not be protected, in which case the button reads Protect Sheet. The file may also be open in Protected View, which is read-only until you select Enable Editing. Each sheet is protected separately, so check that you are on the right one.
How do I unprotect an Excel workbook?
Workbook protection locks the structure, so people cannot add, delete, move, hide or rename sheets. Go to the Review tab, choose Protect Workbook to switch structure protection off and enter the password if asked. A password to open is removed separately, from File > Info > Protect Workbook.
Is sheet protection in Excel secure?
No. Microsoft says worksheet-level protection is not intended as a security feature. It prevents accidental changes to locked cells. If the data is confidential, use a password to open, which encrypts the file, and keep that password somewhere safe because it cannot be recovered.
Keep reading
Written by
Tech Talk News Editorial
Computer engineering background. Writes about software, AI, markets, and real estate, and the places where the three meet.
About Tech Talk News

