Skip to content
Follow
Windows

How to Check, Turn On, or Turn Off TRIM for SSD Drives in Windows 11

Richard
Written by
Richard
Feb 10, 2026 Updated Sep 15, 2026 2 min read
How to Check, Turn On, or Turn Off TRIM for SSD Drives in Windows 11
How to Check, Turn On, or Turn Off TRIM for SSD Drives in Windows 11

TRIM is a background command in Windows 11 that erases deleted files from your solid-state drive (SSD) so the drive stays fast and lasts longer. Without TRIM, your PC slows down over time as you save and delete files.

Advertisement

Command Prompt (a text-based tool for running system commands) lets you check the current TRIM status or turn the feature on and off in less than a minute. Most modern Windows 11 PCs turn TRIM on by default, but you can verify it at any time.

⚡ Quick Answer

TRIM optimizes SSD performance and lifespan. To check, open Command Prompt as administrator and run ‘fsutil behavior query disabledeletenotify’. A result of 0 means TRIM is on; 1 means it’s off. To change it, use ‘fsutil behavior set disabledeletenotify 0’ to turn it on, or ‘1’ to turn it off.

Advertisement

What is TRIM and Why Does It Matter?

SSD TRIM Windows 11 is a system command that tells your Solid State Drive which blocks of data are empty and ready to be wiped clean. This command matters because it keeps your drive fast and stops it from wearing out too quickly, as it clears deleted files in the background before you need to write new data to those spots.

TRIM is a command that benefits Solid State Drives (SSDs) by managing data cleanup. SSDs need to erase old data before writing new data. TRIM performs this data cleanup in advance, helping maintain SSD speed and health. This TRIM function ensures optimal performance for your SSD.

When Should You Use TRIM?

  • Keep it ON: For everyday use, it’s best to keep TRIM enabled to keep your SSD working well and lasting longer.
  • Turn it OFF temporarily: If you accidentally deleted files and want to try recovering them, turning off TRIM temporarily might help because TRIM can erase deleted data quickly.

How to Check If TRIM is Enabled on Your SSD

  1. Press Win+X and choose Windows Terminal or Command Prompt.
  2. Type or copy-paste this command and press Enter:

    fsutil behavior query disabledeletenotify
  3. Look at the result:














    OutputWhat it Means
    DisableDeleteNotify = 0TRIM is ON (good!)
    DisableDeleteNotify = 1TRIM is OFF

Windows Terminal command output showing TRIM status check result
Windows Terminal command output showing TRIM status check result

How to Turn ON TRIM

📝Good to Know⚠️ ADMIN REQUIRED: You need to be an administrator (have admin rights) to do this.
Advertisement
  1. Right-click the Start button and select Windows Terminal (Admin).
  2. Copy and paste the command below and press Enter to turn on TRIM:

    fsutil behavior set disabledeletenotify 0
Command output displaying TRIM enabled on SSD drive
Command output displaying TRIM enabled on SSD drive

How to Turn OFF TRIM

⚠️WarningOnly turn off TRIM if you have a special reason, like trying to recover deleted files.
  1. Type this command and press Enter:

    fsutil behavior set disabledeletenotify 1
Command output displaying TRIM disabled on SSD drive
Command output displaying TRIM disabled on SSD drive

Summary

TRIM is a key feature that keeps your SSD performing well, and it's generally best to leave it turned on for everyday use in Windows 11.

Learn More

What is TRIM? (Wikipedia)

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

📚 Related Tutorials

How to Open Windows Terminal as Admin Automatically
Windows How to Open Windows Terminal as Admin Automatically
How to Create Virtual Desktops in Windows 11
Windows How to Create Virtual Desktops in Windows 11
Change Windows Terminal Startup Behavior in Windows 11
Windows Change Windows Terminal Startup Behavior in Windows 11
How to Open Windows Terminal as Admin Automatically
Windows How to Open Windows Terminal as Admin Automatically

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *