SSD TRIM: what it is and why it matters when you delete files
On a hard drive, a deleted file stays on the disk until something writes over it: that's why it can often be recovered. On an SSD things work differently, and the reason has a name: TRIM.

How it works
An SSD can't write over old data: it first has to erase the block holding it, and erasing is slow. To avoid slowing down, the SSD wants to know in advance which blocks are no longer needed.
When you delete a file, empty the Recycle Bin or format, the operating system sends the SSD the TRIM command with the list of freed blocks. The SSD marks them as empty and wipes them in the background. From then on, if recovery software reads those blocks, it finds only zeros.
What it means for your files
- Files deleted from an internal SSD with TRIM enabled: low chances of recovery, sometimes none after just a few minutes.
- Formatting an SSD: almost always unrecoverable.
- Reinstalling the system: many installers send TRIM over the whole disk.
- Failed SSD (not seen, frozen controller): TRIM has nothing to do with it, the data is often still in the memory chips. See SSD not detected.
If you've just deleted something from an SSD
- Check the Recycle Bin and previous versions: OneDrive, iCloud, Time Machine, File History.
- If there's nothing, switch the computer off straight away by holding the power button. TRIM and background cleaning happen while the SSD is powered.
- Don't install recovery software on the same SSD.
It isn't guaranteed to help, but it's the only move that can.
Where TRIM doesn't reach
- many external SSDs connected over USB with adapters that don't pass it through;
- USB sticks and SD cards, in most cases;
- some RAID arrays and special configurations.
In these cases the chances of recovery after a deletion are closer to those of a hard drive.
The lesson
On an SSD a backup isn't optional: it's the only way to undo a deletion. See the 3-2-1 rule and SSD or hard drive: which is safer.
Need a lab? Our SSD and NVMe data recovery service starts with a €49 diagnosis and courier pickup across Italy: book a pickup.



