Independent testing. We may earn a commission when you buy through links on this site. Learn more

SSD Data Recovery: Why TRIM Changes Everything

The rule that deleted files survive until overwritten does not reliably hold on an SSD. Understanding TRIM tells you whether recovery is worth attempting at all.

How we make money. We may earn a commission when you buy through links on this site. It never changes what we recommend or what you pay. Full disclosure · How we test

Almost every piece of data recovery advice you will read was written for spinning hard drives, and on an SSD a good portion of it is wrong. The rule that “deleted files stay on the disk until they are overwritten” — the rule the whole industry rests on — does not reliably hold on solid state storage.

The reason is a command called TRIM, and understanding it in about ninety seconds will tell you whether your recovery is worth attempting at all.

What TRIM does, and why it ruins your day

Flash memory cannot overwrite a block directly. It has to erase the block first, then write to it. Erasing is slow, so if the drive only erased blocks at the moment it needed them, your SSD would get slower and slower as it filled.

TRIM solves this by having the operating system tell the drive, immediately on deletion, “these blocks are no longer in use.” The SSD’s controller then erases them in the background, during idle time, so they are ready when needed. The performance benefit is real and large.

The cost to you is that on a TRIM-enabled SSD, deleted data can be physically zeroed within minutes of deletion, entirely by the drive’s own firmware, with no further action from you. There is nothing left for recovery software to find. Not “hard to find” — actually gone.

What this means practically

If you deleted files from a healthy internal SSD an hour ago and TRIM is enabled, the realistic chance of recovery is low. If you unplugged the machine within seconds of the deletion, it is meaningfully better. Speed matters enormously here in a way it never did with hard drives.

When SSD recovery does work

It is not hopeless. TRIM has several gaps, and your situation may fall into one.

External SSD over USB

Most USB-SATA bridges do not pass TRIM commands through. Data often survives.

Good odds
SSD in an older RAID array

Many hardware RAID controllers do not support TRIM. Deleted data persists.

Good odds
Formatted, not deleted

A quick format may not issue TRIM for the whole volume, depending on OS and file system.

Reasonable odds
Partition deleted or corrupted

The blocks are still marked in use, so TRIM never fired. Data is intact.

Good odds
Machine powered off immediately

TRIM runs during idle. Cutting power fast can beat it.

Depends on timing
Deleted files, drive still running

Background garbage collection has likely already erased the blocks.

Poor odds

The single most useful thing on that list: if the deletion happened on an external SSD, your odds are far better than the TRIM discussion suggests, because most USB enclosures simply do not forward the TRIM command to the drive.

Check whether TRIM is even on

On Windows, open Command Prompt as administrator and run:

fsutil behavior query DisableDeleteNotify

A result of DisableDeleteNotify = 0 means TRIM is enabled. = 1 means it is disabled, and your recovery odds just improved considerably.

On macOS, run system_profiler SPNVMeDataType | grep TRIM. Apple’s own SSDs always have it on. Third-party SSDs in older Macs sometimes do not.

If the data matters, power the machine down now

Not sleep. Not “after I finish this”. Shut it down. Every minute the drive spends idle and powered is a minute its controller spends garbage-collecting the blocks you want back. Then recover the drive from another machine, or boot from a live USB.

The tools that handle SSDs properly

Best overall

Disk Drill

Best overall recovery rate for regular people

PlatformsWindows, macOS
Distributed asFreemium
Free versionRecover up to 100 MB free
Price range$89 – $149
Best forAlmost everyone. Start here.
4.7/5
★★★★½
$89 – $149
Free DownloadVisit WebsiteFree scan & preview. See your files before you pay.

What we liked

  • Highest recovery rate of anything we ran through our test drives.
  • Rebuilds original file names and folder structure, not just raw blobs.
  • Deep RAW photo/video support — Canon CR2/CR3, Nikon NEF, Apple ProRes.
  • One licence covers both Windows and macOS.
  • Byte-to-byte disk imaging included free, which matters on a failing drive.

What annoyed us

  • Cannot repair already-corrupted photos or videos.
  • Free tier caps you at 100 MB of actual recovery.

Disk Drill’s advantage on SSDs is the same as everywhere else — the highest recovery rate on what remains — plus one specific feature that matters here. Its byte-for-byte imaging captures whatever is still readable in a single pass, before further garbage collection can run. Image first, then take your time analysing the image offline while the SSD sits unplugged.

Image and scan your SSD freeTake one clean copy before the controller erases anything else.
Get it free
Best for failing drives

Stellar Data Recovery

Strongest option when the drive itself is sick

PlatformsWindows, macOS
Distributed asFreemium
Free versionPreview free, 1 GB free on Windows
Price range$49.99 – $199
Best forClicking, RAW or unreadable drives.
4.1/5
★★★★☆
$49.99 – $199
Free DownloadVisit WebsiteFree scan & preview. See your files before you pay.

