Stuck with music that stops when you switch apps or lock the screen? You’re not alone. This guide shows practical steps to restore reliable background playback on both Android and iPhone, so your favorite tunes keep playing as you go about your day.
In this post you’ll find a simple, step by step fix that covers common causes like background playback settings, battery optimization, and app permissions. By the end, you’ll have a clear checklist to diagnose and fix the issue quickly, without wading through confusing tech jargon.
Whether you’re streaming a playlist, a podcast, or a workout mix, these tweaks aim to keep music playing in the background as long as you need. The goal is straightforward: steady, uninterrupted playback and a smoother listening experience across everyday smartphone use.
Why your phone stops playing music in the background
When you start a workout or peek at a notification, music should ride along in the background. Instead, it stops, pauses, or skips unexpectedly. This section explains the main culprits behind background playback interruptions and gives straightforward checks you can perform on both Android and iPhone. The goal is to keep your tunes playing while you use other apps, lock the screen, or navigate through tasks.

Photo by Shantanu Kumar
Power saving and battery optimization
Battery saver modes and adaptive battery features are designed to extend life, not to sabotage your playlists. When these settings kick in, the system may pause background processes or slow down how often apps can run in the background. Music playback can be affected if the player is considered a background task that the OS wants to limit.
To check common, device-wide causes:
- Turn off battery saver or adaptive battery for the music app: in many devices, you can disable power saving for specific apps so they aren’t throttled in the background.
- Add the music app to an exceptions or allowed list: this ensures the OS keeps background activity enabled for that app.
- Run a quick test: start playback, press the home button or switch apps, then return after a few minutes to confirm continuous playback.
Simple, practical steps you can follow now:
- On Android, go to Settings > Battery > Adaptive Battery (or Battery optimization) and set your music app to “Not optimized” or “Unrestricted.” If your device labels this as an exception, add the app to the exceptions list.
- On iPhone, check if Low Power Mode is active. If so, temporarily disable it to confirm whether it’s the cause. If it helps, keep the mode off during listening sessions or allow the specific music app to continue background activity when needed.
- After adjusting, play a track and switch between apps a few times to ensure the audio keeps playing. If it stops, revisit the settings and check for other power-saving features like app standby rules or screen off behavior.
Why this matters: battery optimization is a good thing, but it can silently harm background music. Opening up the music app to “permanent foreground” status or adding it to your exceptions often resolves the issue quickly.
If you want more context on how these features affect playback on different platforms, see discussions about background power saving and music apps like Spotify and others. For a deeper look, you can explore community guidance and troubleshooting articles such as the one about how power saving can impact background playback. Further reading
Focus modes and Do Not Disturb
Notifications and alerts can steal focus away from your music. iOS Focus modes and Android Do Not Disturb (DND) can mute or silence sounds from apps that would normally play in the background, leading to momentary gaps in your audio.
To manage Focus or DND without killing playback:
- For iPhone (iOS): Open Settings > Focus. Check any active Focus profiles and review which apps are allowed to send notifications or audio interruptions. Make sure the music app is allowed to play or disable Focus briefly to test playback.
- For Android: Open Settings > Notifications > Do Not Disturb or Focus. Adjust the allowed interruptions so that music-related alerts are not blocked. You can create a Focus or DND exception for the music app, or disable DND temporarily while listening.
- Testing the changes: start playback, trigger a Focus mode or DND, and then examine whether playback resumes smoothly after you exit the focused state. If interruptions persist, disable Focus mode entirely during playback to confirm the cause.
Useful references for managing these modes include step-by-step guides that show how to prevent notifications and alerts from interrupting music on iPhone and Android. For example, you can review guides on how to stop iPhone notifications from interrupting music and how to create a Focus profile that keeps music uninterrupted. How to Stop iPhone Notifications From Interrupting Your Music
Background app restrictions
Systems may limit background activity on a per-app basis. This can happen differently across devices, and may cause your music app to pause when it’s not in the foreground.
What to look for and how to adjust:
- Android per-app restrictions: Some devices let you set strict background limits on a specific app. If your music app is restricted, it won’t keep playing when you switch apps. Check Settings > Apps > [Music App] > Battery or Background restrictions, and set it to allow background activity.
- iOS Background App Refresh: If this feature is off for the music app, playback may pause when the app is not actively in use. Go to Settings > General > Background App Refresh and ensure the music app is allowed to refresh in the background.
- Quick checks: confirm the music app is allowed to run in the background, has permission to use cellular data if needed, and isn’t blocked from playing when the screen is off.
If you want a practical overview of background restrictions on both platforms, see discussions about iPhone Background App Refresh and Android background limits, which highlight how these settings can affect music playback and how to adjust them. Background App Refresh stopped working after iOS 18.3 update | How to turn off background app usage on iPhone or Android
If you’re testing these changes and music still stops, consider a quick cross-check with a different music app. Some apps handle background tasks differently, and a temporary switch can reveal whether the issue is app-specific or system-wide. You can also consult the app’s own help center for any feature-specific notes about background playback.
Next, we’ll dive into permissions and how certain app permissions can influence background playback.
Check the music app and playback settings
When music stops playing in the background, often the fix is right at the app level. Some apps have their own toggles for background playback, screen-off playback, or now playing behavior. This section walks you through how to inspect and adjust those app-specific settings, so your tunes keep going even as you use other parts of your smartphone.
Enable background playback in the app
Many popular music apps offer a background playback option directly within their own settings. If this is off, the app may pause as soon as you switch away or turn the screen off. Here’s how to locate and toggle it in common apps, plus what to do if you don’t see the option.
- Spotify: Open the app, go to Profile > Settings > Playback and look for a setting labeled something like “Background playback” or “Play in the background.” If you can’t find it there, ensure Background App Refresh is enabled for Spotify in your device’s system settings. This combination often fixes interruptions when you switch tasks.
- Apple Music and other Apple ecosystem apps: While Apple Music generally adheres to system behavior, some users notice playback gaps when the app isn’t allowed to refresh in the background. Confirm Background App Refresh is enabled for the app in Settings > General > Background App Refresh.
- YouTube Music and similar services: These apps sometimes pause when the screen turns off unless background playback is enabled within the app and allowed by system settings. Check both in-app toggles and the system background activity permissions.
If you still don’t see a background toggle, the issue is likely outside the app. However, you can test by starting a track, locking the screen, and returning a few minutes later to see if playback continues. For broader guidance on keeping music playing across devices, see discussions about background playback behavior in different apps. How to Keep Spotify Playing in the Background
Lock screen and notification behavior
Lock screen controls and lock screen notifications play a big role in keeping audio going when you’re not actively using the phone. Some devices hide media controls or suppress audio after a notification arrives if the app isn’t allowed to run in the background or if the lock screen is overly restrictive.
- Lock screen controls: On most iPhone and Android devices, you should see play/pause and skip controls on the lock screen once an app is playing. If you don’t, verify that the app has permission to run in the background and that lock screen controls are enabled in the app settings.
- Notification behavior: Certain notifications can momentarily interrupt playback, especially if they arrive with audio alerts. Ensure the music app is not blocked from showing media controls on the lock screen and that any high-priority notifications are allowed to come through without silencing audio.
- Practical test: Start playback, then press the power button to lock the phone. After a few seconds, unlock or check the lock screen to confirm controls are still visible and playback continues. If not, revisit per-app and system notification settings.
For a deeper look at lock screen and now playing controls on iOS, Android, and other platforms, you can explore guides about media controls and lock screen behavior. Now Playing Widget on iOS and Set up a Focus on iPhone provide practical steps for smoother control while locked.
Notifications and audio focus prompts
Audio focus is how the system decides which app gets loudest playback when multiple apps want to sound at once. If another app grabs focus or if an alert interrupts playback, your music may stop briefly or pause.
- Audio focus concept: Only one app can hold audio focus at a time. If the system hands focus to another app, your music should pause or lower its volume until it can regain focus.
- Managing focus on Android: Apps should request audio focus when starting playback and release it when done. If another app requests focus, your player should pause or yield the output. You can review audio focus behavior in Android’s developer documentation and ensure the music app handles focus gracefully. Manage audio focus | Android media
- Managing focus on iPhone: iOS handles audio sessions and interruptions through its background audio modes. If a notification or another app interrupts, your music may pause briefly. Using Focus or Do Not Disturb can help minimize interruptions during playback.
- Quick checks: Ensure the music app is allowed to play in the background and that high-priority notifications aren’t constantly stealing focus. If interruptions persist, try temporarily disabling Do Not Disturb or Focus when testing playback.
For further reading on how audio focus works and how to set it up, see the Android and iPhone guidance linked above and practical tips from Make Use Of on minimizing interruptions during playback. How to Stop iPhone Notifications From Interrupting Your Music
Review system settings on Android and iPhone
When music won’t play in the background, the culprit is often in the system settings rather than the app itself. This section walks you through checking and adjusting Android and iPhone settings to keep audio playing smoothly as you use other apps or lock the screen. You’ll learn where to look, what to change, and how to test the results so you can move on with your day without interruptions.
Android battery optimization per app
Per-app battery optimization can quietly throttle background tasks, including music playback. The exact path to adjust these settings varies by Android version and device maker, but the core idea remains the same: tell Android to give your music app a free pass in the background.
- Find the per-app optimization option: on many devices this lives under Settings > Battery or Settings > Battery & device care, then look for Battery optimization, Adaptive Battery, or App Standby. Some brands label it as an exceptions list.
- Set the music app to not be optimized: choose “Don’t optimize,” “Not optimized,” or “Unrestricted” for the music app. This prevents the OS from aggressively pausing background tasks.
- Add the app to exceptions if needed: if your device uses a separate exceptions list, add the music app there to ensure it stays active in the background.
- Quick test: start playback, navigate away, then return after a few minutes to confirm uninterrupted audio.
Practical tips you can apply now:
- On many Android devices, Settings > Battery > Adaptive Battery (or Battery optimization) lets you set your music app to “Not optimized.” If your device lets you, add the app to the exceptions list as well.
- If you still see interruptions, check for other power saving features like screen-off behavior or background activity restrictions that could apply to the music app.
- For broader guidance on background power management, you can review Android developer guidance on Doze and App Standby and how to keep essential apps active. This helps you understand why certain background tasks are restricted and how to adjust them properly. Optimize for Doze and App Standby – Android Developers
- If you’re dealing with a device that has stricter OEM controls, look for model-specific articles or user manuals about “Battery optimization” and “Never sleeping apps.” For a quick reference on turning off battery optimization for an app, see guides like “Turn off battery optimization for an app.” Turn off battery optimization for an app
Testing idea: play a track, switch to another app, then come back after a while. If the music stays put, you’ve nailed the optimization. If not, revisit the per-app settings and double-check for any higher-level battery or device care features that could still throttle background activity.
iPhone background app refresh and permissions
On iPhone, Background App Refresh and app permissions determine whether music continues to play when you’re not actively using the app. Enabling this feature for your music apps and granting the right permissions keeps audio streaming and playback consistent even as you move around.
- Enable Background App Refresh for music apps: go to Settings > General > Background App Refresh. Turn it on globally or leave it off globally and enable it for specific apps like your music player.
- Verify required permissions: apps may need permissions for audio playback, background refresh, and media access. Go to Settings and check each relevant permission category for your music apps.
- Quick version checks:
- iOS 15 and newer: Settings > General > Background App Refresh. Ensure the music app is allowed to refresh in the background.
- iOS 12 through iOS 14: same path, but you might see slightly different wording. The option remains under Background App Refresh.
- iOS 16 and later: verify that Focus or Do Not Disturb settings aren’t blocking background activity for your music apps.
- Keep iOS up to date: updating to the latest iOS version helps ensure background tasks and permissions work as intended with your apps.
Important permission considerations:
- Location, microphone, and media access: some apps request access beyond audio playback. If you’re not comfortable granting a specific permission, it can usually be adjusted in Settings > Privacy or Settings > [App Name] > Permissions.
- Lock screen and media controls: ensure the music app is allowed to show controls on the lock screen and isn’t blocked by notification settings. This helps maintain playback even when your phone is asleep or the screen is off.
Practical reminders:
- If you notice playback stops when you switch apps, a quick test is to disable Background App Refresh for a moment, then re-enable it for the music app to see if behavior improves.
- For more guidance on handling iPhone permissions and background activity, you can reference Apple’s guidance on controlling access to information in apps and on background play features. Control access to information in apps on iPhone
- You may also find value in guidance about playing background sounds on iPhone for apps that support long-running audio. Play background sounds on iPhone
Testing idea: start a music track, lock the screen, and wait a few minutes to confirm playback continues. If it pauses, revisit Background App Refresh settings and confirm the music app is allowed to run in the background.
What to watch for and quick wins
- Always keep the music app updated and consider a quick reset of its background permissions after a major iOS update.
- If you rely on certain features like notifications for new tracks, make sure high-priority alerts aren’t silencing audio in the background.
- When in doubt, test with a different music app. Some apps handle background playback differently, and a temporary switch can help identify whether the issue is app-specific or system-wide.
For deeper reading on iPhone background behavior and permissions, see related guidance on how to manage background app refresh and media controls. You can explore resources like setting up a Focus to minimize interruptions or controlling what apps can do in the background. How to Stop iPhone Notifications From Interrupting Your Music
If you’re ready for a broader check, we’ll move to confirming the music app and playback settings themselves. Sometimes the fix is inside the app, not the OS.
Practical troubleshooting steps and scenarios
When your music won’t play in the background, a calm, methodical approach beats guesswork. This section lays out practical steps you can try in real-world scenarios. You’ll move from quick checks to deeper fixes, with concrete actions you can take on both Android and iPhone. Think of this as a field guide you can skim, then implement without heavy jargon.
Test with different networks and offline playback
Streaming quality can dramatically affect background playback. If your phone struggles to keep music going when you switch apps or lock the screen, the issue might be network related or tied to how the app handles offline content.
- Test on Wi Fi and cellular: Start playback on a playlist, then switch to another app. Do the same over a cellular connection. If playback behaves differently, network stability or handoffs could be the culprit.
- Try offline downloads if available: If your service supports offline playback, download a few tracks and play them without an internet connection. If background playback remains solid offline, the problem likely lies with streaming stability or data syncing.
- Keep instructions simple: Use a familiar track, switch apps a few times, and observe whether the audio pauses or resumes consistently.
Why this helps: networks can throttle background tasks or drop for a moment during handoffs. Testing across connections helps isolate whether the issue is systemic or network specific. If you want more context on how networks influence background playback across popular apps, see community discussions and official help articles that cover streaming and offline behavior. Background play isn’t working – Android – YouTube Help
Bluetooth and audio output checks
Audio output path changes can create moments where music stops or stutters. A quick check of output devices helps pinpoint where the interruption arises.
- Switch between Bluetooth devices and phone speakers: Play a track, then toggle output from your phone’s speaker to a connected Bluetooth headset or car system, and back again. Observe if the app pauses or if the switch triggers a brief silence.
- Test with wired headphones: If you have wired headphones, connect them and verify playback continues when you lock the screen or open another app.
- Look for Bluetooth handshakes: When Bluetooth devices reconnect, some phones momentarily pause audio. If you notice repeated pauses on every reconnect, consider updating the Bluetooth driver or removing problematic pairings and re-pairing.
- Quick sanity check: After switching outputs, give the app a few seconds to reestablish the stream and then continue using your phone as usual.
Why this matters: many people overlook how output routing affects background playback. If the issue happens only with Bluetooth devices, adjusting connections or testing with wired headphones often resolves the problem. For deeper Bluetooth troubleshooting, you can explore community discussions and device-specific tips. Bluetooth streaming issue troubleshooting
Reinstall or clear cache and update apps
If the issue sticks after trying the quick checks, the culprit might be app-level data or an outdated version. Clearing caches, updating, or reinstalling can clear stubborn glitches.
- Update to the latest app version: Open the app store, check for updates, and install the newest release. App updates often fix background playback bugs.
- Clear cache or data (where available): On Android, you can clear the app’s cache in Settings > Apps > [Music App] > Storage. On iPhone, you generally refresh by reinstalling the app rather than clearing cache directly.
- Reinstall the app: Remove the app, restart your device, and reinstall from the Play Store or App Store. Log back in and test playback with a fresh install.
Plain, device-friendly steps:
- Android: Settings > Apps > [Music App] > Storage > Clear Cache (and Clear Storage if needed), then re-open the app and test.
- iPhone: Delete the app, restart the phone, reinstall from the App Store, and check background playback after signing in.
If the problem remains after these steps, the issue might be broader than the app. In that case, testing with a different music app can help confirm whether the problem is app-specific or device-wide. For users who want additional guidance on managing app data and updates, YouTube Music and similar help articles offer relevant tips. Fix YouTube Music issues
Conclusion
Keep background playback steady by using this practical checklist. It guides you step by step on your smartphone to identify and fix the most common causes of music stopping in the background.
- Check per app battery optimization and allow background activity for your music app. Test playback after enabling this setting.
- Review Do Not Disturb and Focus modes, then disable them briefly to confirm playback remains uninterrupted. Test again.
- Verify background app refresh and required permissions for the music app. Test playback after each permission change.
- Confirm the app’s own background playback options and lock screen controls are enabled. Test with the screen on then locked.
- If needed, update or reinstall the music app and test once more. A fresh install often clears stubborn glitches.
Consistent background playback may take a few tries. If you still see gaps, try a different music app to rule out app specific issues. Thanks for reading, and I’d love to hear which steps worked for you or any other tricks you used. Share your results in the comments and keep your playlist playing across your smartphone.
