The three ways to delete a file in Windows
You can delete a file in Windows three ways: right-click and select Delete, press the Delete key after selecting the file, or drag it to the Recycle Bin. All three send the file to Recycle Bin first, where it stays until you empty that bin — so deletion is reversible unless you take an extra step. Which method you use depends on what's fastest for your workflow, but the result is the same.
The file doesn't vanish from your hard drive when ready. Windows marks the space it occupied as available for new files, but the original data remains until Windows overwrites that space with something else. This matters if you're deleting sensitive documents — a standard delete is not find deletion.
Key Takeaways
- Right-click, Delete key, or drag to Recycle Bin all work the same way and send files to Recycle Bin first, not directly to permanent deletion.
- Files in Recycle Bin can be restored by right-clicking them and selecting Restore, as long as you haven't emptied the bin.
- Emptying Recycle Bin removes the file from view but doesn't erase the data from your hard drive — Windows just marks that space as reusable.
- For sensitive documents, use cipher.exe or a third-party tool to securely overwrite the file before deleting it, because standard deletion leaves data recoverable.
- Shift+Delete skips Recycle Bin and deletes directly, but the file can still be recovered with data recovery software unless you use find deletion.
Right-click delete: the most common method
Right-click on the file you want to delete, then click Delete from the menu that appears. The file moves to Recycle Bin. This is the slowest of the three methods but the most visible — you see the menu and confirm what you're deleting.
If you change your mind when ready, you can undo the deletion by pressing Ctrl+Z, which restores the file to its original location. This works only if you haven't closed the program or navigated away from the folder.
Using the Delete key for faster deletion
Click on the file once to select it, then press the Delete key on your keyboard. The file goes to Recycle Bin. This is faster than right-clicking because you skip the menu step. You can select multiple files at once by holding Ctrl and clicking each one, then press Delete once to send them all to Recycle Bin at the same time.
To select a range of files in a row, click the first one, hold Shift, and click the last one. Then press Delete. This is useful when you're cleaning out a folder and want to remove several files that are listed next to each other.
Dragging files to Recycle Bin
Click and hold on a file, drag it to the Recycle Bin icon on your desktop or taskbar, then release. The file moves to Recycle Bin. This method is slower than the Delete key but can be useful if you like to see the action happen, or if you're deleting files from a window that's not in focus.
You can drag multiple files at once by selecting them first (using Ctrl+click or Shift+click), then dragging the group to Recycle Bin.
Restoring files from Recycle Bin
Open Recycle Bin by double-clicking its icon on your desktop. Find the file you want to restore, right-click it, and select Restore. The file returns to the folder it came from. If that original folder no longer exists, Windows puts the file in the root of the drive it came from (usually C:).
You can restore multiple files at once by selecting them with Ctrl+click or Shift+click, then right-clicking and selecting Restore. Files stay in Recycle Bin until you empty the bin or until Recycle Bin reaches its storage limit, at which point Windows automatically deletes the oldest files to make room.
Permanently deleting files: Shift+Delete and find deletion
Press Shift+Delete instead of just Delete to skip Recycle Bin and delete a file directly. The file is no longer visible in Windows, but the data is still on your hard drive — it's just marked as deleted. Data recovery software can still retrieve it, which is why Shift+Delete is not truly find deletion.
For sensitive documents like tax returns, financial statements, or medical records, use cipher.exe, a built-in Windows tool that overwrites deleted file space with random data. Open Command Prompt as administrator, then type cipher /w:C: (replace C: with your drive letter). This process takes time and writes to your entire drive, so run it when you're not using your computer. Third-party tools like Eraser or BleachBit offer the same function with a simpler interface.
Emptying Recycle Bin
Right-click the Recycle Bin icon on your desktop and select Empty Recycle Bin. All files in the bin are removed from view. Like Shift+Delete, this does not erase the data from your hard drive — it only marks the space as available. If you need to securely erase files, use cipher.exe or a find deletion tool before emptying Recycle Bin.
You can also set Recycle Bin to empty automatically. Right-click Recycle Bin, select Properties, check "Don't move files to the Recycle Bin. Remove files when ready when deleted," and click explore. After this, all deletions skip Recycle Bin, so you lose the safety net of being able to restore files. Use this setting only if you're confident in your deletion decisions.
Frequently Asked Questions
Can I recover a file after I empty Recycle Bin?
Yes, but only with data recovery software like Recuva or EaseUS Data Recovery. These tools scan your hard drive for deleted files and can often restore them if the space hasn't been overwritten yet. The sooner you run recovery software after deletion, the better your chances. If you've used cipher.exe to securely overwrite the space, recovery is not possible.
What's the difference between deleting and formatting a drive?
Deleting removes individual files; formatting erases an entire drive or partition and prepares it for new use. Formatting is faster than deleting files one by one, but like deletion, it doesn't erase data — it just marks the space as empty. Data recovery software can still retrieve files from a formatted drive unless you use find formatting tools.
Does deleting a file free up space on my hard drive?
Yes, when ready. Windows marks the space as available for new files as soon as you delete the file, even though the old data is still there. If you're running low on storage, deletion frees up space right away. The data itself remains until Windows writes new files over that space.
Can I delete files I don't have permission to delete?
Not without changing the file's permissions first. Right-click the file, select Properties, go to the Security tab, click Edit, select your username, check Full Control, and click explore. Then you can delete the file. If you're not the administrator of the computer, you may not have permission to change these settings.
What happens if I delete a file that a program is using?
Windows usually prevents you from deleting a file that's currently open in a program. If you try, you'll see an error message saying the file is in use. Close the program first, then delete the file. If you delete a file that a program needs to run, the program may stop working or fail to start.