Learning how to enable TRIM on an SSD is one of the simplest ways to keep a solid state drive running at full speed for years. TRIM tells the drive which storage blocks are no longer needed, so it can clean them up in advance instead of scrambling during a write. This guide walks through checking TRIM status, turning it on, and fixing the most common issues that come up along the way.
Key Takeaways
- TRIM is a command that lets the operating system tell an SSD which data blocks are free, which keeps write speeds consistent over time.
- Most Windows 10 and 11 systems enable TRIM automatically on a standard SATA or NVMe SSD, but it is worth confirming rather than assuming.
- TRIM status can be checked and enabled in seconds using a single Command Prompt line, no third-party software required.
- RAID setups and some USB enclosures can block TRIM from reaching the drive, even when Windows reports it as active.
- macOS and Linux both support TRIM, though each handles the setting a little differently than Windows does.
Before You Start
This is a software adjustment, not a physical repair, so there is no need to open the case or handle any internal components. A few quick checks beforehand save time and avoid confusion later.
- Confirm the drive in question is actually a solid state drive. Mechanical hard drives do not use TRIM and never will.
- Log in with an administrator account, since the commands below require elevated permissions.
- Close any disk-intensive programs, such as backup tools or antivirus scans, so they do not interfere with the check.
- Note whether the drive is connected directly to the motherboard or through a RAID controller or USB enclosure, since this affects whether TRIM can pass through.
How to Enable TRIM on an SSD in Windows
Windows includes built-in support for TRIM, and in most fresh installations it is switched on without any user input. Still, imaging software, certain RAID drivers, or a migration from an old drive can sometimes leave it disabled. The steps below confirm the setting and correct it if needed.
Check the Current TRIM Status
- Step 1: Open the Start menu, type ‘cmd’, right-click Command Prompt, and choose ‘Run as administrator’.
- Step 2: Type fsutil behavior query DisableDeleteNotify and press Enter.
- Step 3: Read the result. A value of 0 means TRIM (DeleteNotify) is enabled. A value of 1 means it is disabled.

Turn TRIM On
- Step 1: In the same administrator Command Prompt window, type fsutil behavior set DisableDeleteNotify 0 and press Enter.
- Step 2: Confirm the change by running the query command from the previous section again. It should now return 0.
- Step 3: Restart the computer. This is not strictly required, but it lets any background services pick up the change cleanly.

Tip: There is no need to run the enable command if the query already returns 0. Enabling TRIM does nothing harmful when it is already active, but skipping unnecessary steps keeps the process simple.
Confirm TRIM Runs Automatically
- Step 1: Open the Start menu and search for ‘Defragment and Optimize Drives’.
- Step 2: Select the SSD from the list and check the ‘Media type’ column reads ‘Solid state drive’.
- Step 3: Click ‘Optimize’ to run TRIM manually right away, and check the ‘Scheduled optimization’ section to confirm it is set to run weekly.

Enabling TRIM on Other Operating Systems
macOS
Apple-branded SSDs installed at the factory have TRIM enabled automatically. Third-party SSDs installed later sometimes need it switched on manually through Terminal.
- Step 1: Open Terminal from Applications, then Utilities.
- Step 2: Type sudo trimforce enable and press Enter.
- Step 3: Enter the administrator password when prompted, then type ‘y’ to confirm and restart when asked.
Linux
Most Linux distributions support TRIM through either a scheduled service or a mount option, and periodic TRIM is generally the safer, better-tested choice.
- Step 1: Open a terminal window.
- Step 2: Type sudo systemctl enable –now fstrim.timer and press Enter to schedule TRIM to run automatically on a regular basis.
- Step 3: Run sudo fstrim -av at any time to trigger TRIM immediately and see which drives were trimmed.
Common Problems and Fixes
TRIM Shows Disabled Again After Enabling It
This usually points to the drive running in RAID mode rather than standard AHCI or NVMe mode, since some RAID controllers do not pass TRIM commands through to the SSD. Checking the storage controller mode in the motherboard’s BIOS or UEFI settings, and switching away from RAID where possible, typically resolves this.
The SSD Does Not Appear in Optimize Drives
If the drive is missing from the Optimize Drives list, or it is listed but not recognized as solid state, an outdated storage driver is often the cause. Updating the chipset and storage drivers through the motherboard manufacturer’s website usually corrects the media type detection.
TRIM Is Enabled But Performance Still Feels Slow
TRIM keeps write speeds steady, but it cannot fix a drive that is nearly full. Most SSDs need some free space, often cited as roughly 10 to 20 percent of total capacity, to have room for efficient garbage collection. Checking for an outdated firmware version on the manufacturer’s tool is also worth doing at this point.
TRIM Does Not Seem to Work on an External USB SSD
Many USB-to-SATA and USB-to-NVMe enclosures do not support passing TRIM commands through the bridge chip, even though the SSD itself fully supports it. This is a limitation of the enclosure hardware rather than a setting that can be changed in software, and there is no universal fix beyond using an enclosure known to support UASP and TRIM passthrough.
Frequently Asked Questions
What does TRIM actually do on an SSD?
TRIM tells the SSD’s controller which blocks of data are no longer in use after a file is deleted, so the drive can erase and prepare them ahead of time instead of doing that work during the next write, which keeps performance consistent.
Is TRIM enabled by default on Windows 11 and Windows 10?
Yes, in most standard installations Windows detects the solid state drive and enables TRIM automatically. It is still worth confirming with the fsutil command, since imaging software or a drive migration can occasionally leave it off.
How can I check if TRIM is enabled on my SSD?
Open an administrator Command Prompt and run fsutil behavior query DisableDeleteNotify. A result of 0 means TRIM is active, while a result of 1 means it is currently disabled.
Does TRIM work on external USB SSDs?
It depends on the enclosure. Some USB-to-SATA or USB-to-NVMe bridges support TRIM passthrough and some do not, so results vary by the specific external drive or enclosure being used.
Can enabling TRIM damage data or void a warranty?
Enabling TRIM through the standard operating system command is a normal, manufacturer-supported setting and does not damage data or affect warranty coverage.
Does TRIM work with RAID configurations?
Support varies by RAID controller. Some newer controllers pass TRIM commands through to member SSDs, while many older or consumer-grade RAID setups block it, which can gradually reduce SSD performance over time.
How often does Windows run TRIM automatically?
Windows schedules automatic optimization, which includes TRIM for SSDs, to run weekly by default through the Optimize Drives tool.
Do I need third-party software to enable TRIM?
No. TRIM can be checked and enabled entirely through built-in tools on Windows, macOS, and Linux without installing anything extra.
Does TRIM improve SSD speed immediately?
TRIM is a maintenance function rather than an instant speed boost. Its benefit shows up over time by preventing the gradual write slowdown that happens as an SSD fills up with data marked for deletion.
Is TRIM the same as defragmenting an SSD?
No. Defragmentation rearranges data on a mechanical hard drive to reduce seek time, which is unnecessary and potentially harmful on an SSD. TRIM instead manages free blocks at the flash memory level, and modern SSDs should never be defragmented in the traditional sense.