SSDs are fast, but over time they can start to feel a little slower. One setting to check at that point is TRIM. Here is what TRIM is, and how to check whether it is turned on for your PC.

What TRIM is

TRIM is a command sent to an SSD. When you delete a file, the operating system uses TRIM to tell the SSD “this space is now empty.” Using that information, the SSD tidies up the empty space in advance, so it is ready to write new data. This cleanup work is called garbage collection.

Without TRIM, the SSD has to work out on its own which space is empty. With TRIM, it can skip that work. That means less work for the SSD, and it helps the drive’s lifespan too. Since Windows 7, TRIM has been turned on by default for most SSDs.

How to check whether TRIM is on

Checking is simple. Search for “Command Prompt” in the Start menu, right-click it, and choose “Run as administrator.” In the window that opens, type the command below and press Enter.

fsutil behavior query DisableDeleteNotify

If the result is DisableDeleteNotify = 0, TRIM is on. If it is 1, TRIM is off. On most PCs you will see 0. If you get 1, you can turn it on with the method below.

The fsutil TRIM check result
The result of checking with fsutil in an administrator Command Prompt. DisableDeleteNotify = 0 means TRIM is on.

How to turn TRIM on if it is off

In a Command Prompt opened as administrator, type the command below.

fsutil behavior set DisableDeleteNotify 0

The SSD itself does have to support TRIM, though. On an old SSD, or on a drive set up as RAID (a way of combining several disks into one), TRIM may not work properly.

Check the drive optimization schedule too

TRIM commands are normally sent to the SSD once a week, on a set schedule. Type “optimize” in the taskbar search box and “Defragment and Optimize Drives” appears. Select your drive there and you can see the date it was last optimized and when the next run is scheduled.

Under “Scheduled optimization” at the bottom, click “Change settings” to change the frequency. Changing it to daily is possible, but for most people the default weekly schedule is enough. Unless the drive is nearly full or you often delete large files, changing the frequency will not make a difference you can feel.

Related video: How to check, disable, enable TRIM support in Windows 11 — a video walkthrough of checking TRIM and turning it on.

Archmond’s take

TRIM is not so much a setting that “makes things faster when it is on” as one you check is already on. Most PCs already have it on, so today just run fsutil behavior query DisableDeleteNotify and check that you get a 0. If you do, you are done.

Source: This default Windows setting is making your SSD slower than it should be (How-To Geek)