How to Delete an Excel File in Office 365

How-to basics · Updated November 20, 2026

To delete an Excel file in Office 365, close it, then remove it from the place where it is stored: OneDrive, a SharePoint document library, or a folder on your computer. Cloud files usually go to a recycle bin first, so you may be able to restore one if you delete it by mistake. Make sure you are deleting the workbook itself, not just a worksheet inside it.

What You’ll Need

  • Access to the Microsoft account or work/school account that owns the file, or permission to delete it from its shared location.
  • The workbook’s name and, if possible, its storage location. Check whether it is in OneDrive, a SharePoint site, or a local folder.
  • Excel closed for that workbook. If it is open in Excel for the web, close its browser tab after saving any changes.
  • A moment to check that the file is no longer needed by collaborators. Deleting a shared workbook can affect everyone who uses it.

Step-by-Step

  1. Save changes and close the workbook. In Excel for Microsoft 365 on Windows, press Ctrl+S to save, then close the workbook. On Mac, press Command+S, then close it. In Excel for the web, wait for the saved status before closing the tab. If someone else has the workbook open, tell them you plan to delete it and ask them to save their changes first. Deleting a file is different from deleting a worksheet: a worksheet is a tab within a workbook, while deleting the file removes the workbook as a whole.
  2. Find out where the file is stored. In desktop Excel, look at the title bar or open File > Info to see file details; depending on the workbook and your Excel build, the location may be displayed there. A cloud icon or OneDrive/SharePoint location usually means it is online. If you do not know the location, use Windows File Explorer search or the search box in OneDrive or SharePoint to look for the workbook name. Check the full file name and folder so you do not select a similarly named copy.
  3. For a OneDrive file, open OneDrive in a browser. Go to Microsoft 365 and open OneDrive, or sign in to OneDrive with the account that stores the workbook. Select My files and browse to the folder containing the Excel file. You can also use OneDrive search, then verify the file name and folder in the results. If the file is in a shared folder, confirm that you have permission to delete it; seeing or editing a file does not always mean you can remove it.
  4. Select and delete the OneDrive workbook. Select the circle or checkbox beside the workbook, then choose Delete from the toolbar or the available menu. If you open the file’s context menu, choose Delete there. Confirm if OneDrive asks. The file is moved to the OneDrive recycle bin, rather than immediately erased. Do not choose a similarly named PDF, older version, or folder by mistake. If the Delete command is unavailable, you may lack permission or the item may be managed by an organization policy.
  5. For a SharePoint file, use its document library. Open the SharePoint site where the workbook is stored, then open the relevant document library, commonly named Documents or Shared Documents. Find and select the workbook, choose Delete, and confirm. SharePoint sends deleted items to the site’s recycle bin, subject to the site’s retention and permission settings. If you cannot locate the library, ask the site owner which site and folder hold the file. A SharePoint file may also appear in OneDrive under Shared; deleting it from its original SharePoint library still affects the shared file.
  6. For a file saved only on your Windows computer, use File Explorer. Open File Explorer, browse to the folder, and check the file name and the .xlsx, .xlsm, or other expected extension. Right-click the workbook and choose Delete, or select it and press Delete. Windows normally moves it to the Recycle Bin. Avoid Shift+Delete unless you deliberately want to bypass the Recycle Bin. If the workbook is inside a OneDrive-synced folder, deleting it in File Explorer also deletes it from OneDrive and other synced devices after the change syncs.
  7. For a local file on Mac, use Finder. Find the workbook, confirm its name and location, then Control-click it and choose Move to Trash, or drag it to the Trash. The Mac equivalent of the Windows Delete key is not always the same: use Move to Trash from the menu rather than assuming the forward-delete key will remove a file. If the workbook is in a OneDrive-synced folder, the deletion can sync to the cloud and other devices. Emptying the Trash removes the local recovery option.
  8. Check the correct recycle bin before considering it gone. For a OneDrive deletion, open OneDrive’s Recycle bin and check that the file is listed. For a SharePoint deletion, open the site’s Recycle bin. For a local Windows deletion, open the desktop Recycle Bin. If you removed the wrong workbook, select it and choose Restore where available. Restoring a cloud file generally returns it to its original location, but access, retention rules, and organization settings can affect what options appear.
  9. Confirm the outcome without deleting anything else. Search the original folder or library again and check that the intended file is no longer there. If the workbook was shared, let collaborators know it was removed and explain how to request access or find a replacement. Do not empty a recycle bin just to make the file disappear from the normal folder: permanent deletion is harder or impossible to reverse, and an organization may retain a separate backup or compliance copy.

