SSDs don't need defragmenting, but they do benefit from TRIM: a command that tells the drive which blocks no longer hold useful data, so it can clean them up in the background. Windows 11 handles this automatically through its Optimize Drives tool. The job for you is simply to make sure it's switched on and running, and to avoid "SSD optimiser" utilities that do more harm than good.
Forge PC hasn't tested anything for this guide. The steps follow Microsoft's support and command documentation, plus Dell's support article, all checked on 17 November 2026.
What "optimise" means for an SSD
Microsoft's support page explains that Windows defragments hard drives, reorganising files so they're easier to read, but SSDs are "trimmed": Windows tells the drive where it can safely do clean-up work when it isn't busy. Both are called optimisation in the tool, which is why the button says Optimize rather than Defragment.
Dell's support article is blunter: don't defragment an SSD. It says defragmenting an SSD isn't recommended and provides no performance benefit, and that Windows sends TRIM commands automatically instead.
Step 1: Check that TRIM is enabled
Right-click Start and open Terminal (Admin) or search for Command Prompt and choose Run as administrator.
Type: fsutil behavior query DisableDeleteNotify
Press Enter.
Microsoft's fsutil documentation explains the setting: delete notifications, "also known as trim or unmap", tell the storage device which clusters have been freed by a file deletion. DisableDeleteNotify = 0 means TRIM is on; 1 means it's off. You'll see separate lines for NTFS and ReFS.
If NTFS shows 1, you can turn TRIM back on with:
fsutil behavior set disabledeletenotify 0
Microsoft notes that some devices may see performance degradation with delete notifications on, which is why the off switch exists, but for a normal NVMe or SATA SSD you want it on.
Step 2: Check scheduled optimisation
Select the search box on the taskbar and type defrag.
Open Defragment and Optimize Drives.
Find your SSD in the list. It should be listed as a Solid state drive; Dell's article uses this to tell SSDs from hard drives.
Under Scheduled optimization, select Change settings.
Microsoft says Windows optimises drives once a week by default. You can change the schedule to daily, weekly or monthly, or turn it off. Leave it on, and make sure your SSDs are ticked in the drive list.
If a drive hasn't been optimised for a long time, the PC may simply be switched off when the scheduled task normally runs: Dell notes that Windows optimises on a schedule unless the computer is usually off at that time.
Step 3: Run a manual retrim (optional)
In Defragment and Optimize Drives, select your SSD and choose Optimize. For a solid state drive this sends TRIM, not a defrag.
Or use PowerShell as administrator. Microsoft's Optimize-Volume documentation gives this example, which re-sends TRIM requests for drive H:
Optimize-Volume -DriveLetter H -ReTrim -Verbose
Replace H with your SSD's drive letter. Microsoft says this is useful on SSD media.
What not to do
Don't run third-party defrag tools on an SSD. As Dell says, it brings no benefit.
Don't turn off TRIM to "save writes". It exists to help the drive manage free space.
Don't treat optimisation as a health check. To see wear and warnings, use our guide to checking SSD health, and keep your drive's firmware current with our SSD firmware update guide.
Other things that genuinely help
Our verdict
Windows 11 already optimises SSDs with TRIM, weekly by default. Check that fsutil behavior query DisableDeleteNotify returns 0 for NTFS, make sure scheduled optimisation is on in Defragment and Optimize Drives, and use Optimize or Optimize-Volume -ReTrim if you want to run it by hand. Never defragment an SSD with third-party tools. Forge PC hasn't tested anything for this guide.