
The moment you realise a file is gone, what you do in the next five minutes largely determines whether you get it back. This guide covers how to recover deleted files on Windows, Mac and Android — what actually happens when you delete something, the one action that destroys your chances, the recovery methods that work in order of likelihood, and when to stop and call a professional. It is the data-recovery guide of Mahi Info Tech.
What Deleting Actually Does
When you delete a file, the data is not erased. The operating system simply removes the pointer that says “this file lives at these locations” and marks that space as available for reuse. The actual bytes sit exactly where they were, untouched, until something else writes over them.
This is why recovery is possible at all — and it is also why every second you keep using the drive reduces your chances. Every file saved, every application update, every temporary file the system writes in the background risks landing on top of the data you are trying to save.
So the single most important rule in this entire guide is this: stop using the drive immediately. Do not install a recovery tool onto the drive you are recovering from. Do not save anything to it. If it is your main system drive, ideally shut the computer down and work from another machine, because a running operating system writes to disk constantly whether you touch it or not.
Step 1: Check the Obvious Places First
Before reaching for recovery software, exhaust the free and easy options. A surprising proportion of “lost” files were never deleted at all.
- The Recycle Bin or Trash. Obvious, frequently overlooked in a panic. The file may be sitting there intact.
- Your cloud storage’s trash. Cloud drives keep deleted files for 30 days or more, in a separate bin from your computer’s. Check it in the web interface, not just the desktop folder.
- Version history. If the file still exists but the contents are wrong or empty, you may not need recovery at all — you need the previous version. Most cloud services and office applications keep one.
- Search the whole drive by filename. Files get moved accidentally far more often than they get deleted. Search the entire system, including hidden folders.
- Application autosave and temp folders. Office applications and editors keep recovery copies. If a program crashed, its autosave may hold the work.
- Your backup. If you have one running, this whole problem is already solved — restore and move on. If you do not, read our guide on how to back up your data once this is over.
Step 2: Recovering on Windows
If the file is genuinely gone from the Recycle Bin, Windows has a built-in option worth trying first: Previous Versions. Right-click the folder the file was in, choose Properties, and look at the Previous Versions tab. If File History or a restore point captured that folder, you can restore the folder as it was, file included. This costs nothing and requires no third-party software.
If that fails, you need recovery software. The critical rule bears repeating: install it on a different drive — a USB stick or a second disk — and never onto the drive you are recovering from, because the installer itself may overwrite exactly the data you want.
Run a scan, ideally a “deep” scan if the quick scan finds nothing, and be patient — deep scans on large drives take hours. When you recover files, save them to a different drive as well. Writing recovered files back onto the source drive can overwrite other files you have not recovered yet.
Step 3: Recovering on Mac
Check the Trash, then check Time Machine, which is genuinely excellent at this. Enter Time Machine, navigate to the folder that held the file, and step back through time until the file reappears. If you have Time Machine running, this is usually a complete and painless solution.
Without a backup, the same third-party recovery approach applies — install to an external drive, scan, recover to an external drive. Note that Macs with a T2 chip or Apple Silicon encrypt the internal storage by default, which makes third-party recovery from a failed or erased drive substantially harder or impossible. On these machines, Time Machine is not a nice-to-have; it is effectively your only reliable route back.
Step 4: Recovering on Android
Android is harder than a desktop, for a structural reason worth understanding.
Start with the easy checks. Google Photos keeps deleted images in a Bin for 30 days. Your file manager may have its own trash folder. Your cloud backup may have the file. Many messaging apps keep received media in their own storage even after you delete it from the gallery.
If the file is truly gone from the device, the outlook is poor, and here is why: modern Android storage is encrypted, and phones aggressively use TRIM, which actively erases the underlying blocks of deleted files rather than merely unlinking them. Combined with the fact that meaningful recovery software usually requires root access, this means deep recovery on a modern unrooted Android phone is often simply not possible.
The practical conclusion is uncomfortable but honest: on a phone, your backup is not the fallback, it is the plan. If your photos are not backing up automatically, fix that today rather than after you need it.
Step 5: Recovering from a Memory Card or USB Drive
Ironically this is often the easiest case. Removable media typically uses simpler file systems and — crucially — is not being constantly written to by an operating system. Remove it immediately, put it in a card reader on a computer, and run recovery software from that computer.
If a camera card is affected, do not take another photo with it. That is the equivalent of writing to the drive, and it may overwrite exactly the images you are trying to save.
What Reduces Your Chances
| Action | Effect |
|---|---|
| Continuing to use the drive | Severe — background writes overwrite your data |
| Installing recovery software onto the same drive | Severe — may overwrite the very file you want |
| Saving recovered files back to the source drive | Severe — destroys files not yet recovered |
| Time passing on an SSD | Significant — TRIM actively erases deleted blocks |
| Defragmenting or running disk cleanup | Severe — deliberately rearranges and clears space |
| Full formatting the drive | Usually terminal |
Why SSDs Are Harder Than Hard Drives
This is a technical point with real practical consequences. Traditional hard drives leave deleted data intact indefinitely until something overwrites it, which is why recovery from them is often very successful even weeks later.
Solid-state drives use a command called TRIM. When you delete a file, the operating system tells the SSD which blocks are now free, and the drive proactively erases them in the background to keep write performance high. That erasure is real and permanent. It is not a pointer being removed — the data is physically gone.
The consequence is that on an SSD, your recovery window may be minutes rather than weeks, and it closes whether or not you touch the machine. If you have deleted something important from an SSD, act immediately. Every minute the drive stays powered on, TRIM is quietly working against you.
When to Stop and Call a Professional
Stop trying software recovery, and switch off the device, if:
- The drive is making unusual noises — clicking, grinding or repeated spin-up attempts indicate mechanical failure. Every additional minute of power risks converting a recoverable problem into a permanent one.
- The drive is not detected at all by the system.
- The data is genuinely irreplaceable — a business’s records, a family’s only photos — and your own attempts have failed. Amateur attempts can foreclose professional options.
Professional recovery in a clean room is expensive, often several hundred pounds or more, and it is not guaranteed. But it can retrieve data from physically damaged drives that no software can touch. The decision comes down to a simple question: is the data worth more than the fee?
Recovering Overwritten and Corrupted Files
Not every lost file was deleted. Sometimes the file is still there and the contents are wrong — you saved over the good version, an application crashed mid-write, or the file has become corrupted and will not open. This is a genuinely different problem from deletion, and reaching for recovery software will not help you.
The answer here is version history. Most cloud storage services keep previous versions of a file for a period, accessible through the web interface even when the desktop app shows only the current one. Office applications keep autosave and recovery copies. Operating systems maintain restore points and previous versions of folders. Before assuming a file is gone, check whether an earlier version of it exists somewhere — this recovers far more work than deep-scan software ever does, and it takes two minutes.
For genuinely corrupted files, some applications include a repair function, and specialised tools exist for common formats. Success is inconsistent, and a partially recovered file may be worse than useless if you cannot tell which parts are wrong.
Preventing the Next One
Every guide to recovering deleted files should end by admitting the obvious: the only reliable recovery method is having a copy already. Everything else is a gamble against physics and time, and on modern SSDs and encrypted phones, the odds are getting worse rather than better.
Set up automatic backup today, while you are thinking about it and while it feels urgent, because that feeling fades quickly and never returns until the next crisis. Turn on version history in your cloud storage. Enable your operating system’s built-in backup to an external drive. Confirm your phone’s photo backup is actually running, and check the date of the last successful one — a backup that silently stopped eight months ago looks exactly like a working one.
And build one small habit: when you are about to do something risky to a file — a major edit, a bulk rename, a format conversion — make a copy first. It takes two seconds and it has saved more work than every recovery tool ever written. Our guide on how to back up your data covers building a setup that means you never need this article again.
Quick Reference: File Recovery Do’s and Don’ts
- Do stop using the drive immediately — every write reduces your chance of recovery.
- Don’t install recovery software onto the affected drive — the installer may overwrite the file you want.
- Do check the bin, cloud trash and version history first — many “deleted” files were never really gone.
- Don’t keep an SSD powered on — TRIM is actively erasing your deleted data while you think about it.
- Do power down a clicking drive at once — that is mechanical failure, and software recovery will make it worse.
Frequently Asked Questions
Can deleted files always be recovered?
No. On a traditional hard drive, chances are good if you stop using it immediately. On an SSD, TRIM actively erases deleted blocks within minutes, so the window is far smaller. On a modern encrypted Android phone, deep recovery is often impossible without a backup.
What is the first thing I should do?
Stop using the drive. Do not save anything, do not install software onto it, and if it is your system drive, shut the computer down and work from another machine. Background writes from the operating system alone can overwrite your file while you are deciding what to do.
Is free recovery software good enough?
Often yes, for simple deletions where the data has not been overwritten. The tool matters far less than how quickly you stopped writing to the drive. No software can recover data that has already been overwritten, regardless of price.
Why is recovering from a phone so difficult?
Modern Android storage is encrypted and uses TRIM to actively erase deleted data, and effective recovery tools usually require root access. This combination means that on an unrooted modern phone, a proper backup is not a fallback — it is realistically your only route back.
Should I pay for professional data recovery?
Consider it if the drive is physically failing — clicking, grinding, or not detected — or if the data is genuinely irreplaceable and software has failed. It is expensive and not guaranteed, but it can retrieve data from damaged hardware that no software can reach.
Final Thoughts
File recovery is a race between you and the next thing that writes to your drive. Stop using it, check the free options first, run recovery software from a different drive, and save the results somewhere else. Understand that SSDs and phones have narrow or nonexistent recovery windows, which changes the calculus entirely. And once you have your file back — or once you have accepted that you will not — set up an automatic backup. The only reliable way to recover a deleted file is to already have a copy of it somewhere else.
Explore more practical guides, fixes and technology tutorials across Mahi Info Tech.