2M+ followers watch us recover data on YouTube, TikTok & Instagram - watch real cases ↗

Data Recovery Guide

Can You Recover Deleted Files? It Depends on Your Device

Updated July 19, 2026
In this article

Whether you can recover deleted files depends entirely on the device. Hard drives, USB flash drives, and SD cards are usually recoverable because they don't use TRIM: deleted data sits on the medium until overwritten. SSDs and iPhones almost never are, because TRIM and encryption destroy the data within seconds of deletion.

  1. Hard drive (HDD): usually yes: data persists on the platters
  2. USB flash drive: usually yes: no TRIM over USB
  3. SD card: usually yes: highest success rates of all
  4. SSD: almost never: TRIM erases blocks in seconds
  5. iPhone: no: TRIM plus per-file AES-256 encryption

Whatever the device, stop using it immediately, then talk to our data recovery services team for an honest read on your odds.

Can you recover deleted files? It depends on the device. Hard drives and USB flash drives? Almost always yes. The data's still sitting on the storage medium, waiting to be found. SSDs and iPhones? Almost always no. These devices actively destroy data the second you delete it, and no software or lab can undo that.

It comes down to two things: TRIM and hardware encryption. TRIM-enabled devices (SSDs, iPhones, modern Android phones) erase data blocks right after deletion. Devices without TRIM (hard drives, USB flash drives, SD cards) leave deleted data in place until something writes over it. We recover data from all of these at MDrepairs, so we know exactly where the line is between recoverable and gone for good.

Below, we'll break down every common device type, explain why recovery works (or doesn't), and link out to our detailed guides for each one.

Multiple storage devices including a hard drive, SSD, USB drive, SD card, and iPhone showing recovery possibilities

The Quick Answer: Recovery by Device Type

Find your device type below. The "Recoverable?" column gives you the short answer, and the "Full Guide" column links to a detailed post for your exact situation.

DeviceRecoverable?WhyFull Guide
Hard Drive (HDD)Usually YesNo TRIM. Data persists on magnetic platters until overwritten.Read Guide
SSDAlmost NeverTRIM erases blocks within seconds of deletion.Read Guide
USB Flash DriveUsually YesNo TRIM over USB protocol. Data stays until overwritten.Read Guide
SD CardUsually YesNo TRIM, simple file systems. Excellent recovery rates.Read Guide
iPhoneNoTRIM + AES-256 per-file encryption. Data is destroyed and unreadable.Read Guide
Not sure what type of storage your device uses? Desktop computers usually have either an HDD or SSD (check your model specs). Laptops made after 2018 are almost always SSDs. External hard drives are HDDs. Thumb drives are USB flash drives. Camera memory cards are SD cards. If you're still not sure, contact us and we'll help you figure it out.

Why Some Devices Are Recoverable and Others Aren't

Comparison of storage devices showing which support TRIM and which do not

Not all storage works the same way. Two technologies decide whether your files are recoverable, and understanding them will save you time, money, and a lot of frustration.

TRIM: The Recovery Killer

TRIM is a command your operating system sends to flash-based storage. When you delete a file, the OS tells the storage controller "these blocks aren't needed anymore," and the controller physically erases them in the background. Gone. Wiped clean. Ready for new data.

Why does TRIM exist? Performance. Flash storage needs to erase blocks before it can write new data to them. Doing that cleanup in the background keeps the device fast. The side effect? Your deleted data is physically destroyed, not just "marked as available."

Devices that use TRIM: internal SSDs, NVMe drives, iPhones, modern Android phones, and some newer external SSDs.

Devices that do NOT use TRIM: hard drives, USB flash drives, SD cards, and most external storage connected via USB.

Encryption: The Second Lock

