How to Enable TRIM For All SSDs in OS X Mavericks

How to Enable TRIM For All SSDs in OS X Mavericks

Ever since the release of OS X 10.6.8, Apple has been selectively enabling the TRIM command for SSDs in OS X. This support continues on in OS X Mavericks, but as many have noted, it only seems to work for Apple SSDs by default. We’ll show you how you can enable TRIM across the board.


What is TRIM?

The TRIM command is an important disk command for SSDs that keeps your flash memory appropriately cycled so that you can achieve faster read and write speeds, as well as a longer lifespan for your SSD. As such, TRIM support is not the trivial matter that some make it out to be (although certain manufacturers, such as Other World Computing, include firmware that eliminates the need for OS-level TRIM support).

How to Enable TRIM Via the OS X Terminal (Recommended)

In you have an SSD that supports TRIM, follow the below instructions to enable it in OS X Mavericks. Note: This involves the use of terminal commands, so proceed at your own risk.

First, enter the command found in this document in the Terminal app on your Mac (found in Applications/Utilities).

After entering this command, you’ll need to enter a second command:

sudo touch /System/Library/Extensions/

The above-linked document also contains some troubleshooting instructions, as well as details on how to disable TRIM support if necessary.

Using a Third Party Tool

If you don’t find success using the Terminal command to enable TRIM for your SSD, there are two third-party apps that can help you enable TRIM support. I recommend trying Chameleon SSD Optimizer first. If that doesn’t do the trick, you can try TRIM Enabler 3.0 or later for Mac. I don’t like to recommend third-party tools, as they often make system-level changes above and beyond those performed by the terminal command – and that may not be in your best interest long-term.

Verifying TRIM Support

To ensure that the command was successful, and that TRIM really is enabled on your SSD, click the Finder menu in the Menu bar, then navigate to About This Mac > More Info > System Report. Then, scroll to the SATA/SATA Express section, and select your SSD. You should see a section called TRIM


Note: In some cases, a restart may be required before TRIM shows as Enabled in the System Profiler. With Mavericks, not all SSDs will report TRIM support, but doing a benchmark both before and after the change should confirm that TRIM is functional.

Added Bonus: Thunderbolt TRIM Support!

As an added bonus in OS X Mountain Lion or later, including OS X Mavericks (I have not tested this in previous versions of OS X), raid can now also be enabled for SSDs hooked to your Mac through a Thunderbolt PCIe controller, such as the excellent Magma ExpressBox 3T!  For more info on these devices, check out our complete review roundup of Thunderbolt PCIe controllers – perfect for Apple’s 2013 Mac Pro!

If you’re looking for an SSD to use in your Mac, I recommend checking out the OCZ Vector or the Sandisk Extreme. Also, make sure to check out the full range of affordable SSDs available on Amazon!

