How to password-protect an Excel file

Lukas Grigas
Cybersecurity Content Writer
How to password-protect an Excel file

Excel has been an essential part of our personal and business lives ever since it came into the picture. Whether you use it to track your personal project, manage a task, or store sensitive business information, Excel has been the go-to tool for getting everything organized. But with all that important data comes the need to protect it. Enter password protection. By setting up a password for your Excel files, you can add an extra layer of security to help you ensure only authorized people can access and modify that sensitive data.

Today, we’re here to guide you through the steps of how to password-protect your Excel files, whether you're using the latest version, an older one, or an alternative. We’ll also cover how to remove a password when it’s no longer needed, what to do if you forget the password, and overall practices for managing your passwords effectively and securely.

How to add a password to an Excel file

Excel comes packed with a variety of security features designed to help you protect your workbooks, worksheets, or even specific cells. Here’s a quick guide on how to add that much-needed layer of security to your Excel files for both Mac and Windows platforms.

Password-protect an entire Excel file (Windows and Mac)

Protecting an entire Excel file with a password is a rather quick and simple process. Here's what you need to do:

  1. Open the Excel file you want to protect.

  2. Access the File Menu by navigating to the File tab in the top-left corner of the screen.

  3. In the sidebar that appears, click on Info.

  4. You’ll see an option labeled Protect Workbook. Click on it, and a dropdown menu will appear.

  5. From the dropdown, select Encrypt with Password.

  6. Enter a strong password of your choice, then click OK. You’ll be asked to confirm the password by entering it again.

  7. Once confirmed, save the file to apply the password protection.

Now, whenever someone tries to open the file, Excel will prompt them to enter the password.

Password-protect a workbook (Windows and Mac)

In some instances, you might not want to lock an entire file but still want to secure its certain parts. Excel provides you an option to protect either an entire workbook or individual worksheets within it. This is great if you’re sharing a file with others but want to keep some data secure. Here’s how you can do that:

  1. Start by opening the workbook you want to protect.

  2. In the top menu, click the Review tab.

  3. In the Review tab, click Protect Workbook.

  4. A dialog box will appear, giving you options to lock the structure and windows of the workbook. You can choose whether you want to password-protect these settings.

  5. If you want to add a password, enter it and click OK.

Password-protect a worksheet (Windows and Mac)

Protecting individual worksheets within a workbook allows you to lock specific sheets or even specific cells. Here’s how you can do that:

  1. Open the workbook and navigate to the specific worksheet you want to protect.

  2. Click on the Review tab in the top menu.

  3. In the Review tab, click on Protect Sheet.

  4. A dialog box will appear with various options, such as allowing users to select locked or unlocked cells, format cells, insert rows, etc.

  5. If you want to enforce a password, enter it and click OK. Confirm the password when prompted.

How to remove a password from an Excel file

There might come a time when you no longer need to password-protect your Excel file. Maybe the information is no longer deemed sensitive. Whatever the reason may be, here's how you can remove a password from your Excel file:

  1. Start by opening the file that’s currently password-protected.

  2. Go to the File tab, then click on Info.

  3. Click on Protect Workbook and select Encrypt with Password from the dropdown menu.

  4. In the dialog box, delete the existing password and leave the field blank.

  5. Click OK to remove the password and save your file.

Now, the next time you or someone else opens the file, it will no longer prompt for a password.

What to do if you forget a password to an Excel file

Forgetting a password can be a frustrating experience, to put it lightly. Unfortunately, Excel doesn’t provide an easy way to recover a forgotten password, but there are some steps you can take:

Check backup copies

If you’re in the habit of backing up your data, check those copies. You might come across a version of a file that isn’t password-protected, or one with a password you can remember.

Use a password recovery tool

There’s a variety of third-party tools available that can help you recover a password to an Excel file. The tools vary in effectiveness and security, so be sure to choose a reputable one to get the job done.

Consult IT support

If you happen to be in a work environment, your IT department may have tools or methods for recovering lost or forgotten passwords. It’s always worth reaching out to your IT team for assistance.

Best practices for password management

Setting a password for your Excel files is just the beginning; what’s even more important is how you manage your passwords. Here are a few tips on effective password management:

Create complex, strong passwords

Create a strong password that is long and unique. It must have a good mix of uppercase and lowercase letters, a combination of numbers, and symbols. It’s also important to note that you certainly don’t want to use easily guessable information such as your name or birthdate.

And if you need some ideas for inspiration for strong and unique passwords, here are five ideas to make sure your passwords are top notch.

Store and manage passwords securely

Remembering all your passwords can be a challenge, especially if you’re following best practices and using strong, unique passwords for each account. And here's where a password manager comes in handy.

A password manager such as NordPass provides you an unlimited, encrypted vault for storing passwords, passkeys, credit card details, as well as personal information. On top of that, NordPass comes with an integrated password generator that creates strong, unique, and complex passwords for you. And with features like secure password sharing, you can easily share access without compromising security.

Want to learn more? Check out how NordPass can make your digital life safe and easy.

Enable multi-factor authentication (MFA)

Where possible, enable multi-factor authentication (MFA) for an added layer of security. With MFA enabled, even if someone gets hold of your password, MFA can prevent them from accessing your accounts or files by requiring an extra layer of identification besides a username and a password.

By following these steps and best practices, you can ensure your Excel files remain secure, and your passwords are managed effectively. Don’t leave your data vulnerable—take control of your security today!

Subscribe to NordPass news

Get the latest news and tips from NordPass straight to your inbox.