Share this article

Improve this guide

How to Enable or Disable TRIM on Windows 11

Inject more life into your SSD with this simple command

3 min. read

Updated onFebruary 5, 2024

updated onFebruary 5, 2024

Share this article

Improve this guide

Read our disclosure page to find out how can you help Windows Report sustain the editorial teamRead more

Key notes

Using an SSD drive leaves you in constant fear of losing your data and being unable to recover it.  However, Windows allows you to achieve optimal performance by executing a TRIM command that writes only the necessary data without managing old data blocks.

For this to work, you need to ensure that your SSD supports TRIM and that it is enabled in your operating system.

How do I check if TRIM is enabled?

The TRIM feature is usually enabled by default in modern SSDs. But to make sure this checks out, you can run a command with administrative privileges.

Simply open an elevated Command Prompt, run thefsutil behavior query DisableDeleteNotifycommand, and your SSDs will be listed. 0 means it’s enabled and 1 disabled.

How do I turn on TRIM in Windows 11?

How do I turn on TRIM in Windows 11?

By using the Command Prompt

How do I disable TRIM in Windows 11?

While enabling TRIM can expand the lifetime of your SSD, sometimes older hardware tends to experienceslow boot timesbecause of this feature.

In such cases, it is best to disable TRIM. Reverse-engineer the above steps and replace the value data with 1.

How do I improve my SSD performance in Windows 11?

Solid State Drives are extremely fast but not immune to the same issues as hard drives. Unfortunately, they have a finite number of reads and writes before they wear out. In fact, they can get much worse performance degradation over time if they aren’t maintained properly.

You can squeeze more life out of them by optimizing them using the above tips. As a rule of thumb, enabling TRIM is always a good idea, as it is an essential feature to ensure your SSD operates at its optimal speed and life expectancy.

After all, you want your SSD to last as long as possible before you’re forced to upgrade. Hopefully, these pointers helped to get TRIM working on your drive. And if you’re wonderinghow frequently you should perform TRIM, we have the answer.

If you have any additional questions, please feel free to ask in the comment section.

More about the topics:SSD,Windows 11

Claire Moraa

Windows Software Expert

Claire has a knack for solving problems and improving the quality of life for those around her. She’s driven by rationality, curiosity, and simplicity, and always eager to learn more about Microsoft’s products. With a background in teaching and reviewing, she breaks down complex topics into easily understandable articles, focusing mostly on Windows 11, errors, and software.

User forum

0 messages

Sort by:LatestOldestMost Votes

Comment*

Name*

Email*

Commenting as.Not you?

Save information for future comments

Comment

Δ

Claire Moraa

Windows Software Expert

With a background in teaching and reviewing, she breaks down complex topics into easily understandable articles, focusing mostly on Windows 11 errors.

Reviewed byAlex Serban