
To password protect an Excel file on Windows, go to File, then Info, then Protect Workbook, and choose Encrypt with Password. Type the password, confirm it and save. On a Mac, use Review, then Protect Workbook. After that, nobody can open the file without the password.
You have a spreadsheet to send. A payroll export. A client list with phone numbers. A budget with every salary on it. Excel files collect sensitive data quietly, one column at a time.
This guide shows how to password protect an Excel file step by step on Windows and Mac, what Excel for the web can and cannot do, and why Protect Sheet is not the same thing. It also covers the mistake that undoes all of it: sending the password in the same email as the spreadsheet.
Quick Summary
- Windows: File > Info > Protect Workbook > Encrypt with Password, then save.
- Mac: Review > Protect Workbook, type and verify the password, then save. Mac passwords are limited to 15 characters.
- Excel for the web cannot add, change or remove a password. Use the desktop app.
- Protect Sheet and Protect Workbook structure stop edits, not reading. Only Encrypt with Password locks the file.
- Microsoft cannot retrieve a forgotten password, and the password should never travel in the same email as the file.
How Do I Password Protect an Excel File on Windows?
To password protect an Excel file on Windows, open it in the Excel desktop app, select File, then Info, select the Protect Workbook box and choose Encrypt with Password. Enter a password, select OK, enter it again to confirm, select OK and save the workbook. Excel then asks for the password every time the file is opened.
The steps, from Microsoft's support page:
- Open the workbook in the Excel desktop app (Excel for Microsoft 365, Excel 2024, 2021, 2019 or 2016).
- Select File > Info.
- Select the Protect Workbook box and choose Encrypt with Password.
- Enter a password in the Password box and select OK.
- Confirm the password in the Reenter Password box and select OK.
- Save the workbook, then close it and open it again to check that Excel asks for the password.
Microsoft's page says there are no restrictions on the passwords you use with regards to length, characters or numbers, but passwords are case-sensitive. "Budget2026" and "budget2026" are different passwords, so tell your recipient exactly how it is typed.
Which File Format Should You Save In?
Save as a modern .xlsx file, not the old .xls format. According to Microsoft's Office encryption documentation, password-protected Open XML files such as .xlsx are encrypted by default with AES using a 256-bit key length. Files in the older binary formats (.xls) can only be encrypted with RC4, which Microsoft does not recommend.
How Do I Password Protect an Excel File on a Mac?
To password protect an Excel file on a Mac, open the workbook in Excel for Mac, go to the Review tab and click Protect Workbook. Type a password in the Password box, type it again in the Verify box, click OK and save. Keep the password to 15 characters or fewer.
- Open the workbook in Excel for Mac.
- On the Review tab, click Protect Workbook.
- Type a password in the Password box, and type it again in the Verify box.
- Choose any other protection options you want and click OK.
- Click Save.
These steps come from Microsoft's guide for Excel for Mac. One detail matters if your team uses both systems: Microsoft states that passwords in Excel for Mac have a 15-character limit, and a workbook protected in Windows Excel with a longer password cannot be opened on a Mac. If anyone on the receiving end uses a Mac, keep the password at 15 characters or fewer.
Can You Password Protect an Excel File in Excel for the Web?
No. Microsoft's support page states that passwords can't be added, changed, removed, or recovered from Excel for the web. To add a password to a workbook you work on in the browser, select Open in Excel, add the password in the desktop app, and use the desktop version of Excel to make changes from then on.
This matters for teams that keep spreadsheets on OneDrive or SharePoint and edit them in the browser. Once a workbook has a password, Microsoft notes that to make changes to the workbook you open it in your desktop version of Excel. Check that the people who need to edit the file have it before you lock it.
Encrypt with Password vs Protect Sheet: What Is the Difference?
Encrypt with Password locks the whole Excel file, so nobody can open it without the password. Protect Sheet and Protect Workbook only control what people can change once the file is open. If the goal is to keep the data private, you need Encrypt with Password, not the editing options.

