# Enable Bluetooth aptX and AAC Codec In Macbook Pro

[aptX](https://www.cnet.com/tech/mobile/aptx-everything-you-need-to-know-about-the-wireless-bluetooth-enhancement/) and [AAC](https://www.trustedreviews.com/explainer/what-is-aac-4256239) are both audio codecs for use over Bluetooth. Both deliver high-quality audio through audio compression. You can read up on the [differences here](http://www.differencebetween.net/technology/difference-between-aptx-and-aac/). I have enabled both codecs on Macbook Pro (13-inch, 2020, Two Thunderbolt 3 ports) running [Ventura](https://www.apple.com/my/macos/ventura/).

To enable aptX, issue the following command in the terminal:

```bash
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true
```

To enable AAC, issue the following command in the terminal:

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

Use this command to verify your configuration:

```bash
sudo defaults read bluetoothaudiod
```

You should see output similar to this:

![](https://cdn.hashnode.com/res/hashnode/image/upload/v1680147165793/d5df86e1-2cd9-4e72-8c8e-eec176642dcb.png align="center")

If you are scared of the terminal, you can check out a GUI way of doing it: [https://www.idownloadblog.com/2021/05/13/how-to-improve-bluetooth-audio-mac/](https://www.idownloadblog.com/2021/05/13/how-to-improve-bluetooth-audio-mac/).
