YouTube Keeps Closing on Android? 13 Fixes to Stop the Crashes

Introduction

You tap a video, hit play, and before it even gets going, the YouTube app vanishes and drops you back on the home screen. No error, no warning. If YouTube keeps closing on Android like this, it can quickly turn a relaxing watch into pure frustration.

This issue is more common than you might think. Many Android users see YouTube crash after an app update, a system update, changes to battery settings, or when they use features like casting or Picture-in-Picture. Sometimes the app closes as soon as a video starts, sometimes when you switch to another app, and sometimes only in specific modes like PiP.

The upside is that these crashes usually come from a few predictable causes: corrupted cache, outdated software, aggressive battery optimization, low storage, or conflicts with other apps. You can solve most of them yourself in a few simple steps.

In this guide, you will go through 13 clear fixes in a logical order. You will start with quick checks, move to app-level repairs, adjust Android system and battery settings, handle brand-specific quirks, and finish with advanced troubleshooting and last resort options. Work through the sections in sequence, test after each change, and you will often fix YouTube long before you reach the final steps.

youtube keeps closing android

Quick Checks Before You Start

Before you change deeper settings, rule out simple temporary issues. These quick checks take only a few minutes and often stop random crashes when YouTube keeps closing on Android.

1. Confirm it is not a one-time glitch

Android and apps sometimes stumble for no clear reason. A quick restart of the app can clean up a minor glitch.

  • Open your recent apps screen and clear YouTube from the list.
  • Go to Settings > Apps (or Apps & notifications).
  • Find and tap YouTube.
  • Tap Force stop and confirm.
  • Reopen YouTube and play a video.

If the app now runs normally, you probably had a temporary process issue and you may not need deeper fixes. If it crashes again, continue.

2. Check your internet connection

A weak or unstable network can make YouTube freeze, buffer endlessly, or appear to crash.

  • Toggle Airplane mode on, wait a few seconds, then turn it off again.
  • Switch between Wi-Fi and mobile data to see if one works better.
  • Open another app that needs internet (such as a browser) and confirm that pages load normally.
  • If you use Wi-Fi at home, restart your router by unplugging it for 10–15 seconds and plugging it back in.

If YouTube only acts up on certain networks, your connection may be to blame, not the app itself.

3. Make sure YouTube is not having an outage

Sometimes the issue lies with YouTube services, not your phone.

  • Search for ‘YouTube down’ in your browser.
  • Visit a status site like Downdetector to check recent reports.
  • Look at recent posts on social networks for ‘YouTube down’ or similar phrases.

If many users report issues at the same time, you may only need to wait until YouTube resolves it. If there is no sign of an outage and YouTube keeps closing on Android, move on to repairing the app itself.

Basic App-Level Fixes for YouTube Crashing on Android

If quick checks do not solve the issue, focus on the YouTube app. Fixing corrupted data or a bad update often stops repeated crashes.

1. Force stop the YouTube app

Even if you did this once, it is worth repeating as a clean start before deeper steps.

  1. Open Settings on your phone.
  2. Go to Apps or Apps & notifications.
  3. Tap YouTube.
  4. Tap Force stop and confirm.
  5. Start YouTube again and test.

This kills the current YouTube process and forces Android to start it fresh, which can clear minor internal errors.

2. Clear YouTube cache and data safely

Over time, YouTube stores cached files that may become corrupted and cause instability.

To clear the cache:

  1. Go to Settings > Apps > YouTube.
  2. Tap Storage.
  3. Tap Clear cache.

Test the app. If YouTube still keeps closing on Android, clear data as well:

  1. In the same Storage screen, tap Clear data or Manage storage.
  2. Confirm the action.

Clearing data will:

  • Sign you out of the YouTube app.
  • Remove offline downloads, local preferences, and search history stored on the device.

It will not delete your Google account, subscriptions, playlists, or uploads. Those stay tied to your account in the cloud.

3. Update the YouTube app from Google Play Store

An outdated app may not work well with newer Android versions or new YouTube features.

  1. Open the Google Play Store.
  2. Tap your profile icon and select Manage apps & device.
  3. Tap Updates available.
  4. If YouTube is in the list, tap Update.

