Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

Is it possible to set the iPhone to play music/audio while asleep? If so, how do you configure it?


I don't mean locking the phone or turning the screen off. When I play an audio file (for instance, http://m.insightforliving.ca/current-broadcast) and the phone goes to sleep (I think it's called deep sleep), the audio stops playing. Is there a way of setting it up in iPhone that the audio keeps playing even in deep sleep?

share|improve this question
Do you mean something like starting music playback then turning the screen off or music starting automatically at some point or something else? –  CajunLuke Jan 11 '13 at 19:34
I edited my question. –  Pax Jan 11 '13 at 19:54
By the way, there's nothing called "deep sleep" on iOS - there's only screen on, screen off, and shut down. Obviously, nothing runs when the device is shut down. –  CajunLuke Jan 11 '13 at 19:59
Interesting, I wasn't able to duplicate this behavior. Are you using headphones, and playing it in iOS Safari? I did edit my answer, which may make it more helpful for you. –  bassplayer7 Jan 11 '13 at 20:23
I'm playing it in iOS Safari. –  Pax Jan 11 '13 at 20:42

1 Answer 1

up vote 3 down vote accepted

In this case it sounds like we want to disable auto-lock. This can be done by opening Settings.app, going to General, then scrolling down to "Auto-Lock". Set this to "Never".

It is possible use the speakers on iPhone to play even when the device is locked. This is possible by:

  1. Opening Music.app
  2. Select song/album/playlist
  3. Lock the device. The music will continue to play.

You can also double tap the home button when the device is locked to show play/pause controls for the last-played music.

Also, other apps continue to play when the device is locked such as Voice Memos.

Note: all audio will shut off when the phone is powered off.

share|improve this answer
My Auto-Lock is set to 5 mins - it does not shut down the music when the iPhone locks –  Mark Jan 10 '14 at 2:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.