Skip to content
Essential Data Recovery

SSD TRIM: why deleted files are harder to get back

TRIM is a note Windows sends an SSD when a file is deleted, telling the drive the space is free to be purged. Microsoft documents trimmed areas as permanently removed, so deleted files are usually beyond recovery software on a trimmed SSD. On spinning hard drives the data lingers until overwritten, so speed still matters.

Written by Essential Data RecoveryPublished 2026-09-13Owner-reviewedRevision 1
A slim bare solid state drive resting on folded cream linen beside a small sprig of rosemary on pale oak wood

If you have deleted a file from a solid state drive (SSD), the odds of getting it back with software are usually worse than they would be on an older spinning hard drive. The reason is a feature called TRIM, which Microsoft documents as the computer telling the drive that areas of storage are no longer needed and can be purged. This article explains what TRIM does, why it makes deleted files harder to recover, and what that means for what you do next.[1]

What TRIM is, in plain terms

TRIM is a note the computer sends to an SSD listing parts of the drive it no longer needs. The drive is then free to forget what was stored there and reuse the space. Deleting a file is what sends the note; what the drive does next is up to the drive, because Microsoft defines TRIM as a hint rather than an instruction with a guaranteed, timed result.[1]

SSDs need this because of how flash memory works. Microsoft describes SSDs as typically block-erased devices: data cannot simply be overwritten in place, so the drive writes new data elsewhere and tidies up (garbage collection) later. Without TRIM the drive has no way of knowing which blocks held files that have since been deleted, because deleting a file changes the file system's records rather than touching the file's actual data.[1]

On Windows this happens as part of ordinary use, not as a separate chore. Microsoft states that NTFS sends the TRIM command for some normal inline operations such as deleting a file, and that on NTFS trim is enabled by default unless an administrator has turned it off. So on a typical Windows PC with an internal SSD, the note goes out at or very shortly after the moment of deletion, not days later when you run a cleanup tool.[2][1]

Why a spinning hard drive is different

A hard drive has no equivalent tidy-up to do, and deletion there only changes the file system's records. The file's bytes stay on the platters until the drive reuses that space for something else, which is why recovery software can often still find them, and why the standard advice on a hard drive is to stop using it and act quickly: every new thing written to the disk risks sitting on top of the data you want back.[1]

What actually happens when you delete a file

What TRIM does to the odds

On a trimmed SSD the same scan usually finds nothing, because the drive has been told that data is no longer needed. Microsoft's own guidance to developers is blunt about the consequence: extents passed down as TRIM "will be permanently removed from the storage media". The drive does not promise to hold the data safe until some later date; as far as it is concerned, that space is spare.[1]

If the file was on an SSD that received a trim, a long recovery scan is unlikely to bring it back, and installing recovery software onto that same drive cannot help. The more useful moves are to stop using the drive, and to look for copies that still exist elsewhere: backups, sync folders, email attachments, a version sent to someone. On a spinning hard drive the position is different, so if that is what you have, speed genuinely matters.[2][1]

Deleted files: first steps

When deleted files can still come back

None of this means recovery is always hopeless. Trim only reaches devices that report support for it: Microsoft notes that a drive or storage system which does not report trim support gets no trim notifications at all, so a deleted file can still be intact on a drive that never received the note. TRIM and its SCSI cousin Unmap are also defined broadly, and how any given device acts on the hint is its own business. A read-only scan is a reasonable thing to try, provided it writes nothing back to the drive.[1][2]

A different problem: the SSD itself has disappeared from the BIOS

Everything above is Microsoft's documentation for Windows. We are not citing Apple or Linux documentation here, so take this article as a plain explanation of the Windows mechanism and of the general principle behind it: once the trim note has reached the drive, deleted files get much harder to get back.[1]

Not sure whether your drive is an SSD or a hard drive, or which of these situations you are in? Guided help asks a few plain questions and points you at the right guide.

Not sure? Try guided help

Sources

Facts on this page are cited to the publishers’ own documentation.

  1. [1] MicrosoftNew API allows apps to send TRIM and unmap hints. captured 2026-09-12.
  2. [2] Microsoftfsutil behavior (Windows command reference). captured 2026-09-12.

Something wrong or outdated on this page? Report a correction. We publish what we fix.

Need the steps rather than the background? The guides walk through each situation, and guided help points you at the right one.