You can also search for ‘YouTube’ directly and tap Update on the app page. Once the update finishes, restart your phone and try YouTube again.

4. Reinstall YouTube or uninstall updates

If the latest update itself is broken or installed incorrectly, reinstalling can fix ongoing crashes.

  • If YouTube can be fully uninstalled:
  • Go to Settings > Apps > YouTube and tap Uninstall.
  • Restart your phone.
  • Open the Play Store, search for ‘YouTube’, and install it again.

  • If YouTube is a system app that cannot be removed:

  • In Settings > Apps > YouTube, tap Uninstall updates.
  • Confirm to roll back to the factory version.
  • Update again through the Play Store.

Once you know the YouTube app itself is clean and current, the next step is to make sure Android system settings are not causing the crashes.

Android System Settings That Can Make YouTube Close

Even a perfectly installed app can crash if the operating system has deeper issues. Problems with system updates, power modes, or storage can affect how YouTube runs.

1. Restart your Android phone

A full device restart clears temporary system glitches, reloads services, and frees memory.

  • Hold the Power button (or Power + Volume, depending on your device).
  • Tap Restart or Reboot.
  • Wait for the device to fully boot.
  • Open YouTube and try a few videos.

This simple step can fix many background conflicts that are not obvious.

2. Check for the latest Android system updates

Newer YouTube versions expect recent security patches and system libraries. Running behind on system updates can create compatibility problems.

  1. Go to Settings > System > System update (or Software update, depending on your phone).
  2. Tap Check for update.
  3. Download and install any available updates.
  4. Restart the device after installation.

After updating, open YouTube again to see if the crashes stop.

3. Free up storage space on your phone

When your phone is almost out of storage, apps may crash, freeze, or refuse to open because they cannot write the files they need.

  • Go to Settings > Storage to see how much free space you have.
  • Aim to keep at least 10–15% of your total storage free.
  • Remove or move:
  • Old photos and videos you have already backed up.
  • Apps you no longer use.
  • Large downloads and media files you do not need.

After freeing space, restart your phone and test YouTube.

4. Turn off battery saver and power saving modes

Global battery saver modes can slow down or restrict apps and sometimes shut them down when they are active.

  • Pull down the notification shade and turn off Battery Saver or Power saving.
  • On some devices, go to Settings > Battery and disable any performance-reducing modes.

If YouTube behaves normally with battery saver off, you have a strong sign that background and battery settings are involved. Next, you will fine-tune those settings specifically for the YouTube app.

Fix Battery Optimization and Background Limits

Modern Android versions and many manufacturers rely on aggressive battery tools to extend battery life. These tools sometimes go too far and kill apps that are actively streaming video. That is a common reason why YouTube keeps closing on Android, especially when you switch apps or turn off the screen.

1. Disable battery optimization for YouTube

Exempting YouTube from optimization helps keep it alive in the background.

  1. Go to Settings > Apps.
  2. Tap YouTube.
  3. Tap Battery.
  4. Choose Unrestricted or Do not optimize if available.
  5. Avoid using Restricted or very strict optimization modes for YouTube.

This tells Android not to aggressively cut power to YouTube, especially when you minimize the app or lock the screen.

2. Allow all required permissions for YouTube

If YouTube suddenly cannot access something it needs, it may close or throw an error.

  1. Go to Settings > Apps > YouTube.
  2. Tap Permissions.
  3. Check each category, such as Storage (if shown), Microphone, and Camera.
  4. Allow the permissions the app reasonably needs for the way you use it.

You do not need to enable everything, but do not block permissions YouTube asks for when it performs tasks like recording or uploading.

3. Turn off ‘Remove permissions if app isn’t used’

Recent Android versions can remove permissions from apps you do not open often. That can break their behavior.

  1. In Settings > Apps > YouTube, open Permissions.
  2. Look for the option Remove permissions if app isn’t used or similar.
  3. Turn this feature off for YouTube.

This keeps YouTube from quietly losing permissions after a period of inactivity.

4. Check background data and background activity settings

If you block background data or activity, YouTube may close when it tries to keep playing or syncing in the background.

  • In Settings > Apps > YouTube, open Mobile data & Wi-Fi (or similar).
  • Turn on Allow background data usage.
  • Enable Unrestricted data usage if your phone offers it.
  • Under the Battery section for YouTube, make sure background activity is allowed.

