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…
How to mass-delete all your emails on Gmail at once
Google services (YouTube, Gmail, Chrome, Duo, Meet, Google Podcasts) icons app on smartphone screen.

When your Gmail inbox becomes stuffed with junk, it can be near-impossible to sift through the hay to find the needles. Important emails, crucial documents, and those pictures from the family trip can get buried under mounds of spam and advertisements from shoe companies you never even bought shoes from. Luckily, there’s a few ways to sort through all your Gmail muck to put the spotlight back on what’s important.

Read more
How to open RAR files on Windows and Mac
Person sitting and using an HP computer with Windows 11.

Similar to zip files, a RAR (Roshal Archive) file is a way to compress multiple files down into a single, high-quality container. Once you’ve downloaded or received RAR content, the only thing you have to do is extract it to gain access to the media and docs within. Unlike zip files though, unpacking a .rar file isn’t as simple as selecting “unzip.”

Read more
How to keep your MacBook from sleeping
The M3 MacBook Air in front of a window.

Your MacBook is your go-to powerhouse for all things computing. Web browsing, graphic design, video editing, music production, you name it, the MacBook can do it. But like any good laptop, your MacBook has a number of battery-saving features built in and enabled by default. One of these functions is the computer’s sleep mode, which optimizes battery life by decreasing power usage.

Read more