Enable Trim When Using A Third Party SSD On Your Mac

Check to see if Trim is enabled

What Is Trim?

The most succinct and clear definition of what Trim is (and does) I have found came from a CNet article written by Dong Ngo (June 20, 2016):

“TRIM allows the operating system to actively inform an SSD which blocks of data are no longer in use and can be wiped internally. This helps the drive work more efficiently and leads to faster performance and most importantly, longer lifespan. The bottom line is that, in order to prolong the life of your SSD, you need to make sure TRIM is running on your Mac.”

Apple must feel that Trim has value, as the program is enabled by default on all new Apple computers with SSD’s. If you are using El Capitan (10.11 or newer), Apple has included a Trim program for third party SSD’s.

How Do I know If Trim Is Already Enabled?

  1. Click the Apple icon at the top left corner of your screen.
  2. Click “About this Mac”.
  3. Click “System Report”.
  4. In the left column of options, under Hardware, click SATA/SATA Express.
  5. In the right and larger column, under the manufacturer’s name for the SSD, scroll down and find “Trim Support”.
  6. If you see a “Yes” next to “Trim Support”, then Trim is enabled (see image above)

How Do I enable Trim?

Note: Enabling Trim will work on most SSD’s; however, it may not work on yours. There is some risk of data loss here. Be sure to backup your drive before you enable Trim.

  1. From the Terminal, run sudo trimforce enable and press Enter.
  2. Type in the password for the account you are using, the press Enter.
  3. You next will see a screen telling you of the risks involved. To proceed, type y and press Enter.
  4. The System will notify you that it will reboot your computer, type y and Enter.
  5. Should you choose to disable trim, at the Terminal, type in the command: sudo trimforce disable and press Enter.

To learn more about trim with a video, click HERE.

To see how to install an SSD in an early 2008 iMac, click HERE.

By prometheus

Husband. Father. Grandfather. World class Geek.

Leave a comment

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.