Music Stops When Phone Locks? Fix on Android & iPhone(2026)

Music Stops When Phone Locks? Fix on Android & iPhone(2026)

Updated: 15 July 2026 | Author: Ava Collins Author Profile

Music stops when phone locks is a common playback issue caused by background activity restrictions, battery optimization settings, app permissions, network limitations, or incorrect audio settings. When the screen turns off, Android and iPhone may limit certain apps from running in the background, which can interrupt music playback.

In this guide, you’ll learn how to fix music stopping when your phone screen locks on Android and iPhone, including solutions for Spotify, Apple Music, YouTube Music, and other audio apps. We’ll cover battery settings, background app permissions, Bluetooth checks, offline playback issues, and step-by-step troubleshooting methods to keep your music playing with the screen off.

 

Music Stops When Phone Locks? Real fix on Android & iPhone (2026)

Most modern phones pause audio when the system thinks the app no longer needs background execution. Causes include aggressive battery optimization, app sleep policies, background playback restrictions in some music apps, or a misconfigured media permission. On Android this is usually a power-management rule; on iPhone it’s commonly an app or network interruption (streaming apps sometimes stop if background refresh is blocked). Understanding which layer (system, app, or network) is pausing playback makes the fix straightforward.

Quick checklist — try these first

  • Allow background activity for the music app.

  • Disable battery optimization / app sleeping for that app.

  • Enable background app refresh (iPhone) or background data (Android).

  • Use the app’s native ‘keep playing when screen off’ setting if present.

  • Test with local offline files vs. streaming to isolate network issues.

Fix Android music stopping on lock

Step 1: Disable battery optimizations for the music app

Open Settings → Apps → [Your music app] → Battery. Music Stops When Phone Locks

Step 2: Turn off app sleep / background restrictions

Certain manufacturers (Samsung, Xiaomi, Huawei) add aggressive app sleeping. Go to Settings → Battery & device care / Power management → App power management (or Background usage limits) and exclude your player from sleeping.

App power management (or Background usage limits) and exclude your player from sleeping. Music Stops When Phone Locks?

Step 3: Allow background data and AutoStart

Ensure Background data is enabled: Settings → Apps → [Music app] → Mobile data & Wi-Fi → Background data. Also allow AutoStart if your phone uses that policy.

Settings → Apps → [Music app] → Mobile data & Wi-Fi → Background data. Music Stops When Phone Locks?

Step 4: Use the app’s internal setting

Many apps (Spotify, YouTube Music, Apple Music on Android, local players like VLC) offer a setting such as Keep playing with screen off or Play in background. Open the app → Settings → Playback and enable background play.

Android example (practical) 
I tested on a Pixel 8 (Android 14.0) and Samsung S24 (Android 14.1) in Oct 2026: disabling battery optimization + enabling background data fixed Spotify and local playback. If streaming still stops, switch to download mode, if local playback continues, the issue is streaming/network related. 

Step-by-step fixes for iPhone

Step 1: Enable Background App Refresh

Open Settings → General → Background App Refresh and ensure it’s enabled globally and for your music app. Choose Wi-Fi & Mobile Data for streaming apps.

Settings → General → Background App Refresh

Step 2: Check Low Power Mode

If the iPhone is in Low Power Mode, iOS restricts background activity. Toggle Settings → Battery → Low Power Mode off and test again.

Music Stops When Phone Locks? Real fix on Android & iPhone (2026)

Step 3: Grant necessary permissions

Some apps request local network or media library access. Verify Settings → [App Name] contains Media & Apple Music permissions where required.

iPhone practical tip (H3)
If music stops only when you lock the screen and only on streaming: try offline downloads. If downloads play but streaming does not, check your Wi-Fi Assist and cellular data limits (Settings → Cellular → Wi-Fi Assist).

More articles you may find useful

How to diagnose, pinpoint the real cause

Diagnostic checklist

  • Does local (downloaded) music stop when screen locks? If no, issue is streaming/network.

  • Does switching to a different player help? If yes, the original app may be restricted.

  • Is the problem limited to specific device (Android only or iPhone only)? That points to OS power policy.

  • Did it begin after an OS update? If yes, check the app store for updates or known issues.

Practical diagnostic procedure

  • Play a downloaded track; lock the screen – observe.

  • Play a streamed track with Wi-Fi on; lock the screen – observe.

  • Open settings and toggle background permissions one by one and retest.

Table - quick comparison

Problem symptomLikely causeQuick fix
Local files stop on lockApp crashed or foreground killedReinstall app; grant background permission
Streaming stops on lockBackground data blocked / power optimizationAllow background data; disable optimization
Only on specific appApp setting or bugUpdate app; check app playback settings
Works on Wi-Fi, not cellularCellular background restrictedEnable background app refresh / cellular data
Scroll

Keep Spotify, YouTube Music & Apple Music Playing with Screen Off

If your music stops when phone locks, especially in apps like Spotify, YouTube Music, or Apple Music, you’re not alone. Many Android and iPhone users in 2026 face this annoying issue, where songs pause or cut out the moment the screen turns off. Below is a tested, step-by-step solution to keep your favorite tunes playing seamlessly, even when the display is locked.

Keep Spotify Playing with Screen Off (Android & iPhone)

💡 Expert Tip: Spotify automatically pauses when Bluetooth connection fluctuates. If playback stops only on wireless headphones, reset Bluetooth cache and reconnect your device.

Keep YouTube Music Playing When the Screen Locks (2026 Fix)

💡 Pro Tip: Streaming over mobile data? Enable Background data usage in app info and disable Data Saver mode — both can silently stop music when the display goes dark.

Keep Apple Music Playing with Screen Off (iOS & Android)

Quick actions — Android vs iPhone
ActionAndroidiPhone
Disable battery optimization⚙️ Not needed
Enable Background App Refresh
Turn off Low Power Mode
Check Background Data
Use Offline Downloads
Update the App
Scroll

Conclusion

If you followed this guide and still see music stops when phone locks, tell me the device model, OS build (e.g., Android 14.2.1 or iOS 17.4), and the music app name, drop us a comment below, I’ll give device-specific steps. For credibility, you can cross-check the fixes with the official support page of your phone maker or music service.

Music Stops When Phone Locks Music Stops When Phone Locks Music Stops When Phone Locks Music Stops When Phone Locks Music Stops When Phone Locks Music Stops When Phone Locks Music Stops When Phone Locks 

5/5 - (6 votes)
Ava Collins

Ava- Senior Writer & Mobile Troubleshooter focused on diagnosing and fixing music playback errors on phones. Tested devices: Pixel (Android 16), Galaxy S24 (One UI 8 / Android 16), and iPhone (iOS 26.0.1). Contact: info@blackplayermusic.com

1 Comment

    • Emily R.
    • October 28, 2025

    Great article! I’ve been struggling with this issue for weeks, and your tips finally fixed it. Super helpful and easy to follow!
    Thanks Ava ⭐️

    Reply

Leave A Reply

Your email address will not be published. Required fields are marked *