Skip to main content

Fix Your Stuff

Right to Repair

Store

Introduction

Enabling TRIM after installing an SSD allows for better performance with the SSD in the long run.

⚠️ Warning with an APFS SSD, enabling Trim is not recommended

  1. Launch Terminal. You can either use Spotlight Search or navigate to "Applications / Utilities" and double click the Terminal icon to launch Terminal. You can either use Spotlight Search or navigate to "Applications / Utilities" and double click the Terminal icon to launch Terminal.
    • Launch Terminal.

    • You can either use Spotlight Search or navigate to "Applications / Utilities" and double click the Terminal icon to launch Terminal.

  2. In the Terminal insert the following command line: sudo trimforce enable
    • In the Terminal insert the following command line:

    • sudo trimforce enable

    • To disable TRIM, the command is as follows : sudo trimforce disable

    • Press the [return] key.

    • Enter your Mac's user password.

    • Your password will not be displayed, but it is there

  3. Press "y" and press the "return" key to accept. Press again "y" and press the "return" key to accept.
    • Press "y" and press the "return" key to accept.

    • Press again "y" and press the "return" key to accept.

    • Warning your computer will restart.

  4. Congratulations! TRIM support is enabled.
    • Congratulations! TRIM support is enabled.

Conclusion

Congratulations you have enabled TRIM support in macOS.

11 other people completed this guide.

Special thanks to these translators:

50%

These translators are helping us fix the world! Want to contribute?
Start translating ›

Anthony Fassler

Member since: 02/26/2015

5,166 Reputation

2 Guides authored

3 Comments

Merci pour ce petit tuto bien sympa. simplement (et je ne voudrais pas dire de bêtises) je crois que le trim sous mac os 11 (big sur) n’est plus possible

au sens ou s’il est activé il pose de Gros problemes au systeme.

jeff - Reply

Bonjour jeff,

J’ai fait ce tutoriel, il y a quelques années ou les SSD étaient installés avec une partition Mac extended. Depuis, il y a APFS qui est sortie et Trim est devenu obsolète, car APFS gère mieux les fichiers que Trim.

Donc, ça n’a rien à voir avec Big Sur, mais je vais tout de même rajouter une mention au tutoriel.

Anthony Fassler -

Je ne peux lui donner 30, il y a faute de français. Trim n’est pas activer, mais bien activé

Michel Lavallée - Reply

Add Comment

View Statistics:

Past 24 Hours: 33

Past 7 Days: 191

Past 30 Days: 1,000

All Time: 6,904