Excel and Office password recovery

In Excel, a password required before the file opens protects encrypted contents. Sheet and workbook protection restrict editing without encrypting the file. Read-only, Protected View and sharing warnings need a different response. Start with the prompt you see.

Forgot the password to open an Excel file

Microsoft's file-protection guidance distinguishes encryption from worksheet controls. A properly encrypted file has no ordinary password-reset or hidden access route. Recovery means testing passwords you may remember, including old variants or a pattern you used at the time. Feasibility depends on length and randomness, not just whether the file is Excel, Word or PowerPoint. A long random password may be impractical to recover.

  1. Check your own candidate passwords

    Search secure notes and the password manager entry for this workbook or project. At the file-open prompt, check capitalization, keyboard layout and pasted spaces. A Microsoft account reset does not change a separate file password.

  2. Ask the person who encrypted this copy

    Give them the filename and version, then ask for its password or another authorized copy. Passwords for individual sheets and the file itself can differ.

  3. Look for an earlier workbook or the underlying data

    Check existing backups and authorized version history. Re-export data from its original system if you can. Validate formulas, links and dates before treating a replacement as the current workbook.

Office has used several document-encryption mechanisms; an extension alone does not describe every version's protection. For a work file, ask IT whether an administrative recovery arrangement was configured before encryption. Microsoft's DocRecrypt guidance requires that prior setup; adding it after the password is lost does not unlock an existing file.

If you know the Excel file password

On supported Windows desktop versions, open the workbook with that password, then use File → Info → Protect Workbook → Encrypt with Password, clear the password and save a separate copy. Reopen the saved copy to check it. Microsoft's AutoSave troubleshooting guidance covers this file-level control; the Review tab's sheet controls serve a different purpose.

The Excel file opens, but cells or workbook tabs are locked

According to Microsoft's protection overview, worksheet protection controls cell editing; workbook protection controls the sheet structure. Neither is a substitute for file encryption. Follow the Excel sheet and workbook protection guide for the detailed distinction.

  1. Select the affected worksheet. Choose Review → Unprotect Sheet and enter the sheet password if requested.
  2. If the problem is adding, renaming or moving tabs, use Review → Protect Workbook and supply the workbook-structure password instead.
  3. Make the permitted change, check the workbook and save a separate copy. Reapply the protection you still need.

If a required protection password is unknown, ask its owner for it or for an editable copy. Keep the original intact while checking an earlier authorized version. Microsoft's Mac protection instructions describe the sheet and workbook controls.

Read-only, Protected View and sharing warnings

Read the whole message before changing anything. A view-only sharing permission calls for edit access from the owner. A password-to-modify prompt may allow reading while reserving edits for someone with a separate password. Saving under another name does not necessarily remove a restriction.

In Windows, Protected View is a security boundary for potentially unsafe documents. If reading is enough, leave it enabled. For a file whose source and contents you trust, Microsoft's documented editing control is Enable Editing; if an administrator blocks that option, contact them. Do not disable Protected View globally to solve one document. Other read-only causes include file properties or application activation.

Word: opening, editing and read-only access

  • Password before any text appears: use your remembered candidates, the sender or an accessible source as above. If you know the password and want to remove it, open the document first. In Word for Mac, choose Review → Protect Document, clear the password-to-open field and save a copy. On Windows, use File → Info → Protect Document → Encrypt with Password and clear the field. Close and reopen the copy.
  • Text appears but edits are restricted: in the Windows desktop Restrict Editing pane, choose Stop Protection and supply the required password or owner authentication. Use permitted regions if that meets your task.
  • Read-only or sharing banner: request the needed editing permission, or follow the applicable warning above. It is not evidence that the file-open password is missing.

The Word document password guide covers these cases in more detail. Microsoft's password-removal instructions require knowing the original password.

PowerPoint: a prompt before slides or a restriction after opening?

Before the slides appear: the file-open password is needed. Use the remembered-password and replacement-copy options above. With the known password in Windows desktop PowerPoint, open the presentation, choose File → Info → Protect Presentation → Encrypt with Password, clear the field and save a copy.

Slides visible but editing is restricted: distinguish a password to modify from a Marked as Final notice. Obtain the modify password or an editable version from its owner. Marked as Final is an editing advisory; Microsoft's file-restriction guidance describes selecting Mark as Final again to enable editing for that case. Protected View or a sharing warning: follow the same trust and access checks above, rather than treating it as an encryption password.

Missing files and other document formats

For a missing or damaged document, preserve the current file and check existing backups, AutoRecover or authorized version history. A password change cannot restore missing bytes. If the source is ODT, ODS or ODP, use the OpenDocument password guide; its applications and controls differ.

Updated and official guidance checked on 19 October 2026.