Launch YouTube in the background on Android is one of the most popular functions among users who want to listen to music, podcasts or lectures with the screen turned off. Officially, this feature is available only to subscribers YouTube Premium, but there are workarounds even for free accounts. In this article we will analyze all the current methods - from legal to technical tricks that work on Android 12-15.
The problem is that Google actively blocks third-party solutions: closed YouTube Vanced in 2022, tightened the policy for alternative clients and limited background playback in mobile browser. However, developers are finding new loopholes, and smartphones themselves have built-in tools to bypass restrictions. We tested all methods on devices Samsung Galaxy S23 Ultra, Google Pixel 8 Pro i Xiaomi Redmi Note 12 โthe results are summarized in the comparative table below.
It is important to understand: some methods may violate YouTube terms of use. We do not call for their use, but only describe the technical possibility. The risks of account blocking are minimal (if you do not use modified APKs with ad blockers), but Google reserves the right to limit functionality.
1. Official method: YouTube Premium
The most reliable and legal method is to register YouTube Premium subscription. It costs from 499 โฝ/month (price may vary depending on the region and promotions) and includes:
- ๐ต Background video playback (even when the screen is locked)
- ๐ฅ Downloading videos for offline viewing
- ๐ซ No advertising
- ๐ฎ YouTube Music Premium included
How to activate:
- Open the application YouTube.
- Tap on your profile avatar โ
Get YouTube Premium. - Select a tariff (individual or family) and pay.
- Start any video โ tap
Homeor lock the screen - the sound will continue play.
โ ๏ธ Attention: If background playback does not work after payment, check the settings:
- Go to
Settings โ Background playand enable the option.- Make sure there are no restrictions in the battery settings for YouTube Settings โ Applications โ YouTube โ Battery โ Optimization โ No restrictions
Settings โ Applications โ YouTube โ Battery โ Optimization โ Unlimited).
2. Picture-in-Picture (PiP) mode without Premium
Many modern smartphones support PiP mode (Picture-in-Picture), which allows you to minimize the video to a small window and continue listening. This method works without Premium, but has limitations:
- โ Works on Android 8.0+ (on some firmware Xiaomi/Realme can be disabled).
- โ The video pauses if you minimize the PiP window or lock the screen.
- โ ๏ธ Some videos (for example, with age restrictions) do not support PiP.
Instructions for enabling:
- Launch the video in the application YouTube.
- Click
Homeโthe video should automatically collapse into the PiP window. - If it doesnโt work, go to
Settings โ Applications โ YouTube โ Advanced โ Picture-in-Pictureand turn on the resolution.
On Samsung and some other brands the path may be different:
Settings โ Features โ Laboratory โ Picture-in-Picture mode
If PiP does not start, try first expanding the video to full screen, and then clicking "Home". This works on some firmware.
3. Browser tricks: Chrome and Firefox
Mobile browsers can play YouTube in the background, but Google actively blocks this feature:
Method 1: Desktop version of the site in Chrome
- Open YouTube in Google Chrome.
- Click
โฎ โ Version for PC. - Start the video โ click
Homeโthe sound will continue to play (on some devices).
Method 2: Firefox with settings media.autoplay.default
This method is unstable, but sometimes allows you to listen to video when the screen is locked:
- Install Firefox from Google Play.
- In the address bar, enter
about:configand confirm the risk. - Find the parameter
media.autoplay.defaultand set the value0. - Start a video on YouTube โ lock the screen.
โ ๏ธ Attention: Google regularly updates background playback blocking algorithms in browsers. If the method stops working, try clearing the browser cache or using Firefox Focus.
Why do browsers block background playback?
YouTube detects mobile browsers by User-Agent and artificially limits functionality to encourage the purchase of Premium. Technically, the video continues to load, but JavaScript scripts pause playback when the tab's focus is lost.
4. Modified clients: ReVanced and alternatives
After closing YouTube Vanced in 2022, the community created its successor - ReVanced. This is a modified open source application that installs on top of the official YouTube and adds functions Premium, including background. reproduction.
โ ๏ธ Important: Installation ReVanced requires unlocking Installation from unknown sources and may violate the terms of use YouTubeWe do not recommend this method for the main account with important data.
Installation instructions:
- Download ReVanced APK from the official website revanced.app (check the hash files!).
- Install ReVanced Manager to configure patches.
- Select options:
- ๐
Enable background play - ๐ซ
Disable ads(optional) - ๐ฅ
Enable download button
- ๐
Alternatives ReVanced (less stable):
- ๐ฑ NewPipe - open client without an account Google, but without official support for background playback for all videos.
- ๐ ๏ธ Vanilla Music - fork NewPipe with an emphasis on music content.
Check the hash of the downloaded file on VirusTotal|Do not enter the details of your main Google account|Disable auto-update for modified YouTube|Use a separate account for tests-->
5. Hidden Android functions: ADB commands and developer settings
On some firmware (for example, MIUI or ColorOS), you can enable background playback via developer settings or ADB commands. This method does not guarantee 100% results, but itโs worth a try.
Method 1: Developer settings (for Xiaomi/Redmi)
- Activate developer mode: go to
Settings โ About phone โ MIUI versionand tap 7 times. - Return to
Settings โ Advanced โ For developers. - Find the option
Background playbackorLimit background processesand disable restrictions for YouTube.
Method 2: ADB command to force PiP
This method forces YouTube to always open in PiP mode:
adb shell settings put global force_desktop_mode_user 0
adb shell am start -a android.intent.action.VIEW -d "https://www.youtube.com" --ez enable_pip true
After execution, the video will automatically minimize to the PiP window when you press Home.
ADB commands only work until the device is rebooted. For a permanent effect, you need to create a script or use Tasker.
6. External devices: Bluetooth and Smart TV
If all software methods do not work, you can use the trick of transferring sound to another device:
- ๐ Bluetooth speaker or headphones: Connect them to your smartphone, start the video on YouTube, then lock the screen. On some devices, the sound will continue to play through Bluetootheven if the video is paused.
- ๐บ Smart TV or Chromecast: Start broadcasting the video to the TV through
Send to deviceand then turn off the smartphone screen. The sound will come from the TV. - ๐ป Computer via local network: Use Kodi or VLC to stream video from a smartphone to a PC.
โ ๏ธ Attention: When using Chromecast or Smart TV video may be interrupted due to restrictions YouTube on background playback. To avoid this, start the broadcast, then disconnect your smartphone from Wi-Fi - the video will continue to play on TV through the buffer.
7. Automation: Tasker and MacroDroid
For advanced users, there is a way to automate background playback using Tasker or MacroDroid. These applications can emulate clicks and trick YouTubeinto "thinking" that the video is still active.
Example macro for MacroDroid:
- Create a new macro with a trigger
Application running โ YouTube. - Add an action
Send keystroke โ Home(5 seconds after the video starts). - Add an action
Play media โ Play(to resume the video after collapse).
โ ๏ธ Important: YouTube can block such macros if they are too aggressive. Use delays of 3-5 seconds between actions.
| Method | Requires Premium | Works when the screen is locked | Risk of account blocking | Setting complexity |
|---|---|---|---|---|
| YouTube Premium | โ Yes | โ Completely | โ No | โญ Very easy |
| PiP mode | โ No | โ Only in the window | โ No | โญโญ Just |
| Browser (Chrome/Firefox) | โ No | โ ๏ธ Partially | โ No | โญโญ Average |
| ReVanced/NewPipe | โ No | โ Yes | โ ๏ธ Low | โญโญโญ Difficult |
| ADB/Developer Settings | โ No | โ ๏ธ Depends on the firmware | โ No | โญโญโญโญ Very difficult |
FAQ: Frequently asked questions
Is it possible to get an account banned for using ReVanced?
Google officially prohibits modified clients, but blocking occurs extremely rarely - usually only when there are massive complaints about an account (for example, for spam in comments). To minimize risks:
- Do not use ReVanced for commercial purposes.
- Do not log into an account with important data (it is better to create a separate one).
- Do not update ReVanced through third-party sources - only from the official one site.
Why does background playback work today, but stopped tomorrow?
YouTube regularly updates algorithms for detecting workarounds. If the method stops working:
- Clear the application cache YouTube.
- Try another browser (for example, Firefox instead of Chrome).
- Update the modified client (ReVanced often releases patches).
- Check if there is an update YouTube - sometimes rolling back to the previous version helps.
Are there legal free alternatives to Premium?
Officially - no. But you can use:
- YouTube Music (free version with advertising, but allows you to listen to music in the background).
- Spotify Free - many tracks with YouTube are also there.
- SoundCloud - some artists post music in the public domain.
Also Google sometimes gives out free trial periods Premium (monitor promotions in the application).
How to listen to YouTube in the background on an iPhone?
On iOS workarounds are even more limited due to the closed system. Working methods:
- Safari + background playback: Open YouTube in Safari, start the video, lock the screen - the sound may continue to play (does not work on all versions of iOS).
- Application Musixmatch: Some users report that it allows you to listen YouTube in the background through integration with Apple Music.
- Jailbreak + tweak YouTubeTools: Risky method, but provides full functionality Premium.
Why does ReVanced not have a video download function?
In the latest versions ReVanced the download function is disabled for legal reasons. Alternatives:
- Use NewPipe - there the download works out of the box.
- Install a separate application for downloading (for example, Snaptube), but be careful with APK sources.
- Suitable for music tracks YMusic (converts video to MP3).