HD Doctor Logo

TRIM: What it is, how it works and why it matters

Direct answer

TRIM is an ATA command that tells the SSD controller which logical blocks are no longer used by the filesystem, allowing the controller to physically erase those cells in background.

Full definition

On SSDs, NAND cells must be erased before receiving new data (logical write is a 'write then erase' operation). Without TRIM, the SSD does not know which blocks are actually free, degrading performance and wear. With TRIM, the operating system (Windows, Linux, macOS) proactively tells the SSD it can erase cells matching user-deleted files. TRIM has a critical side effect in recovery: files deleted on TRIM-enabled SSDs physically disappear in minutes or hours, making deleted-file recovery virtually impossible on SSD. Backup is the only real protection on SSD.

Need to recover data or have a technical question?

Senior engineers in PT, EN and ES.

Related terms