How to Disable the Google Chrome ‘Hardware Media Key Handling’ (Stop Chrome from Stealing Play/Pause Buttons)

If your computer keyboard has dedicated media keys (Play, Pause, Next, Previous), you likely use them to control background music playing in the Spotify or Apple Music desktop applications. However, if you open Google Chrome and watch a YouTube video or view an embedded Twitter clip, Chrome aggressively hijacks these media keys.

Once Chrome steals the focus, pressing your physical “Play” button will no longer unpause your Spotify playlist; instead, it will start playing a random advertisement on a background browser tab. This feature, known as Hardware Media Key Handling, creates a chaotic audio experience. You can disable it to ensure your keyboard buttons only control your dedicated music apps.

How to Stop Chrome from Hijacking Your Media Keys

You must dive into Chrome’s hidden “Experiments” menu to disable hardware key integration.

  1. Open the Google Chrome browser.
  2. Click inside the address bar at the top of the screen.
  3. Type the following exact command and press Enter: chrome://flags/#hardware-media-key-handling
  4. The browser will load the Experiments page, automatically scrolling down to highlight the Hardware Media Key Handling setting in yellow.
  5. Click the drop-down menu on the right side of the highlighted setting (which currently says “Default”).
  6. Select Disabled from the drop-down list.
  7. A large blue Relaunch button will appear at the bottom right of the window. Click it to restart Chrome.

After the browser restarts, Chrome will completely ignore your physical keyboard media keys. You can now leave YouTube tabs open in the background while successfully using your keyboard to control your Spotify desktop application without interference.

Get the best tech tips delivered straight to your inbox.

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