How to Recover Deleted Files: Step-by-Step Guide
Deleting the wrong folder can turn an ordinary afternoon into a crisis. The encouraging part is that “deleted” often means the storage space has been marked available—not that every byte vanished immediately.
This guide explains how to recover deleted files from Windows PCs, Macs, USB drives, memory cards, cloud accounts, Android phones, and iPhones. You will learn what to do in the first five minutes, which free options to try first, when recovery software is appropriate, and when continuing could make the damage worse.
Important: Stop using the affected device or drive as soon as possible. New downloads, updates, photos, app installations, and even normal system activity can overwrite the space that still contains the missing data.
How Do You Recover a Deleted File?
To learn how to recover deleted files, stop writing to the affected drive, check Recycle Bin or Trash, search cloud trash and version history, restore a backup, then use a recovery tool that saves results to a different drive. If the drive clicks, disconnects, or is physically damaged, power it off and contact a specialist.
First Aid: What to Do in the First Five Minutes
Your first actions matter more than the price of the software you buy later. A deleted file usually becomes recoverable space. Any new write can reuse that space and turn a simple restore into a partial or impossible recovery.
Stop saving to the affected drive. Do not download a recovery program onto it.
Cancel large transfers and updates. Pause cloud sync only if it is repeating an unwanted deletion across devices.
Identify the original location. Note the drive letter, folder, filename, file type, and approximate deletion time.
Prepare a separate destination. Use another internal drive, an external SSD, or a large USB drive for recovered results.
Check for physical warning signs. Clicking, grinding, repeated disconnects, a burning smell, or a drive that never spins up calls for professional help.
💡 Quick Hack: If you deleted something seconds ago and have not closed the folder, press Ctrl + Z on Windows or Command + Z on Mac. “Undo Move” or “Undo Delete” can reverse the last action before you begin a longer recovery.

