Spotify stops when you close Facebook because both apps are running in the same memory space on your phone, and closing Facebook can interrupt Spotify's background process
This happens most often on Android phones, where the operating system manages memory differently than iPhones do. When you close Facebook, your phone may shut down other apps running in the background to free up space — and Spotify gets caught in that shutdown. On iPhones, this is less common because iOS protects background music apps more aggressively, but it can still happen if your phone is low on memory or if you force-close Facebook rather than just switching away from it.
The root cause is that Facebook uses a lot of memory and processing power. When you close it, your phone reclaims that space, and in doing so, it sometimes stops other background apps by mistake. Spotify is designed to keep playing even when you switch to another app, but it can only do that if the phone lets it stay running.
Key Takeaways
- Closing Facebook can interrupt Spotify because both apps compete for your phone's memory, and shutting down Facebook frees up space that your phone then uses to stop other background apps.
- This problem is more common on Android than iPhone, and worse when your phone is running low on available memory.
- You can prevent this by allowing Spotify to run in the background without restrictions and by keeping Facebook from using excessive memory.
- Force-closing Facebook (swiping it away completely) causes more disruption than simply switching to another app, so avoid force-closing when possible.
- If the problem persists, restarting your phone or reinstalling Spotify usually fixes it.
How to stop Spotify from pausing when you close Facebook on Android
On Android, you need to tell your phone that Spotify is allowed to run in the background without interruption. Open your phone's Settings app, then go to Apps or Application Manager. Find Spotify in the list and tap it.
Look for a section called Battery or Battery Optimization (the exact name varies by phone brand). Tap it, then find Spotify in the list of apps. Select "Don't optimize" or "Unrestricted" — this tells your phone to let Spotify keep running even when you switch away. Some phones also have a "Background restriction" setting; make sure that is turned off for Spotify.
Next, go back to Settings and look for Permissions or App Permissions. Tap Spotify and make sure "Microphone" is allowed. While you are there, check that Spotify has permission to access your storage and files, because it needs those to play music.
After you make these changes, restart your phone. Then open Spotify, start a song, switch to Facebook, and close Facebook completely. Spotify should keep playing.
How to stop Spotify from pausing when you close Facebook on iPhone
On iPhone, the problem is usually less severe, but you can still prevent it. Open Settings and scroll down to find Spotify. Tap it, then look for "Background App Refresh" and make sure it is turned on (the toggle should be green).
Next, check that Spotify has permission to access your media library. Go back to Settings, tap Privacy, then tap Media Library. Make sure Spotify is listed and allowed.
The most important step on iPhone is to avoid force-closing apps. When you close Facebook, swipe up from the bottom of the screen and swipe Facebook away, but do not hold down the app icon and tap "Remove App" or "Force Close." A simple swipe-away is much gentler on background apps like Spotify.
If Spotify still pauses, restart your iPhone by holding down the power button and sliding to power off, then turning it back on.
Why Facebook uses so much memory and how to reduce it
Facebook is one of the most memory-intensive apps you can install. It runs background processes constantly — checking for notifications, loading images, tracking your location, and syncing data. When you close it, your phone has to reclaim all that memory at once, which can cause a ripple effect that stops other apps.
You can reduce Facebook's memory footprint by opening the app, tapping the three horizontal lines (menu), scrolling to Settings and Privacy, then tapping Settings. Look for "Videos" and turn off "Autoplay Videos" — this stops Facebook from automatically loading video content in the background. Also find "Data Saver" or "Lite Mode" and turn it on if available; this reduces the amount of data and memory Facebook uses.
Another option is to use Facebook Lite instead of the full Facebook app. Facebook Lite is a stripped-down version designed for older phones and slower connections, and it uses a fraction of the memory. You can download it from the Google Play Store or Apple App Store.
Check your phone's available storage and memory
If your phone is running low on storage space, it has less room to keep background apps running. Open your phone's Settings and look for Storage or About Phone. Check how much free space you have left. If it is less than 1 gigabyte, your phone is under pressure and will shut down background apps more aggressively.
Delete apps you do not use, clear your browser cache, and move photos and videos to cloud storage (Google Photos, iCloud, or OneDrive). Clearing space gives your phone room to keep Spotify running even when Facebook is closed.
You can also check how much memory each app is using. On Android, go to Settings, then Apps, then tap an app to see its storage size. On iPhone, go to Settings, then General, then iPhone Storage. Apps at the top of the list are using the most space. Consider uninstalling or reinstalling the largest ones.
Restart Spotify and clear its cache
If you have made the changes above and Spotify still stops, the app itself may have a problem. Force-close Spotify completely: on Android, go to Settings, tap Apps, find Spotify, and tap "Force Stop." On iPhone, swipe up from the bottom and swipe Spotify away.
Next, clear Spotify's cache. On Android, go to Settings, tap Apps, find Spotify, tap Storage, and tap "Clear Cache" (not "Clear Data," which will delete your login and playlists). On iPhone, go to Settings, find Spotify, and tap "Offload App," then tap "Reinstall App." This removes the app but keeps your login information.
Open Spotify again and log back in if needed. Start playing a song, close the app, and open Facebook. Close Facebook and check whether Spotify is still playing. In most cases, this fixes the problem.
When the problem is actually a Spotify setting, not your phone
Spotify has its own background settings that can cause it to pause. Open Spotify and tap the gear icon (Settings) in the upper right. Look for "Playback" and tap it. Make sure "Crossfade songs" is set to 0 seconds — a long crossfade can cause Spotify to pause between tracks if your phone is under memory pressure.
Also check "Autoplay" and make sure it is turned on. If Autoplay is off and you reach the end of a playlist, Spotify will stop. This is not related to closing Facebook, but it is worth checking while you are in Settings.
If you are using Spotify on a computer or tablet at the same time as your phone, that can also cause playback to stop. Spotify Free only allows one device to play at a time. If you start playing on your phone, then open Spotify on your computer, the phone will pause. Make sure you are only playing on one device.
Frequently Asked Questions
Does this happen with other apps besides Facebook?
Yes. Any app that uses a lot of memory can cause Spotify to pause when you close it. Instagram, TikTok, and YouTube are common culprits. The fix is the same: go to your phone's battery or app settings and make sure Spotify is allowed to run in the background without restrictions.
Why does this not happen on my friend's phone?
Your friend's phone probably has more available memory, or they have already turned off battery optimization for Spotify. Older phones and phones with less than 4 gigabytes of RAM are more likely to have this problem. Also, if your friend uses iPhone and you use Android, iPhones handle background apps more carefully.
Will reinstalling Spotify fix this permanently?
Reinstalling Spotify can fix the problem, but only if you also change your phone's battery and background app settings. If you reinstall Spotify without making those changes, the problem will come back. The settings changes are what actually solve it.
What if Spotify keeps pausing even after I close Facebook?
Make sure you are not force-closing Spotify itself. Also check that you have enough free storage on your phone — if you are below 1 gigabyte, your phone cannot keep Spotify running. Restart your phone completely, then try again. If the problem continues, uninstall and reinstall Spotify, and make sure your phone's operating system is up to date.
Can I use Spotify while Facebook is open without this problem?
Yes. The problem only happens when you close Facebook. You can have both apps open at the same time and switch between them without Spotify pausing. The issue is the act of closing Facebook, not having it installed.