How to unprotect an Excel worksheet: regain edit access
Forgotten the password on a protected sheet? Here is how to remove worksheet protection in Excel safely, with or without the original password.

In this article
The short answer: which lock are you dealing with?
Excel has more than one kind of lock, and only some of them can be undone without the original password. Work out which one you are facing before you start, because the wrong method wastes time and can damage the file.
The test is simple: can you open the file, and can you type in a cell?
| Lock | What it blocks | Removable without the password? | Where it lives |
|---|---|---|---|
| Protect Sheet | Typing in locked cells, formatting, inserting rows or columns | Yes, by editing the file itself | Review tab, Protect Sheet |
| Protect Workbook | Adding, deleting, hiding, renaming or moving whole sheets | Yes, by the same file edit | Review tab, Protect Workbook |
| Password to open | Opening the file at all | No. This is encryption | File, Info, Protect Workbook, Encrypt with Password |
| Mark as Final | Nothing; it only sets a read-only suggestion | Yes, in one click | File, Info, Protect Workbook, Mark as Final |
If a password prompt appears the moment you double-click the file, you are in the third row of that table, and nothing further down this page will help you. Everything below assumes you can open the workbook and see the data but cannot change it.
What you need before you start
Have these ready before you touch anything:
- The workbook itself, saved as .xlsx or .xlsm. Older .xls files behave differently and are best converted first.
- A second copy stored somewhere else, because the file-level method rewrites the contents of the file you edit.
- Permission to edit it. Stripping protection from someone else's workbook, or from a template your organisation depends on, is usually against policy even when it is technically easy.
- Excel for Windows or Mac. The browser version cannot remove protection at all.
How to unprotect a sheet when you know the password
-
Open the workbook and click the protected tab
Protection is applied per sheet, so a workbook with eight tabs may need this repeated eight times. Start with the one you actually need to edit.
-
Go to Review, then Unprotect Sheet
On the Review tab, in the Protect group, choose Unprotect Sheet. If the button is greyed out, either the sheet is not protected or the workbook has been opened read-only.
-
Type the password
Passwords are case-sensitive, so check Caps Lock first. If nobody ever set one, the sheet was protected without a password and the dialog will accept an empty entry.
-
Check workbook-level protection separately
If you still cannot add, rename or hide sheets, the workbook structure is locked rather than the sheet. Use Review, then Protect Workbook, and clear it in the same way.
-
Save and tell the owner
Save the file and let whoever owns it know protection has been removed, so it does not get re-applied over work in progress.
How to unprotect a sheet when the password is lost
Worksheet protection is stored as a short tag inside the workbook's internal files, so removing it is a matter of editing that tag rather than cracking the password. It takes a few minutes and works on any standard protected sheet.
-
Save a copy and change its extension to .zip
Work on the copy, never the original. In Windows File Explorer, turn on File name extensions in the View tab, then rename the file from .xlsx to .zip. On a Mac, right-click, choose Get Info, edit the extension in the name field and confirm the change.
-
Open the archive
Extracting to a folder is easier to inspect, but you must repackage it so the internal folder structure stays identical. A zip tool that updates files in place is safer for beginners.
-
Find the right sheet file inside xl/worksheets
Sheets are stored as sheet1.xml, sheet2.xml and so on, in tab order. To be certain which is which, open xl/workbook.xml, match the sheet name to its identifier, then open the corresponding file.
-
Delete the sheetProtection element
Open the sheet XML in a plain text editor such as Notepad or TextEdit, not a word processor. Search for sheetProtection: it is a single self-closing tag carrying attributes such as password, sheet, objects and scenarios. Delete the whole element, from its opening bracket to its closing one, then save the file.
-
Repackage and rename back
Put the edited file back into the archive at the same path, then rename the archive from .zip back to .xlsx. Do not leave an extra folder level in the archive or Excel will refuse to open it.
-
Reopen and check
Open the file in Excel. If you get a repair prompt, close without saving and start again from your backup. If the sheet is still locked, you edited the wrong sheet file or the workbook uses a password to open.
The copy-and-paste workaround for stubborn files
The file edit is not always worth the effort. If all you need is the data, create a blank workbook, select the used range on the protected sheet and paste it into the new file. Formatting and formulas often come across; where they do not, Paste Special then Values keeps the numbers and drops everything else.
This route fails when protection also blocks selecting locked cells. You can sometimes select everything with Ctrl+A and copy anyway, but if the author disabled selection entirely, you will have to ask for the password.
One thing the copy route will not preserve is macro behaviour. VBA modules live in the workbook rather than the cells, so pasting into a fresh .xlsx loses them.
What commonly goes wrong, and how to fix it
- Excel says the file needs repair. The archive structure changed while repackaging, or the tag was only partly deleted. Restore the backup, repeat the edit and remove the entire element, closing bracket included.
- The sheet opens but is still protected. You edited the wrong sheet XML, or the protection sits at workbook level in xl/workbook.xml.
- Unprotect Sheet is greyed out. The workbook is open read-only, often because it was marked as final or opened from a read-only folder. Check the title bar for the read-only note and save a local copy.
- The file is .xls, not .xlsx. The older binary format cannot be edited this way. Open it in Excel, save as .xlsx, then follow the steps above.
- Excel still asks for a password at open. That is encryption rather than sheet protection, and there is no workaround without the password.
Protect it again properly afterwards
Once your edits are done, re-apply the guard rails so the next person gets the same experience: Review, Protect Sheet, then tick the actions you want to allow, such as selecting locked cells, sorting and filtering. If the lock exists only to prevent slips, leave the password box empty; a blank password is honest about what the lock is for.
Frequently asked questions
Does removing worksheet protection delete any data?
No. Protection is a flag stored alongside the sheet, not a container around it. Removing it leaves every value, formula, format and comment exactly as it was.
Can I unprotect a sheet in the Excel mobile app?
No. The Android and iOS apps let you view protected sheets but do not offer the Unprotect Sheet command. Open the file in desktop Excel on Windows or Mac instead.
Can a forgotten worksheet password be recovered?
Not through any supported Excel feature. There is no password reminder or recovery option for sheet protection, which is why the practical route is removing the protection from the file rather than recovering the password itself.
Will unprotecting a sheet break my formulas or macros?
No. Formulas continue to calculate as normal. Macros keep working too, provided you edited the XML inside a macro-enabled .xlsm file and kept that format rather than saving as .xlsx.
Why does the file ask for a password before it opens?
That is file encryption, not worksheet protection. It is applied through File, Info, Protect Workbook, Encrypt with Password, and it cannot be removed without the correct password by any of the methods on this page.