Essential Tools, Costs, and Skill Levels
Most accidental deletions can be handled with tools already on the device. Spend money only after the no-cost paths fail and the value of the data justifies the next step.
| Tool or material | Why you need it | Estimated cost | Skill level | Key caution |
| Recycle Bin, Trash, or Recently Deleted | Fastest restore for normal deletions | Free | Beginner | Do not empty it while searching |
| Cloud trash and version history | Recovers synced or older copies | Free with account | Beginner | Check the web account, not only the sync folder |
| Existing backup drive | Restores clean copies with names and folders intact | Already owned | Beginner | Restore to a new location first when unsure |
| Spare external drive | Stores recovered files safely | $15–$100+ | Beginner | Capacity should exceed expected recovery size |
| Windows File Recovery | Scans local Windows storage from the command line | Free | Intermediate | Source and destination must be different drives |
| PhotoRec/QPhotoRec | Read-only, signature-based recovery from many file systems | Free | Intermediate | Filenames and folders may not be preserved |
| Disk-imaging software | Creates a sector-by-sector working copy of an unstable drive | Free–$100+ | Advanced | A wrong source/destination choice can overwrite data |
| Professional data-recovery lab | Handles physical faults and high-value evidence | Hundreds to thousands | Specialist | Stop DIY attempts before the drive degrades further |
Prices vary by region and drive capacity. A free scan is not the same as free recovery; some commercial apps show files and charge only when you export them.
Choose the Safest Recovery Route
Before following a device-specific method, classify the problem. The right route for a file sent to Trash is not the right route for a clicking hard disk.
Route A: Simple deletion
The device works normally, and you deleted a file or emptied a bin. Start with Undo, Recycle Bin or Trash, cloud trash, backups, and previous versions. Only then scan free space.
Route B: Formatted or corrupted removable storage
The USB drive, SD card, or external disk is detected, but folders are missing or the system asks to format it. Do not format it again. Create an image if the contents matter, then scan the image or original media with read-only recovery software.
Route C: Missing partition or RAW drive
The drive appears unallocated, RAW, or without its old partition. Do not initialize it and do not run repair commands before copying the data. Partition-recovery tools can help, but writing a new partition table is an advanced step.
Route D: Physical failure
The drive clicks, spins down, vanishes during reads, or suffered water, fire, or impact. Repeated power cycles can increase damage. Disconnect it, label it, and request a written evaluation from a reputable lab.
Use this decision rule whenever you are unsure how to recover deleted files safely: begin with the least invasive method that can work, and never write recovered data back to the source.
Check Recycle Bin, Trash, and Recently Deleted
This is the highest-success, lowest-risk path. It also preserves filenames, folder structure, dates, and metadata.
Windows Recycle Bin
Open Recycle Bin from the desktop or search for it from Start.
Switch to Details view and sort by Date Deleted, Original Location, or Item Type.
Select the file. Right-click and choose Restore.
Return to the original folder and open the file to verify it.
If the file was deleted from a network share, removable drive, command prompt, or with Shift + Delete, it may have bypassed Recycle Bin. Large files can also be removed immediately when the bin’s capacity is exceeded.
Mac Trash
Open Trash from the Dock.
Search or sort by name and deletion date.
Right-click the item and choose Put Back.
If the original folder no longer exists, drag the file to a safe folder and verify it.
Android and iPhone Recently Deleted
Photo and file apps often maintain separate bins. Check Photos, Gallery, Files, Google Photos, OneDrive, Dropbox, and any manufacturer cloud app you use. Retention periods differ, and manually emptying a bin may remove the easiest recovery path.
Pro-Tip: Search inside the app that created or stored the item. A deleted voice note may be in a recorder app’s bin, while a PDF may be in the Files app or cloud provider’s trash.
Search Before You Recover
Files are often moved, renamed, hidden, or saved to a different account rather than deleted. A careful search can save hours.
Search by a distinctive word from the filename.
Search by extension, such as *.docx, *.xlsx, *.pdf, *.jpg, or *.psd.
Sort results by Date modified and look around the last known edit time.
Check Desktop, Documents, Downloads, Recent Files, email attachments, chat downloads, and export folders.
Sign into each cloud account used on the device and search from the provider’s website.
In Office apps, check Recent, AutoRecover, and document-recovery panes after a crash.
Use MyFlexBots’ guide on how to take a screenshot to capture error messages, drive letters, and scan settings before changing anything. A screenshot gives you a reliable record if you later need expert help.
💡 Quick Hack: Search by file type plus date, not only by name. If an invoice was renamed, a search for all PDFs modified last Tuesday can still reveal it.
Restore Cloud Trash or Version History
Cloud sync creates both opportunity and risk. It may preserve an online copy, but a deletion can also sync to every connected device.
OneDrive
Sign into OneDrive on the web, open Recycle bin, select the item, and choose Restore. For a file that still exists but has the wrong content, open Version history and restore an earlier version. Business accounts may have administrator-controlled retention and restore options.
Google Drive
Open Drive on the web, select Trash, locate the item, and restore it. If it is not visible, confirm that you are in the correct Google account and check Shared with me, shared drives, and activity. Organization administrators may have additional recovery options for a limited period.
iCloud Drive
Open iCloud Drive on iCloud.com and select Recently Deleted, or open Data Recovery and choose Restore Files. Apple’s current iCloud file recovery instructions explain both routes.
When learning how to recover deleted files from cloud storage, always check the browser-based account. A desktop sync folder may show only the current state and hide the provider’s trash, versions, or administrator recovery tools.

