How to Reset the Bluetooth Module in macOS using Terminal

When Bluetooth Fails on macOS

Macs are generally incredibly reliable, but one of the most frustrating and common issues users face is a crashed Bluetooth module. Your Magic Keyboard may disconnect randomly, your AirPods might refuse to pair, or the Bluetooth toggle in the Control Center might become completely greyed out and unresponsive.

While restarting the entire computer usually fixes the issue, you don’t always have time to save all your work and reboot just to reconnect a mouse. Instead, you can use the macOS Terminal to forcefully restart the core Bluetooth daemon (bluetoothd) in the background without restarting the machine.

The Terminal Command to Reset Bluetooth

macOS relies on a background service called bluetoothd to handle all wireless peripheral connections. If this service hangs, your Bluetooth stops working. By killing the process, macOS will immediately recognize it has crashed and automatically spawn a fresh, healthy instance of the service.

  1. Open the Terminal application (you can find it in Applications > Utilities, or by searching Spotlight).
  2. Type the following command exactly as written:
sudo pkill bluetoothd
  1. Press Enter.
  2. Because you are using sudo (superuser do), the Terminal will prompt you for your Mac login password. When you type your password, the keystrokes will be invisible for security reasons. Just type it and press Enter again.

What Happens Next?

The moment you execute the command, your Mac’s Bluetooth radio will momentarily shut down. Any currently connected Bluetooth devices (like your mouse or headphones) will disconnect instantly.

Wait approximately 3 to 5 seconds. The macOS operating system will automatically restart the bluetoothd service in the background, power the Bluetooth radio back on, and your devices should automatically reconnect seamlessly.

This Terminal trick is the fastest, most effective way to solve the dreaded “Bluetooth not available” error without interrupting your workflow.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.