The basic way to delete a folder
To delete a folder on Windows or Mac, right-click it and select Delete (Windows) or Move to Trash (Mac). The folder and everything inside it will be removed. On Windows, deleted items go to the Recycle Bin first, so you can recover them if you change your mind within a few weeks. On Mac, they go to Trash, which works the same way.
If you want to skip the trash and delete permanently, hold Shift while pressing Delete on Windows, or hold Command+Option while pressing Delete on Mac. This removes the folder when ready without a recovery option, so only do this when you are certain you will not need it again.
Key Takeaways
- Right-click a folder and select Delete to move it to Recycle Bin (Windows) or Trash (Mac), where you can still recover it for several weeks.
- Shift+Delete on Windows or Command+Option+Delete on Mac permanently removes a folder without sending it to trash first.
- Deleting a folder removes everything inside it at once, so check the contents before you delete if you are unsure what is in there.
- Cloud storage folders (Google Drive, OneDrive, Dropbox) delete differently — they go to a trash or bin folder where they stay for 30 days before permanent removal.
- If you only want to remove a folder from your computer but keep the files, move them to another location first, then delete the empty folder.
What happens to files inside the folder
When you delete a folder, every file and subfolder inside it deletes too. You do not get a second chance to pick and choose — it is all or nothing. Before you delete, open the folder and look at what is in there, especially if you have not used it in a while and cannot remember what you stored.
If you want to keep some files but delete the folder itself, move those files to a different folder first. Then delete the now-empty folder. This takes an extra step but prevents accidentally losing something you need.
Recovering a deleted folder from Recycle Bin or Trash
On Windows, open the Recycle Bin (usually on your desktop or in File Explorer). Find the folder you deleted, right-click it, and select Restore. It goes back to wherever it was before you deleted it.
On Mac, click the Trash icon in the Dock (usually at the bottom right of your screen). Find the folder, right-click it, and select Put Back. It returns to its original location.
Both Recycle Bin and Trash empty themselves automatically after a set time — usually 30 days on Windows and 30 days on Mac, though this varies by system settings. After that, recovery becomes much harder and usually requires professional data recovery software.
Deleting folders in Google Drive, OneDrive, and Dropbox
Google Drive: Right-click the folder and select Delete. It moves to the Trash section in the left sidebar. Folders stay in Trash for 30 days, then delete permanently. To recover, open Trash, right-click the folder, and select Restore.
OneDrive: Right-click the folder and select Delete. It goes to the Recycle Bin (different from your computer's Recycle Bin). OneDrive keeps deleted items for 93 days before permanent removal. To recover, click Recycle Bin in the left sidebar, find the folder, and click Restore.
Dropbox: Right-click the folder and select Delete. Deleted items go to the Deleted Files section. Dropbox keeps them for 30 days. To recover, go to Deleted Files, find the folder, and click Restore.
Cloud storage gives you more time to recover than your computer does, so there is less urgency to act when ready if you delete something by mistake.
Deleting folders when you cannot delete them
Sometimes a folder will not delete. The most common reason is that a file inside it is open in another program. Close that program first, then try deleting again. On Windows, you might see a message saying the file is in use — close the program using it and try again.
Another reason is permissions. If you do not own the folder or do not have permission to change it, your computer will not let you delete it. On Windows, right-click the folder, select Properties, go to the Security tab, and check whether your username has Full Control. On Mac, right-click the folder, select Get Info, and look at the Sharing & Permissions section at the bottom. If you do not have Read & Write access, you cannot delete it.
If a folder is on an external drive or network location, make sure the drive is connected and you have write access to it. Disconnecting a drive while a file is open can also prevent deletion until you reconnect and close the file properly.
Organizing before you delete
Before you start deleting folders, spend a few minutes looking at what you have. Create a folder called Archive or Old Files and move folders you might need later into it instead of deleting them. This gives you a middle ground between keeping everything and deleting permanently.
You can also rename folders to mark them for deletion later. Add a date or the word "DELETE" to the folder name, then come back in a week or two. If you have not thought about it again, you probably do not need it.
Frequently Asked Questions
Can I recover a folder after I permanently delete it?
Permanent deletion (Shift+Delete or Command+Option+Delete) removes the folder when ready without going to trash. Recovery is possible but requires data recovery software and becomes harder the more you use your computer afterward. If you delete something important this way, stop using the computer and contact a data recovery service as soon as possible.
What if a folder is too large to delete?
Large folders delete the same way as small ones, but it may take longer. If deletion seems stuck, wait a few minutes before assuming something went wrong. If it still will not delete after 10 minutes, check whether a file inside is open in another program, or whether you have permission to delete it.
Does deleting a folder free up space on my computer?
Yes, deleting a folder removes it from your hard drive and frees up that space. However, files in Recycle Bin or Trash still take up space until you empty the bin. On Mac, empty Trash by right-clicking the Trash icon and selecting Empty Trash. On Windows, right-click Recycle Bin and select Empty Recycle Bin.
Can I delete a folder that contains shortcuts?
Yes. Deleting a shortcut removes only the shortcut, not the original file or folder it points to. If you delete a folder that contains shortcuts, the shortcuts disappear but the files they link to remain on your computer.
What is the difference between deleting and moving a folder?
Deleting removes a folder from your computer (or sends it to trash). Moving transfers it to a different location but keeps it on your computer. If you want to keep files but organize them differently, move the folder instead of deleting it.