Restore a Windows Backup or Previous Version
Windows offers several recovery paths, but they work only if the relevant protection was enabled before deletion.
File History and Previous Versions
Connect the drive or network location used for File History.
Open File Explorer and navigate to the folder that used to contain the file.
Right-click the folder and choose Restore previous versions.
Select a version dated before the deletion.
Choose Open to inspect it first, then use Restore to… and select a new folder.
Restoring to a separate folder avoids replacing a newer file by mistake. Microsoft’s File History restore instructions warn that a direct restore can replace the current version and cannot simply be undone.
Windows Backup and OneDrive folder backup
If Desktop, Documents, Pictures, Videos, or Music were backed up to OneDrive, check the web account’s Recycle Bin and version history. If you used a traditional external-drive backup, open the backup interface and restore only the folder you need before attempting a full-system restore.
Anyone researching how to recover deleted files on Windows should check backup status before installing third-party utilities. A clean backup is faster, safer, and more likely to preserve the original name and folder structure.
Use Windows File Recovery Carefully
When the file is not in Recycle Bin or a backup, Microsoft’s command-line Windows File Recovery app can scan local internal drives, external drives, and USB devices. It does not recover from cloud storage or network shares.
Before running it
Connect a second drive with enough free space.
Confirm the source and destination drive letters in File Explorer.
Install the tool from the Microsoft Store only if doing so will not write to the affected source. For a deleted file on the system drive, every install creates some overwrite risk.
Start with a narrow filename, folder, or extension filter.
The official syntax is:
winfr source-drive: destination-drive: [/mode] [/switches]
Example: recover Word and PDF files from the C: drive to an external E: drive:
winfr C: E: /regular /n *.docx /n *.pdf
Example: run an extensive scan for filenames containing “invoice”:
winfr C: E: /extensive /n *invoice*
Use Regular mode first for a recent deletion from a healthy NTFS drive. Use Extensive mode for older deletions, formatted or corrupted media, and non-NTFS file systems such as FAT or exFAT. Confirm the current modes and switches in the Microsoft Windows File Recovery guide.
Microsoft states that the source and destination must be different drives. The tool creates a dated recovery folder on the destination. Open recovered files from there, check their contents, and copy verified items into an organized folder later.
💡 Quick Hack: Filter narrowly on the first pass. Searching only *.docx or a known folder finishes faster and produces less clutter than recovering every recognizable file on the disk.
Restore Deleted Files on a Mac
The safest Mac sequence is Trash, iCloud Recently Deleted, app version history, Time Machine, and only then a deeper scan.
Restore with Time Machine
Connect the Time Machine backup disk if it is not already available.
Open the folder where the missing item originally lived.
Open Time Machine using Spotlight or the menu bar.
Move through the timeline to a backup before the deletion.
Select the file, preview it if possible, and click Restore.
Apple’s Time Machine restore instructions say the restored item returns to its original location. Many Mac apps also support File > Revert To > Browse All Versions, which can recover an earlier document without restoring an entire folder.
The practical answer to how to recover deleted files on a Mac depends heavily on whether Time Machine or iCloud was active. On modern internal SSDs, deleted blocks may be cleared quickly, so installing multiple recovery apps after the deletion can reduce the chance of success.

Recover Files from USB Drives, SD Cards, and External Disks
Removable media often provides better DIY recovery conditions because you can unplug it immediately and scan it from another computer.
Eject or disconnect the device. If it is an SD card, slide the physical lock switch to read-only when available.
Inspect the connection once. Try a known-good cable, port, or card reader, but stop if the drive disconnects repeatedly.
Do not accept a format prompt. Formatting writes new file-system data.
Create a disk image when possible. Work from the image, especially if the device is unstable or the files are valuable.
Scan with read-only software. Save recovered items to a different physical device.
Verify the results. Open documents, play media completely, and compare file sizes.
PhotoRec is a free, open-source file carver that reads the source without writing to it. Its official documentation stresses that recovered files must be saved elsewhere. File carving can recover content from a corrupted file system, but it may lose original filenames and folder structure.
TestDisk is aimed more at lost partitions, damaged boot sectors, and some file-system recovery tasks. Writing partition changes is riskier than copying files out, so beginners should use it only with a verified image and clear instructions.
Pro-Tip: If the SD card contains irreplaceable wedding, legal, medical, or client data, make an image before the first deep scan. A repeatable copy lets you test more than one method without repeatedly stressing the original media.
Recover Deleted Files from Android and iPhone
Modern phones use encryption, flash storage, and aggressive space management. That makes cloud copies and built-in Recently Deleted folders far more realistic than “deep scan” apps installed after the loss.
Android checklist
Check Google Photos Trash and the phone manufacturer’s Gallery bin.
Open Files by Google or the built-in file manager and inspect Trash.
Check Google Drive, OneDrive, Dropbox, WhatsApp backups, and any work account.
If the missing data was on a removable microSD card, power off the phone, remove the card, and scan it with a computer and card reader.
Avoid apps that promise instant recovery but demand broad permissions or root access.
The MyFlexBots guide to the best free apps for Android explains practical file-management and cloud-storage choices that can reduce future losses.
iPhone and iPad checklist
Open Photos > Albums > Recently Deleted for photos and videos.
Open Files > Browse > Recently Deleted for documents.
Check iCloud Drive and iCloud.com Data Recovery.
Look in app-specific storage and backups.
Use a full device backup only when you understand that restoring it can replace the phone’s current state.
For phone users asking how to recover deleted files, the best move is to stop creating new photos and videos, check every built-in bin and cloud account, and avoid installing random recovery apps on the same device.
Select Recovery Software Without Making Things Worse
A polished interface does not prove that a tool is safe or effective. Judge software by its behavior, documentation, privacy policy, export limits, and ability to work without modifying the source.
Prefer tools that can:
Scan in read-only mode.
Work from a disk image.
Filter by filename, type, size, and date.
Preview common file formats before recovery.
Save sessions so a long scan does not need to be repeated.
Export to a different physical drive.
Explain licensing and data handling clearly.
Be cautious when a tool:
Requires installation on the affected drive.
Promises guaranteed recovery.
Shows fake urgency or an endless “issues found” counter.
Requires administrator or root access without explaining why.
Uploads files to a server without clear disclosure.
Charges before it can preview any real recoverable data.