Once your battery and background settings are friendly to YouTube, the next step is to check for other apps and tools that might conflict with it.

Check Conflicting Apps and Tools That Crash YouTube

Even with the right system settings, other apps can interfere with YouTube and trigger crashes. Network tools, overlay apps, and ‘cleaner’ utilities are common culprits.

1. Temporarily disable VPNs, ad blockers, and firewalls

Network-altering apps can disrupt streaming or trigger errors inside YouTube.

  • Turn off your VPN app.
  • Disable any system-wide ad blocker.
  • Pause firewall or aggressive security apps that filter traffic.

Restart YouTube and watch several videos. If the crashes stop, you know one of these tools is causing trouble. Turn them back on one at a time to find which app breaks YouTube, then adjust its settings or replace it.

2. Turn off screen overlay and floating apps

Floating widgets and overlays can cause draw-over errors or stability issues with video apps.

  • Close apps with chat bubbles, floating buttons, or screen filters.
  • Go to Settings > Apps > Special app access > Display over other apps (name may vary).
  • Temporarily disable overlay permission for non-essential apps that appear on top of other apps.

Test YouTube again. If it no longer closes, keep these overlays disabled while you watch videos or choose less intrusive alternatives.

3. Test YouTube in safe mode on Android

Safe mode runs only system apps and disables most third-party apps. If YouTube works in safe mode, another app is almost certainly the cause.

Typical steps to enter safe mode (may vary by brand):

  1. Hold the Power button until the power menu appears.
  2. Touch and hold Power off until you see a Reboot to safe mode prompt.
  3. Tap OK.

Once your phone starts in safe mode, open YouTube and test it for a while. If it does not crash, restart your phone normally and start uninstalling recent or suspicious apps such as cleaners, boosters, overlay tools, or unknown utilities until the issue disappears.

If conflicts with other apps are not the root cause, the next angle is special behavior tied to your phone brand.

Brand-Specific Tips: Samsung, Pixel, and Other Android Phones

Manufacturers add their own battery and performance layers on top of Android. These extras can be helpful but also overly aggressive. That is why YouTube might keep closing on Android on one phone but run fine on another.

1. Fix YouTube keeps closing on Samsung Galaxy phones

Samsung devices running One UI often have strict background limits.

  • Go to Settings > Battery and device care > Battery.
  • Tap Background usage limits.
  • Remove YouTube from Sleeping apps and Deep sleeping apps.
  • Open Settings > Apps > YouTube > Battery.
  • Choose Unrestricted or the most relaxed battery option.
  • Check Auto optimization or similar features under Device care and make sure they do not automatically close active apps.

These adjustments stop Samsung’s battery tools from silently pushing YouTube out of memory.

2. Fix YouTube keeps closing on Google Pixel phones

Pixel phones use Google’s own version of Android with strong adaptive battery features.

  • Go to Settings > Battery.
  • Temporarily turn off Adaptive Battery to see if it changes YouTube’s behavior.
  • Go to Settings > Apps > See all apps > YouTube > Battery.
  • Set the app to Unrestricted.
  • In Settings > Apps > See all apps, choose Google Play Services and Google Play Store.
  • In each, tap Storage & cache and then Clear cache.

These steps help if the crash relates to power management or background services that YouTube depends on.

3. Fix YouTube keeps closing on Xiaomi, Redmi, and Poco phones

MIUI is well known for being aggressive with background apps.

  • Go to Settings > Battery & performance.
  • Turn off or relax any ‘Ultra battery saver’ or deep optimization for YouTube.
  • Open the Security app.
  • Disable or loosen automatic cleaning, memory boost, and deep clean features that target video apps.
  • Lock YouTube in recents:
  • Open YouTube.
  • Go to the recent apps screen.
  • Swipe down on the YouTube card or tap the lock icon so it stays locked in memory.

This tells MIUI not to kill YouTube in the background.

4. Fix YouTube keeps closing on OnePlus, OPPO, and Realme devices

