You launched your favorite podcast or playlist on YouTube, you lock the screen - and the music instantly stops. Is this a familiar situation? The official application YouTube on Android blocks background playback for users without a subscription YouTube Premium. But there are at least 7 workarounds to listen to content with the screen off without paying for a premium account.

In this article we will look at all the current methods - from hidden browser functions to alternative players, including their pros and cons. You will learn how to enable background playback via Developer settings, which applications will replace the standard one YouTube, and why some methods may stop working after updates. Important: some solutions require root access or installing an APK from third-party sources - we will warn you about the risks in advance.

Spoiler: the most reliable way is to use modified versions YouTube (for example, Vanced or ReVanced), but their installation has become more difficult after the tightening of policy Google Play. But new alternatives have appeared like LibreTube or NewPipethat do not require registration and work without unnecessary water. Below are detailed instructions for each option.

1. Method for the lazy: playback through the browser

The simplest method, which does not require installing additional applications, is to use the mobile version YouTube in the browser. Suitable for all devices on Android 5.0+, but has a limitation: background playback only works while the browser is open in background (not closed by swiping).

Instructions:

  • ๐ŸŒ Open Chrome, Firefox or any other browser and go to the site m.youtube.com.
  • ๐ŸŽต Start the video, then click the button "Home page" (or minimize the browser).
  • ๐Ÿ”Š The playback notification will remain in the notification bar - tap on it to control the track.

โš ๏ธ Attention: In the latest versions Chrome background playback may be blocked after 5-10 minutes. To avoid this, before starting the video, open Chrome Settings โ†’ Sites โ†’ Media and enable autoplay.

๐Ÿ“Š What browser do you use on Android?
Chrome
Firefox
Samsung Internet
Opera
Other

Advantages of the method:

  • โœ… No need to install anything.
  • โœ… Works on any device, including Android Go.
  • โœ… You can listen to playlists without interruptions for advertising (if you do not close the browser).

Disadvantages:

  • โŒ The sound is interrupted if you close the browser with a swipe.
  • โŒ There are no gesture controls (for example, rewinding with a double tap).
  • โŒ Works unstable on some versions Android 12+.

2. Enable background playback through Developer Settings

This method uses a hidden function Androidthat allows applications to run in the background without restrictions. Suitable for devices with Android 8.0 Oreo and newer, but requires activation of the developer mode.

Step-by-step guide:

  1. Open Settings โ†’ About phone and tap on the item 7 times Build number (or MIUI version on Xiaomi). A notification โ€œYou have become a developerโ€ will appear.
  2. Return to the main settings menu and find the new section For developers.
  3. Scroll down and enable the option Do not limit background activity (on some firmware it is called Do not limit background processes).
  4. Restart the device.

Now open the official application YouTube, start the video and minimize it. The sound should continue to play. If it does not work, check if battery optimization is disabled for YouTube in the application settings.

Why may this method stop working?

Google regularly updates algorithms for limiting background activity. In new versions of Android (starting from 14), the "Don't limit background processes" function may be ignored for certain applications, including YouTube.

Important: On some devices (for example, Samsung or Huawei) this method is blocked by the manufacturer.

3. Alternative applications: NewPipe, LibreTube and others

If you are not satisfied with the restrictions of the official YouTube, the best solution is to install a third-party player such as NewPipe, LibreTube or SkyTube not only allow you to listen to videos in the background, but also block ads, support content downloading, and also work without an account Google.

Comparison of popular alternatives:

Application Background playback Without unnecessary water Video loading Account required
NewPipe โœ… Yes โœ… Yes โœ… Yes (up to 4K) โŒ No
LibreTube โœ… Yes โœ… Yes โœ… Yes (via Piped) โŒ No
SkyTube โœ… Yes โœ… Yes โŒ No โŒ No
Vanced (outdated) โœ… Yes โœ… Yes โœ… Yes โŒ No

NewPipe โ€”the most popular open source solution. It does not require Google Services and supports background playback even on a locked screen. You can install it from the official website. newpipe.net (download only APK from trusted sources!).

Instructions for NewPipe:

  • ๐Ÿ“ฑ Download and install the APK file (allow installation from unknown sources in the security settings).
  • ๐Ÿ” Find the video using the built-in search.
  • ๐ŸŽง Click on the video, then swipe down to minimize the player. The sound will play in the background.
  • ๐Ÿ”„ To control playback, use the notification in the curtain.
