Skip to content
Windows

How to Delete Folders in Windows 11

Richard
Written by
Richard
Updated 8 min read
How to Delete Folders in Windows 11
How to Delete Folders in Windows 11
Before you start
  • 3 steps
  • Needs administrator rights
  • Includes a restart or sign-out

Deleting a folder in Windows 11 takes one keyboard shortcut, one click or one command, depending on the method you pick. This guide covers keyboard shortcuts, the File Explorer Delete button, the right-click menu, PowerShell and Command Prompt. It also explains what happens to the folder afterwards and how to get it back.

The Delete key sends a folder to the Recycle Bin, where you can restore it. Shift+Del and the command-line methods remove it permanently.

⚡ Quick Answer

Select the folder in File Explorer and press Del to send it to the Recycle Bin, where you can restore it. Press Shift+Del to delete it permanently instead, which skips the Recycle Bin and cannot be undone from there. The folder and everything inside it are removed as soon as you confirm.

Advertisement

What is a Folder?

A folder is a container on your computer. It holds files and sometimes other folders, which keeps your data organized and easy to find.

When you delete a folder, everything inside it goes too, including subfolders. Open the folder and check its contents before you delete it, because a folder with an odd name can still hold documents you need.

Advertisement

Where Do Deleted Folders Go?

When you delete a folder from your internal drive in Windows 11, it normally goes to the Recycle Bin. The Recycle Bin lets you get the folder back if you change your mind. Deleted folders stay there until you empty the Recycle Bin or Windows clears old items to make room. A folder that is too large for the Recycle Bin’s size limit is deleted permanently instead, and Windows warns you first.

📝NoteFolders deleted from USB drives or memory cards don’t go to the Recycle Bin. They are permanently deleted right away. Folders on network locations usually behave the same way.

To be safer when deleting from those devices, you can turn on Recycle Bin for removable drives.

To restore a folder that went to the Recycle Bin, follow these steps:

  1. Double-click Recycle Bin on the desktop. A window opens that lists the deleted items.
  2. Right-click the folder you want back.
  3. Click Restore. The folder disappears from the Recycle Bin.

That’s it. The folder returns to the place it was deleted from. If you notice the mistake straight away, pressing Ctrl+Z in File Explorer also undoes the last delete.

Windows can ask you to confirm each delete, and you can turn that prompt on or off. The same window also sets how large the Recycle Bin can grow on each drive.

  1. Right-click Recycle Bin on the desktop and click Properties. The Recycle Bin Properties window opens.
  2. If you have more than one drive, select the drive in the list. To change its size limit, choose Custom size and type the maximum size in megabytes.
  3. Tick or clear Display delete confirmation dialog. Tick it if you want Windows to ask before every delete.
  4. Click Apply, then click OK.

You should now see Windows ask, or stop asking, before it sends items to the Recycle Bin. Reverse the steps to undo the change.

Why Learn to Delete Folders?

People delete folders for a few common reasons:

  • Free up space on your computer.
  • Keep your files tidy and organized.
  • Protect your private information by deleting sensitive folders.
  • Stop other users from messing with your important files.

A folder sitting in the Recycle Bin is not really gone. If it holds private data, empty the Recycle Bin or use one of the permanent methods below.

How to Delete Folders in Windows 11

1Using Keyboard Shortcuts

Keyboard shortcuts are the fastest way to delete a folder in Windows 11. You select the folder and press one key combination. The plain Delete key sends the folder to the Recycle Bin. Shift+Del removes it permanently and bypasses the Recycle Bin.

Shift+Del cannot be undone from the Recycle Bin, so use it only when you are sure.

  1. Open File Explorer and go to the folder you want to delete.
  2. Click the folder once to select it. It is now highlighted.
  3. Press Delete to send the folder to the Recycle Bin, or press Shift+Del to delete it permanently.
  4. If a confirmation box appears, read it. With Delete, the box depends on your Recycle Bin settings. With Shift+Del, Windows always asks. Click Yes to continue.

That’s it. With Delete, the folder disappears from the list and waits in the Recycle Bin. With Shift+Del, it is gone for good.

Advertisement

On Windows 11 24H2 and 25H2, the permanent-delete confirmation for a file might show an internal Recycle Bin file name instead of the original name. This can happen after the June 2026 security update (KB5094126). The optional preview update KB5095093 fixes it.

Shortcut KeysWhat It Does
DeleteDeletes folder and sends it to Recycle Bin
Ctrl+DAlso deletes folder and sends it to Recycle Bin
Shift+DelPermanently deletes folder (no Recycle Bin)

2Using File Explorer Command Bar

