The simplest way to delete a file
Right-click the file you want to delete, then click Delete from the menu that appears. Windows moves the file to the Recycle Bin — a holding area where you can recover it if you change your mind. The file stays in the Recycle Bin until you empty it, which frees up the space on your computer.
If you want to skip the Recycle Bin and delete the file permanently in one step, right-click it instead and press Shift and Delete at the same time. This removes the file without sending it to the Recycle Bin first. Use this only when you are certain you will not need the file again.
You can also select a file by clicking it once, then press the Delete key on your keyboard. This sends it to the Recycle Bin the same way the right-click menu does.
Key Takeaways
- Right-click a file and select Delete to move it to the Recycle Bin, where you can recover it later.
- Hold Shift and press Delete to remove a file permanently without using the Recycle Bin.
- Deleting a file does not erase it from your computer when ready — it stays in the Recycle Bin until you empty it.
- You can restore a deleted file from the Recycle Bin by right-clicking it and selecting Restore, as long as you have not emptied the bin.
- Emptying the Recycle Bin frees up storage space on your computer and makes recovery impossible.
Recovering a file from the Recycle Bin
If you delete a file by mistake, you can get it back before you empty the Recycle Bin. Double-click the Recycle Bin icon on your desktop — it looks like a trash can — to open it and see all the files you have deleted recently.
Find the file you want to recover, right-click it, and select Restore. Windows puts the file back in the folder where it was before you deleted it. The file returns with the same name and in the same location, so you do not have to reorganize anything.
If you cannot find the file in the Recycle Bin, it may have been deleted before the bin was last emptied, or it may have been deleted using Shift+Delete. Once the Recycle Bin is emptied or a file is permanently deleted, standard recovery becomes much harder and usually requires specialized software or professional help.
Emptying the Recycle Bin to free up space
When the Recycle Bin fills up, it takes up storage space on your computer. To empty it and reclaim that space, right-click the Recycle Bin icon on your desktop and select Empty Recycle Bin. A confirmation window appears asking if you are sure — click Yes to proceed.
Once you empty the Recycle Bin, all the files inside are gone permanently. You cannot recover them after this point. For this reason, take a moment to look through the Recycle Bin before you empty it, especially if you deleted files recently and are not completely sure you no longer need them.
You can also set Windows to empty the Recycle Bin automatically over time, though the default setting keeps files there until you manually empty it. This gives you a safety window to change your mind.
Deleting multiple files at once
If you need to delete several files from the same folder, you can select them all before deleting. Click the first file, then hold Ctrl and click each additional file you want to delete. All selected files highlight in blue.
Once you have selected all the files you want to remove, right-click any of the highlighted files and click Delete. Windows sends all of them to the Recycle Bin at the same time. This is much faster than deleting them one at a time.
If the files are next to each other in a list, you can also click the first one, hold Shift, and click the last one. Windows selects everything in between automatically. Then right-click and delete as usual.
Deleting files from external drives and USB devices
When you delete a file from an external hard drive or USB flash drive, it does not go to the Recycle Bin — it is deleted when ready. Windows treats removable storage differently because these devices have their own file systems that do not connect to the Recycle Bin.
Because of this, be extra careful before deleting anything from a USB drive or external hard drive. Right-click the file, select Delete, and confirm the action. Once you confirm, the file is gone and recovery is much more difficult.
If you want a safety net when working with external drives, you can copy important files to your computer first, delete them from the external drive, and then delete them from your computer's Recycle Bin only after you confirm everything worked correctly.
What happens when you delete a file
When you delete a file to the Recycle Bin, Windows does not actually erase the data from your hard drive right away. Instead, it marks the space as available for new files. The file remains on the disk until Windows writes new data over that location, which can take days or weeks depending on how much you use your computer.
This is why you can recover deleted files from the Recycle Bin — the data is still there, just marked as deleted. When you use Shift+Delete or delete from an external drive, the same thing happens, but Windows does not keep a pointer to the file, making recovery much harder without specialized tools.
Understanding this difference helps explain why the Recycle Bin exists and why it is safer to delete files there first rather than permanently deleting them when ready.
Frequently Asked Questions
Can I recover a file after I empty the Recycle Bin?
Recovery becomes very difficult after you empty the Recycle Bin, though the data may still exist on your hard drive until Windows writes over it. Specialized recovery software can sometimes retrieve files, but success is not may provide. The best approach is to check the Recycle Bin before emptying it.
What is the difference between Delete and Shift+Delete?
Delete sends a file to the Recycle Bin where you can recover it. Shift+Delete removes it permanently without using the Recycle Bin. Use Shift+Delete only when you are certain you will not need the file again.
Why did my deleted file not go to the Recycle Bin?
Files deleted from external drives, USB devices, or network locations do not go to the Recycle Bin — they are deleted when ready. If you deleted from your main hard drive and the file is not in the Recycle Bin, it may have been permanently deleted using Shift+Delete.
How much space does the Recycle Bin use?
The Recycle Bin uses whatever space the deleted files occupy. By default, Windows allows the Recycle Bin to use up to 10 percent of your hard drive. Once it reaches that limit, the oldest deleted files are removed automatically to make room for new ones.
Can I delete a file that is currently open?
Windows usually prevents you from deleting a file that a program is actively using. Close the program first, then delete the file. If you try to delete an open file, you will see an error message saying the file is in use.