Skip to main content

How to password-protect an Excel file on Windows and Mac

If you use a computer, you probably have some Microsoft Excel documents on your Mac or PC that you wouldn’t want other people to find and read.

After all, Excel serves not only the average person, but also businesses, government institutions, and millions of other folks worldwide. Whether you’re creating graphs, converting PDFs, or just inputting rows and rows of data, the best way to keep that information safe is to learn how to password-protect an Excel file.

Difficulty

Easy

Duration

5 minutes

What You Need

  • An Excel document

  • Microsoft Excel

  • A PC

Adding a password

Step 1: In Excel, open the document you want to secure with a password.

Step 2: Click File, followed by Info.

Excel 2016 Protect Workbook options.
Mark Coppock / Digital Trends

Step 3: Next, click the Protect workbook button. From the drop-down menu, select Encrypt with password.

Step 4: Excel will then prompt you to type in a password. Pick one that’s complicated and unique and note it down in a quality password manager.

Excel prompting user to create and enter in a password for document.
Mark Coppock / Digital Trends

File encryption

Now that you’ve password-protected your most essential files, it might be worth considering adding extra layers of security to your system. The easiest way to protect a large number of records is to encrypt them. Luckily, encryption programs are not hard to find. Windows 10 Professional users have a built-in encryption utility called BitLocker. Still, if you want to download a free version with customization options for different types of data, you can try the VeraCrypt open source download.

Additional security options

Excel also allows you to apply more customized security options to your file if necessary. It’s important to know what these other options do so you can create the right security for your project. Under Protect workbook, you’ll find several additional features that may prove useful:

Mark as final: This will mark the file as completed, which lets other people know that they shouldn’t make any changes. Using this option will not secure the data behind a password, however, so it doesn’t offer any security.

Protect current sheet: This will guard the currently selected worksheet with a password so that people can’t make any changes or only certain kinds of changes. It’s a handy option if there’s only one sheet in the workbook that you want to protect, and you don’t mind if people can see the info — you just don’t want them messing with anything. You will notice that there’s also an option to do this with Workbook structure, which protects from larger changes to the workbook (like adding a new sheet), unless people have the password.

Add a digital signature: You can guarantee that only you have access to and control over your Excel files by adding a digital signature.

Safeguarding Excel files is a crucial task that many people overlook. There are plenty of safety measures available to ensure that your information remains private and secure, starting with password protection.

Editors' Recommendations

Jon Martindale
Jon Martindale is the Evergreen Coordinator for Computing, overseeing a team of writers addressing all the latest how to…
Forgot your Mac password? Here’s how to reset it
A person plays Stray using a PlayStation controller on a silver 13-inch MacBook Air.

We all forget a password once in a while. It’s really just a fact of life at this point, but things are a little different when you forget crucial login info for your go-to computer. And if you’ve ever forgotten your MacOS password, you’ll know just how frustrating it is to be locked out of your do-everything PC. But even if one of your Mac or MacBook’s system-stored hints isn’t enough to jog your memory, there’s a couple of ways you’ll be able to reset your MacOS password.

Read more
How to change your Outlook password
A person using Outlook on a Macbook.

If it's been a while since you last changed your Outlook password, you could be opening the door for hackers to access your account. Updating your password at frequent intervals is a great way to improve your online security, and Outlook makes it easy to take care of this important (yet, boring) administrative task.

Read more
How to delete a page in Word (including a blank page)
A person using MS Word.

Microsoft Word is one of the best word processors of 2024, allowing you to craft powerful documents with an intuitive interface. If you're working with large files that span multiple pages, you'll be happy to know that Microsoft gives you several easy ways to delete a page in Word, including both blank pages and those you simply no longer need.

Read more