The quickest way to delete an Excel file
To delete an Excel file, find it in File Explorer (Windows) or Finder (Mac), right-click it, and select Delete. On Windows, the file moves to the Recycle Bin; on Mac, it goes to Trash. You can recover it from either place if you change your mind within a few weeks.
If the file is currently open in Excel, close it first by clicking the X button in the top right corner. Excel will ask if you want to save changes — click "Don't Save" if you do not want to keep the latest version. Then use the steps above to delete the file itself from your computer.
The file does not disappear permanently right away. Both Recycle Bin (Windows) and Trash (Mac) hold deleted files until you empty them, which usually happens automatically after 30 days. Until then, you can restore the file by opening Recycle Bin or Trash, finding the file, right-clicking it, and selecting Restore.
Key Takeaways
- Close the Excel file in the program before deleting it from your computer to avoid confusion about which version you are removing.
- Right-click the file in File Explorer or Finder and select Delete to move it to Recycle Bin or Trash rather than erasing it permanently.
- Deleted files stay in Recycle Bin or Trash for about 30 days, so you can restore them if you delete by mistake.
- Emptying Recycle Bin or Trash permanently removes the file and makes recovery much harder, so only do this when you are certain.
Finding the file before you delete it
If you are not sure where the file is stored, open File Explorer (Windows) or Finder (Mac) and use the search box. Type the file name — for example, "Budget 2024.xlsx" — and the program will show you every copy on your computer. This matters because you might have saved the same file in multiple places without realizing it.
Look at the file path shown below each result. The path tells you exactly where the file lives — for example, "C:\Users\YourName\Documents" on Windows or "/Users/YourName/Documents" on Mac. If you see the same file name in two different locations, you now know you have duplicates. Delete only the one you actually want gone.
Pay attention to the file size and the date it was last changed. If two files have the same name but different sizes or dates, they are probably different versions. Open the one you are unsure about in Excel first to confirm it is the right one before deleting.
Deleting a file that is locked or in use
Sometimes Windows or Mac will not let you delete a file because another program is using it. You might see an error message like "The file is in use by another process" or "The item is in use." This usually means Excel still has the file open, even if you think you closed it.
Close Excel completely — not just the file, but the entire program. On Windows, press Ctrl+Alt+Delete, select Task Manager, find Microsoft Excel in the list, click it, and select End Task. On Mac, press Command+Option+Escape, find Microsoft Excel, click it, and select Force Quit. Then try deleting the file again.
If the error persists, restart your computer. This clears out any background processes that might be holding onto the file. After restart, the file should delete normally.
Permanently removing a file instead of moving it to Recycle Bin
If you want to skip Recycle Bin or Trash and delete the file permanently, hold Shift while you press Delete on Windows. On Mac, there is no keyboard shortcut — you must empty Trash manually through the Trash menu. Permanent deletion is harder to undo, so only use this method when you are absolutely certain you will not need the file again.
Be aware that even permanent deletion does not make the file impossible to recover. Specialized recovery software can sometimes restore files deleted this way, though it becomes harder the more you use your computer afterward. If the file contains sensitive information you do not want recovered, consider using a find deletion tool instead — these overwrite the file with random data before removing it, making recovery nearly impossible.
Deleting multiple Excel files at once
To delete several files together, open File Explorer or Finder and navigate to the folder where they are stored. Click the first file, then hold Ctrl (Windows) or Command (Mac) and click each additional file you want to delete. All selected files will highlight. Right-click any of the selected files and choose Delete.
If all the files you want to delete are in the same folder, you can select the entire folder instead. Right-click the folder and choose Delete. The folder and everything inside it will move to Recycle Bin or Trash. This is faster than selecting individual files, but make sure the folder contains only files you actually want gone.
What happens to linked files when you delete an Excel file
If your Excel file pulls data from another file — for example, a file that imports numbers from a CSV or pulls information from another spreadsheet — deleting the Excel file does not affect the source file. The source file stays on your computer untouched. Only the Excel file that was reading from it gets deleted.
However, if other files depend on the Excel file you are deleting, those files will show error messages the next time they try to pull data from it. Before you delete an Excel file, check whether any other spreadsheets or documents reference it. You can usually find this by searching the file name in File Explorer or Finder across your entire computer.
Freeing up storage space by deleting old Excel files
Deleting Excel files is one way to free up space on your computer, though spreadsheets are usually small — most take up less than 1 MB each. If you are running low on storage, deleting hundreds of old spreadsheets might free up only a few hundred MB. Photos, videos, and large software programs take up much more space.
Before you delete files to make room, check how much space you actually have left. On Windows, right-click your C: drive in File Explorer and select Properties. On Mac, click the Apple menu, select About This Mac, and look at Storage. If you have less than 10% of your total storage free, deletion can help. If you have more than that, storage is probably not your main problem.
If you want to keep the files but move them off your main computer, consider copying them to an external hard drive or cloud storage like OneDrive, Google Drive, or Dropbox instead of deleting them. This frees up space without losing the files.
Frequently Asked Questions
Can I recover an Excel file after I empty the Recycle Bin or Trash?
Recovery becomes much harder after you empty Recycle Bin or Trash, but it is not impossible. Specialized recovery software can sometimes restore files if you have not used your computer much since deletion. The sooner you try, the better your chances. Search for "file recovery software" for Windows or Mac and follow the program's instructions.
What if I delete an Excel file by mistake?
Open Recycle Bin (Windows) or Trash (Mac), find the file in the list, right-click it, and select Restore. The file returns to its original location. This works as long as you have not emptied Recycle Bin or Trash yet. If you have already emptied it, use file recovery software as described above.
Does deleting an Excel file delete the data inside it?
Yes. When you delete the Excel file, you delete the spreadsheet and all the data it contains. The data does not go anywhere else — it is only stored in that one file. If you need to keep the data, copy it to another file or location before deleting the original.
Can I delete an Excel file from OneDrive or Google Drive the same way?
The steps are slightly different for cloud storage. In OneDrive or Google Drive, right-click the file and select Delete or Move to Trash. The file moves to a trash folder within your cloud account, not to your computer's Recycle Bin. You can restore it from the cloud trash for about 30 days before it is permanently removed.
What if the file name has special characters or is very long?
Windows and Mac both handle long file names and special characters without problems in most cases. If you cannot delete a file because of its name, try renaming it to something straightforward first — right-click the file, select Rename, and type a new name. Then delete it using the normal method.