← Back to articles
Computer Support23 June 2026

How to Recover Deleted Files on Windows — Complete Guide (2026)

Accidentally deleted a file on Windows? This guide covers every recovery method in order — Recycle Bin, Ctrl+Z, File History, OneDrive, Windows File Recovery, and third-party tools — before the data is overwritten.

How to Recover Deleted Files on Windows — Complete Guide (2026)

The moment you realise you have deleted the wrong file is reliably one of the more focused experiences modern computing offers. The good news is that deleted files on Windows are almost never immediately gone — Windows marks the disk space as available rather than instantly erasing the data, which means recovery is often possible if you act before new files overwrite that space. This guide covers every recovery method available on Windows 10 and 11, in the order you should try them, from the thirty-second fix to the tools that work even after the Recycle Bin has been emptied.

Stop using your computer as soon as you realise a file is missing

Every file written to your drive after the deletion reduces the chance of recovery by potentially overwriting the deleted file's data. Close unnecessary applications, do not download anything, do not install software. On SSDs especially — where Windows TRIM actively clears unused space — time matters more than on a traditional hard drive. Read this guide on a phone or another device if possible, then act on the relevant steps.

Quick reference: which method to try first

Your situationMethod to try firstTime required
Deleted the file seconds ago, folder still openCtrl+Z (Undo Delete)2 seconds
Deleted normally (not Shift+Delete), Recycle Bin not emptiedRestore from Recycle Bin1 minute
Recycle Bin emptied, or file deleted with Shift+DeleteFile History or Previous Versions5 minutes
File was in OneDrive folderOneDrive Recycle Bin online5 minutes
No backup exists, file permanently deletedWindows File Recovery15–60 minutes
Windows File Recovery found nothingThird-party recovery software30–90 minutes
Drive is physically damaged or nothing else workedProfessional data recovery serviceDays — professional help

Method 1: Ctrl+Z — Undo Delete

Fastest — try this first if deletion just happened

One keystroke, instant recovery, works for 30 seconds to a few minutes after deletion

If you are still in the same File Explorer window where the deletion happened, press Ctrl + Z immediately. This triggers the Undo command and restores the file to its original location — no tools required, no settings needed, takes less than a second. Windows maintains a short undo history in File Explorer, so this works even if you deleted multiple files at once.

You can also right-click in an empty area of the folder and select Undo Delete from the context menu if you prefer the mouse. The undo history resets when you restart File Explorer or the computer, so use this method before doing anything else.

Method 2: Restore from the Recycle Bin

Simplest — works if file went to Recycle Bin and bin not emptied

The Recycle Bin holds deleted files until you empty it or it fills up

When you delete a file using the Delete key or right-click menu, Windows moves it to the Recycle Bin rather than immediately erasing it. It stays there until you manually empty the Recycle Bin, it exceeds the Recycle Bin's size limit, or Storage Sense empties it on a schedule.

  1. Double-click the Recycle Bin icon on the desktop (or search for it in the Start menu).
  2. Sort by Date Deleted to find recently deleted files at the top.
  3. Right-click the file you want and select Restore — this returns it to its original location. Or drag it to a different folder.
  4. To restore multiple files: hold Ctrl and click each one, then right-click any selected file and choose Restore.
Files that bypass the Recycle Bin entirely

Files deleted with Shift + Delete skip the Recycle Bin and are permanently deleted immediately. Files deleted from USB drives, external drives, and network locations also skip the Recycle Bin. Files too large for the Recycle Bin's current size limit go directly to permanent deletion. If your file is not in the Recycle Bin for any of these reasons, proceed to Method 3.

Method 3: Restore previous versions (File History)

Works if File History was configured before the deletion

Right-click the folder — Previous Versions may have your file

Windows File History automatically saves versions of files in your personal folders to an external drive or network location. If File History was running before the deletion, you can restore the file directly from its parent folder without opening any backup tool.

  1. Navigate to the folder where the deleted file was stored.
  2. Right-click the folder and select Properties.
  3. Click the Previous Versions tab.
  4. Select a version from before the deletion occurred.
  5. Click Open to browse the backup, find your file, and drag it out — or click Restore to restore the entire folder to that point in time.

Alternatively, access File History directly: search for Restore your files with File History in the Start menu, browse back in time using the arrow buttons to find a backup containing the deleted file, select it, and click the green restore button.

No Previous Versions tab showing any results?

File History was not configured, or your external backup drive was not connected when the backup should have run. Proceed to Method 4 (OneDrive) or Method 5 (Windows File Recovery). And after you recover the file — or do not — configure File History so this option is available next time.

Method 4: Check OneDrive's Recycle Bin

Works if file was in a OneDrive-synced folder

OneDrive maintains its own Recycle Bin independent of Windows

If the deleted file was stored in a folder synced to OneDrive (Desktop, Documents, or Pictures if you had folder backup enabled, or any folder inside your OneDrive directory), it exists in OneDrive's Recycle Bin even if you have emptied the Windows Recycle Bin. OneDrive keeps deleted files for 93 days for personal accounts and 93 days or until the recycle bin is 10% full for business accounts.

  1. Go to onedrive.live.com in a browser and sign in.
  2. Click Recycle bin in the left sidebar.
  3. Find the deleted file — sort by Deleted date to find recent deletions.
  4. Right-click the file and select Restore — it returns to its original OneDrive location and syncs back to your computer.

OneDrive also maintains version history — even if you overwrote the file rather than deleting it, right-clicking it in onedrive.live.com and selecting Version history shows previous versions you can restore.

Method 5: Windows File Recovery (free Microsoft tool)

Works after Recycle Bin emptied · No backup needed · Command-line

Microsoft's official free recovery tool — available in the Microsoft Store

Windows File Recovery is a free, official Microsoft tool that scans your drive for deleted file data and recovers what it finds. It works even after the Recycle Bin has been emptied and does not require any prior backup configuration. It uses a command-line interface, which is less user-friendly than the graphical methods above, but it is free and works on drives without a backup.

  1. Open the Microsoft Store (search for it in Start).
  2. Search for Windows File Recovery and install it (free, official Microsoft app).
  3. Open Command Prompt as Administrator (search cmd, right-click, Run as administrator).
  4. Use the following command format:
winfr C: D:\RecoveryFolder /regular

Replace C: with the drive containing the deleted file and D:\RecoveryFolder with a folder on a different drive to save recovered files — never recover to the same drive you are recovering from, as writing new files there can overwrite the deleted data you are trying to save.

Use /regular for recently deleted files on NTFS drives (most Windows system drives). Use /extensive for files deleted longer ago, from formatted drives, or from USB/SD card storage. Extensive mode takes significantly longer but covers more scenarios.

Filter by file type to speed up the scan

Add /n *.docx (or whatever file extension you are looking for) to the command to limit the scan to specific file types. This makes the scan faster and the results folder easier to search through.

Method 6: Third-party recovery software

When Windows File Recovery finds nothing · More thorough scans

Free and paid tools with graphical interfaces and deeper scanning

If Windows File Recovery's scan comes back empty, third-party recovery tools often find files that Microsoft's tool misses, particularly on older drives or complex deletion scenarios. Several reputable options have free tiers that allow scanning and recovering limited amounts of data:

Recuva (free)

From Piriform (makers of CCleaner). Graphical interface, deep scan mode, recovers from hard drives, USB, and memory cards. Good starting point.

Disk Drill (free up to 500 MB)

Well-regarded graphical recovery tool. Free tier recovers up to 500 MB — sufficient for many document and photo recovery situations.

TestDisk / PhotoRec (free, open-source)

Command-line tools for advanced recovery. PhotoRec recovers hundreds of file types despite the name. Used by IT professionals.

R-Studio (paid)

Professional-grade tool with deep NTFS recovery. Worth the cost for large or complex recovery jobs where free tools have failed.

Do not install recovery software on the same drive you are recovering from

Installing software writes new data to the drive, which can overwrite the deleted files you are trying to recover. Download and run recovery software from a USB drive or install it to a different drive. This is the single most common mistake people make during file recovery, and it often makes the difference between success and permanent loss.