Common Mistakes

  • Deleting a worksheet instead of the workbook. In Excel, a sheet tab’s Delete command removes only that sheet, sometimes permanently after saving. To delete the entire Excel file, close it and remove the file from OneDrive, SharePoint, File Explorer, or Finder.
  • Removing the wrong copy. A workbook might exist as a local copy, a OneDrive copy, an email attachment, and a SharePoint copy. Deleting one does not necessarily delete the others. Compare the folder path, modified date, and file name before confirming.
  • Assuming a shared file is private to you. A workbook in a team SharePoint library or shared OneDrive folder may be used by colleagues. Deleting it can make it unavailable to them too. Check ownership and notify the relevant people first.
  • Expecting synced deletion to affect only one device. Removing a file from a synced OneDrive folder usually syncs the removal to the cloud and other connected devices. Disconnecting from the internet is not a reliable way to keep a synced file while deleting its cloud copy; resolve the location and sync status first.
  • Emptying the recycle bin too soon. Emptying it can remove the easiest restore route. Verify the workbook is the right one and that nobody needs it before permanently removing recycled items.

Tips

  • Use the full folder path, not just the workbook name, to identify the correct item. Two files called Budget.xlsx can contain different information.
  • Before removing a shared or important workbook, ask the owner whether it should be archived or transferred instead. A team may need the file for records or ongoing work.
  • If the goal is to stop someone accessing a workbook, deleting it may not be the right action. In OneDrive or SharePoint, review its sharing settings and remove a person’s access, or ask the owner or administrator to do so.
  • For OneDrive sync problems, check the OneDrive cloud icon in the Windows notification area or Mac menu bar. Wait for syncing to finish before judging whether the online and local copies match.
  • Keep in mind that recycle-bin retention varies by account type and organization policy. Work or school administrators may also have retention rules that preserve deleted content beyond what you can see.
  • If you need a record before removing a workbook, save a clearly named copy to an approved location first. Avoid making an extra copy of sensitive work data in a personal account.

Troubleshooting

The Delete option is missing or disabled. You may have view-only access, the file may be owned by someone else, or an organization may restrict deletion. In SharePoint, contact the site owner; in a shared OneDrive folder, ask the owner to remove the item or grant the appropriate permission. Do not try to work around your organization’s access controls.

The file says it is in use. Close all Excel windows or browser tabs that have that workbook open, and ask collaborators to close it too. On Windows, check whether Excel is still running in the taskbar. If the file is stored in a shared library, another person’s editing session or a sync process may delay deletion. Wait briefly, confirm your changes are saved, and try again. Avoid deleting a temporary lock file as a substitute for deleting the workbook.

The file disappears and then comes back. A OneDrive sync conflict, another device, or a collaborator may be restoring or changing the item. Check OneDrive’s online view and the sync status on each device. Pause before repeating the deletion, because a second attempt may remove a different copy. If it continues, contact your Microsoft 365 administrator or the owner of the shared library.

You cannot find the deleted workbook. Check the correct recycle bin: OneDrive’s for a OneDrive file, the relevant SharePoint site’s for a library file, or Windows Recycle Bin for a local file. Search using part of the file name and check the account you used. If it is not there, it may have been permanently deleted, deleted under a different account, or removed under a retention policy. A work or school administrator may be able to investigate recovery options, but recovery is not guaranteed.

It is gone from your computer but still appears online. Confirm that the local file was in the OneDrive folder you expected and that OneDrive has completed syncing. If it was a separate local copy, its deletion would not remove the online workbook. Delete the online item from OneDrive or its SharePoint library only after verifying that it is the intended copy.

Frequently Asked Questions

Does deleting an Excel file delete it for everyone?
It depends on where it is stored. Deleting a workbook from a shared OneDrive folder or SharePoint library can remove it for other people who use that item. Deleting a separate local copy generally affects only that copy.

Can I recover an Excel file after deleting it?
Often, if it is still in the appropriate recycle bin. Open OneDrive’s or SharePoint’s Recycle bin, or Windows Recycle Bin for a local file, select the workbook, and choose Restore. Recovery depends on how long ago it was deleted, account permissions, and retention policies.

Does deleting a workbook from Excel for the web remove it?
Excel for the web is an editor, and the workbook is stored in OneDrive or SharePoint. Close the workbook, then delete it from its storage location. Closing the browser tab alone does not delete the file.

How do I delete an Excel file without deleting a sheet?
Do not use the Delete command on a sheet tab. Close the workbook and remove the actual file from its OneDrive or SharePoint folder, or from the local folder in File Explorer or Finder.

Can I permanently delete a workbook right away?
You can empty the relevant recycle bin if you have permission, but doing so may remove your ability to restore the file. For work or school accounts, retention or compliance systems may still preserve a copy. Check with your administrator before treating a shared or business file as permanently erased.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.