Updated
How to Check if Bluetooth Is On in Shortcuts on iPhone and Mac
By Sindre Sorhus, who makes the Actions app
With Actions
- Install Actions, and open it once. On iPhone, allow it to use Bluetooth when it asks. The action does not work without this access.
- In your shortcut, add the “Is Bluetooth On” action of Actions. It has no options.
- Add an “If” action below it that checks if the result is true.
- Put the actions for when Bluetooth is on in the “If” part, and the other actions in the “Otherwise” part.
If the action says “No access to Bluetooth”, give the access in on iPhone, or turn on Actions in “System Settings Privacy & Security Bluetooth” on Mac.
Tips
- To check one device, use “Is Bluetooth Device Connected” with the identifier that “Get Bluetooth Devices” gives.
- To check if your AirPods play the audio of the iPhone, use “Get Audio Playback Destination”.
Get Actions
Additional actions for the Shortcuts app
Free
- Requires
- macOS, iOS, or visionOS 26 or later
- Privacy
- No personal data collected
- Updated
- June 2026
- US App Store rating
- 4.8/5 (703 ratings)
Without an app
On iPhone, the Shortcuts app can change Bluetooth, but it cannot read it:
- The “Set Bluetooth” action turns Bluetooth on or off. If your shortcut needs Bluetooth, add it with “On” before the actions that need it. This is often enough, as it does nothing when Bluetooth is already on.
- The “Bluetooth” automation runs a shortcut when a device that you choose connects or disconnects.
On Mac, a “Run Shell Script” action can read it with this command, which gives 1 when Bluetooth is on and 0 when it is off:
system_profiler SPBluetoothDataType | grep -c 'State: On' || true
A script needs “Allow Running Scripts”: choose click “Advanced”, and turn it on.
On iPhone, for a shortcut that must do one thing when Bluetooth is on and another when it is off, use the action of Actions.