๐Ÿ’ก

In NewPipe, you can configure automatic playback of the next video from the playlist. To do this, open Settings โ†’ Playback โ†’ Autoplay i. select the desired mode.

โš ๏ธ Attention: Applications like NewPipe do not violate the rules YouTubeas they use a public API However Google may block certain functions (for example, logging into your account) for third-party clients. If subscriptions or browsing history are important to you, log in via Invidious or Piped (these are decentralized proxies for YouTube).

4. Modified versions of YouTube: Vanced and ReVanced

Until 2022, the most popular solution was YouTube Vanced a modified version of the official application with unlocked background playback, ad blocking and other features. However, the project was closed due to pressure. GoogleIt was replaced by ReVanced - a community that maintains patches for the official APK.

Important: Installing ReVanced requires manual patching of the APK file via a PC. This is more difficult than just downloading a ready-made application, but the result is worth it.

How to install ReVanced:

  1. Download the original one. APK YouTube from the site apkmirror.com (version should not be newer than 17.30.34).
  2. Install on PC ReVanced Manager or ReVanced CLI (instructions on revanced.app).
  3. Start patching by selecting the options:
    Enable background playback
    

    Disable advertising

    Unlock 4K/60FPS resolution

  4. Install the resulting APK on your phone (uninstall first official YouTube).

Advantages ReVanced:

  • ๐ŸŽง Full background playback controlled via notification.
  • ๐Ÿšซ Blocking all types of advertising (including banners and pop-ups).
  • ๐Ÿ”„ Ability to disable autoplay or force video quality.

Disadvantages:

  • โš™๏ธ Difficult installation for beginners.
  • ๐Ÿ”„ Re-patching required after each update YouTube.
  • โš ๏ธ Risk of account blocking when using unofficial clients (although cases are extremely rare).

Download the original YouTube APK (version 17.30.34 or older)

Install Java on your PC (for ReVanced CLI)

Enable USB debugging on your phone

Make a backup copy of YouTube data (if you use an account)

-->

5. We use Picture-in-Picture (PiP) mode

Function Picture-in-Picture (picture in picture) allows you to minimize the video into a small window that remains on top of other applications. The sound continues to play. This method works on most devices with Android 8.0+but requires enabling in the settings.

How to activate PiP for YouTube:

  1. Open Settings โ†’ Applications โ†’ YouTube โ†’ Advanced โ†’ Picture-in-Picture.
  2. Select Allow (or Alwaysif there is such an option).
  3. Start the video in official application YouTube.
  4. Press the button "Home page" or swipe up to switch to PiP mode.

If the PiP option is not in the settings, try:

  • ๐Ÿ”ง Enable it via Developer settings (find the option Simulate secondary displays and select the size 720x480).
  • ๐Ÿ“ฑ On devices Samsung You may need to enable Lab โ†’ Multi-window for all applications.

โš ๏ธ Attention: In the latest versions YouTube PiP mode may be blocked for users without Premium. If the window closes immediately, try updating the application or using the browser method (section 1).

6. Automation via Tasker or MacroDroid

For advanced users who are not afraid of automation settings, a solution via Tasker or MacroDroidis suitable. These applications allow you to emulate clicks and bypass restrictions YouTube programmatically.

Example macro for MacroDroid (allows background playback):

  1. Create a new macro with a trigger Application launched โ†’ YouTube.
  2. Add an action Send Intent with the following parameters:
    Action: android.intent.action.VIEW
    

    Category: android.intent.category.DEFAULT

    Extra: force_background_play - true

  3. Save and activate the macro.

Advantages automation:

  • ๐Ÿค– Works without root access.
  • ๐Ÿ”„ You can configure additional actions (for example, automatically turning on PiP).
  • ๐Ÿ“ฑ Compatible with most versions Android.

Disadvantages:

  • โš™๏ธ Requires time to set up.
  • โš ๏ธ May stop working after update YouTube.
  • ๐Ÿ’ก Not all triggers work reliably on Android 13+.
๐Ÿ’ก

