Yes, you can recover an Excel workbook password, but the method depends entirely on the version of Excel you are using and whether you still remember any part of the password. For modern versions (Excel 2016, 2019, 2021, and Microsoft 365), the only reliable way to regain access is to use the software’s native password removal feature, which is built into the application but hidden under the Trust Center settings. If you are using an older version, you may need to rely on third-party tools or VBA scripts, though these come with security and compatibility risks. Before attempting any recovery, ensure you have a clean backup of the file, as password recovery tools can sometimes corrupt data if the process fails halfway through.

What You'll Need

  • A computer with Microsoft Excel installed (the steps below apply to Excel 2016, 2019, 2021, and Microsoft 365 on Windows 10 or 11).
  • The password-protected Excel workbook file (.xlsx or .xls).
  • A stable internet connection (required for the one-time activation of the password removal feature).
  • Admin rights on the computer to access the Trust Center settings.

Step-by-Step

  1. Open the Password-Protected File. Launch Excel and open the workbook you are locked out of. The program will display an alert box asking for a password. Click 'Cancel' to close the prompt and return to the main interface. Do not enter any password; simply close the box to proceed with the recovery steps. If you attempt to enter the wrong password too many times, the file may be locked by Excel, so it is safer to cancel the prompt and follow this process instead.
  2. Disable Protected Views for the File. Before accessing the Trust Center, you must ensure Excel does not block the file from being modified. Go to the top-left 'File' tab and select 'Options' at the bottom of the left-hand menu. In the Options window, click on 'Trust Center' on the left side and then click the 'Trust Center Settings' button. In the Trust Center dialog, click on 'Protected View' on the left. Ensure that the checkbox for 'Enable Protected View for files originating from the Internet' and 'Enable Protected View for files located in potentially unsafe locations' are both unchecked. Click 'OK' on all dialog boxes to save these changes.
  3. Access the Document Inspector. With the Trust Center settings updated, return to the main Excel window. Go back to the 'File' tab and select 'Info' from the left-hand menu. On the right side of the Info screen, look for the 'Protect Workbook' button. Click the arrow next to it and select 'Encrypt with Password'. This will open the Encrypt Document dialog box where the current password is stored internally. Click the 'Remove' button next to the password field. Click 'OK' to confirm the removal. This step does not ask you to enter the password; it simply tells Excel to clear the stored password from the file's metadata.
  4. Save the File to Remove the Password. After removing the internal password, Excel will ask you to save the file. Choose a new location or keep the current one, but ensure you do not overwrite an important original. Click 'Save' to confirm. Once the file is saved, the password protection is gone. You can now reopen the file, and it will open without asking for a password. Note that this method works for standard password-protecting workbooks, not for files encrypted with third-party add-ins or with 'Write Password' restrictions.

Common Mistakes

One of the most common mistakes users make is attempting to repeatedly guess the password in the initial pop-up box. Excel is configured to lock a workbook after a certain number of failed attempts to prevent brute-force attacks. If you enter the wrong password more than a few times, the file may become corrupt or permanently inaccessible. Another mistake is trying to use third-party password-cracking software before checking the built-in options. While these tools can be effective, they are often unnecessary for standard Microsoft password protection and can introduce malware or cause file corruption if the software is not reputable. Always try the native method first, as it is free, safe, and built into the software you already own.

Tips

When using the File > Info > Protect Workbook > Encrypt with Password method, it is crucial to understand that this feature is not a 'cracker' that guesses your password. It only removes the encryption if the file was encrypted using the standard Excel mechanism. If your file is password-protected using a third-party add-in, this method will fail. To verify if the method will work, try opening the file in a different version of Excel or on a different computer. If the file opens elsewhere, it was likely protected with standard settings. Additionally, always keep a backup of your data before attempting any password-related changes, as saving a file with encryption removed can sometimes reset formatting or remove macros if the file is not saved in the correct format (e.g., .xlsx instead of .xlsm).

Troubleshooting

If you are unable to find the 'Protect Workbook' > 'Encrypt with Password' option, it may be because you are using a very old version of Excel, such as Excel 2003. In these older versions, there is no built-in password removal feature. The only option is to use third-party password recovery software, which requires downloading an executable file from a trusted source. Be extremely cautious with these downloads, as they can contain malware. If the file fails to open after you have removed the password, it may be corrupted. Try opening a backup copy of the file first. If the backup is working, the corruption likely occurred during the save process; try saving the file again as an 'Excel Workbook (.xlsx)' to strip out complex formatting and macros that might be causing the issue.

Frequently Asked Questions

Does Excel keep a record of passwords I have used?

No. Excel does not store your passwords anywhere on your computer or in the cloud. The password is encrypted directly into the file's metadata. If you forget it, there is no master key or registry setting you can check to recover it automatically.

Is there a way to recover a forgotten password for a VBA project?

Passwords for VBA projects (macros) are handled differently than workbook passwords. The native 'Encrypt with Password' method does not remove VBA passwords. These are much harder to recover and often require specialized tools that break the VBA encryption, which can be risky if the tool is not verified.

What happens if I save the file after removing the password?

Saving the file is the final step that locks in the password removal. Once saved, the file is no longer encrypted. You can open it freely, edit it, and share it without any restrictions. If you save it as a different file type, like .csv, the password protection is lost immediately upon saving.

Can I recover a password for an Excel file on a Mac?

The process is similar but located in different menus. On a Mac, you go to Excel > Preferences > Security > Enter Password. To remove it, you must click 'Remove Password' after opening the file. The underlying encryption mechanism is the same as on Windows, so the result is identical.

Why does the 'Remove' button not appear under Encrypt with Password?

If the 'Remove' button is missing, it is likely because the file is protected with a 'Write Password' rather than an 'Open Password'. The 'Encrypt with Password' dialog usually only shows the 'Open Password'. You would need to use a different method or tool to remove a write password.