What we liked

  • Handles RAW and corrupted partitions better than most consumer tools.
  • Skips and logs bad sectors instead of hammering a dying drive.
  • Creates a drive image first, which is the correct order of operations.
  • The same company runs a physical cleanroom lab if software fails.

What annoyed us

  • Priciest tiers climb quickly once you want the pro features.
  • Interface feels more utilitarian than Disk Drill or EaseUS.

SSDs fail differently from hard drives — usually suddenly, and often by dropping into a read-only “panic” state or vanishing from the BIOS entirely. Stellar’s conservative approach and its bad-block handling give a better result on a drive that is degrading, and its imaging is solid.

For NVMe and RAID

R-Studio

What technicians reach for. Not for beginners.

PlatformsWindows, macOS, Linux
Distributed asFreemium
Free versionFree recovery of files under 1024 KB
Price range$49.99 – $899
Best forRAID arrays, NAS boxes, forensic work.
3.9/5
★★★½☆
$49.99 – $899
Free DownloadVisit WebsiteFree scan & preview. See your files before you pay.

What we liked

  • Rebuilds RAID 0/5/6 arrays virtually, including NAS volumes.
  • Hex editor and custom file signature definitions.
  • Works with professional imaging hardware like DeepSpar.
  • Windows, Mac and Linux file systems all supported natively.

What annoyed us

  • Steep learning curve — you can make things worse if careless.
  • Interface is dense and dated.

If the SSD is part of a RAID array or an NVMe volume with an unusual layout, R-Studio is the tool with the depth to reconstruct it. Difficult to use, but capable of things nothing else at this price is.

When the SSD has failed rather than lost files

This is where SSDs are genuinely worse than hard drives. A failing hard drive usually gives you warning — slow reads, SMART errors, noise — and degrades gradually enough that you can copy things off. An SSD frequently works perfectly and then, on the next boot, is not there at all.

The usual culprits are controller failure, a firmware bug, or the drive entering a locked read-only mode after exhausting its spare blocks. In the read-only case you are actually lucky: copy everything off immediately, because it will still read.

If the drive is not detected in BIOS at all, software cannot help. Lab recovery on SSDs is harder and more expensive than on hard drives, because the data is spread across NAND chips by a wear-levelling algorithm the manufacturer will not document. A lab has to reverse-engineer that mapping. Quotes of $700 to $2,000 are normal, and success rates are lower than for hard drives.

Two settings that will save you later

Enable BitLocker or FileVault, then keep a real backup — because a lab cannot recover an encrypted SSD without your key, which is a good thing right up until it is your drive. And check your SSD’s health every few months. CrystalDiskInfo on Windows or smartctl on Mac and Linux will show you percentage used and reallocated sector counts. SSDs give little warning, but they do give some.

Questions people actually ask


Can deleted files be recovered from an SSD?

Sometimes, but far less reliably than from a hard drive. If TRIM is enabled and the drive has been idle since the deletion, the blocks have likely been physically erased by the controller. Your odds are much better on external SSDs, on drives behind RAID controllers, and if you cut power immediately.


How quickly does TRIM erase deleted data?

It varies by controller and workload. The TRIM command is issued on deletion; the actual erase happens during background garbage collection, which can be seconds or hours later. Assume the worst and power down fast.


Should I disable TRIM to make recovery easier?

No. Disabling it degrades performance and shortens the drive’s life through increased write amplification. The correct protection against data loss is a backup, not a crippled SSD.


My SSD is not detected in BIOS. Can software recover it?

No. If the BIOS cannot see the drive, nothing running on the operating system can either. That is a controller or firmware failure, and it needs a specialist lab. Try a different SATA cable and port first, and on NVMe try a different M.2 slot, because those fail too.


Is SSD recovery more expensive than hard drive recovery?

Usually, yes. Labs have to reverse-engineer the drive’s proprietary wear-levelling map before the raw NAND data means anything. Expect $700–$2,000 versus $500–$1,500 for a mechanical hard drive, with a lower success rate.


My SSD suddenly became read-only. What now?

That is the drive protecting itself after exhausting its spare blocks, and it is the best bad news you can get. It will still read. Copy everything off immediately, right now, before doing anything else — then replace the drive. Do not attempt repairs first.


The short version

Power the machine down immediately — TRIM works against you every minute the drive stays idle and powered. Then check whether TRIM was even enabled, because if it was not, your odds are much better than this article’s opening suggests.

Image the drive with Disk Drill as a single first action, then analyse the image at your leisure. If the SSD is degrading or dropping out, Stellar handles unwell drives more carefully.

Download Disk Drill free

Did this get your files back?

Written by BV

BV founded UrRecover after losing a memory card full of wedding photos and discovering that most "best data recovery software" rankings were ordered by commission rate rather than results. He now buys the licences, breaks the drives, and publishes what actually got the files back.

Disk DrillFree scan — see your files first
Try free