Microsoft's overview of Excel protection describes three levels:
File-Level Protection
File encryption locks the file with a password and prevents other users from opening it. You can also set a password to open and a different password to modify, which Microsoft suggests when some people should only have Read-only access.
Workbook-Level Protection
Protecting the workbook structure stops people from adding, moving, deleting, hiding and renaming worksheets. Microsoft's guide points out that the password is optional, and without one any user can unprotect and change the workbook. It does not hide the data in the cells.
Worksheet-Level Protection
Protect Sheet, on the Review tab, lets you lock cells and choose what users may still do, such as sort or use AutoFilter. Microsoft is direct about it: "Worksheet level protection isn't intended as a security feature." Anyone who opens the file can still read every cell.
Excel Protection Options Compared
| Option | Where to find it (Windows) | Hides the data | Stops edits | Good for |
|---|---|---|---|---|
| Encrypt with Password | File > Info > Protect Workbook | Yes, the file is encrypted | Yes, nobody can open it without the password | Confidential spreadsheets |
| Password to modify | Set together with a password to open | No, on its own | Yes, unless the user has the password | Read-only access for some users |
| Protect Workbook (structure) | Review > Protect Workbook | No | Only sheet changes (add, move, delete, rename) | Shared workbooks with fixed tabs |
| Protect Sheet | Review > Protect Sheet | No | Yes, except the cells you unlock | Forms, templates, formulas |
How Strong Should an Excel Password Be?
Use a long password that you do not use anywhere else. Microsoft's guidance for Excel says passwords should be 8 or more characters and a passphrase of 14 or more characters is better. The Canadian Centre for Cyber Security recommends passphrases of at least 4 words and 15 characters.
The Canadian Centre for Cyber Security recommends passphrases because they are "longer and easier to remember" than random characters. Someone with a copy of the file can keep guessing offline, so a short password is the weak point. If a Mac user needs to open the file, stay within the 15-character limit and make those characters count with unrelated words.
Keep a record of the password in a safe place, such as a password manager. Microsoft warns that it cannot retrieve forgotten passwords. Use a different password for each client, so one leaked password does not open every spreadsheet you have sent.
How Do I Remove a Password From an Excel File?
To remove a password from an Excel file, you need to know the current password. On Windows, open the workbook with its password and go back to where it was set: File, then Info, then the Protect Workbook box, then Encrypt with Password. On a Mac, click Protect Workbook on the Review tab and then OK without entering a new password.
Microsoft's page for Excel for Mac says workbook passwords can be changed or removed by anyone who knows the current password. Sheet protection is removed separately, with Unprotect Sheet on the Review tab. Neither can be done in Excel for the web.
How Do You Send a Password-Protected Excel File Safely?
Send the password-protected Excel file and its password through two different channels. Email the workbook, then share the password by phone call or text message. If both travel in the same email, anyone who gets into that inbox, or receives it by mistake, has the file and the key together.

