Protect an Excel Worksheet with a Password

Lock a worksheet so only people with the password can make changes. This guide shows the simple steps to password-protect a single Excel sheet and what to check afterward.

What the video covers

Apply a password to a single worksheet in Excel to restrict editing. This does not encrypt the entire workbook or protect the file from being opened—only prevents modifications to the protected sheet unless the password is provided.

Watch the video on YouTube

Step-by-step instructions

  1. Open the workbook and select the sheet
    Open your Excel file and go to the worksheet you want to protect.
  2. Access sheet protection
    Open the Review tab on the ribbon and choose the option to protect the sheet.
  3. Set a password and permissions
    Enter a password to restrict changes. Before confirming, select which actions (if any) you want other users to be able to perform, such as selecting unlocked cells or formatting.
  4. Confirm the password
    Click OK and re-enter the password when prompted to confirm.
  5. Verify the protection
    Try editing a protected cell to ensure edits are blocked. If you allowed specific actions, test each to confirm permissions behave as expected.

Watch the video

Video thumbnail for Protect an Excel Worksheet with a Password Play tutorial

Watch on YouTube

Why it matters

Protecting a worksheet preserves formulas, layout, and critical data when a file is shared or edited by multiple people. It reduces accidental changes and maintains data integrity.

Check your result

Open the sheet and try editing a locked cell (for example, a formula cell). Excel should prevent the edit and prompt for the password. Users permitted to edit (if you allowed any actions) should be able to perform those specific tasks.

Troubleshooting

If you forget the password, Excel cannot recover it—there is no built-in password recovery, so keep a secure record. If protection doesn't seem to apply, ensure you protected the correct sheet and that cells are locked (by default all cells are locked only when protection is turned on). If certain actions still work, re-open Protect Sheet options and adjust the allowed actions.