Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've been under the impression that iOS shuts down WiFi when the screen is off - which is good as far as battery savings.

Lately I've been suspecting that WiFi remains on, and I did a test. My iPhone's screen has been off for like 15 minutes. I opened iTunes and did a WiFi Sync, it worked! Does that mean my WiFi is on 24/7??


EDIT: I don't have a data plan and I selected cellular data OFF. Maybe it's related?

share|improve this question
Where did your impression that Wifi "shuts down" when the screen is off come from? I've always assumed the antenna may be active at any time until you shut off Wifi in Settings. – Dan J Oct 17 '11 at 19:11
I'm from the old days, before buying the 4S I had the original iPhone, and it for sure shut down wifi when idle. I remember because downloads and other internet-related stuff stopped when the screen went off. Also, the wifi icon was off for a few seconds after turning back on – nute Oct 17 '11 at 19:19
Interesting. I don't recall observing that behavior on the 3G or 4, but I never specifically tested for it, either. – Dan J Oct 17 '11 at 19:21
up vote 8 down vote accepted

iOS 4

If the phone is connected to a power source, then Wifi remains enabled, even if the phone goes to sleep. If the phone is not connected to a power source, then Wifi is disabled once the phone goes to sleep.

This of course was by design in an effort to reduce battery consumption.

iOS 5

iOS 5 looks to have altered the behaviour of the device. If iTunes wireless syncing is enabled and iTunes is running, the device will listen to any Wifi connection and wake for it (even SSH, which requires a jailbreak to install). I've tested the device with iTunes not running and it indeed behaves as it did in the previous iteration of iOS, refusing to allow a connection through SSH until I woke the device.

However, it seems this is not consistent. Leaving the phone unconnected and iTunes running, I started an SSH session and began transferring some files. When the phone went to sleep, the connection was lost. So it looks like the answer is "yes, but don't count on it?" Clearly iTunes wireless syncing throws us a curveball here.

share|improve this answer
I don't believe this is correct - my wifi-sync test was done while off the power source. – nute Oct 18 '11 at 8:00
@nute Yep me too. iTunes will wake it up (by design). If you want to test my statement, let the phone fall asleep for ~5 minutes without a cable connected. Turn on the screen by hitting the power button. You'll see the 3G logo for a few seconds before it's quickly replaced by the Wifi logo (as it negotiates a connection with your network). Additionally, if you are jailbroken, you can install SSH and do the same, but after 5 minutes, try to connect to your device using any sFTP client. Since SSH isn't set to wake the device, it won't connect until you plug it in, or hit the power button. – user10355 Oct 18 '11 at 8:07
I don't have a data plan so I disabled cellular data. When I press turn on my phone, it immediately has the wifi icon on, no delay. Which now prompts me to consider, maybe the fact that I have cellular data off puts wifi on instead?? – nute Oct 18 '11 at 9:38
The only way to truly test if you have Wifi enabled is to connect to it from an app that is not part of Apple's own ecosystem. I know iTunes wakes it, as does Mail (and many other apps) for push notifications. But that doesn't get us anywhere. Waking the device is not the same as having it continually connected. I just tested it with SSH and it indeed connected. Perhaps I should change my answer to reflect iOS 4 (which I know exhibited the behaviour I outlined) as iOS 5 clearly does things differently. – user10355 Oct 18 '11 at 10:01
hmm. It's interesting, how can iTunes on my computer remotely wakeup the iPhone's wifi, how can it talk to it? On the other hand - since my cellular data is off and i have PUSH enabled and WiFi sync, maybe iOS keeps turning wifi on/off everything it wants to check stuff. – nute Oct 18 '11 at 16:56

I think you'll find that the 4S is awake on WiFi for 10 seconds in every 4 minutes (240 seconds) irrespective of the iTunes Sync setting.

This can be tested by opening a DOS prompt on a Windows machine (or in Terminal on OS X) connected to the same network as your iPhone WiFi.

Find out the IP address allocated to your phone (on phone > Settings > Wi-Fi > {network name} > IP Address

Type the following command (example):

ping -t 

(where the number is the IP address of the phone and -t means keep pinging; on OS X, omit the -t as it isn't needed)

Wait and you'll see a burst of responses for 10 seconds every 230 seconds (230 + 10 = 240 = 4 minutes)

share|improve this answer

pretty sure iOS 4 shuts off wifi when screen is in lock. How do I know? because I went over my limit a few times like that and I called in AT&T and they confirmed the feature for me. I'm not about to risk paying more by testing if that's the case again... but should have been mentioned or featured when iOS 5 came out by someone.

share|improve this answer
And you are sure that AT&T is correct in this matter? – patrix Dec 3 '11 at 14:30

Seems to be the case according to chksum, with some additional details.

  1. iPhone reverts to 3G when in standby (iOS, any version).
  2. iPhone will maintain Wi-Fi if looking for iTunes Wi-Fi Sync over network (iOS 5).
  3. iPhone will maintain Wi-Fi if an app that requires Wi-Fi is active (apps can maintain the Wi-Fi connection even when in sleep mode by using the UIRequiresPersistentWiFi API flag available to developers.
  4. When Music: iTunes Home Sharing is enabled (makes sense).
  5. When playing music
  6. A guess: when iPod touch must wake up and use wifi for scheduled 15/30/60-minute Fetch requests, or when iPod touch uses Push connections to servers.


So essentially, the iPhone maintains a wifi connnection when it needs to because of Apple services (wifi-sync) or a third party app says to.

I noticed this phenomenon myself the other day when I restored my iPhone to factory settings - previously I always used wifi-sync, but today I decided to use wired-only and so it was interesting to see this old behavior again.

I recall setting up my friend's iPod touch and listening to it chime every 10 minutes or so (which may have been 15, psychologically speaking I didn't time it, as that was before such issues occurred to me.)

Music seems very interesting. I wiped/restored my iPhone clean to reconfirm my observations and the results below seem consistent.

  1. If I play music and lock my iPhone (set a nearby Terminal to ping the IP per Hackencrash's instructions) the iPhone will maintain its Wi-Fi connection indefinitely (past the normal 15sec timeout). This happens regardless of whether the app is in the foreground or background when I lock the phone.

  2. If you pause the music, after 15 secs Wi-Fi will time out as normal.

  3. If you then resume the music OR play music (using Apple Earbud Controls) from a locked iPhone, the Wi-Fi will stay asleep.

  4. If something causes wifi to reactivate while asleep (ex. incoming email over push connection) the iPhone will wake Wi-Fi and will stay active as in (1).

share|improve this answer

Your observation is correct: the WiFi is on 24/7 unless you turn it off. I, too, remember this not being the case awhile ago, but I believe that WiFi always-on has been the case since iOS 4 at least.

share|improve this answer
Someone down-voted you. So far I think you are correct. Maybe you can run some tests too? – nute Oct 18 '11 at 8:00
@nute It seems cksum has the better answer. – CajunLuke Oct 18 '11 at 14:55

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.