The fastest way to delete a folder
Right-click the folder you want to remove, then select Delete from the menu that appears. On a Mac, you can also drag the folder to the Trash in your dock. The folder and everything inside it will move to your Recycle Bin (Windows) or Trash (Mac), where it stays until you empty that bin — so you have a window to change your mind if you delete by accident.
If you want the folder gone when ready without the recovery option, hold Shift while pressing Delete on Windows, or press Command+Option+Delete on a Mac. This skips the trash entirely and removes the folder permanently. Use this only when you are certain you will not need the folder again.
On any system, if a folder is locked or in use by a program, the delete will fail. Close any programs that might be using files in that folder, then try again. If you still cannot delete it, restart your computer — this closes background processes that may have the folder open.
Key Takeaways
- Right-click a folder and select Delete to move it to your trash or recycle bin, where you can still recover it if you change your mind.
- Hold Shift while pressing Delete (Windows) or press Command+Option+Delete (Mac) to skip the trash and delete permanently in one step.
- If a folder will not delete, close all open programs and restart your computer, because running software often locks folders in the background.
- Deleting a folder removes everything inside it at once, so double-check the contents before you confirm the deletion.
What happens when you delete a folder with files inside
When you delete a folder, your computer removes the entire folder and all the files and subfolders nested inside it in a single action. You do not have to empty the folder first or delete files one by one. This is why it is worth taking a moment to look inside before you confirm — if you have important documents buried three levels deep in that folder, they will all go.
If you are not sure whether you need the contents, move the folder to a temporary holding area instead of deleting it outright. Create a folder called "Old Files" or "To Review" on your desktop, drag the uncertain folder there, and leave it for a week or two. If nothing breaks and you do not miss anything, then delete the holding folder. This gives you a safety margin without keeping the original location cluttered.
Recovering a deleted folder from trash or recycle bin
On Windows, open your Recycle Bin (usually on the desktop or in File Explorer), find the folder you deleted, right-click it, and select Restore. The folder returns to its original location with all its contents intact.
On a Mac, click the Trash icon in your dock, find the folder, right-click it, and select Put Back. If you do not see Put Back, drag the folder out of Trash to your desktop or any other location. Either way, the folder and everything in it comes back unchanged.
Recovery only works if you have not yet emptied your trash or recycle bin. Once you empty it, the folder is gone for good on most systems. Some data recovery software exists, but it is expensive and does not always work, so do not count on it — treat the trash as your only safety net.
Deleting folders that contain shortcuts or links
A shortcut or link is just a pointer to a file or folder elsewhere on your computer. Deleting a shortcut removes only the shortcut itself, not the original file it points to. If you delete a folder full of shortcuts, the actual files those shortcuts reference stay where they are.
This matters because it is straightforward to confuse a shortcut with the real thing. If you see a folder full of what look like documents but they are actually shortcuts to documents stored somewhere else, deleting that folder will not delete your actual work. Check the file size — shortcuts are tiny, usually a few kilobytes. Real files are much larger. If you are unsure, right-click the item and look for "Target" (Windows) or "Original Item" (Mac) to see where it actually points.
Freeing up space by deleting large folders
If your computer is running low on storage, deleting folders is one way to make room. Before you delete, check how much space each folder uses. On Windows, right-click the folder, select Properties, and look at the size listed. On a Mac, click the folder, press Command+I, and read the size in the window that opens. This tells you how much space you will recover.
Large folders are often Downloads, old project folders, or backup copies. Downloads folders especially tend to accumulate files you no longer need. Go through it, move anything you want to keep to a permanent location, then delete the rest. The same goes for old versions of documents — if you have kept three copies of a project from different years, you probably only need the final one.
After you delete folders, empty your trash or recycle bin to actually free the space. Until you do, your computer still reserves that space in case you restore the deleted items. On Windows, right-click the Recycle Bin and select Empty Recycle Bin. On a Mac, right-click the Trash icon and select Empty Trash.
Why a folder might refuse to delete
A folder will not delete if a program is actively using a file inside it. This is your computer protecting you from breaking something. The most common culprit is a program you have open — if you are editing a document in that folder, the word processor locks it. Close the program and try again.
Sometimes a file is locked by a background process you cannot see. Restarting your computer closes nearly all background processes, which usually solves the problem. If you restart and still cannot delete, the folder may have permission restrictions. On Windows, right-click the folder, select Properties, go to the Security tab, and check whether your user account has permission to delete. On a Mac, click the folder, press Command+I, scroll to Sharing & Permissions, and make sure your name appears with Read & Write access.
If you are on a work computer or a shared device, you may not have permission to delete certain folders — this is intentional, to prevent accidental loss of shared files. Ask your IT department or the computer owner before trying to force a deletion.
Organizing what stays: naming and sorting after deletion
Once you have deleted folders you no longer need, take a moment to organize what remains. Rename folders to be specific about what they hold — "2024 Tax Documents" is more useful than "Taxes" or "Important". Group related folders together in a parent folder — for example, a "Financial" folder containing "Tax Documents", "Receipts", and "Insurance".
This makes it easier to find things later and easier to delete old material when the time comes. If you know that everything in a "2023 Projects" folder is from a specific year, you can delete the whole folder at once when you are ready to clear out old work. Vague folder names like "Stuff" or "Misc" tend to accumulate clutter because you forget what is in them and hesitate to delete.
Frequently Asked Questions
Can I delete a folder if it has read-only files inside?
Yes. Read-only means the files cannot be edited, but the folder itself can still be deleted. Your computer will remove the folder and its read-only contents. If the folder itself is marked read-only, you may need to change its permissions first — right-click it, select Properties (Windows) or Get Info (Mac), and look for a read-only checkbox to uncheck.
What is the difference between deleting and moving a folder?
Deleting removes the folder from your computer (after a period in trash). Moving copies the folder to a new location while keeping the original. If you want to reorganize without losing anything, move folders instead of deleting them. You can always delete later once you are sure you do not need the old location.
Will deleting a folder affect other programs on my computer?
Only if programs depend on files in that folder. If you delete a folder containing program files or settings, the program may stop working. Stick to deleting your own documents, downloads, and project folders. If you are unsure whether a folder belongs to a program, search the folder name online or ask before deleting.
Can I undo a deletion after I empty the trash?
Not easily. Once you empty trash or recycle bin, the folder is gone. Data recovery software exists but is expensive and unreliable. Treat emptying the trash as permanent. If you are about to delete something important, move it to a backup location first instead of relying on recovery.
How do I delete a folder on an external drive or USB stick?
The process is the same — right-click and delete. However, recovery is harder because external drives often do not have a trash system. Some external drives delete permanently without a recovery option. If the drive has important files, move the folder to your computer first, delete it there (where you have a trash bin), then empty the trash only after confirming the deletion worked.