How to Delete a File in Windows 11

Deleting a file in Windows 11 takes a single key press. By default the file goes to the Recycle Bin, so you can get it back if you change your mind. You can also delete permanently, skipping the Recycle Bin.

Quick Answer

Select the file in File Explorer and press the Delete key, or click the trash can Delete button in the command bar. Press Shift+Delete to remove it permanently.

How to Delete a File in Windows 11

  1. Open File Explorer (Windows key + E).
  2. Go to the folder that contains the file.
  3. Click the file to select it. Hold Ctrl to select several files.
  4. Press the Delete key, or click the trash can Delete button in the command bar. You can also right-click the file and choose the trash can icon.
  5. The file moves to the Recycle Bin.
  6. To delete permanently, select it and press Shift+Delete, then click Yes.
File Explorer command bar with the Delete button highlighted and a file selected
The Delete button is the trash can in the command bar.

Ways to Delete

Method Result
Delete key or trash can button Moves to the Recycle Bin
Drag to the Recycle Bin Moves to the Recycle Bin
Shift+Delete Deletes permanently after a confirmation
Empty Recycle Bin Permanently removes everything in it
Delete on a network or USB drive Often deleted permanently, with no Recycle Bin copy

See also finding recently deleted files.

Troubleshooting

  • File in use: close the app that has it open, then try again. Restarting the PC also works.
  • Access denied: you may need administrator rights, or the file belongs to Windows and should not be deleted.
  • Deleted by mistake: open the Recycle Bin, right-click the file and choose Restore. See how to find recently deleted files and how to restore deleted files.
  • Freeing space: files in the Recycle Bin still use space until it is emptied. Related: ways to free up storage.

Frequently Asked Questions

Where do deleted files go?

To the Recycle Bin on your desktop, unless you used Shift+Delete or the file was too large for the bin.

Can I get back a Shift+Delete file?

Not from the Recycle Bin. A backup or File History copy may help; recovery software sometimes works but is not guaranteed.

How do I stop the delete confirmation?

Right-click the Recycle Bin, choose Properties and change Display delete confirmation dialog.

Can I delete a folder the same way?

Yes. Deleting a folder also deletes everything inside it.

Summary

  1. Open File Explorer.
  2. Select the file.
  3. Press Delete or click the trash can.
  4. Use Shift+Delete to skip the Recycle Bin.
  5. Restore from the Recycle Bin if needed.