With an old-fashioned hard drive, deleting a file doesn’t really erase it. The data stays on the disk until something new is written over it, which is why recovery software can often bring deleted files back days or even weeks later.

Solid-state drives (SSDs) work differently. On most modern computers, a file deleted from an SSD can become unrecoverable within minutes. The reason is a feature called TRIM.

Why SSDs need TRIM

SSDs store data in flash memory cells grouped into pages, and pages are grouped into larger blocks. Flash memory has an unusual limitation: it can write to an empty page, but it can’t overwrite a page that already has data in it. To reuse that space, the drive first has to erase the entire block it sits in.

Without help, an SSD doesn’t know which of its pages hold files you’ve deleted. Your operating system knows, because it keeps track of files, but the drive only sees raw data. So the drive would keep carefully preserving old data that nobody needs, and it would slow down as it filled up.

TRIM solves this. When you delete a file, your operating system sends a TRIM command telling the SSD: “these locations are no longer in use.” The drive can then clean them up in the background, a process called garbage collection, so it has fresh space ready for new writes. This keeps SSDs fast and extends their lifespan.

Why that makes deleted files so hard to recover

Once a location has been trimmed, two things work against recovery:

  • The drive stops returning the old data. On most modern SSDs, reading a trimmed location returns zeros right away, even before the memory is physically erased. Recovery software, and even a lab, asking the drive for that data simply gets back empty space.
  • Garbage collection erases it for good. The drive erases the underlying blocks on its own schedule, often within minutes, while the computer is idle. Once that happens, the data is gone.

That’s why the same recovery tool that works well on a hard drive often finds nothing, or only empty and corrupted files, on an SSD.

Is TRIM turned on on my computer?

Almost certainly, if the SSD is inside your computer:

  • Windows turns TRIM on automatically for internal SSDs and also runs a regular “Optimize Drives” pass that re-trims free space.
  • Mac: TRIM is on by default for Apple’s built-in SSDs.
  • Linux: many distributions trim free space on a schedule, usually weekly, or continuously if the drive is mounted with the discard option.

Formatting an SSD in Windows, even a “quick format”, usually trims the entire drive at once, which is why a formatted SSD is often much harder to recover than a formatted hard drive.

When deleted SSD data may still be recoverable

TRIM doesn’t always apply, so it’s not automatically hopeless. Your chances are better if:

  • The files are still in the Recycle Bin or Trash. Moving a file to the Recycle Bin doesn’t delete it. Check there first.
  • It’s an external SSD or USB drive. Many USB enclosures and adapters don’t pass TRIM commands through to the drive, so deleted data can survive longer.
  • TRIM is disabled or unsupported, for example on some older operating systems, some RAID setups and NAS devices, or older SSDs.
  • You stopped using the computer immediately and the drive hasn’t had idle time to run garbage collection.
  • The SSD failed physically rather than having files deleted. This is a completely different situation. When an SSD stops being recognized because of a controller, firmware, or electrical failure, the data is usually still on the memory chips and can often be recovered in a lab. See our SSD and flash data recovery service.

What to do right now if you deleted files from an SSD

  1. Check the Recycle Bin or Trash before anything else.
  2. Check your backups and cloud copies: Windows File History or restore points, Mac Time Machine, and OneDrive, iCloud, Google Drive or Dropbox. Many cloud services keep deleted files and previous versions for 30 days or more.
  3. If none of that works, shut the computer down instead of leaving it on or asleep, to reduce idle time for garbage collection.
  4. Don’t install recovery software on the same SSD. Writing new data only makes things worse. (More in Is It Safe to Use Data Recovery Software?)
  5. Contact a professional if the files are important. We’ll tell you honestly whether recovery is realistic before any work begins.

The real fix: backups

Because TRIM makes deleted SSD data disappear so quickly, backups matter even more on computers with SSDs. An automatic backup to an external drive plus a cloud copy means an accidental delete is a minor annoyance instead of a disaster.

Need help?

Whether you deleted files or your SSD stopped working entirely, we can evaluate it for free and tell you what’s possible. Start a recovery case or call us at 1-844-347-5522.