How to Delete a File on Windows 11

Share
In this tutorial, we'll learn how to delete a file on Windows 11. Deleting a file means erasing it from your computer. You should only delete files that you don't need anymore. Although deleted files can be recovered in some cases, it's a good idea to assume that a deleted file will be gone permanently and destroyed forever and you will not be able to recover it, so only delete files that you really don't need anymore, ever again.

This tutorial is divided into multiple sections, because there are multiple ways to delete a file.

Context Menu

To delete a file using the context menu on Windows, follow the following steps:

1: navigate to the folder where the file that you want to delete is located.

2: right click on the file that you want to delete to display its context menu.

The main window of File Explorer displaying a file with a mouse cursor hovering over it. A context menu is also shown, its items are: Cut, Copy, Rename, Share, Delete, Open, Open With, Share, Add to favorites, Compress to..., Copy as path, Properties, Edit in Notepad, Edit in Notepad++, Show more options.
A context menu that appears when you right click on a file in Windows 11's File Explorer.

3: select the option "Delete." It has a trash bin for its icon.

On Windows 11, the file will be immediately deleted by default. Previous version of Windows used to ask for confirmation.1

By default, "deleting" a file through the File Explorer will send it to a special location called the trash bin or recycle bin where the file will be preserved temporarily. This allows you to "undelete" a file in case you deleted it by mistake. It's possible to "permanently" delete the file by emptying your trash bin or by accessing the trash bin and specifically deleting the file. A "permanently" deleted file may still be recoverable by data recovery experts in some cases.

Keyboard Shortcut

It's also possible to delete a file by selecting it and then pressing the Delete key on the keyboard.

Observation: it's rather easy to trigger this by accident, and there is no warning if you accidentally delete a file since it doesn't ask you for confirmation. It seems there is a way to make the File Explorer ask for confirmation before deleting, so maybe you should enable this setting to avoid an accident in the future.

It's possible to "permanently" delete a file skipping the recycle bin through the keyboard shortcut [Shift+Delete key].

Drag and Drop

It's possible to delete a file by dragging and dropping it into the recycle bin. The process is the same as moving the file to inside a folder. See [How to Move a File on Windows 11] for a complete tutorial.

References

  1. https://superuser.com/a/1705032 (accessed 2024-12-15) ↩︎
Written by Noel Santos.

About the Author

I'm a self-taught Brazilian programmer graduated in IT from a FATEC. In a world of increasingly complex and essential computers, I decided to use my technical expertise in hardware, desktop applications, and web technologies to create an informative resource to make PC's easier to understand.

View Comments