7 days free

How to stop the Music app opening by itself on Mac

Press play with nothing playing and Music opens again. Here’s why it happens, and how to make it stop.

Short answer

macOS has no setting for this: when no other app is playing, the play key — or a tap on your headphones — goes to Music, and Music launches. MacFixes closes Music when it opens on its own and leaves it alone when you open it yourself.

Part of MacFixes: 7 days free, then $2.99 a month or $17.99 once, with every app and fix included.

What macOS gives you

There’s no switch in System Settings or in Music’s own settings. When nothing else is playing, the play key hands the command to Music, which launches it. You can make it less likely — keep another player open, take Music out of Login Items, make the top row of keys act as F1, F2 and so on — but nothing in macOS stops it outright, and you can’t delete Music, because it’s part of macOS.

How MacFixes fixes it

  1. 1
    Turn on the fix
    Open MacFixes Settings → Sound and turn on “Stop Music opening by itself” (or type its name into Search for a fix).
  2. 2
    That’s it
    If Music opens without coming to the front within a couple of seconds, MacFixes quits it. Opening Music yourself works as normal.
DownloadmacOS 14 Sonoma or later · 7 days free

Why Music opens when you press play

The play/pause key doesn’t go to the app in front of you. macOS sends it to whichever app last played media — the one shown in Now Playing in Control Center. While Spotify, a podcast app or a browser tab is playing or paused there, the key goes to that app and nothing else happens.

When no app has claimed it — after a restart, or after you quit the player you were using — macOS falls back to Music, Apple’s own player, and launches it so it can answer the key. That’s the moment Music appears out of nowhere. Before macOS Catalina the same thing opened iTunes; when Catalina split iTunes into Music, Podcasts and TV, the habit moved to Music.

The key isn’t the only thing that presses play. Headphones send the same command: a tap or squeeze on AirPods, a press on the button of a wired headset, and on some headphones the moment they connect or you put them in. Media keys on other keyboards, and the play button in the Touch Bar on Macs that have one, do it too. Any of them, with no other player around, lands on Music.

Work out what is opening it

It opens when you press a key, or a key gets knocked. That’s the play key falling back to Music. The fixes below for the key apply.

It opens when headphones connect or you put AirPods in. That’s the headphones sending play. If it happens when you didn’t mean to connect to the Mac at all, the real problem may be the headphones joining a Mac you weren’t using — turn Bluetooth off when your Mac sleeps so a sleeping Mac can’t take them.

It opens when you log in. That’s a different cause. Look in System Settings → General → Login Items (Login Items & Extensions on newer macOS) and remove Music if it’s listed. If Music was open when you last shut down, the “Reopen windows when logging back in” checkbox in the Shut Down and Restart dialog brings it back too; untick it if you don’t want any app reopened.

What you can do with macOS alone

Keep another player as Now Playing. If Spotify, a podcast app or a paused video in a browser tab is the current Now Playing app, the play key goes there and Music never launches. It works until you quit that app or restart, and then the fallback is back.

Make the top row act as F1, F2 and so on. In System Settings → Keyboard → Keyboard Shortcuts → Function Keys, the option to use F1, F2, etc. as standard function keys means a plain press of the play key no longer plays; you hold fn to use it. Fewer accidental presses — but brightness and volume move behind fn as well, and headphones still send play.

Don’t try to delete Music. Since Catalina, Music sits in the protected, read-only part of macOS, so you can’t move it to the Trash, and macOS expects it to be there.

Be wary of Terminal recipes. Older guides tell you to switch off rcd, the background service that hands media keys to apps. That stops Music opening because it stops the play key reaching any app, your other player included, and on recent versions of macOS those commands may no longer work at all.

How MacFixes tells your click apart from an accidental launch

With the fix on, MacFixes watches for Music launching. If Music opens and isn’t brought to the front within about two seconds, MacFixes quits it. When you open Music yourself — from the Dock, Spotlight or the Applications folder — it comes to the front, so it stays open and works as normal.

Nothing about your music library or your Apple Music subscription changes, and it needs no macOS permission. It’s one of the fixes in MacFixes.

One thing to know: if you use a shortcut or a script that starts Music in the background on purpose, the fix sees a launch that never came to the front and quits it. Turn the fix off while you rely on that, or bring Music forward as part of it.

If music does open and it’s simply too loud, or it’s fighting a call for the same speakers, those are separate fixes: set the volume of one app, or send each app to its own speakers. And for other apps that you open once and forget, let them quit themselves when you stop using them.

Permissions, and turning it off

To stop using it, open MacFixes Settings → Sound and use the switch on the “Stop Music opening by itself” row.

Questions

Why does Apple Music open when I press play on my Mac?

macOS sends the play key to the app that last played media. When no app has, it falls back to Music and launches it. Keeping another player open avoids it; MacFixes quits Music when it opens this way.

Why does Music open when I connect my AirPods or headphones?

Headphones can send a play command — when you tap them, put them in or, on some models, when they connect. With no other player open, that command lands on Music, which launches.

Can I uninstall the Music app?

No. Music is part of macOS and sits in its protected system files, so it can’t be moved to the Trash.

Can I still use Apple Music?

Yes. Open it from the Dock, Spotlight or the Applications folder as usual and it stays open.

Does it need any permission?

No.

What does it cost?

Stop Music opening by itself comes with MacFixes: 7 days free, then $2.99 a month or $17.99 once.

More fixes macOS doesn’t give you

One of 47 fixes and 10 apps in MacFixes. Every fix · Every app · Something else your Mac won’t do? Request it.

Stop the Music app opening by itself with MacFixes

MacFixes has 47 fixes for things macOS gets wrong or leaves out. Add only the ones you want. Free for 7 days, then $2.99 a month or $17.99 once. macOS 14 Sonoma or later.

Download