My question is: How to natively enable TRIM in Sierra for a 3rd-party SSD?

A solution I found involves installing an "out of the App Store" app that will probably ask for admin credentials etc which I generally don't like.

Is there a native way in OS Sierra to enable TRIM ? Since many paid apps like the one I mentioned are just GUIs for basic BSD tools already in Sierra.

I'm all new to SSDs and just heard about TRIM and how it can help boost the life of your SSD etc.

Thanks !

  • sudo trimforce enable worked on El Capitan, not sure if it's possible with Sierra – enzo May 30 '17 at 14:34

Open a terminal window, then type sudo trimforce enable. Enter your password into the command line, trim will be turned on. Devices seen below will not work with TRIM commands. If you are unfamiliar with using the command line, I'd see the bottom of this post for guided images.

enter image description here

To enable trim, see below

enter image description here

enter image description here

| improve this answer | |
  • Thanks for your help ! I'm a bit worried about the "as-is" nature of the disclaimer. Is TRIM risky or reliable ? Or is it full experimentation ? Would it be better to use something like Trim Enabler ? : cindori.org/trimenabler – MFJC May 30 '17 at 14:47
  • Only fails on drives that are older... new drives should be fine. – bret7600 May 30 '17 at 14:51
  • But do you need TRIM anyway ? My SSD is recent I think, it's a Crucial MX300. – MFJC May 30 '17 at 18:09
  • 1
    The code you quote regarding trim support is from the linux kernel. git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git/… and isn't about ALL trim but specifically queued trim. Also it sounds like a lot of the Samsung issues were not actually samsung issues, but a kernel bug. forums.fedoraforum.org/… So not sure this list of "SSDs that don't work with TRIM" is really relevant for MacOS. – mattpr Jun 4 '18 at 8:19
  • 1
    AFAIK HFS+ doesn't issue queued TRIM commands, so as long as the drive isn't converted to APFS, that didn't really arrive until macOS 10.13 "High Sierra". – MiB Feb 4 '19 at 22:06

Not the answer you're looking for? Browse other questions tagged .