How to password protect an Excel workbook in Microsoft Excel

You will encrypt an Excel workbook so anyone who opens it must enter a password. This suits anyone sharing a laptop or sending a sensitive spreadsheet. You need the workbook open in Microsoft Excel and a password you can store safely.

YouTube video: How to Set Password Protection For Excel Workbook [Tutorial]

Caption availability is unknown. Check the CC control in the YouTube player.

Video length
1 min 40 s
Time to do it
2 minutes
Difficulty
Easy
Steps
6

What you need

Steps

  1. Open the Excel workbook you want to protect. Make sure it is the correct file before you add a password.

  2. Click File, then choose Info. The Protect Workbook button sits on the right side of the Info screen.

  3. Click Protect Workbook and pick Encrypt with Password. A small Password box appears.

  4. Type the password you want to use, then click OK. Use a password you can remember or store safely.

  5. Type the same password again when Excel asks you to confirm it, then click OK.

  6. Save the workbook with Ctrl+S on Windows or Cmd+S on Mac. Close it and reopen it to check the password prompt appears.

Tips and common mistakes

Write the password down and keep it in a secure place, because Excel cannot recover a lost workbook password.

Passwords are case-sensitive, so check Caps Lock before you type.

Encrypt with Password controls opening the file. To stop edits, use Review > Protect Workbook or Protect Sheet as well.

If you send the file by email, share the password in a separate message.

Questions

Can I remove the password later?

Yes. Open the workbook with the password, go to File > Info > Protect Workbook > Encrypt with Password, clear the password box, and save.

Does this work in Excel for Mac?

Yes, Excel for Mac has the same Encrypt with Password option, though the menus can look slightly different by version.

What happens if I forget the password?

You cannot open or recover the workbook without it. Use a backup copy if you have one.

The notes are drafted automatically from video details and general task knowledge. How the guide was prepared

Report a correction

More in Money & Office

See all