How to Permanently Disable Automatic Wi-Fi Connection on Android: A Step-by-Step Guide

Automatically connecting to known Wi-Fi networks on Android is a convenient feature for most users, but not for everyone. If your phone is constantly stuck on weak or unreliable access points, draining your battery while searching for networks, or connecting to public hotspots with the risk of data leaks, it's time to take control. In this article, we'll look at All ways to disable auto-connection, including hidden manufacturer settings and workarounds for resistant Android versions.

The peculiarity of the problem is that Google and smartphone manufacturers (Samsung, Xiaomi, OnePlus) implement Wi-Fi management in different ways. In some cases, it's enough to uncheck a single box, while in others, you'll have to dig around Developer settings or use ADB commands. We tested all methods on Android 10–14 and collected working solutions - from simple to advanced. Important: some methods may reset network settings after updating the OS, so save this guide to your bookmarks.

Why Android automatically connects to Wi-Fi and why is this dangerous?

The auto-connect feature is built into Android at the system level. Its purpose is to ensure uninterrupted internet access while saving mobile data. However, it has a downside:

  • 🔋 Increased battery consumption. Constantly scanning the airwaves for known networks drains the battery 5-15% faster (test data) GSMArena 2023).
  • 🛡️ Security risksAutomatically connecting to open networks (for example, in cafes or airports) can lead to data interception through MITM attacks.
  • 📶 Unstable connectionThe phone may become stuck on a weak network instead of switching to 4G/5G, which slows down content loading.
  • 🚫 VPN ConflictsSome networks block traffic through a VPN, and auto-connection breaks the secure connection.

Manufacturers often disguise auto-connection settings under other names. For example, in MIUI (smartphones Xiaomi/Redmi/Poco) it's called "Auto-connect to known networks", and in One UI (Samsung) — "Smart Wi-Fi Switching"Next, we'll look at where to find these options in popular firmware versions.

📊 Does your smartphone connect to Wi-Fi automatically more often?
Yes, it is annoying.
Yes, but I like it
No, I control the connections.
I don't know how it works

Method 1: Standard disabling in Wi-Fi settings (Android 10–14)

On most devices, the function is controlled through the Wi-Fi menu. These instructions are for stock Android (Google Pixel, Motorola, Nokia) and some custom firmware:

  1. Open Settings → Network & Internet → Wi-Fi.
  2. Tap on ⚙️ (Advanced) → Wi-Fi Settings (or Wi-Fi Preferences on some devices).
  3. Find the option "Auto-connection" or "Connect to open networks automatically" And turn off the slider.
  4. Save your changes (some devices may require a reboot).

If there is no such option, it means the manufacturer has hidden it deeper or replaced it with an equivalent. For example, in Samsung Galaxy With One UI 5.0+ the path will be different:

Settings → Connections → Wi-Fi → ⋮ (Menu) → Advanced settings → Smart Wi-Fi switching → Disable

Make sure the slider is grayed out|Restart your phone|Try connecting to the network manually|Check if the settings are restored after restarting-->

Method 2: Disabling for specific networks (white/black list)

If you need to prevent automatic connection only to certain networks (for example, public hotspots), use the "Forget the network" or adjust priorities:

  • 📱 To delete a network: Go to Wi-Fi settings, tap on the network name → "Forget" (or "Delete"). The phone will stop connecting to it.
  • 🔄 To change the priority: In the same network menu, select "Change network" → "Additionally" → "Priority" (if any). Set the value lower than the main network.
  • 🚫 To block: In some firmware (for example, ColorOS on Oppo/Realme) there is an option "Block automatic connection" directly in the network menu.

Important: After deleting a network, you'll need to re-enter the password when connecting manually. If the network is hidden (the SSID isn't broadcast), your phone won't be able to connect to it until you add it manually.

What to do if the network continues to connect after "Forget"

Sometimes Android caches network data. Try this:

1. Turn off Wi-Fi for 30 seconds, then turn it on again.

2. Restart your phone.

3. In Settings → Applications Find "Wi-Fi", clear cache and data (risk of resetting all saved networks!).

Method 3: Developer settings (for advanced users)

If standard methods don't work, you can use hidden options in Developer settingsThis method is suitable for Android 8.0+ and does not require root rights:

  1. Activate Developer mode: go to Settings → About phone → Build number and tap on it 7 times.
  2. Go back to the main settings, find the new section "For developers".
  3. Scroll to the " blockNet" and find the options:
    • Aggressive Wi-Fi to mobile network switchingDisable.
    • Always look for networksDisable (this will reduce airtime scanning).
    • Automatic connection to Wi-FiDisable (if any).

⚠️ Attention: Not all options are available on all devices. For example, on Xiaomi With MIUI 14 the item " may be missingAutomatic connection", but there will be other parameters that affect Wi-Fi behavior.

Manufacturer Option in Developer Options Effect
Google Pixel Aggressive Wi-Fi switching Reduces automatic connection to weak networks
Samsung Always look for networks Disables background Wi-Fi scanning
Xiaomi/Redmi Limit background scanning Reduces the frequency of network searches
OnePlus Disable automatic connection Completely blocks auto-connection