Some devices pile on a second layer: hardware-level encryption. iPhones encrypt every single file with its own unique AES-256 key. Delete the file, and that key gets destroyed too. Even if TRIM somehow missed the data blocks (it won't), whatever's left is encrypted gibberish with no way to decode it.

Hard drives, USB flash drives, and SD cards typically don't encrypt data at the hardware level. If the raw data's still on the storage medium, we can read it directly. No decryption, no keys to worry about.

The Simple Rule

No TRIM + No Encryption = Recovery is usually possible. This covers hard drives, USB flash drives, and SD cards.

TRIM + Encryption = Recovery is virtually impossible. This covers iPhones, modern Android phones, and internal SSDs.

TRIM + No Encryption = Recovery is still extremely unlikely. This covers most consumer SSDs. Even without encryption, TRIM erases the data so fast that there's usually nothing left to recover.

Hard Drives: The Best Case for Recovery

Traditional spinning hard drives (HDDs) are the best-case scenario for data recovery. This is what we do at MDrepairs every single day.

Hard drives store data on spinning magnetic platters. Delete a file and the operating system just marks that space as "available" in the file system table. Your actual data? Still sitting on the platters, completely untouched, until the drive happens to write something new in that exact spot. On a drive that isn't heavily used, deleted files can stick around for weeks, months, sometimes years.

That's why hard drive data recovery works so well. We read the platters directly, scan for file signatures, and piece deleted files back together from the raw data. Corrupted file system? Formatted drive? Won't spin up? Doesn't matter. The data is usually still physically there.

Hard drives don't use TRIM. They don't encrypt individual files. When you delete something, it stays on the platters until overwritten. That's why recovery rates for HDDs are so much higher than any other device type.

Our detailed guide walks through the full process: what software to try first, when you need professional help, and what real success rates look like. You can also check your hard drive's health before problems start.

Read the full guide: How to Recover Deleted Files from a Hard Drive

SSDs: The Worst Case

SSDs are the exact opposite of hard drives when it comes to recovery. Deleted files from an internal SSD? Your chances of getting them back are basically zero.

TRIM is the reason. Every modern OS (Windows 10/11, macOS, Linux) sends TRIM commands to SSDs by default. The second you delete a file, the OS tells the SSD controller to erase those data blocks. Garbage collection wipes them clean, usually within seconds. By the time you even think about recovery, the data is already physically gone from the NAND flash chips.

There are a few narrow exceptions. TRIM was manually disabled (almost nobody does this). You're running some ancient OS that doesn't support TRIM. Or you caught the deletion within seconds and immediately yanked the power. In those rare cases, garbage collection might not have finished yet. But realistically? Don't count on it.

One other edge case: external SSDs connected via USB sometimes don't receive TRIM commands because the USB enclosure doesn't pass them through. Recovery might be possible in that scenario, but it depends on the enclosure's firmware.

Don't waste money on SSD recovery software. Most tools will scan the drive and find nothing, or they'll find fragments too small to reconstruct into usable files. If TRIM has run (and it almost certainly has), the data is gone. Our SSD guide explains the technical details and the rare exceptions.

Read the full guide: Can You Recover Deleted Files from an SSD?

USB Flash Drives: Good News

This is where things get surprisingly good. USB flash drives use flash memory (same basic tech as SSDs), but they're almost always recoverable after deletion.

Here's why: the USB protocol doesn't pass TRIM commands in most configurations. When you delete a file from a USB flash drive, the OS marks the space as available in the file system but does NOT tell the controller to erase the underlying blocks. Your data just sits there, same as it would on a hard drive.

Recovery software can scan the drive, find deleted file signatures, and piece your files back together. Success rates are excellent. We're talking 90%+ if you haven't written much new data since the deletion.

The one risk? Overwriting. Flash drives are small and people reuse them constantly, so new data can wipe out deleted files fast. The sooner you stop using the drive after realizing files are missing, the better.

USB flash drives are one of the easiest devices to recover. In many cases, free or low-cost recovery software can get your files back without professional help. Our USB flash drive guide walks you through the entire process step by step.

Read the full guide: How to Recover Deleted Files from a USB Flash Drive

SD Cards: Great News for Photographers

SD cards might be the single best device type for data recovery. Everything works in your favor: no TRIM, simple file systems (usually FAT32 or exFAT), and predictable data layouts.

When a camera or phone deletes photos from an SD card, the file system just removes the directory entry. The actual image data stays exactly where it was. JPEG and RAW files have distinctive header signatures that recovery software picks up easily, even without an intact file system.

Accidentally formatted your SD card? You can almost always get everything back. A "quick format" only erases the file system table, not the actual photos. A full format does overwrite data, but most cameras and computers default to quick format anyway.

We've recovered thousands of SD cards at MDrepairs. Wedding photos, business documents, research data. Recovery rates on SD cards are consistently the highest we see, often north of 95% when the card hasn't been reused after deletion.

Accidentally deleted photos from your camera's SD card? Don't put the card back in the camera. Don't take new photos on it. Remove it immediately and follow our step-by-step SD card recovery guide. Your photos are almost certainly still there.

Read the full guide: How to Recover Deleted Files from an SD Card

iPhones: Encryption Makes It Impossible

iPhones are the hardest case we deal with. If you permanently deleted files (past the 30-day Recently Deleted window) and don't have an iCloud or iTunes backup, that data is gone. No lab, no software, no government agency is getting it back.

Two things kill you here. First, iPhones use TRIM on their internal NAND flash, so data blocks get physically erased the moment files are permanently deleted. Second, every file is individually encrypted with AES-256 via the Secure Enclave processor. Delete the file and its unique encryption key gets destroyed too. Even if TRIM somehow missed the blocks, whatever's left is scrambled beyond any possibility of decryption.

The saving grace is Apple's built-in safety nets. Recently Deleted gives you 30 days. iCloud Photos syncs to the cloud. iCloud Backup runs nightly. If your data exists in any of those places, you can get it back. Our iPhone guide walks through every legitimate recovery option. If your iPhone is locked out or showing "Unavailable," see our iPhone Unavailable guide instead.

Beware of scams. Any company or software that claims to recover permanently deleted data from an iPhone is lying to you. This includes "forensic" tools marketed to consumers. The iPhone's architecture makes it physically impossible. We explain exactly why in our detailed iPhone data recovery guide.

Read the full guide: Can You Recover Deleted Data from an iPhone?

What About Android Phones?

Android is a mixed bag. It ranges from "difficult" to "impossible" depending on the age and model.

Modern Android phones (2018 and newer): Most recent devices use file-based encryption and TRIM, just like iPhones. Samsung Galaxy, Google Pixel, OnePlus, all the major brands encrypt internal storage by default. Recovering permanently deleted files from these phones is extremely unlikely. Same reasons as iPhone: TRIM erases the blocks and encryption makes anything left unreadable.

Older Android phones (pre-2018): Some of these didn't have full-disk encryption on by default, and some didn't run TRIM as aggressively. In rare cases, "chip-off recovery" can work. That means physically removing the NAND flash chip from the phone's circuit board and reading it with specialized equipment. It's expensive, slow, and only works on unencrypted devices. But it's at least theoretically possible.

SD card in an Android phone: If your phone has a removable SD card and your files were stored on it (not internal storage), recovery is much more likely. SD cards don't use TRIM and aren't encrypted by default. Pull the card out, put it in a computer, and follow our SD card recovery guide.

Bottom line on Android: If your deleted files were on the phone's internal storage and the phone uses encryption (which almost all modern Androids do), recovery is virtually impossible. If the files were on a removable SD card, your chances are excellent. If you have a Google Photos backup or another cloud sync service, check there first.

What About NAS Devices and RAID Arrays?

NAS devices and RAID arrays are a different animal. Most consumer NAS units (Synology, QNAP, Western Digital) run traditional hard drives internally, which means deleted file recovery is often possible. The drives inside don't use TRIM, and data stays on the platters just like any other HDD.

Where it gets complicated is the array configuration. RAID 0, RAID 1, RAID 5, RAID 6, they all split data across multiple drives differently. Recovering deleted files from a RAID array means understanding the specific stripe size, parity layout, and drive order. This is almost always a professional job, not something consumer software can handle.

If you've deleted files from a NAS or had a RAID failure, contact our lab directly. We handle multi-drive recoveries regularly and can assess your setup.

The Universal Rule: Stop Using the Device

Warning to stop using a storage device immediately after data loss to prevent overwriting deleted files

For every device type where recovery is possible (hard drives, USB flash drives, SD cards), one rule matters more than anything: stop using the device immediately.

When you delete a file, the space it occupied gets marked as "available." The data's still there, but the device now considers that space fair game for new writes. Everything you do after deletion risks overwriting your files:

  • Saving a new file could overwrite deleted data
  • Installing recovery software TO the same drive could overwrite the files you're trying to recover
  • Even just browsing the internet writes temporary files to the drive
  • Windows and macOS constantly write log files, thumbnails, and temporary data in the background
The #1 mistake we see: Someone realizes files are missing, panics, and downloads recovery software to the same drive they're trying to recover. That installation could be writing directly over the deleted files. If you need recovery software, install it on a DIFFERENT drive and scan the affected drive as a target.

What to Do Right Now

1 Stop using the device

If it's an external drive, USB drive, or SD card: unplug it. If it's your computer's internal drive: shut down the computer. The less you use the device, the better your chances.

2 Don't save anything to the drive

Do not download files, install software, or do anything that writes data to the affected storage device. Every write operation is a potential overwrite of your deleted files.

3 Use a different device to research your options

Read this guide on your phone if the affected device is your computer. Read it on your computer if the affected device is an external drive. Keep the affected device powered off and disconnected.

4 Decide: software recovery or professional help

For simple deletions on healthy drives, recovery software often works. For drives that are clicking, beeping, not detected, or showing other physical symptoms, professional recovery is the safer choice. See the decision table below.

When to Try Software vs. Call a Professional

Not every situation needs a professional lab. Some are easy DIY fixes. Others need specialized equipment and a cleanroom. Here's how to tell the difference.

SituationRecommendationWhy
Accidentally deleted files from a healthy hard driveTry software firstRecovery software handles simple deletions well when the drive is working normally.
Deleted files from a USB flash driveTry software firstUSB drives are easy targets for recovery software. High success rates for simple deletions.
Formatted an SD card in your cameraTry software firstQuick-formatted SD cards have excellent recovery rates with free tools like PhotoRec.
Hard drive is clicking or beepingCall a professionalPhysical damage. Running it further causes more damage. Needs a cleanroom.
Drive not detected by computerCall a professionalCould be electronic or mechanical failure. Software can't help if the drive isn't visible.
Deleted files from an SSDProbably not recoverableTRIM has likely already erased the data. Software will find little to nothing.
Permanently deleted from iPhoneCheck backups onlyNo software or lab can recover permanently deleted iPhone data. Check iCloud and iTunes backups.
RAID or NAS failureCall a professionalMulti-drive configurations require specialized knowledge of RAID layouts and parity.
Drive was dropped or physically damagedCall a professionalPhysical impact can damage heads, platters, or electronics. Running it risks further damage.
When in doubt, call first. At MDrepairs, we offer diagnostics. We'll tell you honestly whether your situation is a DIY fix or whether it needs professional recovery. If it's something you can handle with software, we'll tell you that and save you the shipping cost. (732) 933-7717

Frequently Asked Questions

Can you recover deleted files from any device?

No. It depends on the storage type. Hard drives and USB flash drives usually allow recovery because they don't use TRIM, so deleted data stays on the medium. SSDs and iPhones use TRIM to physically erase data blocks after deletion, which makes recovery virtually impossible. SD cards are also highly recoverable since they don't use TRIM either. The question you need to ask: does my device use TRIM?

What is TRIM and why does it matter for data recovery?

TRIM tells a flash-based storage device to erase data blocks that aren't needed anymore. When you delete a file on a TRIM-enabled device, the storage controller wipes those blocks clean within seconds. Great for performance. Terrible for recovery, because the data is genuinely erased, not just "marked as available." Hard drives and USB flash drives don't use TRIM. SSDs, iPhones, and modern Android phones do.

Is it worth paying for data recovery software?

For hard drives, USB flash drives, and SD cards? Often, yes. Free tools like PhotoRec and TestDisk handle simple deletions well. Paid tools like R-Studio or Disk Drill offer better interfaces and more features. For SSDs and iPhones, don't waste your money. No software can recover data that TRIM already erased. Check our device-specific guides for recommendations: hard drives, USB drives, SD cards.

How much does professional data recovery cost?

Typically $300 to $1,500, depending on the device, severity, and how much data needs recovering. Logical recoveries (accidental deletion, formatting) cost less. Physical recoveries (clicking drives, water damage, head crashes) cost more because they require cleanroom work. At MDrepairs, we do diagnostics and work on a no-data-no-charge basis. You only pay if we actually get your files back. Full pricing breakdown here.

I deleted files from my external hard drive. Can I get them back?

Almost certainly, yes. If it's a traditional spinning hard drive (HDD) and you haven't saved a bunch of new stuff to it since the deletion, your data's probably still there. External hard drives don't use TRIM, so deleted data stays on the platters. Stop using the drive right now, then either try recovery software or send it to a professional lab. The sooner you act, the better.

Why can hard drive data be recovered but not SSD data?

Hard drives store data on spinning magnetic platters. Delete a file and the HDD just marks that space as available. The magnetic patterns representing your data stay on the platters until something physically overwrites them. SSDs are completely different. They store data on NAND flash chips and use TRIM to pre-erase blocks in the background. Delete a file from an SSD and the controller zeros out those blocks within seconds. The data isn't "marked" as deleted. It's genuinely wiped clean. Two totally different technologies, two totally different outcomes.

Can I recover photos I deleted from my phone?

Check your Recently Deleted folder first. Both iPhones and Android phones keep deleted photos for 30 days, and you can restore them instantly from there. Also check cloud services: iCloud Photos, Google Photos, Dropbox, whatever you use. If the photos aren't in any of those places, it comes down to your phone type. iPhone: not recoverable (encryption + TRIM). Android with a removable SD card: the SD card may be recoverable. Android internal storage: unlikely on any modern encrypted device.

What should I do first when I realize files are deleted?

Stop using the device. Right now. This is the single most important thing you can do. Every new write to the storage device risks overwriting your deleted files. Unplug external drives. Shut down the computer if it's an internal drive. Don't install recovery software on the affected drive. Use your phone or another computer to research your options, then follow the appropriate device-specific guide.

Not Sure If Your Files Are Recoverable?

Tell us what happened and what device you're dealing with. We'll give you an honest answer and a free quote. If it's a DIY fix, we'll tell you that too.

(732) 933-7717

Get a Free Quote

Lost your data?
We'll get it back.

Free quote in 24 hours. No data, no charge - and you'll see proof before you pay a dollar for recovery.

Live from the lab

Recent mail-in recoveries, nationwide

Real devices, real outcomes. Details generalized for customer privacy.

LABIN SESSION

Recovery in progress on the bench

Drives arrive from all 50 states

the queue moves every day

LABRECOVERY

Toshiba - Toshiba MQ01UBB200 - 2TB

recovered

Data recovered

LABINTAKE

Seagate hard drive 1TB

recovery requested

added to the engineer's queue

LABINTAKE➤ FROM MN

usb - Flip Camera

recovery requested

added to the engineer's queue

LABINTAKE

iPhone XR Water Damage Diagnostic

on the bench

currently being worked on

LABRECOVERY

iPad Pro A2014 Water Damage Diagnostic

recovered

Data recovered

LABINTAKE➤ FROM MD

sandisk - 256

recovery requested

added to the engineer's queue

LABRECOVERY

WD My Book Data Recovery

recovered

Data recovered

LABINTAKE➤ FROM NY

SanDisk - Cryzer Glide - 128GB

recovery requested

added to the engineer's queue

LABINTAKE

Play station 5

Fan wire came off board. overheating. Needs liquid metal.

added to the engineer's queue

LABINTAKE

Macbook Pro

Not turning on. No drop or water damage

added to the engineer's queue

LABRECOVERY➤ FROM MO

Apple - iPhone 16 Pro

I fell into a lake this past Sunday (6/14/26) and my phone (that is cr

Data recovered

LABINTAKE

PNY - CS900 SSD - 2TB

recovery requested

added to the engineer's queue

LABIN QUEUE

Next spot in the queue

Free UPS 2nd Day Air label, both ways

yours could be next