How to Disable the Google Chrome ‘Hardware Media Key Handling’ (Stop Chrome from using Keyboard Media Keys)

Google Chrome features a setting called “Hardware Media Key Handling.” If you have a keyboard with physical media buttons (Play, Pause, Next Track, Previous Track), Chrome will intercept those keystrokes and use them to control whatever media is playing inside the browser, such as a YouTube video or a Spotify web player tab.

This is incredibly frustrating if you use a dedicated desktop application for your music (like the native Spotify app or Apple Music). If you press the “Play/Pause” button on your keyboard expecting to pause your background desktop music, Chrome will often hijack the signal and pause a random YouTube video in a background tab instead. To ensure your keyboard’s media keys only control your desktop apps, you must tell Chrome to stop listening to them.

How to Stop Chrome from Hijacking Media Keys

You must dive into Chrome’s hidden “Experiments” menu to disable this hardware 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.

Once Chrome restarts, it will completely ignore your physical keyboard media keys. Pressing “Play/Pause” will now properly pass the command directly to your operating system, allowing your desktop music player to function correctly without browser interference.

Get the best tech tips delivered straight to your inbox.

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