Method 7: Restore from a system backup

If you have a system image or Backup and Restore configured

A full system backup is the most reliable recovery method

If you configured Windows Backup and Restore (Control Panel > System and Security > Backup and Restore (Windows 7)) before the deletion, you can restore individual files or folders from those backups:

  1. Open Control Panel > System and Security > Backup and Restore (Windows 7).
  2. Click Restore my files.
  3. Browse for the specific file or folder, select it, and choose where to restore it.

This is the method most likely to recover files successfully — which is also the reason the backup guide matters as much as the recovery guide. Recovery tools work on best-effort; a backup works every time.

Understanding why deleted files can be recovered

When Windows deletes a file — even after emptying the Recycle Bin — it does not immediately erase the data from the drive. It marks the disk space as available for future use, but the actual file data remains on the drive until new data is written over it. Think of it as tearing the page from a book's index without removing the page itself — the content is still there, you just cannot find it through the table of contents.

This is why stopping use of the computer immediately after a deletion is critical, and why recovery software can find files that Windows considers gone. It is also why SSDs complicate recovery: SSD TRIM sends a command to the drive to actively clear unused space, which accelerates permanent data loss compared to traditional hard drives where data simply sits inert until overwritten.

What to do after recovery: prevent it from happening again

Recovering a deleted file is considerably more stressful than not needing to. Two changes significantly reduce the risk of finding yourself in this situation again:

Configure File History. It takes fifteen minutes to set up and runs automatically thereafter. Connect an external drive, open Control Panel, go to File History, and turn it on. Future you will be grateful. The alternative framing: a 1 TB external drive costs around $55, and professional data recovery services typically run $300–$1,500 per incident.

Enable OneDrive folder backup. Syncing your Desktop, Documents, and Pictures to OneDrive means every file in those folders has an off-site copy with 93 days of Recycle Bin protection and full version history. This costs nothing if you already have a Microsoft account.

If you need help setting up automated backups, recovering files from a drive that standard tools could not access, or diagnosing a more complex data loss situation, our remote computer support team can assist — and our maintenance support plan includes regular backup verification so you always know recovery options are in place. We work with customers in New Jersey, New York, California, Texas, and Florida.

Frequently asked questions

Can deleted files be recovered after emptying the Recycle Bin?

Yes — in most cases. When Windows deletes a file it marks the disk space as available rather than erasing the data immediately. The file remains on the drive until overwritten by new data. Recently deleted files are often recoverable using File History, Previous Versions, Windows File Recovery, or third-party recovery software. Act quickly and stop writing new files to the drive to maximise chances.

What is the fastest way to recover a file I just deleted?

Press Ctrl+Z immediately in File Explorer — this undoes the deletion in one keystroke and restores the file to its original location. If that does not work, check the Recycle Bin and right-click Restore. Both methods take under a minute and require no tools.

Does Windows 11 have a built-in file recovery tool?

Yes — two. File History (if it was configured before the deletion) via Control Panel > File History > Restore personal files. And Windows File Recovery, a free official Microsoft app from the Microsoft Store that recovers files via command line even without a prior backup.

Why is my deleted file not showing in the Recycle Bin?

Files bypass the Recycle Bin when: deleted with Shift+Delete; deleted from an external drive, USB stick, or network location; too large for the Recycle Bin's size limit; or the bin was full and Windows removed older items automatically. Try File History, Previous Versions, or Windows File Recovery in these cases.

How long do I have to recover deleted files before they are permanently gone?

There is no fixed timer — deleted data remains until overwritten by new data. On an active system this could be minutes or hours. On SSDs, Windows TRIM accelerates permanent loss. The rule: stop using the computer immediately, and run recovery tools before writing anything new to the drive.

Can't recover the file yourself?

If standard recovery tools have not found your file — or if the drive has been damaged — our remote computer support team can run professional-grade diagnostics and recovery tools in a single session. We also set up automated backups so this situation does not repeat itself.

Get file recovery support from Devtaastic