How to Check and Enable TRIM for Your SSD

An SSD needs to have TRIM enabled to work efficiently.
Dong Ngo | Dong Knows Tech An SSD needs to have TRIM enabled to work efficiently.

TRIM is a command that helps, well, trim down the unnecessary writing to a solid-state drive (SSD) hence maximize its life span. Even an SSD of extreme endurance, like the Samsung 860 Pro, can become unreliable pretty fast with TRIM disabled. That said, here’s how you can check and enable TRIM on a Windows or a Mac computer.

RELATED: Everything you need to know about solid-state drives.

How to check TRIM on a Windows 10 computer

These steps can also apply to Windows 7 and 8.

All is good! TRIM is enabled.
Dong Ngo | Dong Knows Tech All is good! TRIM is enabled.
  1. Use Windows key + X keyboard shortcut (press and hold the Windows key then press on X). Alternatively, you can right-click on the Start button to bring up the Power User menu. Now select Windows Powershell (Admin). (On earlier versions of Windows, you can use the Command Prompt (Admin).
  2. Type in the following command into the Powershell window then press Enter.

fsutil behavior query DisableDeleteNotify

If the command returns 0 (zero), then you’re all good. Despite the fact you see “(Disabled),” TRIM is enabled on the computer, and there’s nothing else you have to do. If not, continue to the next step.

How to enable/disable TRIM on a Windows 10 computer

The command to disable and enable TRIM on a Windows computer.
Dong Ngo | Dong Knows Tech The command to disable and enable TRIM on a Windows computer.
  1. Use Windows key + X keyboard shortcut to bring up the Power User menu, select Windows Powershell (Admin).
  2. To enable TRIM, enter the following command in the Powershell window then press Enter:

fsutil behavior set DisableDeleteNotify 0

To disable TRIM (if somehow you want to do that), use the same command but substitute 0 with 1

fsutil behavior set DisableDeleteNotify 1

How to check TRIM on a Mac

These steps apply to most versions of MacOS.

If your Mac comes with an SSD, chances are TRIM is already enabled.
Dong Ngo | Dong Knows Tech If your Mac comes with an SSD, chances are TRIM is already enabled.
  1. Click on the Apple icon (top-right corner) then choose About This Mac.
  2. Click on System Report.
  3. On the left pane of the System Information window, under Hardware navigate to SATA/SATA Express (if you use a standard SATA SSD) or NVMExpress (if you use an NVMe SSD). It doesn’t hurt to check both sections.
  4. On the right pane, scroll down until you find TRIM SupportIf the value is Yes, then TRIM is running — you’re all good! Otherwise, go to the next step.

How to enable TRIM on a Mac

It’s important to note that TRIM on a Mac can be complicated and might not work the same for all SSDs. If your machine comes with an SSD, TRIM is automatically enabled (or disabled for a particular reason).

That said, you should check with your vendor to make sure an SSD supports your Mac before installing it on the machine, and then tread lightly with the next steps.

The command to enable TRIM on a Mac.
Dong Ngo | Dong Knows Tech The command to enable TRIM on a Mac.
  1. Run Terminal (you can search for it using Spotlight at the top right corner)
  2. Type in the following command and press enter:

sudo trimforce enable

You’ll need to enter the password (of your Mac account) and confirm that you want to enable TRIM. Answer those prompts affirmatively (again make sure your SSD supports the Mac). The machine will restart with TRIM enabled.

Found a typo? Please report by highlighting it and pressing Ctrl Enter Thank you! ❤️

READ NOW:  Everything You Need to Know about Home Wi-Fi
You might also like

3 thoughts on “How to Check and Enable TRIM for Your SSD”

  1. Windows? Mac? Yup. Run them both. But my Samsung 960 is in my Linux desktop PC. 7 of the home machines run Windows of all flavors, 2 run MacOS, & 12 run Linux (or BSD). It doesn’t have to be Windows OR Linux, I’m sure there’s many users like myself that run varying OS depending upon need. We’re out here. Linux may dominate the Web-server world, but there’s plenty of desktops out there running Linux, & for good reason. Each platform has it’s pluses & minuses, thinks it does better than the others, but for day to day stuff: Linux.

    Reply

Leave a comment below. (Subject to approval. No spam or profanity, please!)

Spelling error report

The following text will be sent to our editors: