How to Delete an Excel File from OneDrive Safely

How-to basics · Updated November 20, 2026

To delete an Excel file stored in OneDrive, close it, open OneDrive on the web, find the workbook, select it, and choose Delete. The file moves to the OneDrive recycle bin rather than disappearing immediately, but deleting it can remove it for other devices and people who share it. Check that you have the right file and permission before you continue.

What You’ll Need

  • Access to the Microsoft account or work/school account where the file is stored.
  • The workbook’s name or folder location, so you can identify the correct copy.
  • A moment to check whether anyone else needs the file or whether you should save a backup first.

Step-by-Step

  1. Close the workbook. If the file is open in Excel for Microsoft 365 on Windows, save any changes and close the workbook before deleting it. If other people are editing it, ask them to close it too. This reduces the chance of a sync conflict or of losing their latest changes. If you are unsure whether you need the file later, save a separate copy to a location you intend to keep before proceeding.
  2. Open the correct OneDrive account. In a browser, go to OneDrive and sign in with the account that contains the workbook. Personal Microsoft accounts and work or school accounts have separate storage, so confirm the account name or profile before you delete anything. For a work or school file, use the OneDrive location associated with your organization.
  3. Find the workbook. Select My files and browse to the folder where the Excel file is stored. You can also use OneDrive’s search box to look for its name. Check the folder and filename carefully; two files can have similar names, such as a current workbook and an older version with “copy” or a date in its name. If useful, select the file and review its details before taking action.
  4. Check whether it is yours or shared with you. If the workbook appears under Shared, it may belong to another person. You might be able to remove a shortcut or your access, but that is not always the same as deleting the owner’s original file. If you see the file in My files because you added a shortcut to a shared folder, confirm what the delete command applies to. When in doubt, ask the owner or open the folder’s actual location rather than guessing.
  5. Select the file and choose Delete. In the OneDrive web interface, select the checkbox beside the workbook, then choose Delete on the toolbar. Depending on the screen size or interface version, you may instead open the file’s context menu with a right-click or the three-dot menu and choose Delete. Make sure the selected item is the Excel workbook, not its parent folder or a similarly named file.
  6. Confirm the deletion if prompted. Read any confirmation message, especially if it says that other people will lose access. Confirm only if you intend to remove that file from its OneDrive location. If the interface does not show a confirmation, check the folder afterward to make sure the workbook is no longer listed.
  7. Check the OneDrive recycle bin. In OneDrive, open Recycle bin from the navigation pane and look for the workbook. This confirms that it was deleted from the active files area and gives you a way to restore it if you change your mind. Do not choose an option to empty the recycle bin or permanently delete the item unless you are sure you will not need it.
  8. Allow synced devices to update. If OneDrive is installed on your Windows PC, wait for its sync status to show that syncing is complete. The file should then disappear from the corresponding OneDrive folder in File Explorer. On a Mac, check the OneDrive folder in Finder after the sync finishes. A device that is offline may still show an old copy temporarily; reconnect it and let OneDrive sync before assuming the deletion did not work.

You can also delete a synced workbook from File Explorer on Windows or Finder on a Mac: locate it inside the OneDrive folder and move it to the computer’s trash or Recycle Bin. Once OneDrive syncs the change, the deletion is reflected in the cloud and other synced devices. For that reason, the OneDrive website is usually the clearest option when you want to confirm which cloud file you are removing.

Common Mistakes

  • Deleting a similarly named workbook. Before selecting Delete, compare the full filename and folder. An older copy and the current workbook may look almost identical in a search result. Open the folder or inspect file details if the distinction is unclear.
  • Assuming deletion affects only your computer. A file inside a synced OneDrive folder is connected to cloud storage. Deleting it on one synced device normally syncs the deletion to OneDrive and other devices. It is not the same as removing an unrelated local file that is outside OneDrive.
  • Confusing delete with removing from a list. Removing a workbook from Excel’s Recent list does not delete the file. Likewise, removing a shared shortcut or stopping access may not delete the original workbook. Use the file’s location in OneDrive to understand what the command will affect.
  • Deleting a folder instead of a workbook. A folder can contain many items, and deleting it can remove all of them from the active OneDrive location. Check the item icon and path before confirming. If you meant to delete only one workbook, open the folder and select that file alone.
  • Emptying the recycle bin too soon. The recycle bin is your main self-service recovery route after deletion. Permanently deleting the item or emptying the bin can make recovery difficult or impossible. Wait until you are certain the file is no longer needed.
  • Forgetting about collaborators. If people share the workbook, deleting the original may stop them from opening it. Let collaborators know first, or make sure they have a copy they are allowed to keep.

