YouTube is a fantastic video service that's packed with musical content: it's every bit as strong as Spotify for playing individual music tracks, and it's free.

Like other video apps such as iPlayer and Vimeo, YouTube can provide great audio entertainment on the iPhone, even if you're not able to watch the screen. But what if you'd like it to play the audio in the background, while you get on with something else in another app? In this article we show how this is done.

How to play YouTube audio in the background on iPhone or iPad

Why audio stops playing in background on YouTube

A feature that's common to YouTube and other video apps is that, when you press the Home or power button, the audio stops playing. So you have to keep the phone on, and playing the video on the screen, in order to listen to the audio.

This sucks, because you can't put the iPhone in your pocket (you're sure to accidentally tap the screen), and unless you set the Auto-Lock option to Never, it'll stop playing when the iPhone locks. And watching it with video playing drains the battery.

YouTube doesn't want you to play its videos as background audio, because it reserves this feature for its paying subscribers (see below). This means that solutions to this problem tend to vanish as the company finds ways to block them. But there are still workarounds, as we will see.

YouTube Red

The official solution first: to play YouTube audio in the background while using another app, you need to subscribe to the paid YouTube Red service. Background audio is one of the additional features that Red offers, along with the ability to download videos for offline viewing (although you can do that through other means) and the removal of adverts.

You can join YouTube Red here, but note that unfortunately the service isn't available in the UK yet.

View the video in a (non-Safari) web browser

If you don't want to subscribe to YouTube Red, the easiest solution is to view the video in a browser instead of the app. An additional complication is that, since around iOS 10, this hasn't worked in Safari, so you need to go off-piste.

There are lots of alternative web browsers out there, and it might be worth trying some out to see if you prefer their interfaces and features to Safari anyway, quite apart from the fact that they may be able to use YouTube videos as a background audio source. We tried this technique in one of Dolphin's mobile web browsers (there can be some complications in terms of which versions are available in which App Store) and it worked fine.

How to play YouTube audio in the background on iPhone or iPad

Open Dolphin (or whatever browser you use) and browse to youtube.com. Search for the video you want to play, and start it playing.

Now hit the Home button, and the audio will stop as you're taken back to the Home screen. But if you bring up Control Centre by swiping up from the bottom of the screen, you should see the name of the video in the 'Now playing' widget, together with a play icon. Tap play and the audio will start again, with no video playing. This will carry on if the screen goes to sleep.

How to play YouTube audio in the background on iPhone or iPad: Dolphin

There are other places from which you can tell the video to play. It should appear on the lock screen, too, and on an Apple Watch that is paired with the iPhone. Tap play from either of these screens and the audio will begin.

How to play YouTube audio in the background on iPhone or iPad: Dolphin

You should even be able to access the Control Centre or Apple Watch play button while using a different app on the iPhone, although some games may hijack the audio for their own purposes. Experiment to see what works.

How to play YouTube audio in the background on iPhone or iPad: Dolphin

Older versions of iOS

If you're running an older version of iOS - we think this should work on any version from iOS 7 to iOS 9, and some of the earliest builds of iOS 10 may possibly work too - then you can use the above solution in iOS's built-in Safari browser instead, which makes things a little more straightforward.

Use Control Centre to start audio playing again

This trick works as well for BBC iPlayer as it does for YouTube (and other services too, like Vimeo).