Automation via Tasker/MacroDroid is the only way to unblock background playback on devices with aggressive battery optimization (for example, Xiaomi or Huawei), where other methods do not work.

7. Rooted devices: full control over YouTube

If your Android has root accessyou can use modules Magisk or Xposedto unlock all features. YouTube Premium, including background playback. The most popular solutions:

  • ๐Ÿ”ง YouTube ReVanced Extended (module for Magisk).
  • ๐Ÿ”ง XYouTube (for Xposed/LSPosed).
  • ๐Ÿ”ง Black YouTube (dark theme + background playback).

Instructions for Magisk:

  1. Install Magisk Manager and download the module YouTube ReVanced Extended from the repository.
  2. Activate the module and reboot the device.
  3. Open YouTube โ€”background playback will be unlocked automatically.

โš ๏ธ Attention: Using root access may disrupt the operation of Google Pay, Netflix and other protected applications SafetyNetBefore installing modules, make a backup copy of your data and check compatibility with your firmware.

Warning: On some devices (for example, Samsung Knox), root access can trigger the flag Knox 0x1, which voids the warranty and blocks some functions (for example, Secure Folder).

Comparison of all methods: which choose?

To simplify the choice, we have combined all the methods into one table with an assessment according to key criteria:

Method Complexity Stability Required Route Advertising YouTube account
Browser โญ โญโญ โŒ No โœ… Yes โœ… Yes
Developer settings โญโญ โญ โŒ No โœ… Yes โœ… Yes
NewPipe/LibreTube โญโญ โญโญโญโญ โŒ No โŒ No โŒ No
ReVanced โญโญโญโญ โญโญโญโญ โŒ No โŒ No โœ… Yes
Picture-in-Picture โญ โญโญโญ โŒ No โœ… Yes โœ… Yes
Tasker/MacroDroid โญโญโญโญ โญโญ โŒ No โœ… Yes โœ… Yes
Magisk/Xposed โญโญโญโญโญ โญโญโญโญโญ โœ… Yes โŒ No โœ… Yes

Recommendations for selection:

  • ๐Ÿฅ‡ For most users, the optimal option is with NewPipe or LibreTube - simple, reliable and without unnecessary water.
  • ๐Ÿฅˆ If you need to save your browsing and subscription history, try ReVanced.
  • ๐Ÿฅ‰ A browser or PiP mode is suitable for a temporary solution.

โš ๏ธ Attention: Google regularly tightens the policy towards third-party clients YouTubeSome methods (for example, Vanced) may stop working in the future. Stay tuned for updates in the official repositories.

FAQ: Frequently asked questions

Is it possible to listen to YouTube in the background without the Internet?

Yes, but for this you need to download in advance video. In the official application YouTube Premium allows you to save content for offline listening. In alternative players (for example, NewPipeyou can download videos without a subscription - they are saved directly to your device in the format .mp4 or .mp3.

Why did background playback stop working after the update? YouTube?

Google often changes its background playback blocking mechanisms. If the method stops working:

  1. Check if the application has been updated YouTube (sometimes rolling back to the previous version helps).
  2. Clear the application cache in the settings.
  3. If you used ReVanced โ€”rebuild the APK with the latest patches.
Is it safe to use modified versions of YouTube?

The applications themselves are like NewPipe or ReVanced do not contain malicious code, as they are open source. However:

  • Download APK only from official sites (newpipe.net, revanced.app).
  • Avoid โ€œhackedโ€ versions from unknown forums - they may contain viruses.
  • When using unofficial clients YouTube may block some functions (for example, comments or likes), but the account will not be affected.
How to listen to YouTube in the background on an iPhone?

On iOS it is more difficult to bypass the restrictions, but there are several ways:

  • Use browser Safari (same as the method for Android).
  • Install application Musixmatch (shows lyrics and allows you to listen YouTube in the background).
  • Apply Shortcuts (automation through scripts).

However, most alternative players (for example, NewPipe) on iOS are not available due to the closed system.

Is it possible to listen to YouTube Music in the background without Premium?

Yes, the same methods work for YouTube Music:

  • Use NewPipe (supports YouTube Music).
  • Install the modified version via ReVanced.
  • Enable Picture-in-Picture in the settings applications.

The official application YouTube Music blocks background playback as strictly as the main one YouTube.