Five Common File-Recovery Mistakes
- Continuing to use the computer
Browsing, streaming, editing, and installing software all create new data. On a nearly full drive, the risk of overwriting deleted space is especially high.
Prevention: Shut down nonessential apps and recover from another boot drive or computer when the data is valuable.
- Recovering back to the source
This is the classic self-inflicted failure. The first recovered files can overwrite unrecovered files still waiting deeper in the scan.
Prevention: Always export to another physical drive.
- Running repair tools before copying data
CHKDSK, First Aid, partition initialization, formatting, and file-system repair are designed to make a volume consistent—not necessarily to preserve every deleted file.
Prevention: Image or recover the data first. Repair the disposable copy later.
- Repeatedly powering a failing hard drive
A mechanical drive that clicks or disappears may have head, motor, or surface damage. Each attempt can worsen it.
Prevention: Power it off and seek a lab if the data value exceeds the recovery cost.
- Trusting a filename without opening the file
Recovery software may reconstruct a directory entry while the content is partially overwritten. A listed file is not automatically a healthy file.
Prevention: Open documents, test archives, play media to the end, and compare expected sizes before declaring success.
These errors explain why two people following the same guide on how to recover deleted files can get very different results. Preservation comes first; scanning comes second.
Advanced Tips and Next-Level Hacks
Make a forensic-style disk image
An image is a sector-by-sector copy stored in a single file or on another disk. It freezes the source’s readable state and lets you repeat scans without touching the original. Use a destination larger than the source and verify the image size or hash when the tool supports it.
Start narrow, then broaden
First scan the known folder or file type. If that fails, broaden to the partition, then the whole device. This saves time and makes results easier to review.
For readers comparing how to recover deleted files across several devices, this narrow-to-broad pattern is the most efficient rule to remember.
Organize recovery output before opening everything
Sort by extension, file size, and modification date. Remove obvious thumbnails and cache files from the review queue. Do not deduplicate until you have copied the raw recovery output to safe storage.
Keep a recovery log
Record the device model, serial number, file system, symptoms, software version, scan mode, start time, and output location. This prevents repeated mistakes and gives a professional lab useful context.
💡 Quick Hack: Create three destination folders: Raw Recovery, Verified Files, and Needs Review. Never edit the raw output; copy good files into Verified Files and questionable items into Needs Review.
Build the 3-2-1 habit after the crisis
Keep three copies of important data, on two different media types, with one copy stored off-site or offline. CISA’s 3-2-1 backup guidance is written for organizations, but the principle works just as well for families, freelancers, and small businesses.
Use a recurring task in one of the best productivity apps 2026 to test a restore every month. A backup that has never been opened is only a hope.