The command bar at the top of File Explorer has a Delete button. It suits you if you prefer clicking to remembering shortcuts. It sends the folder to the Recycle Bin, so you can recover it later.

  1. Open File Explorer by clicking the folder icon on your taskbar or by pressing Win+E.
  2. Find the folder you want to delete and click it once to select it.
  3. In the command bar at the top, click the Delete button (the trash can icon). If you cannot see a label, hover over the icon and the name appears.

That’s it. The folder vanishes from the list and is now in the Recycle Bin.

If the trash can icon is greyed out or missing, you have probably not selected anything. Click the folder once and look again. In a narrow window, some buttons can also be hidden behind the three-dot menu at the end of the command bar.

Deleting folder in File Explorer command bar
Deleting folder in File Explorer command bar

3Using Right-Click (Context Menu)

The right-click menu works on any folder, in File Explorer or on the desktop. Like the Delete button, it sends the folder to the Recycle Bin.

  1. Open File Explorer.
  2. Right-click the folder you want to delete. A menu appears.
  3. Click the Delete option (the trash can icon). In the Windows 11 menu, it is an icon in the row at the top or bottom. Hover over it to see its name.

That’s it. The folder moves to the Recycle Bin.

Extra tip: Hold the Shift key while right-clicking to get the full classic menu, where you can also find the Delete option. Clicking Show more options at the bottom of the normal right-click menu opens the same menu.

Right-click delete in File Explorer
Right-click delete in File Explorer
Full context menu with delete option
Full context menu with delete option

4Deleting Folders Using PowerShell (Advanced)

PowerShell offers a command-line method for permanently deleting folders in Windows 11. It is useful for stubborn folders and for scripts. You open Windows Terminal and type a specific command.

Administrator rights are not usually needed. For folders you own, a normal Terminal window is enough. Elevation is only needed for protected folders. To elevate, right-click the Terminal icon, click Run as administrator, then click Yes on the User Account Control prompt. The title bar should then show Administrator.

⚠️WarningRemove-Item deletes the folder permanently and bypasses the Recycle Bin. You cannot restore it from there afterwards. A wrong path, such as a system folder, can damage Windows. Read the path twice, and confirm in File Explorer that it points to the folder you mean, before you press Enter.
  1. Open Windows Terminal and choose the PowerShell tab.
[Admin privileges required]
  1. Type the command from the code block below to permanently delete a folder. Replace the path with your folder’s location, and wrap it in quotation marks if it contains spaces. Press Enter to run it.
Advertisement
⬛PowerShell
Remove-Item -Path "C:\Users\User\Downloads\MyFolder" -Recurse -Force

Example:

⬛PowerShell
Remove-Item -Path "C:\Users\User\Downloads\MyFolder" -Recurse -Force

That’s it. If the command works, PowerShell returns to a new prompt without a message, and the folder is permanently deleted. Open File Explorer to confirm that it is gone.

If you see an error, check the path for typos first. An error can also mean a program is still using something in the folder. Close that program and run the command again.

To delete a folder to the Recycle Bin using PowerShell, use this command instead. You can restore the folder afterwards from the Recycle Bin:

💻Code
(New-Object -ComObject "Shell.Application").Namespace(0).ParseName("C:\Users\User\Downloads\MyFolder").InvokeVerb("delete")

5Deleting Folders Using Command Prompt

Command Prompt does the same job as PowerShell. Use whichever one you are more comfortable with. The result is also a permanent deletion with no Recycle Bin.

As with PowerShell, administrator rights are only needed for protected folders. For folders you own, a normal Terminal window is enough. If a folder is protected, right-click the Terminal icon, click Run as administrator, and click Yes on the User Account Control prompt.

Warning: This command deletes the folder and everything in it permanently. It bypasses the Recycle Bin, so you cannot restore the folder afterwards. A wrong path, such as a system folder, can damage Windows. Double-check the path before you press Enter.

  1. Open Windows Terminal and choose the Command Prompt tab.
[Admin privileges required]
  1. Type the command from the code block below to permanently delete a folder. Change the path to match yours, and wrap it in quotation marks if it contains spaces. Press Enter to run it.
💻Code
The `Remove-Item -Path "folder_path"` PowerShell command permanently deletes a specified folder in Windows 11 and does not send it to the Recycle Bin. The folder cannot be restored from the Recycle Bin after this command.

That’s it. Once the command runs, the folder and everything in it are gone. Open File Explorer to confirm.

Summary

If Windows says a folder is in use, close any program that might have it open and try again, or restart the PC. If Windows asks for administrator permission, the folder usually belongs to the system or another user, so stop and check first. Leave folders inside Windows and Program Files alone unless you know exactly what they do. If you delete the wrong folder with the Delete key, open the Recycle Bin and restore it, but a permanent deletion cannot be recovered that way.

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked * How we handle comments