The fastest way to delete a file

Right-click the file you want to delete, then select Delete from the menu that appears. The file moves to your Recycle Bin, where it stays until you empty the bin. If you want to skip the Recycle Bin and delete the file permanently right away, hold Shift while pressing Delete — this removes it without recovery.

You can also select a file and press the Delete key on your keyboard. This sends it to the Recycle Bin the same way. Either method takes a few seconds and works on any file type — documents, photos, videos, programs, or folders.

Key Takeaways

  • Right-click any file and select Delete to move it to the Recycle Bin, where you can still recover it.
  • Hold Shift and press Delete to remove a file permanently without sending it to the Recycle Bin first.
  • You can select multiple files at once by holding Ctrl and clicking each one, then delete them all together.
  • Empty your Recycle Bin regularly to free up disk space, but know that files deleted this way are harder to recover.
  • Some files may be locked by a program that is using them — close the program first, then try deleting again.

Deleting multiple files at once

If you need to delete several files, you can select them all before deleting. Hold Ctrl and click each file you want to remove. They will highlight as you click. Once all the files are selected, right-click one of them and choose Delete, or straightforward press the Delete key.

You can also select a range of files in a row by clicking the first one, then holding Shift and clicking the last one. This highlights everything in between. Then delete them the same way — right-click and choose Delete, or press Delete.

Understanding the Recycle Bin

When you delete a file normally, it does not disappear from your PC right away. Instead, it moves to the Recycle Bin, a holding area on your desktop or in your file manager. You can open the Recycle Bin by double-clicking its icon on your desktop, or by searching for "Recycle Bin" in the Windows search box. Inside, you will see all the files you have deleted recently.

If you deleted something by mistake, you can recover it. Right-click the file in the Recycle Bin and select Restore. It will go back to the folder where it was before. The Recycle Bin keeps deleted files until you empty it, but it has a size limit — once it fills up, the oldest files are removed automatically to make room for new ones.

Emptying the Recycle Bin

To permanently delete all files in the Recycle Bin, right-click the Recycle Bin icon on your desktop and select Empty Recycle Bin. A confirmation window will appear asking if you are sure. Click Yes to confirm. Once you empty the bin, the files are much harder to recover, though specialized recovery software may still find traces of them.

You can also empty the Recycle Bin from inside the folder itself. Open the Recycle Bin, and you will see an Empty Recycle Bin button in the toolbar at the top. Click it to delete everything at once. Emptying the bin regularly frees up disk space on your PC, especially if you delete large files like videos or photo libraries.

When a file will not delete

Sometimes a file will not delete, and you will see an error message saying the file is in use or locked. This usually means a program on your PC is currently using that file. Close the program first, then try deleting the file again. For example, if you cannot delete a Word document, close Microsoft Word. If you cannot delete a photo, close your photo viewer or any editing software.

If closing the program does not work, restart your PC. When your computer restarts, programs close and release their hold on files. After restart, try deleting the file again. If it still will not delete, the file may have special permissions that prevent removal — in that case, right-click the file, select Properties, go to the Security tab, and check whether your user account has permission to delete it. If you are unsure how to change these settings, a local computer technician can help.

Deleting folders and everything inside them

When you delete a folder, everything inside it — files, subfolders, and all their contents — gets deleted too. Right-click the folder and select Delete, just as you would with a single file. The entire folder moves to the Recycle Bin. Be careful with this, because it is straightforward to delete a folder by mistake and lose many files at once.

If you want to delete only some of the files inside a folder without removing the folder itself, open the folder first. Then select the individual files you want to remove using Ctrl+click, and delete those. The folder will remain, but it will be empty or contain only the files you kept.

Freeing up disk space by deleting old files

Deleting files you no longer need is one of the simplest ways to free up space on your hard drive. Large files like videos, music libraries, and old backup folders take up the most room. Before you delete something, make sure you have a copy somewhere else if you might need it later — an external hard drive, a cloud storage service, or a USB drive.

You can also use Windows built-in cleanup tool to find and delete temporary files automatically. Search for Disk Cleanup in the Windows search box, open it, select your main drive (usually C:), and click OK. The tool will scan your PC and show you temporary files, old downloads, and other items you can safely remove. Check the boxes next to the file types you want to delete, then click Delete Files.

Frequently Asked Questions

Can I recover a file after I empty the Recycle Bin?

Files become much harder to recover after you empty the Recycle Bin, but recovery software may still find traces of them on your hard drive. The longer you wait after emptying the bin, the less likely recovery becomes, because new files written to your disk can overwrite the deleted data. If you need to recover something important, stop using your PC and contact a data recovery service right away.

What is the difference between Delete and Shift+Delete?

Delete moves a file to the Recycle Bin, where you can still restore it. Shift+Delete removes it permanently without going to the Recycle Bin first. Use regular Delete for files you might want back, and Shift+Delete only when you are certain you will not need the file again.

Why does Windows say a file is in use when I try to delete it?

A program on your PC is currently using that file. Close the program and try again. If you are not sure which program has the file open, restart your PC — this closes all programs and releases their hold on files. After restart, the file should delete normally.

Does deleting a file from my Downloads folder remove it from the internet?

No. Deleting a file from your PC only removes your copy of it. If the file came from a website or email, the original is still on that website or in the sender's email account. Deleting just clears space on your own computer.

Can I delete Windows system files?

You should not delete Windows system files, because they are needed for your PC to run. Windows protects most system files from accidental deletion. If you try to delete one, you will usually get a permission error. Stick to deleting your own files — documents, photos, downloads, and programs you installed yourself.