For more helpful tips, check out our full collection of tutorials by visiting our How-To category!

  1. Kia Kamgar says:

    TRIM support is enabled on the MBPr 2013, I have one.

    1. Guest says:

      Apple SSD’s are automatically enabled.

  2. Craig says:

    What’s the mysteriously missing added bonus? My interested peaked seeing which products provide said bonus.

    1. readmore says:

      Keep using your ssd with out trim and you’ll find out sooner than later.

      Waiting to see your uneducated rants about how crap ssd technology is after that 😉

  3. Jia Yanwei says:

    sudo perl -pi -e ‘s|(x52x6Fx74x61x74x69x6Fx6Ex61x6Cx00).{9}(x00x51)|$1x00x00x00x00x00x00x00x00x00$2|sg’ /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage

    -bash: syntax error near unexpected token `.{9}’

    I found the error when excuted the command. any help or suggestion? thx.

    1. Bart says:

      I also get the same error message, has anyone found how to make it work?

      1. Someone trying to help says:

        after copy paste, sometimes the ” ‘ ” gets corrupted and ends up pasted as a accent sign, just manually delete it and write it again before executing

        1. Zoomie says:

          When the quotes are corrected, should Terminal require the admin password again as it did in step one?

          1. Pelayo says:

            Solved the issue for me, terminal does not ask for password.

  4. Bart says:

    I also get the same error message than Jia, has anyone found how to make it work?

  5. BRossow says:

    The Word doc attached to this post should be updated to remove the smart quotes in the perl command. (Thanks for trying to be helpful, Word!) In the meantime, if users replace the two curly quotes in the command with straight single quotes, it will work as expected.

  6. Kevin says:

    Didn’t work under OS X Yosemite…Same config: Samsung 840 Pro via Thunderbolt.

  7. owen says:

    The word document is no longer linked – could this be fixed please?

    I still have Mavericks and I’m in no hurry to update to 10.10 while TRIM on third party SSDs is not supported without kexts.

  8. evilplatypus says:

    I get the following error:

    [computername]$ sudo perl -pi -e ‘s|(x52x6Fx74x61x74x69x6Fx6Ex61x6Cx00).{9}(x00x51)|$1x00x00x00x00x00x00x00x00x00$2|sg’ /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage

    Can’t remove /System/Library/Extensions/IOAHCIFamily.kext/Contents/PlugIns/IOAHCIBlockStorage.kext/Contents/MacOS/IOAHCIBlockStorage: Operation not permitted, skipping file.

    1. backlyt says:


  9. Laborinjml says:

    dental ‘from hell’ charged with abusing guys in procedures

    Inna Kravchuk, Nicknamed one particular “noxious enamel fairy, Is in her own 30s combined with used to exert effort at a dental medical in Ukrainian center Rivne. acquire:

    In a subject matter that will your woman’s upcoming center nicknamed purely girls and boys, Kravchuk said: “the little request is to brew a place at which small children are likely to sense at ease. with plenty of light, ambiance, [url=]charmlive reviews[/url] vehicle toys along with delight,

    Inna Kravchuk, been through straight even though a surgical treatment in cctv photographs, gets denied your wrongdoing. origin:

    this wounderful woman has said a wrongdoing towards two situation outlined from inside the short clips, as well as employed a legal professional to defend their self.

    only diverse claimed incidents seem to have been served forth, in addition to one certainly where an women’s lip was most mischievously wounded by carrying out a the teeth removal.

    another aunt pronounced her child, five, got bruising the actual market the neck and throat and after that limbs throughout the time of dental treatment.

    Kravchuk’s numerous supervisor near the artist facility, Inna Pekarska, shown: “my friend developed and designed fineness now with co-worker and moreover patients, as well as,while, lamentably, began to lose patience in employing kids.

    “thats why we had to interrupt this popular co-operation with her.

    other types of totes alleged really are purchased frontward, not to mention one the place where a ladies top got unmanageably suffering a loss big butter jesus started dental removal. origin:

    “judging by the most recent functions coupled with feed back caused from more and more dads, the same principal lasting at this office, what kind ended in such type of outcome,I genuinely sympathise of mommies in whose girls and boys have tried such an adverse life experience,

    Kravchuk instances the videos do not demonstrate to the actual saga, and that also she will probably be target a war excessively by mouth operation in her own urban centre in which she will finally be Pekarska device.

  10. Marianojdo says:

    Salon gear retail offers safe, customizable hair salon merchandise at affordable charges. They imagine in creating the very best customer expertise as they are effectively aware of the fact that salon tools requires large investments. Shopping for salon equipment on-line is bound shot the most effective solution to get superb discounts. There may be a wide variety of tools out there on the salon’s website. Quality metrics. There’s certification put to these merchandise that go the quality management. They provide good high quality irons for curling and straightening. As a wholesaler, they provide good reductions for bulk purchases. When one decides to start out a salon, one should plan on what all services one want to supply and what equipments would improve the client expertise. By utilizing the decrease expense of doing on the internet business, creditors who’re proficient to give you a correctly secured on the internet loan are often capable of pass beside unimaginable interest levels to individuals of all credit scoring. The safety necessities for on the web creditors will generally fluctuate from one mortgage supplier to the next, however in lots of circumstances the commonest types of safety are these corresponding to dwelling worth that are super easy to work with as simply a matter of documentation.

    Before you’ll be able to implement for correctly unsecured personal loans, you might have to discover a mortgage provider who’s keen to issue the mortgage. Compare the quotations that you get, determining upon the one that symbolizes your top loan so that you’ll know which loan provider to implement with. If you’re considering applying for properly unsecured personal loans, you is perhaps thinking about how you’ll handle the safety that’s used to secure the loan and assurance repayment. As soon as you’ve applied for correctly unsecured personal loans, all that’s left is to get the actual mortgage money itself. The fee could be made through money on supply, debit/credit playing cards and checks. Most on the internet creditors give the obtained cash to mortgage individuals through digital resources trade, delivering the total amount straight to the customer’s pay or financial institution consideration. Instead of bills in individual, many on the internet creditors set up an automated set up [url=]russian women[/url] from confirm or bank consideration that they moved the mortgage to initially. This suggests that on a sure date of each month, the lending firm will take out the amount of the transaction straight from the consideration. Companies will develop steadily because you shift from the standard business dealings to a new paradigm.

    However with the advancement, all the processes on this business are becoming less complicated and simpler. With changing fashions and tendencies and technological developments, individuals are actually keen to experiment with their hair types. But now with the assistance of web, people can find places together with their costs, services provided in addition to described location will provide all the information whereas sitting of their homes. A superb relationship has by no means been, and will never be, constructed on lies and deceit. Everybody and their canine has relationship questions, and sometimes the answer individuals need is not readily available on the web. In this expertise driven period, everyone seems to be utilizing web so real property industry can also be taking advantages of these applied sciences. No matter what safety you end up utilizing to assurance your bad credit loans assured approval, it’s important that you just create certain the worth of the security is larger than the amount that you want to achieve entry to so as to extend your likelihood of acceptance while reducing the curiosity quantity that you’ll be charged. Registering for divorce utilizing the internet has grown to be very talked-about as it may be achieved confidentially and also shortly.

    Be Sincere About Your self As a member of one of the free web dating websites to discover a date, it is important that you current an trustworthy picture of who you’re and what you’re in search of in a date. Use of web has modified the overlook of the market, where in earlier occasions people loose so many alternatives simply because they don’t seem to be aware of these properties. They supply pre/put up set up providers with correct training on how to make use of the equipment. Scammers or cybercriminals are making use of all their tools to take benefit of the Covid-19 pandemic as individuals rely way more on mobile banking transactions and on-line procuring options. The net beauty salon tools contains dryers, hair straightener, hair-spa, and centres for hair colouring, shampoo stations (together with chairs, cabinets, bowls and models) and way more! Therefore, as salon homeowners of beauty salon equipment in a wholesale market need to put in tools that cater to completely different needs of the customers.

  11. compilation says:

    Major thankies for the blog article.Really thank you! Really Great.

  12. I am so grateful for your blog post.Much thanks again. Cool.

  13. Really appreciate you sharing this article post.Really thank you! Cool.

  14. Great, thanks for sharing this article post.Really thank you! Cool.

  15. Thank you for your blog article.Much thanks again. Fantastic.

  16. Appreciate you sharing, great blog post.Really thank you! Great.

  17. Thank you for your blog.Really thank you! Want more.

  18. Thanks a lot for the article post.Much thanks again. Keep writing.

  19. Say, you got a nice post.Really thank you! Keep writing.

  20. Thanks-a-mundo for the article.Thanks Again. Want more.

  21. More Help says:

    Im grateful for the blog. Really Cool.

Leave a Reply

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