How to Play YouTube in the Background With YMusic (No Premium Required)

YMusic plays YouTube audio in the background by default — press Home or lock the screen and the music continues. No YouTube Premium account required. No root access required. Works on Android 5.0 through 14.

Does YMusic Background Play Actually Work?

Yes. YMusic requests an audio-only stream from YouTube’s API and runs it through Android’s foreground audio service. YouTube’s own app disables background play at the app layer, not the Android OS layer. YMusic operates below that restriction — which is why it works reliably.

What appears when the screen is off:

  • Notification shade: play/pause, skip forward, skip back, song title, artist name
  • Lock screen: same controls plus thumbnail art

For a complete feature comparison: ymusic features — equalizer, downloads, data saver, and sleep timer.

How to Enable Background Play on Standard Android (Samsung, Vivo, Realme, OnePlus)

On standard Android and Samsung OneUI, background play works immediately after install. If audio stops after locking, Notification permission is missing or battery optimization is blocking the background service.

Check 1 — Notification permission (Android 13 and 14): Settings → Apps → YMusic → Notifications → All YMusic Notifications → Allow. Without this, Android deprioritizes YMusic’s foreground service — audio stops within 30–60 seconds of locking.

Check 2 — Battery optimization: Settings → Battery → App Battery Saver → YMusic → No Restriction (or “Unrestricted”).

Samsung OneUI specific: Samsung Settings → Battery → Background Usage Limits → turn off “Put unused apps to sleep” for YMusic. This Samsung-specific setting causes most Galaxy S and A series background interruptions.

Background play stopping mid-session after settings are correct: ymusic not working has the full diagnostic table.

How to Enable Background Play on Xiaomi (MIUI / HyperOS) — Extra Steps Required

On Xiaomi MIUI and HyperOS, background play requires 3 settings. Missing any 1 of these 3 stops background audio within minutes of the screen locking.

Setting

Path

Step 1: Battery optimization (required)

Settings → Battery → App Battery Saver → YMusic → No Restriction

Step 2: Auto-start (required)

Settings → Apps → Manage Apps → YMusic → Autostart → Enable

Step 3: Data saver (required on mobile data)

Settings → SIM & Network → Data Saver → confirm YMusic is not restricted

Why 3 settings: MIUI manages battery, auto-start, and data access as 3 independent subsystems. Most guides cover 1 — which is why background play “sometimes works” on Xiaomi devices.

HyperOS (MIUI 14+): If Settings → Battery does not show “App Battery Saver,” search “Battery Saver” in the Settings search bar.

Still stopping after all 3 settings? ymusic not working covers Xiaomi-specific troubleshooting beyond the 3 settings.

YMusic vs Browser Methods — Which Background Play Option Is Most Reliable?

YMusic is the most stable background play option — dedicated app, foreground service, offline capable. Browser methods work but stop when RAM pressure causes tab refresh or the browser is closed.

Method

Stability

YMusic

High — foreground service | Offline download | No ads | Medium setup (sideload) | Free

Brave browser

Medium — browser tab | No offline | Ad blocker | Low setup (App Store) | Free

Chrome Desktop Site

Low — tab can refresh | No offline | YouTube ads | Very low setup | Free

YouTube Premium

High — official | Offline download | No ads | Very low setup | Rp 59k/mo (ID) / ₹129/mo (IN)

Why browser methods are less stable: Browser audio runs in a tab — not a dedicated foreground service. Android’s memory manager kills browser tabs under RAM pressure, common on 3 GB phones.

iPhone users and users who cannot sideload: ymusic for iphone covers all 4 iOS alternatives including Brave setup.