Method 4: Using ADB commands (universal method)

If the manufacturer has blocked the settings, you can apply ADB commands (Android Debug Bridge). This requires connecting your phone to a PC, but it works on 90% of devices. Step-by-step instructions:

  1. Download Platform Tools (official tool from Google) and unzip it on your PC.
  2. Turn it on on your phone USB debugging (Settings → For developers).
  3. Connect your phone to your PC and launch it cmd (or Terminal on Mac/Linux) in the folder with platform-tools.
  4. Execute the commands one by one:
    adb devices

    (your device should appear)

    adb shell settings put global wifi_watchdog_on 0
    adb shell settings put global wifi_auto_connect_threshold -1
  5. What the commands do:

    • wifi_watchdog_on 0 — disables the "Wi-Fi guard" that automatically connects to networks.
    • wifi_auto_connect_threshold -1 — sets the signal threshold for auto-connection to an impossible value.

    ⚠️ Attention: After updating Android, these settings may be reset. To restore them, repeat the procedure or use Tasker to automatically apply commands.

    1. Install drivers for your smartphone model.

    2. Switch the USB connection mode to "File Transfer" (MTP).

    3. Use the command adb kill-server before reconnecting.-->

    Method 5: Third-party Wi-Fi management apps

    If you need flexible connection management without manual intervention, consider specialized utilities. They allow you to:

    • 📵 Block auto-connection to specific networks by SSID.
    • 🔄 Set priorities connections (for example, first 5G, then Wi-Fi).
    • ⏱️ Set a schedule (turn off Wi-Fi at night).

    Best apps (tested on Android 13):

    Application Functions Cons
    WiFi Manager Network blacklisting/whitelisting, priorities, signal monitoring Advertising in the free version
    NetGuard Auto-connection blocker + firewall Complex interface for beginners
    Tasker Automate connections by time/location Paid, requires configuration

    ⚠️ Attention: Applications will require permissions ADMIN or Accessibility, which can affect security. Do not install utilities from untrusted sources - there is a risk of infection. malware (malware) high.

    Common problems and their solutions

    Even after disabling auto-connection, users still encounter bugs. Here are typical scenarios and how to fix them:

    • 🔄 The network connects automatically after a reboot:
      → Check if the settings have been reset Developer settings.
      → Apply ADB commands again.
    • 📵 The phone does not connect to Wi-Fi at all:
      → Make sure you haven't disabled it Adaptive Wi-Fi (in some firmware this breaks the connection).
      → Restart your router and phone.
    • 🔒 Unable to change settings due to device policy (work phone):
      → Contact your IT administrator - on corporate devices, such functions are often blocked through MDM (Mobile Device Management).

If the problem persists, check the Wi-Fi log via ADB:

adb logcat | grep Wifi

This will help identify which process is forcing the connection. To analyze the log, use utilities like Logcat Reader.

How to restore auto-connection if you change your mind

Just turn the options back on Wi-Fi settings or run ADB commands:

adb shell settings put global wifi_watchdog_on 1

adb shell settings put global wifi_auto_connect_threshold 0

After this, the phone will reconnect to known networks automatically.

FAQ: Answers to frequently asked questions

❓ Why did auto-connection re-enable after updating Android?

OS updates often reset user settings, especially if they were changed through ADB or Developer settingsTo avoid this:

  1. Back up your Wi-Fi settings via Settings → System → Backup.
  2. Use Tasker to automatically apply ADB commands after updating.
❓ Is it possible to disable auto-connection only for certain networks?

Yes, there are two ways:

  1. Via network settings: Find the network in the Wi-Fi list → "Change" → "Additionally" → "Auto-connection" (if any).
  2. Via apps: WiFi Manager or NetGuard allow you to create blacklists.

On some devices (eg. Samsung) this option is hidden in "Smart switching".

❓ Does disabling auto-connection affect the operation of Google Play and other services?

No, Auto-connection to Wi-Fi is not related to background apps.. However:

  • Some applications (eg. Google Play Market) may take longer to update if you don't manually connect to Wi-Fi.
  • Functions like "Automatically update applications" will use mobile data if Wi-Fi is disabled.

To save traffic, set up restrictions in Settings → Network & Internet → Data Usage.

❓ Do these methods work on Android Go or older versions (Android 7-9)?

On Android Go and versions below 8.0 The settings interface may differ. General recommendations:

  • IN Android 7.0 look for the option "Network Notifications" in the Wi-Fi settings and turn it off.
  • On Android Go Most manufacturers don't have a separate option - you'll have to use ADB or third-party applications.
  • On very old devices (before Android 6.0) auto-connection can only be disabled via "Forget the network".
❓ Is it possible to disable auto-connection without root access?

Yes, All methods in this article work without root.. However:

  • On some devices (eg. Huawei With EMUI) may require unlocking the bootloader to use ADB.
  • Root gives access to system files (/data/misc/wifi/WifiConfigStore.xml), where you can manually edit network settings, but this is risky.

If you're offered to "flash a modified module" to disable auto-connection, it's a scam. No firmware is required for this.