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

Popular Stories

iPadOS 26 App Windowing

Apple Explains Why iPads Don't Just Run macOS

Friday June 13, 2025 7:46 am PDT by
iPadOS 26 allows iPads to function much more like Macs, with a new app windowing system, a swipe-down menu bar at the top of the screen, and more. However, Apple has stopped short of allowing iPads to run macOS, and it has now explained why. In an interview this week with Swiss tech journalist Rafael Zeier, Apple's software engineering chief Craig Federighi said that iPadOS 26's new Mac-like ...
iphone 16 pro models 1

17 Reasons to Wait for the iPhone 17

Thursday June 12, 2025 8:58 am PDT by
Apple's iPhone development roadmap runs several years into the future and the company is continually working with suppliers on several successive iPhone models simultaneously, which is why we often get rumored features months ahead of launch. The iPhone 17 series is no different, and we already have a good idea of what to expect from Apple's 2025 smartphone lineup. If you skipped the iPhone...
Logitech Logo Feature

Logitech Announces Two New Accessories for WWDC

Friday June 13, 2025 7:22 am PDT by
Alongside WWDC this week, Logitech announced notable new accessories for the iPad and Apple Vision Pro. The Logitech Muse is a spatially-tracked stylus developed for use with the Apple Vision Pro. Introduced during the WWDC 2025 keynote address, Muse is intended to support the next generation of spatial computing workflows enabled by visionOS 26. The device incorporates six degrees of...
iOS 26 Screens

Here Are All the iOS 26 Features That Require iPhone 15 Pro or Newer

Thursday June 12, 2025 4:53 am PDT by
With iOS 26, Apple has introduced some major changes to the iPhone experience, headlined by the new Liquid Glass redesign that's available across all compatible devices. However, several of the update's features are exclusive to iPhone 15 Pro and iPhone 16 models, since they rely on Apple Intelligence. The following features are powered by on-device large language models and machine...
apple beta 26 lineup

Apple 'Sherlocked' These Apps at WWDC 2025

Wednesday June 11, 2025 7:14 am PDT by
Apple at WWDC previewed a bunch of new features coming in its updated operating systems, but certain changes will have been met with dismay by third-party developers who already offer apps with equivalent or similar features. In other words, their product has been "sherlocked" by Apple. When Apple creates an app or a feature that has functionality found in a third-party app, it is referred...
maxresdefault

Everything Apple Announced at WWDC 2025 in 10 Minutes

Monday June 9, 2025 5:21 pm PDT by
At today's WWDC 2025 keynote event, Apple unveiled a new design that will inform the next decade of iOS, iPadOS, and macOS development, so needless to say, it was a busy day. Apple also unveiled a ton of new features for the iPhone, an overhauled Spotlight interface for the Mac, and a ton of updates that make the iPad more like a Mac than ever before. Subscribe to the MacRumors YouTube channel ...
iOS 26 on Three iPhones

Hate iOS 26's Liquid Glass Design? Here's How to Tone It Down

Wednesday June 11, 2025 4:22 pm PDT by
iOS 26 features a whole new design material that Apple calls Liquid Glass, with a focus on transparency that lets the content on your display shine through the controls. If you're not a fan of the look, or are having trouble with readability, there is a step that you can take to make things more opaque without entirely losing out on the new look. Apple has multiple Accessibility options that ...
CarPlay Liquid Glass Dark

Apple to Let iPhone Users Watch Videos on CarPlay Screen While Parked

Thursday June 12, 2025 6:16 am PDT by
Apple this week announced that iPhone users will soon be able to watch videos right on the CarPlay screen in supported vehicles. iPhone users will be able to wirelessly stream videos to the CarPlay screen using AirPlay, according to Apple. For safety reasons, video playback will only be available when the vehicle is parked, to prevent distracted driving. The connected iPhone will be able to...