sodcalculator

10 Tech How-To

Why Does My Android WiFi Keep Turning Off?

Guide 10-52664 · Updated · Step by step

Your Android WiFi keeps turning off because of a combination of power-saving settings, system optimizations, and network glitches. The fix usually involves adjusting your WiFi sleep policy, disabling battery optimization for WiFi-related apps, and forgetting/reconnecting to the network.

Background: Why This Happens

Android is designed to balance performance with battery life. When your screen is off or the device is idle, the system may aggressively suspend background activities, including WiFi. This is especially common on phones with heavy manufacturer skins (like Samsung, Xiaomi, or OnePlus) that add their own battery management layers on top of stock Android. Additionally, Android’s “WiFi sleep” setting historically allowed the phone to disconnect from WiFi when the screen was off, and while newer versions default to “keep WiFi on during sleep,” some devices still override this.

How Android Manages WiFi Connections

Android uses several mechanisms to decide when to keep WiFi active:

  • WiFi Sleep Policy – Determines whether WiFi stays on when the device is in sleep mode (screen off). Options usually include “Always,” “Only when plugged in,” and “Never.”
  • Battery Optimization – Apps and system services can be put into a “restricted” or “optimized” state, which may kill background network access.
  • WiFi Aware / Scan Throttling – Android limits background WiFi scans to save battery, which can cause the phone to drop a weak connection and not reconnect promptly.
  • Auto-join / Smart Network Switch – Some devices automatically switch to mobile data when WiFi is weak, which can appear as WiFi turning off.

Common Causes and Quick Fixes

Here are the most frequent reasons your WiFi turns off, with step-by-step fixes:

  1. WiFi Sleep Policy is set to “Only when plugged in” – Go to Settings > WiFi > Advanced > Keep WiFi on during sleep and select Always.
  2. Battery Saver is on – Battery Saver often disables WiFi when the screen is off. Turn it off or exclude WiFi from its restrictions.
  3. App-specific battery optimization – If a particular app (like a messaging app) is being killed, go to Settings > Apps > [App] > Battery and select Unrestricted.
  4. Smart Network Switch – Disable this feature: Settings > WiFi > Advanced > Smart Network Switch (or similar).
  5. Router issues – Your router may be dropping connections due to channel interference, outdated firmware, or DHCP lease problems. Restart the router and check for firmware updates.
  6. Network forget and rejoin – Forget the network, then reconnect by entering the password again. This clears corrupted saved settings.

Advanced Troubleshooting

If the basic fixes don’t work, try these deeper solutions:

  • Reset network settings – This clears all WiFi, Bluetooth, and mobile data settings. Go to Settings > System > Reset options > Reset WiFi, mobile & Bluetooth. You will need to re-enter WiFi passwords.
  • Check for system updates – Android updates often fix WiFi bugs. Go to Settings > System > System update and install any pending updates.
  • Boot into Safe Mode – This temporarily disables third-party apps. If WiFi stays on in Safe Mode, a downloaded app is causing the issue. Uninstall recently installed apps.
  • Use a static IP – Some routers have issues with DHCP. In WiFi settings, change the IP settings to Static and enter a manual IP, gateway, and DNS (e.g., 8.8.8.8).

Comparing Android Versions and Manufacturer Skins

The exact menus and options vary by Android version and manufacturer. Stock Android (Pixel devices) has fewer battery management layers, so WiFi drops are less common. Samsung’s One UI, Xiaomi’s MIUI, and OnePlus’s OxygenOS have aggressive battery optimization that can interfere with WiFi. For example, on MIUI, you may need to enable “No restrictions” in the battery saver settings for the WiFi service. On Samsung, look for “Put unused apps to sleep” and disable it for important apps.

Safety and Privacy Considerations

When troubleshooting, be cautious about granting “unrestricted” battery access to apps – only do this for trusted apps that need constant connectivity (like messaging or smart home apps). Also, when resetting network settings, you will lose saved WiFi passwords, so have them handy. Avoid using third-party “WiFi keep alive” apps that may request unnecessary permissions or contain ads; they are rarely needed if you adjust the system settings correctly.

Frequently Asked Questions

Why does my WiFi turn off when the screen is off?

This is usually due to the WiFi sleep policy or battery optimization. Change the sleep policy to “Always” and disable battery optimization for the WiFi-related system apps.

Why does my WiFi turn off when I’m not using my phone?

Android may be suspending background network activity to save battery. Check your battery saver settings and ensure that WiFi is not set to turn off when the device is idle.

Why does my WiFi turn off when I’m using a specific app?

That app might be triggering a power-saving mode. Go to the app’s battery settings and set it to “Unrestricted” or “No restrictions.”

Why does my WiFi turn off and on repeatedly?

This could be a weak signal, router interference, or a DHCP conflict. Try moving closer to the router, restarting the router, or forgetting and rejoining the network.

Will a factory reset fix my WiFi issue?

It might, but it’s a last resort. A factory reset will erase all data, so back up first. If the issue is software-related, a reset can help, but if it’s a hardware issue, it won’t.

Why does my WiFi turn off when I’m on a call?

Some phones automatically switch to mobile data for calls (VoLTE) and may temporarily disconnect WiFi. This is a carrier feature, not a bug, and usually resolves after the call.

Related

General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.

More in this bed

The whole Tech How-To bed →