Deleted a folder, emptied the trash, formatted the wrong drive. On a hard drive, that data sits there until something overwrites it, and recovery is routine. On an SSD, a feature called TRIM changes the picture completely, and most of what people know about undeleting files does not apply. This guide explains what TRIM does, when deleted data on an SSD can still be recovered, and what to do in the first minutes.
What TRIM does, and why SSDs need it
Flash memory cannot overwrite a block in place. Before new data can be written to a used block, the block has to be erased, and erasing is slow. Early SSDs got slower the fuller they became because every write waited for an erase. TRIM fixed that. When you delete a file, the operating system sends the SSD a list of blocks that no longer matter. The drive erases them in the background, during idle time, so that the next write finds clean blocks waiting.
The consequence is that deletion on an SSD is not a bookkeeping change. It is a scheduled physical erase. Once the erase runs, the block reads back as zeros, and there is no residual signal on flash memory to recover. No software, and no lab, can read a block that has been erased.
When deleted data on an SSD can still be recovered
| Situation | TRIM ran? | Recovery outlook |
|---|---|---|
| Internal SSD, Windows 7 or later, macOS, or Linux, drive left powered | Yes, usually within minutes | Poor. Sometimes fragments of large files. |
| Drive powered off immediately after the deletion | Maybe not yet | Fair. Worth imaging right away. |
| SSD in a USB enclosure or dock | Often not; many bridges do not pass TRIM | Good. Treat it like a hard drive. |
| SSD inside some hardware RAID arrays | Often not | Good. |
| Older operating systems or file systems without TRIM support | No | Good. |
| Full drive encryption with a lost key | Irrelevant | Not recoverable without the key. |
| The SSD failed or is not detected (not a deletion) | Not applicable | Usually recoverable. TRIM does not apply. |
The first minutes matter more than anything else
- Power off completely. Shut down, do not sleep or restart. On a laptop, hold the power button if you have to. A powered idle drive is exactly when TRIM runs.
- Do not install recovery software. Installing it writes to the drive, and running it keeps the drive powered and busy for hours.
- Do not empty or restore from the recycle bin, and do not undo the format. Every operation is another write and another TRIM.
- Get the drive imaged by a lab on a write-blocked imager. The image is then searched at leisure, and the original drive is never powered again.
On a hard drive, a quick format leaves every file in place and only rewrites the directory. On an SSD with TRIM, a quick format sends a TRIM command for the entire drive. The data is typically erased within minutes. If you have formatted the wrong SSD, power off now.
Deleted files versus a failed drive
Everything above applies to deletion on a working drive. A failing or dead SSD is a different situation and a far more hopeful one. When the controller fails, the firmware corrupts, or the drive stops being detected, nothing was marked for erasure, and the data is intact in the memory chips. That recovery is firmware repair or chip-level reading, and it succeeds in most cases. The warning signs of a failing SSD are covered in our guide to signs your SSD is failing, and the service itself on our SSD data recovery page.
Preventing the next one
- Turn on a versioned backup. File history on Windows, Time Machine on a Mac, or a cloud service with version history makes deletion a non-event.
- Keep the recycle bin large and empty it rarely. Files in the bin are not deleted and TRIM does not touch them.
- Label drives clearly before formatting anything, and unplug drives you are not formatting.
Frequently asked questions
Can deleted files be recovered from an SSD?
Sometimes, and far less often than from a hard drive. When TRIM is active, the SSD erases the blocks behind a deleted file within minutes to hours, and after that no software or lab can bring them back. Recovery is possible when TRIM did not run: the drive was in a USB enclosure that does not pass TRIM, the operating system or file system does not support it, the drive is part of certain RAID setups, or the drive was powered off immediately.
What is TRIM on an SSD?
TRIM is a command the operating system sends to tell the SSD which blocks no longer hold live data, for example after a file is deleted. The SSD can then erase those blocks in the background so future writes are fast. It is good for performance and bad for recovery, because the erasure happens whether or not you meant to delete the file.
How fast does TRIM erase deleted data?
Usually within minutes on a powered, idle drive, and almost always within a few hours. Some drives process it on the next idle period, some on a schedule, some immediately. The safe assumption is that a deleted file on a powered SSD is being erased right now.
Does TRIM affect recovery from a failed SSD?
No. TRIM only matters for files that were deleted on a working drive. If the SSD failed, stopped being detected, or corrupted its file system, the data was never marked for erasure and full recovery is usually possible.
Does formatting an SSD erase everything?
A quick format on a TRIM-enabled system sends TRIM for the whole drive, so yes, the data is typically gone within minutes. On a hard drive a quick format leaves the data in place. This is one of the biggest practical differences between the two.
I deleted files on my SSD. What should I do right now?
Power the computer off completely, not sleep, not restart. Every minute the drive is powered is a minute TRIM has to work. Then have the drive imaged by a lab before anything is written to it. If the drive was external, unplug it. The odds are honest but not high, and they only get worse with time.
Deleted or formatted an SSD by mistake?
Power it off now and send it in. We image first and search the image, so the drive is never powered again. Free evaluation, no data no fee.
SSD Data RecoveryContact Us



