sodcalculator

10 Tech How-To

Fix AirPods Not Working on Ubuntu

Guide 10-56413 · Updated · Step by step

If your AirPods connect but produce no sound, drop audio, or won’t pair on Ubuntu, the fix usually involves removing the Bluetooth cache, re-pairing with the correct profile, and adjusting the audio output settings. This guide walks through the most common causes and step-by-step solutions for Ubuntu 22.04 LTS and newer versions.

Why AirPods Have Issues on Ubuntu

AirPods are designed for Apple’s ecosystem, but they use standard Bluetooth protocols, so they can work with Linux. The problems stem from how Ubuntu’s Bluetooth stack (BlueZ) and audio server (PipeWire or PulseAudio) handle the AAC and HFP profiles that AirPods use. Unlike macOS, Ubuntu doesn’t have Apple’s proprietary handshake, so the connection relies on open-source implementations that sometimes misbehave after updates or when multiple devices are paired.

Before You Start: Check Basic Bluetooth

Make sure your system’s Bluetooth adapter is on and visible. Open Settings → Bluetooth and toggle it on. If you’ve used the AirPods with an iPhone recently, they may still be connected to that device—put them back in the case, close the lid for 10 seconds, then open it again to reset the connection. Also, ensure the AirPods are charged; low battery can cause intermittent drops.

Step-by-Step Fix: Re-Pair Your AirPods

The most reliable fix is a clean re-pair. This clears corrupted pairing data and forces Ubuntu to renegotiate the correct profile.

  1. Remove the AirPods from Ubuntu: go to Settings → Bluetooth, find your AirPods, click the gear icon, and select Forget Device.
  2. Reset your AirPods: put them in the case, close the lid, wait 30 seconds, then open the lid. On the back of the case, press and hold the setup button until the status light flashes amber, then white. For AirPods Max, hold the noise control button and the digital crown until the light flashes.
  3. On Ubuntu, click Add Device in Bluetooth settings and select your AirPods when they appear. If they don’t show up, try turning Bluetooth off and on again.
  4. Once paired, click the AirPods name and ensure the Audio profile is set to High Fidelity (A2DP) rather than Headset (HFP). The latter is for calls and can sound terrible.

If Audio Still Doesn’t Work: Switch the Output Profile

Sometimes the re-pair works, but the audio output remains on the laptop speakers. In that case, open the sound settings and manually select the AirPods.

  1. Click the speaker icon in the top-right system tray and select Sound Settings.
  2. Under Output, choose your AirPods. If they appear as two entries (e.g., “AirPods” and “AirPods – Headset”), pick the one labeled High Fidelity.
  3. If no output appears, try restarting the audio server with systemctl --user restart pipewire (for PipeWire) or pulseaudio -k (for PulseAudio).

Common Problems and Their Quick Fixes

  • AirPods connect but no sound: This is almost always the profile issue. Switch from HFP to A2DP in the sound settings or via bluetoothctl.
  • Audio stutters or cuts out: Interference from Wi-Fi or USB 3.0 ports can cause this. Move closer to the computer, and try disabling Wi-Fi temporarily to test.
  • Microphone doesn’t work: Ubuntu may default to the laptop mic. In sound settings, go to Input and select the AirPods. Note that using the mic forces the HFP profile, which lowers audio quality.
  • AirPods won’t pair at all: Delete the ~/.cache/bluetooth folder and restart Bluetooth with sudo systemctl restart bluetooth. Then re-pair.
  • Battery status not showing: Ubuntu doesn’t natively show AirPods battery. Install blueman or use upower -d in the terminal to see battery levels.

Advanced: Using PipeWire for Better Compatibility

Ubuntu 22.04 and later use PipeWire by default, which handles Bluetooth audio better than the old PulseAudio. If you’re on an older version, consider installing PipeWire. For AirPods specifically, you can tweak the Bluetooth codec by editing the PipeWire config file. Open /etc/pipewire/pipewire.conf and ensure the bluez5.enable-msbc and bluez5.enable-hw-volume options are set to true. This can improve call quality and volume control. After editing, restart PipeWire with systemctl --user restart pipewire.

Alternatives and Workarounds

If the AirPods still refuse to work, you have a few options:

  • Use a USB Bluetooth dongle: Some built-in Bluetooth chips have poor Linux support. A cheap dongle with a Realtek or Intel chip often works out of the box.
  • Try a different Bluetooth manager: Install blueman (sudo apt install blueman) which gives more control over pairing and profiles.
  • Use the AirPods with a phone for calls: If you only need them for calls, keep them paired to your phone and use a separate headset for the computer.
  • Switch to wired or other wireless headphones: If troubleshooting takes too long, any standard Bluetooth headset with A2DP support will work more reliably on Ubuntu.

Frequently Asked Questions

Why does my AirPods microphone sound terrible on Ubuntu?

When the microphone is active, Ubuntu switches to the HFP profile, which uses a low-quality narrowband codec. To get better mic quality, you can try enabling the mSBC codec in PipeWire config, but results vary. For most users, the mic is only usable for occasional calls, not for recording.

Can I use AirPods with Ubuntu 20.04?

Yes, but you may need to install PipeWire manually because 20.04 defaults to PulseAudio. Follow the official PipeWire installation guide for Ubuntu 20.04, then re-pair your AirPods. The steps above apply, but you’ll need to restart PulseAudio instead of PipeWire.

How do I check the battery level of my AirPods on Ubuntu?

Open a terminal and run upower -d. Look for the Bluetooth device section; it shows the battery percentage if the AirPods report it. Alternatively, install blueman and it displays battery info in the device properties.

Why do my AirPods keep disconnecting after a few minutes?

This is often due to power saving on the Bluetooth adapter. Disable Bluetooth power management with sudo systemctl disable bluetooth-autosuspend (if available) or set the adapter to never sleep via bluetoothctl. Also, check for interference from other wireless devices.

Is it possible to use AirPods Pro’s noise cancellation on Ubuntu?

No, noise cancellation is controlled by the AirPods hardware itself and works independently of the OS. However, you can toggle it by pressing and holding the stem on the AirPods Pro. Ubuntu doesn’t provide a software toggle.

Will a future Ubuntu update fix AirPods issues?

Possibly. BlueZ and PipeWire are actively developed, and each Ubuntu release improves Bluetooth compatibility. However, Apple doesn’t provide official Linux support, so issues may persist. Keeping your system updated is the best bet.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →