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

jb-net Avatar
83 months ago
Sadly, Apple doesn't seem to support aptX on iOS :(
Score: 8 Votes (Like | Disagree)
fitbunny Avatar
83 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)
levitynyc Avatar
83 months ago
iPhones don’t support APTX which blows.
Score: 5 Votes (Like | Disagree)
Lasermoon Avatar
47 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)
timmyh Avatar
83 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)
RedGala Avatar
83 months ago
Great article. This is what macrumors is all about.
Score: 4 Votes (Like | Disagree)

Popular Stories

iPhone SE 4 Vertical Camera Feature

iPhone SE 4 Rumored to Use Same Rear Chassis as iPhone 16

Friday July 19, 2024 7:16 am PDT by
Apple will adopt the same rear chassis manufacturing process for the iPhone SE 4 that it is using for the upcoming standard iPhone 16, claims a new rumor coming out of China. According to the Weibo-based leaker "Fixed Focus Digital," the backplate manufacturing process for the iPhone SE 4 is "exactly the same" as the standard model in Apple's upcoming iPhone 16 lineup, which is expected to...
iPhone 16 Pro Sizes Feature

iPhone 16 Series Is Just Two Months Away: Everything We Know

Monday July 15, 2024 4:44 am PDT by
Apple typically releases its new iPhone series around mid-September, which means we are about two months out from the launch of the iPhone 16. Like the iPhone 15 series, this year's lineup is expected to stick with four models – iPhone 16, iPhone 16 Plus, iPhone 16 Pro, and iPhone 16 Pro Max – although there are plenty of design differences and new features to take into account. To bring ...
iphone 14 lineup

Cellebrite Unable to Unlock iPhones on iOS 17.4 or Later, Leak Reveals

Thursday July 18, 2024 4:18 am PDT by
Israel-based mobile forensics company Cellebrite is unable to unlock iPhones running iOS 17.4 or later, according to leaked documents verified by 404 Media. The documents provide a rare glimpse into the capabilities of the company's mobile forensics tools and highlight the ongoing security improvements in Apple's latest devices. The leaked "Cellebrite iOS Support Matrix" obtained by 404 Media...
tinypod apple watch

TinyPod Turns Your Apple Watch Into an iPod

Wednesday July 17, 2024 3:18 pm PDT by
If you have an old Apple Watch and you're not sure what to do with it, a new product called TinyPod might be the answer. Priced at $79, the TinyPod is a silicone case with a built-in scroll wheel that houses the Apple Watch chassis. When an Apple Watch is placed inside the TinyPod, the click wheel on the case is able to be used to scroll through the Apple Watch interface. The feature works...
bsod

Crowdstrike Says Global IT Outage Impacting Windows PCs, But Mac and Linux Hosts Not Affected

Friday July 19, 2024 3:12 am PDT by
A widespread system failure is currently affecting numerous Windows devices globally, causing critical boot failures across various industries, including banks, rail networks, airlines, retailers, broadcasters, healthcare, and many more sectors. The issue, manifesting as a Blue Screen of Death (BSOD), is preventing computers from starting up properly and forcing them into continuous recovery...
New MacBook Pros Launching Tomorrow With These 4 New Features 2

M5 MacBook Models to Use New Compact Camera Module in 2025

Wednesday July 17, 2024 2:58 am PDT by
Apple in 2025 will take on a new compact camera module (CCM) supplier for future MacBook models powered by its next-generation M5 chip, according to Apple analyst Ming-Chi Kuo. Writing in his latest investor note on unny-opticals-2025-business-momentum-to-benefit-509819818c2a">Medium, Kuo said Apple will turn to Sunny Optical for the CCM in its M5 MacBooks. The Chinese optical lens company...