
How to Defrag and Optimize Drives in Windows 11
Defrag vs Optimize: What Is the Difference?
On traditional hard drives (HDD), defragmentation reorganizes scattered file fragments so the drive head does not have to jump around — making reads faster. On solid state drives (SSD), defragging is unnecessary and harmful. Windows 11 automatically runs the right operation for each drive type: defrag for HDDs, TRIM for SSDs.
How to Open Optimize Drives
- Search for Defragment and Optimize Drives in the Start Menu
- Select your drive and click Analyze to check fragmentation level
- If fragmentation is above 10%, click Optimize
Does Windows 11 Do This Automatically?
Yes. By default, Windows 11 runs scheduled optimization weekly. You can verify this in the Optimize Drives window — look for Scheduled optimization: On at the bottom. As long as this is enabled, you rarely need to run it manually.
When to Run It Manually
- If your HDD feels significantly slower than usual
- After copying or deleting very large amounts of files
- If the scheduled optimization was missed (PC was off)
SSD Health Check
For SSDs, the Optimize Drives tool shows the last time TRIM was run. TRIM tells the SSD which blocks of data are no longer in use so it can clean them efficiently — keeping write speeds fast. If it has not run in more than a week, click Optimize to run it manually.