How to Delete an Excel File: Every Method Explained
Deleting an Excel file sounds straightforward — and often it is. But depending on where that file lives, what operating system you're using, and whether the file is currently open or shared, the process can vary more than you'd expect. Here's a complete breakdown of every common scenario.
What "Deleting" an Excel File Actually Means
When you delete an Excel file (.xlsx, .xls, .xlsm, or any other Excel format), you're removing it from its current location in your file system or cloud storage. On most systems, deletion isn't immediate — the file moves to a temporary holding area (like the Recycle Bin on Windows or Trash on macOS) before being permanently removed.
This distinction matters. Sending to Recycle Bin/Trash is recoverable. Permanently deleting is not — at least not without specialized recovery software.
Deleting an Excel File on Windows
Method 1: From File Explorer
- Open File Explorer and navigate to the folder containing the file.
- Right-click the
.xlsxfile and select Delete, or single-click to select it and press the Delete key. - The file moves to the Recycle Bin.
- To permanently delete immediately, press Shift + Delete instead.
Method 2: From the Recycle Bin
Once a file is in the Recycle Bin, you can right-click it and choose Delete to remove it permanently, or right-click and Restore to send it back to its original location.
Method 3: From Within Excel
Excel doesn't have a built-in "delete this file" button, but you can navigate to a recent file:
- Go to File → Open → Recent
- Right-click the file in the recent list
- Select Remove from list — note this only removes it from the recent files list, not from your drive
To delete the actual file from within the Office environment, you'd need to use File → Save As, browse to the file's location, right-click it in the dialog box, and select Delete from there.
Deleting an Excel File on macOS 🗂️
- Locate the file in Finder.
- Right-click (or Control-click) and select Move to Trash, or drag it to the Trash icon in the Dock.
- To permanently delete, right-click the Trash icon and select Empty Trash, or open Trash and delete individual files.
- For immediate permanent deletion without the Trash step, select the file in Finder and press Command + Option + Delete.
Note: macOS may prevent you from deleting a file that's currently open in Excel. Close the application first.
Deleting an Excel File Stored in OneDrive or SharePoint
Cloud-stored Excel files behave differently depending on how you access them.
From OneDrive (Web)
- Log into onedrive.live.com or your Microsoft 365 portal.
- Right-click the file and select Delete.
- The file moves to the OneDrive Recycle Bin, where it typically stays for 30 days before automatic permanent deletion.
From OneDrive (Synced Folder on Desktop)
If OneDrive is synced to your computer, deleting the file from your local OneDrive folder also removes it from the cloud — and vice versa. The deletion syncs across all connected devices.
From SharePoint
Files on SharePoint follow similar recycle bin rules, but permissions matter. If you don't own the file or don't have edit access, you may not be able to delete it. Admins can recover deleted files from the SharePoint admin recycle bin for a longer window.
Deleting an Excel File on Mobile (iOS and Android) 📱
iOS (iPhone/iPad)
- In the Files app, locate the Excel file, long-press it, and tap Delete.
- Deleted files go to the Recently Deleted folder within the Files app and are removed after 30 days.
Android
- Using the default Files app (varies by device manufacturer), navigate to the file, long-press it, and select Delete.
- Some Android setups send files to a trash folder; others delete immediately — this depends on the specific app and Android version.
If the file is stored in OneDrive or Google Drive and accessed through those mobile apps, deletion follows the cloud recycle bin rules of that platform.
What Happens to Shared or Co-Authored Excel Files
This is where deletion gets more consequential. If a file is shared with others — especially on OneDrive or SharePoint — deleting it removes access for everyone. Collaborators won't receive an automatic warning before the file disappears.
| Scenario | Who Can Delete | What Happens to Others |
|---|---|---|
| File on personal OneDrive | File owner | Others lose access immediately |
| File on SharePoint | Users with Delete permission | All users lose access |
| Shared via email attachment | Each recipient independently | No effect on other copies |
| Co-authored workbook (live) | Owner or editor | Deletion ends the session |
If you're the file owner and others depend on it, communicate before deleting.
A Note on Recovery and Permanent Deletion
Most modern operating systems and cloud platforms include some version of a recycle bin or recovery window. However:
- Recycle Bin (Windows) and Trash (macOS) are local — recovery is instant until you empty them.
- OneDrive and SharePoint retain deleted files for up to 30 days by default, though administrators can configure this differently.
- Shift + Delete on Windows and Command + Option + Delete on macOS bypass the recycle bin entirely — recovery then requires third-party file recovery software, with no guarantee of success.
Whether you need a quick cleanup or a permanent purge, the right deletion method depends entirely on where the file lives, who else has access to it, and how certain you are that you won't need it again. Those three variables — location, sharing status, and recoverability needs — are what determine which approach actually fits your situation.