OxygenOS and ColorOS also include strong optimization layers.

  • Go to Settings > Battery.
  • Turn off or relax Smart optimization, Sleep standby optimization, or similar options for YouTube.
  • Go to Settings > Apps > App management.
  • Enable Auto-launch and allow Run in background for YouTube.
  • Remove YouTube from any lists of restricted or ‘deep cleaned’ apps.

Once your phone’s vendor-specific tools are no longer fighting YouTube, any remaining crashes are likely tied to special use cases and features, such as PiP or casting.

When YouTube Closes Only in Certain Situations

Sometimes YouTube works most of the time but fails in very specific scenarios. That pattern can point you directly to the cause and the fix.

1. YouTube crashes in Picture-in-Picture (PiP) mode

If YouTube keeps closing on Android when you go into the small floating video window, check PiP and background settings.

  • Go to Settings > Apps > Special app access > Picture-in-picture.
  • Make sure YouTube has permission to use PiP.
  • Ensure that YouTube has Unrestricted or relaxed battery settings, so the system does not stop it as soon as it goes into PiP.
  • Check your account:
  • Full background and PiP playback usually require a YouTube Premium subscription. Without it, playback will stop when you leave the app, though it should not crash. If it crashes, focus on battery and PiP permissions.

If PiP still causes issues, use full-screen playback as a temporary workaround while you wait for a future app or system update.

2. YouTube closes when casting to TV or other devices

Casting involves both your phone and the receiver device, so the problem may be on either side.

  • Update your casting device (smart TV, Chromecast, console, or streaming stick) to the latest software.
  • Make sure both your phone and the casting device are on the same Wi-Fi network.
  • Restart your phone and your TV or casting device.
  • Try casting from YouTube in a mobile browser to see if the issue is specific to the app.

If crashes occur only while casting, focus on firmware updates for the receiver and your home network stability.

3. YouTube crashes when you start HD or 4K videos

High resolutions demand more processing power and bandwidth.

  • While a video plays, tap the gear icon in the player.
  • Lower the quality to 720p or 480p.
  • Test several videos at lower resolution.

If the crashes stop at lower quality, your device may be struggling to decode high-quality streams or your connection may be too unstable at high bitrates.

4. YouTube closes when you minimize the app or lock the screen

If YouTube crashes when you switch apps or lock the screen, background restrictions are likely involved.

  • Confirm YouTube is set to Unrestricted in battery settings.
  • Allow background data and activity for YouTube.
  • Remember that without YouTube Premium, audio will stop when you lock the screen or leave the app, but the app itself should not crash.

If these scenario-specific fixes do not fully solve the problem, more advanced system-level troubleshooting may be needed.

Advanced Troubleshooting for Persistent YouTube Crashes

If you are still dealing with crashes after all earlier steps, there might be deeper issues with Google services or system caches. These advanced steps go further but often resolve stubborn problems.

1. Clear Google Play Services and Play Store cache

YouTube relies heavily on Google Play Services and the Play Store for authentication, licensing, and updates.

  • Go to Settings > Apps > See all apps.
  • Find and tap Google Play Services.
  • Tap Storage & cache.
  • Tap Clear cache.
  • Go back and find Google Play Store.
  • Again, tap Storage & cache.
  • Tap Clear cache.

Restart your phone, then open YouTube and test it for a while.

2. Reset app preferences on Android

Resetting app preferences can fix hidden conflicts with default apps, disabled services, or permissions without erasing personal data.

  • Go to Settings > Apps.
  • Tap the three-dot menu (or More).
  • Tap Reset app preferences.
  • Confirm the action.

This step re-enables disabled apps, restores default app choices, and resets permission limits. After that, try YouTube again.

3. Wipe cache partition or use device recovery options

On some devices, system-level cache can become corrupted and cause odd app behavior.

The exact process depends on your phone brand, but usually follows this pattern:

  1. Power off your phone completely.
  2. Press and hold a button combination such as Power + Volume Up (check your manufacturer’s guide).
  3. In recovery mode, use volume buttons to highlight Wipe cache partition and confirm with the power button.

Avoid choosing Wipe data/factory reset unless you are ready to erase everything. After wiping the cache partition, reboot your phone and test YouTube again.

If even advanced steps do not solve it, you are reaching the point where support or a full reset may be necessary.

When to Contact Support or Consider a Reset

Most YouTube crashes on Android can be fixed by the steps above. But there are rare cases where a deeper system issue or hardware problem is involved.