Troubleshooting Guide
The recovered file will not open
The file may be partially overwritten, have the wrong extension, or lack a header. Try opening a copy with another compatible app. For archives, use a repair or test function. For Office files, try the application’s Open and Repair feature. Never alter the only recovered copy.
The scan finds thousands of unnamed files
Signature-based carving commonly loses names and folders. Filter by extension and size, sort by modified date where available, and generate thumbnails for images. Search document contents for a distinctive client name, invoice number, or sentence.
The destination drive fills up
Stop or pause the scan if supported. Move completed output to another safe drive or restart with narrower filters. Do not redirect output to the source.
The drive is not detected
Try one known-good cable, one different port, and one other computer. Check whether the drive appears in Disk Management or Disk Utility without initializing or erasing it. If it clicks, becomes extremely slow, or disconnects repeatedly, stop.
The recovered photos are gray, striped, or incomplete
Part of the image was overwritten or fragmented. Try another scan mode or tool against a disk image. A low-resolution thumbnail from a cache or cloud gallery may still be useful when the full original cannot be reconstructed.
An SSD scan finds nothing
Modern SSDs may use TRIM and garbage collection to clear deleted blocks quickly. Results can disappear even when the deletion was recent. Check backups, cloud versions, email attachments, collaborators, exported copies, and application caches before paying for repeated software scans.
Recovery software freezes
The drive may have unreadable sectors or a bad connection. Cancel if the device begins disconnecting or making unusual noises. Advanced imaging tools can skip damaged areas and return later, but valuable data on failing hardware belongs with a specialist.
This troubleshooting order is central to how to recover deleted files without turning a manageable deletion into permanent loss: preserve the source, verify the connection once, image unstable media, and investigate copies before forcing more reads.
Long-Term Maintenance: Make the Next Recovery Boring
Recovery is successful only when verified files are protected again. Copy the good results to two safe locations before formatting or reusing the original media.
The long-term lesson in how to recover deleted files is that recovery and prevention belong to the same workflow: restore, verify, duplicate, automate, and test.
Turn on automatic cloud or external-drive backup for important folders.
Keep one backup disconnected or protected from routine account access.
Enable version history where the provider offers it.
Check that phone photos and documents are syncing to the intended account.
Label external drives with purpose and last test date.
Test a random restore monthly and a full recovery plan quarterly.
Pro-Tip: Replace storage that reports health warnings, repeated errors, or unusual sounds. Use surge protection and safe ejection for removable drives. Back up the folders people actually use—Desktop, Downloads, active project folders, photos, and exported password vaults—not only a carefully organized Documents folder that remains empty.
Frequently Asked Questions
Can permanently deleted files be recovered?
Sometimes. “Permanent” often means the directory entry or bin record has been removed, while some content remains until overwritten. Recovery is more likely on an unplugged USB drive or hard disk than on a busy system SSD. Stop using the source immediately and save results elsewhere.
Can I recover deleted files without software?
Yes. Use Undo, Recycle Bin or Trash, Recently Deleted, cloud trash, version history, File History, Time Machine, email attachments, shared copies, and other backups. These methods are safer and usually preserve names, folders, and metadata.
How long do deleted files remain recoverable?
There is no fixed time. Recoverability depends on how much new data is written, whether the device is an HDD or SSD, whether TRIM is active, and whether the file was fragmented. A file can survive for months on unused media or be overwritten within minutes on a busy drive.
What is the best method for how to recover deleted files from a formatted drive?
Stop using the drive, do not format it again, create a sector-by-sector image when possible, and scan the image with a reputable read-only recovery tool. Save results to another physical device. Use a professional lab if the drive is unstable or the data is irreplaceable.
Does System Restore bring back personal files?
Generally, no. System Restore is designed for Windows system files, settings, drivers, and installed software state. Personal-file recovery should focus on Recycle Bin, backups, File History, OneDrive, and recovery tools.
When should I use a professional data-recovery service?
Use a specialist when a drive clicks, grinds, smells burnt, suffered impact or liquid damage, repeatedly disconnects, is not detected after one basic connection test, contains legally sensitive evidence, or holds irreplaceable data worth more than the service fee.
Conclusion
The safest way to approach how to recover deleted files is simple: stop using the source, check easy restore locations first, recover to a different drive, and escalate carefully. Built-in bins, cloud history, and backups solve many cases; read-only scans handle some of the rest; failing hardware needs a professional.
Once your files are safe, set up automatic backups and test a restore. Which device or storage service caused your file-loss problem, and which recovery step worked for you? Share the details in the comments to help another MyFlexBots reader avoid the same mistake.
editor's pick
latest video
news via inbox
Nulla turp dis cursus. Integer liberos euismod pretium faucibua
