It also helps prolong the drive’s life and promote efficient operation.

This optimizes the write performance of an SSD by keeping more blocks of data free to be written to.

In this way, it prevents premature failure.

Generic SSD

APFS is optimized for use with SSD’s.Wladimir Bulgar / Getty Images

As such, Apple chose to use TRIM only on SSDs that it has certified.

A few third-party utilities can enable TRIM for non-Apple-supplied SSDs, including TRIM Enabler.

Should You Use TRIM?

About This Mac

Some early-generation SSDs had unusual implementations of the TRIM function that could lead to data corruption.

Always check the SSD manufacturer’s site for any firmware updates for your particular model.

check that you have abackup systemin place before enabling TRIM.

About this Mac.

Failures because of TRIM can involve large blocks of data being reset, causing non-recoverable file loss.

Is Your Mac Running TRIM Already?

If your SSD came installed on your Mac, TRIM is on by default.

macOS System Report

However, if you added an SSD later, it might not be.

Here’s how to check:

nudge the Apple icon in the top-left corner of your screen.

Go toHardware>SATA/SATA Express.

macOS SATA/SATA Express info

Scroll down toTRIM Support.

If the value is “yes,” you don’t need to turn it on.

If not, keep reading.

TRIM Support setting.

Enabling TRIM

To turn TRIM on:

OpenTerminal.

At the prompt, pop in

Pressenter.

pop in your password when prompted, and hitenter.

Typeyat the prompt to indicate you want to proceed, and pressenter.

Typeyagain at the prompt.

Your system will reboot.