Tips

  • Use a backup for important workbooks. Before deletion, download a copy or save it in another approved location if you may need its contents later. A downloaded copy is separate from the OneDrive item, so give it a clear name and store it somewhere you can find.
  • Check the sync icon before using File Explorer. A green check or other completed status can indicate that the local folder is up to date, while a syncing indicator means changes are still in progress. Icons vary by OneDrive settings and version. If the status is unclear, delete through the website and verify in the recycle bin.
  • Consider moving instead of deleting. If you only want to tidy your OneDrive, move the workbook to an archive folder. This keeps it available while reducing clutter in the folder you use every day.
  • Keep organization rules in mind. Work or school accounts may have retention, sharing, or legal-hold policies set by an administrator. A file may remain recoverable or be subject to organizational rules even after you delete it. Ask your IT administrator if the workbook contains business records or sensitive information.
  • Use a specific search. Include part of the folder name or a distinctive word from the filename. Search can return files shared with you as well as files in your own OneDrive, so verify the location before deleting a result.

Troubleshooting

The Delete option is missing or unavailable. You may not have permission to delete the file, or you may be viewing a shared item owned by someone else. Try opening its location or ask the owner to delete it. In a work or school account, the organization may restrict deletion or require an administrator to manage the file.

The file remains in File Explorer or Finder. Check whether the device is online and OneDrive is running. Select the OneDrive cloud icon near the Windows taskbar clock or in the Mac menu bar to review sync status and any error message. Resolve the displayed issue, then wait for syncing to finish. If the local file is still present but the website shows it in the recycle bin, do not delete or overwrite other files to force a change; let the sync client catch up first.

You deleted the wrong workbook. Open OneDrive’s Recycle bin, select the correct item, and choose Restore. OneDrive generally returns it to its original location if that location is still available. If the original folder has since been deleted or changed, check the resulting location carefully. Personal accounts commonly retain recycle-bin items for up to 30 days; work or school retention is commonly up to 93 days, but organization policies and account conditions can change these periods. Restore the item as soon as possible rather than relying on the maximum period.

The workbook is not in the recycle bin. Confirm that you are signed into the same OneDrive account and check whether the file was stored in a different account, SharePoint site, or shared folder. For a work or school account, contact your Microsoft 365 administrator promptly; they may have additional recovery options, but availability depends on policy and timing. If the file was only stored locally and never synced, check the computer’s Recycle Bin on Windows or Trash on Mac.

Excel says the file is in use or will not close cleanly. Save any needed edits, close Excel, and wait briefly for OneDrive to finish uploading. If another collaborator has the workbook open, ask them to close it before trying again. Avoid deleting the file during an upload, because the latest changes might not have reached OneDrive.

You cannot find the workbook by name. Check for a renamed file, a different file extension, or a folder that was moved. Search OneDrive using only a distinctive part of the name, then verify the result’s location and owner. Also check the recycle bin in case the workbook was already deleted.

Frequently Asked Questions

Does deleting an Excel file from OneDrive delete it from my computer?
For a file inside a synced OneDrive folder, the deletion normally syncs to that computer and other connected devices. If the computer is offline, it may still display the file until it reconnects and completes syncing. A separate copy saved outside OneDrive is not automatically deleted.

Can I recover an Excel file after deleting it?
Usually, you can restore it from OneDrive’s recycle bin while it remains there. Open the bin, select the workbook, and choose Restore. Recovery time limits vary by account type and administrator policy, so act quickly. A permanently deleted item may not be recoverable through the usual steps.

Will deleting a shared workbook remove it for everyone?
If you delete the owner’s original file, other people who rely on that file may lose access. If you are only a recipient, you may be able to remove a shortcut or your access without deleting the owner’s copy. Check who owns the file and what the interface says before confirming.

Does removing a file from Excel Recent delete it from OneDrive?
No. Removing an entry from Excel’s Recent list only changes that list; it does not delete the workbook. To delete the actual file, find it in OneDrive and use the Delete command.

Can I delete the file while it is open in Excel?
Close it first, after saving any changes. Excel or OneDrive may block the deletion while the file is being edited or synced, and closing it helps prevent unsaved work or sync conflicts. Ask collaborators to close it too if they are editing.

How do I permanently delete the workbook?
Delete it from OneDrive, then remove it from the OneDrive recycle bin if you are certain it should not be restored. Permanent deletion is not easily undone, and work or school retention settings may affect what happens next. If the file is subject to workplace retention rules, ask your administrator before trying to erase it permanently.

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.