1. Contact YouTube or device manufacturer support

Consider reaching out for official help when:

  • YouTube keeps closing on Android after you try all practical fixes.
  • Multiple apps crash regularly, not just YouTube.
  • Crashes started right after a major system or firmware update and never stopped.

Before contacting support, gather these details:

  • Phone brand and model.
  • Android version.
  • YouTube app version (from YouTube settings > About).
  • A short description of when the crash occurs and any patterns you noticed.

The more specific information you provide, the easier it is for support to suggest targeted solutions.

2. Backup your data before a factory reset

If support recommends a factory reset or you decide to perform one, make sure your data is safe.

  • Enable Google backup for apps, call history, SMS (if supported), and device settings.
  • Backup photos and videos to a cloud service like Google Photos or another provider.
  • Copy important files and documents to a computer, SD card, or external drive.

After confirming the backup, you can perform a factory reset from Settings > System > Reset or General management > Reset, depending on your phone.

3. When it might be time to upgrade your phone

If your phone is old, has limited RAM and storage, and no longer receives system updates, it may struggle with newer versions of YouTube and other apps.

You may want to upgrade if:

  • Your device is several years old and stuck on an older Android version.
  • Many modern apps crash, freeze, or lag badly.
  • You are constantly running out of storage and RAM.

A newer phone with more memory, newer software, and better hardware support will offer a smoother YouTube experience and better overall performance.

Conclusion

When YouTube keeps closing on Android, it feels like your phone is refusing to cooperate just when you want to relax. The problem is annoying, but in most cases, it has a clear cause and a straightforward fix.

You started with quick checks to rule out one-time glitches, weak networks, and YouTube outages. You then repaired the YouTube app by clearing cache and data, updating, and reinstalling when needed. Next, you tuned Android system settings by rebooting, updating the OS, freeing storage, and turning off harsh power modes.

You went deeper by adjusting battery optimization and background limits just for YouTube, allowing required permissions, and stopping Android from silently stripping them. You checked for conflicts with VPNs, ad blockers, overlays, and ‘cleaner’ apps, and used safe mode to pinpoint troublesome software. Brand-specific tips for Samsung, Pixel, Xiaomi, OnePlus, and others helped you tame their extra battery and performance layers. Scenario-based fixes for PiP, casting, and HD streaming guided you when crashes happened only in special situations, while advanced steps like clearing Play Services cache and resetting app preferences tackled persistent problems.

You do not need to apply every fix at once. Take it step by step, test after each change, and watch for patterns. With a bit of patience and the right settings in place, YouTube can return to smooth, stable playback on your Android phone, without random closes interrupting your videos.

Frequently Asked Questions

Why does YouTube keep closing on my Android phone even after I updated the app?

Updating the app fixes many bugs, but crashes can still come from elsewhere. Common causes include corrupted cache or data, aggressive battery optimization that kills YouTube in the background, outdated Android system software, low storage, or conflicts with VPNs, ad blockers, and overlay apps. Clear YouTube’s cache and data, set its battery mode to ‘Unrestricted’, update Android, and test in safe mode. If YouTube works in safe mode, another app is likely causing the crashes.

Is it safe to clear YouTube cache and data to fix crashes on Android?

Yes, both actions are safe for your phone and your Google account. Clearing cache removes temporary files that may have become corrupted and often fixes performance issues without changing settings. Clearing data resets the YouTube app to its original state, signing you out and removing offline downloads and local preferences. Your Google account, subscriptions, playlists, watch history stored in the cloud, and uploaded videos are not deleted. You simply need to sign in again after clearing data.

What should I do if YouTube only keeps closing when I use Picture-in-Picture on Android?

If crashes mainly happen in Picture-in-Picture (PiP) mode, check PiP permissions and battery limits. Go to Settings > Apps > Special app access > Picture-in-picture and make sure YouTube has permission. Set YouTube’s battery mode to ‘Unrestricted’ so Android does not kill it when it goes into a small floating window. If you expect background playback, confirm you have YouTube Premium, since full PiP support usually requires it. After adjusting these settings, test again. If PiP still causes crashes, use full-screen playback as a temporary workaround while you wait for future app or system updates.