Mac Media Tips

When Your Mac Media Keys Ignore Spotify

By the Echo team · 18 June 2026 · 5 min read

Your Mac play/pause key should just work with Spotify. When it does not, the culprit is almost always another app or browser tab that has quietly stolen media focus. Here is why that happens and how to fix it in under a minute.

You hit the play/pause key on your keyboard. Nothing happens in Spotify. Or worse, Apple Music launches instead. It is one of those small Mac annoyances that feels like it should not be possible, yet it catches people out regularly.

The good news is that the cause is almost always the same thing, and the fix takes seconds once you know where to look.

Why Do Mac Media Keys Lose Track of Spotify?

macOS routes media key presses to whichever app most recently had media 'focus'. That focus shifts whenever another app starts playing audio, or in some cases simply when another media-capable app becomes active. Three things tend to cause the problem:

1. Apple Music Is Running in the Background

Apple Music registers itself as a media key handler at launch. Even if it is not playing anything, it can intercept the play/pause key and start playing your library instead of handing control to Spotify. This is the most common cause.

2. A Browser Tab Started Playing Audio

A YouTube video, a podcast site, or even an auto-playing advert in a background tab can grab media focus away from Spotify. Once a browser tab plays audio, the browser may claim the media keys on its behalf, and Spotify stops responding.

3. A Third-Party Utility Is Intercepting the Keys

Apps that remap or extend the keyboard, media-key utilities, or certain launcher tools can sit between your keypress and Spotify, absorbing the signal before it arrives.

How macOS decides which app gets the keys

There is no system setting that lets you pin media keys to a specific app. macOS uses a 'last active media player' heuristic. The app that most recently played or paused audio is the one that responds. That means any audio activity in another app can silently take over.

How to Fix It: a Step-by-Step Checklist

  1. Quit Apple Music entirely. Do not just close the window. Go to the menu bar, right-click the Apple Music dock icon, and choose Quit. Then press play/pause again in Spotify. This resolves the problem for the majority of people.
  2. Check your browser tabs for audio. Look for the speaker icon on any open tab. Pause or close any tab that is playing audio. In most browsers you can right-click a tab and choose 'Mute Tab' as a quick measure. Once no browser tab is playing, click play inside Spotify manually once to hand focus back to it.
  3. Play something in Spotify first. Because macOS uses the last-active heuristic, clicking play inside Spotify directly (not via the keyboard) resets focus to Spotify. After that, your media keys should work again for that session.
  4. Check for keyboard remapping utilities. If you use an app that customises function keys or rebinds keys, check its settings for any rule that intercepts the media keys. Temporarily quitting the utility is the quickest way to confirm whether it is the cause.
  5. Restart Spotify. Occasionally Spotify itself loses its place in the media-key queue after waking from sleep or reconnecting to a Bluetooth device. A full quit and relaunch usually restores normal behaviour.
Prevent Apple Music from launching automatically

Go to System Settings, open the Keyboard section, and look for an option to stop pressing the play key from launching Apple Music when no audio is playing. On some macOS versions this is listed under 'Keyboard Shortcuts' or within the relevant media settings. Disabling it stops Apple Music from hijacking the key when nothing is active.

What If the Keys Still Do Not Work?

If you have worked through the list above and Spotify still does not respond, a few less common causes are worth ruling out:

A Different Way to Get Back to Spotify

The media keys problem points to a broader frustration: on a busy Mac, picking up a track you were listening to earlier is harder than it should be. Echo does not manage the system media keys, but it gives you a reliable keyboard shortcut, ⌘⇧E, that opens a search palette showing everything you have played across Spotify and other apps. You can find any recent track and resume it at the exact point you left off, without needing the media keys to cooperate.

For more on keeping tabs on what is playing without relying on the media key queue, see the guide on showing now-playing in your menu bar and how to get your full Spotify listening history on Mac.

Frequently asked

Why do my Mac media keys open Apple Music instead of controlling Spotify?
Apple Music registers itself as a media key handler when it launches. If it is running in the background, it can intercept the play/pause key and start its own playback rather than deferring to Spotify. Quitting Apple Music fully is usually all that is needed to give the keys back to Spotify.
Can I make macOS always send media keys to Spotify?
Not directly. macOS does not offer a built-in setting to lock media keys to a specific app. The system routes keypresses to whichever app most recently had media focus. The most reliable workaround is to keep Apple Music closed and to always start playback by clicking inside Spotify before using the keyboard.
Why do my media keys stop working after switching browser tabs?
When a browser tab plays audio, the browser can claim media focus on its behalf. Once that tab has focus, your media keys may control the browser rather than Spotify. Pausing or closing the tab, then clicking play inside Spotify to reclaim focus, usually resolves it.
Do the media keys work with all Mac keyboards?
Standard Apple keyboards and most third-party Mac-compatible keyboards send media key signals that macOS handles the same way. If you are using an external keyboard and the keys are unresponsive, confirm the keyboard is connected properly and check whether any remapping utility is intercepting the signals before they reach Spotify.
Written by the Echo team

We build Echo, a native macOS app that remembers everything you play across your apps and your browser, and brings any of it back at the exact spot with one keystroke.

Never Lose Track of What You Were Playing

Echo remembers every track across every app, so you can find and resume anything you played with one keyboard shortcut, no media key juggling required.

One-time purchase, yours forever.
All articles