What defrag does — and why SSDs don't need it
On an HDD, files are physically scattered across spinning platters, and the read head burns real milliseconds chasing fragments; defragmentation rewrites files into contiguous runs, and on a heavily fragmented mechanical disk the improvement is genuinely felt. An SSD has no heads and no platters — every block is reachable in the same time, so file fragmentation costs it essentially nothing. Worse, defrag's constant rewriting eats write cycles: flash cells survive a finite number of erases, and a full defrag moves an entire disk's worth of data for zero benefit. Modern Windows knows this, which is why the Optimize Drives tool refuses to defragment an SSD by default.
TRIM solves a different problem. When you delete a file, Windows merely marks the space as free — the SSD doesn't know until it tries to write there and finds "dirty" blocks it must erase before writing. TRIM is the operating system telling the drive in advance which blocks are dead, so the controller's garbage collection erases them ahead of time and writes stay fast. Without periodic TRIM, SSD write speed degrades over months, especially on drives kept near full.
What Windows does automatically — and what the Optimize button means
Since Windows 8, the Optimize Drives scheduler runs roughly once a week and does the right thing per drive type — defrag for HDDs, a TRIM pass for SSDs — without asking you anything. The "Optimize" button in the same window does on demand whatever the schedule would do. You can verify TRIM is enabled with fsutil behavior query DisableDeleteNotify in a terminal: a zero means TRIM is on, which is the default on every modern install. A one-off traditional defrag of an SSD does happen in one narrow case — when System Restore snapshots are present and the volume is badly fragmented, Windows runs a single monthly pass so shadow copies don't balloon; that's by design, not a bug.
- Open "Defragment and Optimize Drives" and confirm the scheduled optimization is On for every drive, HDD and SSD alike
- Check TRIM status: fsutil behavior query DisableDeleteNotify should return 0
- Run Optimize manually only after deleting a huge amount of data, so TRIM reaches the freed blocks sooner
- Leave HDDs to the schedule; only a drive shown as more than about 10% fragmented needs a manual pass
- Ignore any third-party tool offering to "optimize" your SSD — Windows already performs the only optimization it needs
The myths that survive because they sell products
"Defragment your SSD to speed it up" is the zombie idea at the center of half the SSD utility market; the honest answer is that fragmentation is invisible to flash performance, and a defrag pass is pure wear. Daily "TRIM on demand" tools are equally pointless — TRIM is a notification, not a cleaning ritual, and the weekly schedule is already more than the drive needs. The one genuine performance trap for SSDs is running them above roughly 80–90% full, because the controller needs free blocks to keep write amplification low. Keep space in reserve, let the schedule run, and there is nothing left to optimize.
Questions and Answers
Should I defragment my SSD in Windows 11?
No — Windows detects SSDs and only sends them TRIM commands, which is exactly right. Manual defragmentation of an SSD adds wear with no performance gain.
What does the Optimize button do on an SSD?
It runs a TRIM pass (shown as RETRIM), telling the drive which deleted blocks it can erase ahead of time. It's safe, fast, and at most worth doing after deleting dozens of gigabytes.
Know what is included before you buy.
The one-time 30-minute trial covers core tools. PRO-labelled features stay locked until a paid license is activated.
Read next
Write to us: [email protected]