Microsoft adds its own warning on the Protect an Excel file page: you still run the risk of passwords falling into the hands of unintended users. A few habits close most of the gaps:
- Check the address twice. Auto-complete picking the wrong "Sam" is one of the most ordinary ways spreadsheets go astray.
- Remove what the recipient does not need. Delete hidden sheets and extra columns before you send, because a password protects everything in the file equally.
- Remember the copies. The protected workbook stays in your Sent folder and the recipient's inbox long after the work is done.
The same approach works for other files. See our guides on how to password protect a Word document, how to password protect a PDF and how to password protect a zip file. For everything else, read how to encrypt a file on Windows and Mac, and if you are unsure what email itself protects, read is email secure.
A Simpler Way to Send Sensitive Spreadsheets
A password protects the workbook, but you still have to deliver the file and the password, and the email copy stays in both mailboxes. This is where SureSend comes into the picture. SureSend is a Canadian secure file transfer service that sends files through a passphrase-protected link that expires on a date you choose. SureSend encrypts every file while it's sent and while it's stored (TLS in transit, AES-256 at rest).
Here is exactly how it works:
- Create a transfer. Sign in, add one or more recipient email addresses, upload your files, and choose an expiry date of up to 21 days.
- Set a passphrase. SureSend emails each recipient a secure link, but the passphrase is never included in that email. You share it separately, by phone or text.
- The recipient downloads. They open the link, enter the passphrase, and download the files. They do not need a SureSend account.
- Track and control it. Your dashboard shows when the transfer is retrieved. You can cancel it before it is downloaded, and it expires automatically.
Once you send, SureSend reminds you to share the passphrase separately, the same rule that applies to an Excel password.
Each transfer allows one successful download. If the download is interrupted, the recipient can try again until one download completes; after that the link cannot be used again, and the transfer's status updates to Retrieved.
Your recipient needs no account and no particular version of Excel. You can start on the free Starter plan. Pro is $7 CAD/month plus applicable taxes, with transfers up to 2 GB. SureSend doesn't keep your files forever; they're removed when the transfer expires.
| Password-protected Excel file by email | SureSend | |
|---|---|---|
| Who sets the password | You, per workbook | You, per transfer (passphrase) |
| How the password travels | Up to you; often wrongly in the same email | Never in the email; you share it separately |
| Recipient needs | Excel desktop app to make changes | A browser and the passphrase |
| Expiry | None; copies stay in inboxes | A date you choose, up to 21 days |
| Delivery status | None | Retrieved, Expired or Cancelled on your dashboard |
| Works for other file types | Excel workbooks only | Any file |
Send Spreadsheets Without the Inbox Copy
SureSend encrypts every file while it's sent and while it's stored: TLS in transit and AES-256 encryption at rest. Send up to 2 GB per transfer, protect it with a passphrase you share separately, set an expiry of up to 21 days, and see when it is retrieved. Your recipient needs no account. New subscribers get 30 days of Pro free, with no credit card required. Start sending securely for free.
A Quick Workflow That Works
For sending a confidential Excel file, this routine covers most situations:
- Save the workbook as .xlsx, not .xls.
- Delete the sheets, columns and rows the recipient does not need.
- Use Encrypt with Password (Windows) or Protect Workbook with a password (Mac), not only Protect Sheet.
- Use a long password, different for each client, of 15 characters or fewer if a Mac user will open it.
- Send the file, then share the password by phone or text. Never in the same email.
- For large files, several files, or anything you do not want sitting in an inbox, use a passphrase-protected transfer with an expiry date.
Passwords are one layer. Our guide to document confidentiality covers the everyday habits that prevent most leaks, and our guide to sending documents securely compares the safer options.
Frequently Asked Questions
Can you password protect an Excel file?
Yes. In the Excel desktop app on Windows, use File, Info, Protect Workbook, Encrypt with Password. On a Mac, use Review, Protect Workbook, enter and verify a password, and save.
How do I password protect an Excel file from opening?
Use Encrypt with Password under File, Info, Protect Workbook. Microsoft describes file encryption as the option that prevents other users from opening the file.
Can I password protect an Excel file in Excel for the web?
No. Microsoft states that passwords can't be added, changed, removed, or recovered from Excel for the web. Use Open in Excel to add the password in the desktop app.
Does Protect Sheet keep Excel data private?
No. Microsoft says worksheet level protection isn't intended as a security feature. It stops changes to locked cells, but anyone who opens the file can still read them.
Is a password-protected Excel file encrypted?
Yes, when you use Encrypt with Password. Microsoft's documentation says .xlsx files are encrypted by default with AES using a 256-bit key length; older .xls files use RC4, which Microsoft does not recommend.
What if I forget the password to my Excel file?
Microsoft cannot retrieve forgotten passwords, so store the password somewhere safe, such as a password manager, before you send the file.
How does SureSend protect files?
SureSend encrypts files in transit (TLS) and at rest (AES-256), and SureSend manages the encryption keys. The passphrase is never included in the email with the link.
Sources
This article draws on the following sources.
- Microsoft Support. Protect an Excel file. support.microsoft.com
- Microsoft Support. Protection and security in Excel. support.microsoft.com
- Microsoft Support. Protect a worksheet. support.microsoft.com
- Microsoft Support. Protect a workbook. support.microsoft.com
- Microsoft Support. Require a password to open or modify a workbook (Excel for Mac). support.microsoft.com
- Microsoft Support. Change or remove workbook passwords (Excel for Mac). support.microsoft.com
- Microsoft Learn. Cryptography and encryption in Office 2016. learn.microsoft.com
- Canadian Centre for Cyber Security. Best practices for passphrases and passwords (ITSAP.30.032). cyber.gc.ca
The Bottom Line
Knowing how to password protect an Excel file takes a minute: Encrypt with Password on Windows, Protect Workbook on a Mac, and an .xlsx file for strong encryption. Protect Sheet is useful, but it is not privacy. The weak point is rarely the encryption. It is the password travelling in the same email as the spreadsheet.
Lock the spreadsheet. Then just SureSend it.