Drive Restorer
Windows 10 & 11 Buy license · $29.95
Deleted files

How to Restore a Deleted Folder in Windows 10 and 11

Restore a deleted folder in Windows 10 or 11 from the Recycle Bin, Undo, Previous Versions, File History or OneDrive, or scan for it, subfolders and all.

Updated 5 minute read The Drive Restorer team

To restore a deleted folder in Windows 10 or 11, open the Recycle Bin, right-click the folder and choose Restore: it goes back to its original location with every file and subfolder inside it. If you deleted it a moment ago, press Ctrl+Z in File Explorer instead. If the folder is not in the bin, check Previous Versions, File History and the OneDrive recycle bin, and if none of those has a copy, scan the drive with recovery software and restore the folder to a different drive.

Folders are a little different from single files, because you usually want the whole tree back with the original names and structure. Here is every option, in the order worth trying.

1. Undo the delete with Ctrl+Z

If you have only just deleted the folder and have not closed File Explorer or done other file operations since, press Ctrl+Z in any File Explorer window. Windows reverses the last file operation, so a folder that went to the Recycle Bin comes straight back. In Windows 11 you can also right-click an empty area of the folder and look for Undo Delete.

Undo does not work for a folder deleted with Shift+Delete or deleted from a USB drive, because those deletes skip the Recycle Bin.

2. Restore the folder from the Recycle Bin

  1. Double-click Recycle Bin on the desktop. If the icon is missing, type shell:RecycleBinFolder into the File Explorer address bar.
  2. Switch to Details view and sort by Date Deleted so the most recent items are on top.
  3. Find the folder. The Original Location column shows where it came from.
  4. Right-click it and choose Restore.

The folder returns to its original path with all its contents. If a folder with the same name has been created there since, Windows asks whether to merge them. If the parent folder no longer exists, Windows recreates it.

You will not see individual files from inside a deleted folder in the Recycle Bin. The bin shows the folder as one item. Restore the whole folder, then delete anything you do not want.

Why the folder may not be in the Recycle Bin

  • It was too large. Each drive's bin has a size limit. A big folder of photos or videos can be bigger than the bin, and Windows offers to delete it permanently instead. It is easy to click Yes without reading.
  • It was deleted with Shift+Delete, which bypasses the bin. See how to recover Shift+Deleted files.
  • It was on a USB flash drive, SD card or network share. Windows has no Recycle Bin for removable drives, and network deletes are usually permanent.
  • It was deleted from a command prompt or by a program, such as a cleanup tool or a sync app.
  • The bin was emptied, by you, by Storage Sense, or because it filled up and dropped its oldest items.

To check how big the bin is, and why it might empty itself, read how long the Recycle Bin keeps files.

3. Restore a previous version of the parent folder

If File History or System Protection was turned on, Windows may have an older copy of the folder that contained your deleted folder.

  1. Open File Explorer and go to the folder that used to hold the deleted one. For example, if Documents\Taxes 2025 was deleted, go to Documents.
  2. Right-click Documents and choose Properties, then open the Previous Versions tab.
  3. Select a version dated before the delete and click Open to browse it.
  4. Copy the missing folder out of the old version to your desktop or another location.

If the list is empty, Windows shows "There are no previous versions available". That means no backup was running for that location. Our guide to fixing "no previous versions available" explains why and what to do next.

4. Check File History and OneDrive

File History: open Control Panel → System and Security → File History → Restore personal files. Use the arrows to move back in time, select the folder and click the green restore button. You can right-click the button and choose Restore to to save it somewhere new.

OneDrive: if the folder was inside your OneDrive folder, including a Desktop, Documents or Pictures folder backed up by OneDrive, deleting it also sent it to the OneDrive recycle bin. Sign in on the OneDrive website, open Recycle bin, select the folder and click Restore. Items deleted from a personal account are kept there for 30 days. OneDrive also has a Restore your OneDrive option in its settings for Microsoft 365 subscribers, which rolls the whole OneDrive back to an earlier date.

5. Scan the drive for the deleted folder

If there is no copy anywhere, the folder's files are usually still on the drive until something overwrites them. Stop saving new files to that drive, then scan it. With Drive Restorer:

  1. Select the drive the folder was on, or the specific folder it was in, to keep the scan short.
  2. Run a quick scan. It reads the file system for deleted entries and can usually rebuild the folder tree with the original folder and file names.
  3. Find the folder in the results by browsing the original path, or search for its name or a file name you remember.
  4. Preview a few files from inside it and check their recovery chance rating.
  5. Restore the whole folder to a different drive, such as an external drive. Its subfolders come with it.

If the quick scan does not find the folder, a deep scan reads every sector and finds files by their content. It can rescue photos, videos and documents whose records are gone, but it cannot rebuild folder names, so the files come back sorted by type rather than in their old folders. That is the main reason to scan as soon as possible: folder structure survives best when the file records are fresh.

What affects whether the folder comes back whole

SituationWhat to expect
Recently deleted from a hard drive, little use sinceUsually the full folder tree with names
Deleted weeks ago on a busy C: driveSome files may be partly overwritten
Deleted from a USB stick or SD cardGood, if nothing new was copied to it
Deleted from an internal SSD with TRIMOften low; TRIM may already have cleared the data
Drive formatted after the deleteFiles may come back by deep scan, without folder names

Restore a folder from a scan to a different drive, never to the one you are scanning. Writing the restored files back to the same drive can overwrite other deleted files from the same folder before they are saved. Drive Restorer always restores to a separate drive for this reason.

Stop it happening again

  • Turn on Display delete confirmation dialog in Recycle Bin Properties so you get a prompt before each delete.
  • Raise the Recycle Bin size for drives that hold large folders, so they are recycled instead of deleted.
  • Turn on File History or OneDrive folder backup for Documents, Pictures and Desktop.
  • Be careful with Shift+Delete on folders. It is permanent, and a folder is many files at once.

Frequently asked questions

Can I restore a deleted folder with all its subfolders?

Yes, if the file system records are intact. The Recycle Bin restores the whole folder tree, and a quick scan can often rebuild the folder structure after the bin is emptied.

Why is my deleted folder not in the Recycle Bin?

It may have been too large for the Recycle Bin, deleted with Shift+Delete, deleted from a USB stick or network drive, or removed when the bin was emptied.

How do I restore a previous version of a folder?

Right-click the parent folder, choose Properties and open the Previous Versions tab. Versions appear only if File History or restore points were turned on.

Get three guides like this every month, plus software update notices.Subscribe →