How to Enable the Optimal Audio Codec for Your Bluetooth Headphones in macOS - MacRumors
Skip to Content

How to Enable the Optimal Audio Codec for Your Bluetooth Headphones in macOS

by

How good your digital music sounds often comes down to which file format it's encoded in. Be that as it may, every Mac audio setup is only as strong as it's weakest link, and if your Bluetooth connection isn't up to scratch, even the best BT headphones will fail to deliver a decent wireless listening experience.

By design, all Bluetooth devices support the low-power SBC audio compression codec as standard. Fortunately, modern Macs also support AAC (Apple's preferred iTunes codec) and aptX, which Android devices often use. These two codecs offer higher quality audio and generally lower latency than SBC, which is why most third-party wireless headphones on the market support one or the other, and sometimes both.

mac bluetooth audio codec aptx aac
Yet for whatever reason, despite their AAC/aptX support, some headphones fall back to the bog-standard SBC codec when connected to a Mac. This can lead to a particularly underwhelming audio experience, not to mention latency-related sync issues, which will be a distinct concern if you use your headphones while gaming or watching movies.

Thankfully, it's possible to force macOS to connect to your headphones using one of the two superior codecs. In this article, we'll show you how to do so using Apple's Bluetooth Explorer utility. (And if you're comfortable opening a Terminal window, we've included a couple of commands at the end that do the same thing.)

Bluetooth audio codecs
But first, it's worth checking which codecs your brand of headphones actually supports: Look for codec logos on the box, and make sure to check for references to codecs in the manual and any accompanying/online spec sheets.

Once you've established that your headphones support aptX and/or AAC, you'll want to identify which codec is being activated when you connect the headphones to your Mac. Follow these steps to find out.

How to Identify Which Bluetooth Codec is Active

  1. Establish a Bluetooth connection between your Mac and headphones in the normal manner.

  2. Play some audio on your Mac so that it's streaming to the headphones.

  3. Now hold down the Option (Alt) key and click on the Bluetooth symbol in the menu bar. (If you don't see it there, you need to check Show Bluetooth in menu bar in System Preferences -> Bluetooth.)

  4. Hover your mouse cursor over the headphones in the connection list. You should see the headphones' Active Codec shown in grey.
    active bluetooth codec macos

If your headphones are using AAC or aptX, you don't need to do anything. Without going into the technical details, both standards provide relatively stable wireless connections and – as far as Bluetooth goes – comparably decent sound quality. However, if the codec shown is SBC, you'll probably want to change it. Here's how.

How to Force-Enable aptX and AAC Codecs in macOS

  1. Open a web browser, navigate to Apple's developer downloads page, and download Additional Tools for Xcode 9 [Direct Link] which contains Apple's Bluetooth Explorer utility. Note that to access the page you'll need to register for a free Apple developer account if you don't already have one. Alternatively, use Google to find the Bluetooth Explorer utility hosted elsewhere and skip to step 5, but if you're not downloading from Apple, be sure to screen the file for malware.
    xcode developer tools

  2. Once downloaded, double-click the Additional Tools dmg file to mount it on your desktop.

  3. Open the Additional Tools drive and navigate to the Hardware folder.

  4. Open your Mac's Applications folder in another Finder window or tab.
    Bluetooth Explorer copy

  5. Drag Bluetooth Explorer into your Mac's Applications folder and launch the app from there.

  6. From the Bluetooth Explorer menu bar, select Tools -> Audio Options.

  7. In the Codecs section, tick the checkboxes alongside Enable AAC and/or Force use of aptX (depending on your issue). Make sure Disable AAC and Disable aptX are left unchecked.
    Bluetooth Utility codec enable

  8. Click Close to finish.

  9. Restart your Mac, or reset the Bluetooth module.

When your Mac reboots, you can confirm that the codec change has been applied by following the first series of steps in this article.

Terminal commands for enabling AAC and aptX Codecs

To enable aptX, input the following command, press Enter, and type your user password if prompted:
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true

Alternatively, to enable AAC, input the following and press Enter:
sudo defaults write bluetoothaudiod "Enable AAC codec" -bool true

To disable either codec via Terminal, simply replace -bool true with -bool false at the end of the command.

Top Rated Comments

113 months ago
What I always wanted to know is: when listening to iTunes music already encoded in AAC, will it pass-through or re-encode in AAC? Because you potentially loose the benefits of good compression if you recompress. This came to my mind when finding out about albums that sound bad because they are recompressed themselves.
I have read in multiple sources that all audio is reencoded to AAC whether it comes from itunes as AAC or not. However, all the sources say that this reencoding does not cause much of a quality loss because AAC as a codec is transparent even after 100 reencodings. I use beoplay e8 and the sound is the best I have ever listened to with Bluetooth headsets that I have used so far and I have used quite a few aptx headsets by Sennheiser. The only problem with the above tutorial is that the setting are lost when reconnect your beoplay e8. I used sudo and normal user to change the plist instead of using the gui and the settings seem to be saved now. here is the commands that I used:
defaults write bluetoothaudiod "Enable AAC codec" -bool true

defaults write bluetoothaudiod "AAC Bitrate" 320

sudo defaults write bluetoothaudiod "Enable AAC codec" -bool true

sudo defaults write bluetoothaudiod "AAC Bitrate" 320
Score: 8 Votes (Like | Disagree)
113 months ago
Sadly, Apple doesn't seem to support aptX on iOS :(
Score: 8 Votes (Like | Disagree)
113 months ago
iPhones don’t support APTX which blows.
Score: 5 Votes (Like | Disagree)
Lasermoon Avatar
77 months ago

Anyone know if there is a way to verify which codec us being used in big sur? The option click on blueooth does not bring up the codec option like it used to in previous versions of mac OS.
Yes. I had to use bluetooth explorer > Audio Graphs
Score: 4 Votes (Like | Disagree)
RedGala Avatar
113 months ago
Great article. This is what macrumors is all about.
Score: 4 Votes (Like | Disagree)
timmyh Avatar
113 months ago
Interesting! I suspect Apple’s own audio devices, such as AirPods, and all of their newer OSs, support AAC?
Correct!
Score: 4 Votes (Like | Disagree)

Popular Stories

apple pro tell logo

Apple Launches Two Products Today

Friday November 13, 2026 2:37 am PST by
Apple is releasing two new products today, Friday, November 13: the all-new Apple HomeView and the fourth-generation Apple TV 4K, both of which have been available to pre-order since mid-October. Apple HomeView: Apple's new smart home display, powered by Apple Intelligence with Siri AI, for entertainment and managing the home. Available in tabletop and wall-mounted models, it can recognize up...
johny srouji

Apple's Johny Srouji Eyed to Replace Nvidia CEO Jensen Huang

Thursday November 12, 2026 4:29 am PST by
Apple's chief hardware officer Johny Srouji is being considered as a potential successor to Nvidia CEO Jensen Huang as the chipmaker's board prepares to remove its co-founder, according to Semafor. Citing a person familiar with the matter, the publication identified Srouji as one of the people under consideration for Nvidia's top job. It is unclear if Srouji has yet been approached or...
Apple iPhone Duo Early Feature

Apple Continues to Move Up iPhone Duo Delivery Dates

Thursday November 12, 2026 12:28 pm PST by
It's a Christmas miracle: some customers who ordered the iPhone Duo through Apple and received an estimated January 25 delivery date saw their delivery windows move up to December 14 to December 21 today, according to comments posted in the MacRumors Forums and on X. A few customers have even seen their delivery date move from January 25 to December 12 to December 14. Apple's online store...
Latest Stories
Apple Black Friday Starts Early: Save on Apple Watch, MacBook Air, and More
Apple Black Friday Starts Early: Save on Apple Watch, MacBook Air, and More
20 hours ago
Top Stories: Apple's New Software Approach, iPhone Duo-Optimized Apps, and More
Top Stories: Apple's New Software Approach, iPhone Duo-Optimized Apps, and More
22 hours ago
HomeView Tidbits: Mirror, Sleep Timer, and Other Details
HomeView Tidbits: Mirror, Sleep Timer, and Other Details
2 days ago
Siri AI Still Not Enabled on HomePod Mini 2 With Latest Software Update
Siri AI Still Not Enabled on HomePod Mini 2 With Latest Software Update
2 days ago
Apple Releases tvOS 27.2.1 With Siri AI for Older Apple TVs
Apple Releases tvOS 27.2.1 With Siri AI for Older Apple TVs
2 days ago
Microsoft 365 Outage Resolving After Nearly 24 Hours
Microsoft 365 Outage Resolving After Nearly 24 Hours
2 days ago
iPhone Duo Survives 450,000 Folds, but Hinge is Weakening
iPhone Duo Survives 450,000 Folds, but Hinge is Weakening
2 days ago
Apple TV 4K Launch Day Deal Arrives at Amazon
Apple TV 4K Launch Day Deal Arrives at Amazon
2 days ago
The MacRumors Show: HomeView and Apple TV 4K First Impressions
The MacRumors Show: HomeView and Apple TV 4K First Impressions
2 days ago
YouTube App Not Working on Your New Apple TV? Here's the Fix
YouTube App Not Working on Your New Apple TV? Here's the Fix
2 days ago
Apple Meets Thai Officials Over iPhone Spyware Warnings
Apple Meets Thai Officials Over iPhone Spyware Warnings
2 days ago
Apple Shares HomeView 27.2 Release Notes With List of Features
Apple Shares HomeView 27.2 Release Notes With List of Features
2 days ago
HomeView in Québec: Apple Says Canadian French Support to Arrive in Software Update
HomeView in Québec: Apple Says Canadian French Support to Arrive in Software Update
2 days ago
Apple Watch Ultra 3 Gets Big $250 Discounts Ahead of Black Friday
Apple Watch Ultra 3 Gets Big $250 Discounts Ahead of Black Friday
2 days ago
Apple Says HomeView Sets New Record in Design-Focused Interview
Apple Says HomeView Sets New Record in Design-Focused Interview
2 days ago
Best Apple Deals of the Week: AirTag 2 Hits Record Low Price, Plus Early Black Friday Sales
Best Apple Deals of the Week: AirTag 2 Hits Record Low Price, Plus Early Black Friday Sales
2 days ago
iPhone 18 and 18e Coming in Spring 2027 With A20 Chip
iPhone 18 and 18e Coming in Spring 2027 With A20 Chip
2 days ago
King Charles to Join Elton John's Apple Music Radio Show
King Charles to Join Elton John's Apple Music Radio Show
2 days ago
Select 'Apple Home Collection' Accessories Now Available to Order
Select 'Apple Home Collection' Accessories Now Available to Order
2 days ago
Major Microsoft 365 Outage Continues
Major Microsoft 365 Outage Continues
2 days ago
Apple Launches Two Products Today
Apple Launches Two Products Today
2 days ago
Hands-On With the New Apple TV 4K and Siri AI
Hands-On With the New Apple TV 4K and Siri AI
2 days ago
Siri AI Coming to Older Apple TV 4K Models in tvOS 27.2.1
Siri AI Coming to Older Apple TV 4K Models in tvOS 27.2.1
3 days ago
HomeView Launch Kicks Off as First Orders Reach Customers
HomeView Launch Kicks Off as First Orders Reach Customers
3 days ago
Apple Continues to Move Up iPhone Duo Delivery Dates
Apple Continues to Move Up iPhone Duo Delivery Dates
3 days ago
Apple Explains How HomeView Keeps Camera Data Private
Apple Explains How HomeView Keeps Camera Data Private
3 days ago
Apple Releases Updated HomeView Software 27.2 Before Launch
Apple Releases Updated HomeView Software 27.2 Before Launch
3 days ago
Apple Adds Samsung Foldables to Trade-In Program
Apple Adds Samsung Foldables to Trade-In Program
3 days ago
Apple Sports App Now Features UFC
Apple Sports App Now Features UFC
3 days ago
Trump Says Tim Cook Should Be Nvidia CEO as Jensen Huang Resigns
Trump Says Tim Cook Should Be Nvidia CEO as Jensen Huang Resigns
3 days ago