How to Use ADB Over Wi‑Fi on Android (No Root)

14 min read Learn how to run Android Debug Bridge (ADB) over Wi‑Fi without rooting your device. Follow a detailed, safe tutorial for both USB‑first and wireless‑pairing methods. October 10, 2026 08:30 How to Use ADB Over Wi‑Fi on Android (No Root) – Step‑by‑Step Tutorial

Many developers and power users need to run adb commands without being tethered to a USB cable. Doing so speeds up testing, lets you use a laptop on a different desk, and makes it easier to work with devices that are physically hard to reach (e.g., a TV box or a smartwatch). This tutorial walks you through two reliable ways to enable ADB over Wi‑Fi on any Android phone that runs at least Android 4.2 (the version that introduced the ADB daemon) – all without rooting.

Before you start

  • PC with ADB installed: Windows, macOS, or Linux. If you haven’t installed the platform‑tools, download them from the official Android developer site and add the adb folder to your PATH.
  • USB cable: Needed for the first method (the classic USB‑first approach). A good quality data cable is recommended.
  • Same Wi‑Fi network: Your computer and Android device must be on the same LAN subnet. Avoid guest networks that isolate clients.
  • Battery level: Keep the device charged above 50 % or plug it in. Wi‑Fi ADB can increase power consumption.
  • Backup (optional but safe): While the steps are non‑destructive, creating a recent backup via adb backup or your phone’s built‑in backup feature adds peace of mind.

Why ADB over Wi‑Fi?

ADB (Android Debug Bridge) is a command‑line tool that lets you communicate with a device for debugging, file transfer, app installation, and more. By default it works over a USB connection. Switching the daemon to TCP/IP opens a network socket, allowing any computer on the same network to issue commands. The advantage is obvious: you can move around freely, use a larger screen, or even control a headless device like a Raspberry Pi‑based Android TV box.

Security note: When ADB is listening on Wi‑Fi, any device on the same network can try to connect. Only enable it on trusted networks and disable it when you’re done.

Method 1 – Classic USB‑first Approach

This method works on virtually every Android version that supports ADB. You start with a wired connection, tell the ADB daemon to listen on TCP/IP, then switch to Wi‑Fi.

Step 1 – Enable Developer Options and USB debugging

  1. Open Settings → About phone.
  2. Tap Build number seven times. You’ll see a toast confirming that Developer options are enabled.
  3. Go back to the main Settings page, open System → Developer options (the path may vary on Samsung, Xiaomi, etc.).
  4. Toggle USB debugging on. Confirm any security prompt that appears.

Enabling USB debugging authorises a computer to send ADB commands. The first time you connect a new computer, a dialog on the phone asks you to Allow USB debugging – tap Allow and optionally check “Always allow from this computer”.

Step 2 – Connect the device via USB

  1. Plug the USB cable into the phone and the computer.
  2. Open a terminal (or Command Prompt) on the computer and run:
    adb devices
  3. You should see a line like 0123456789ABCDEF device. If the list is empty, re‑check the USB cable, make sure the phone is in “File Transfer” (MTP) mode, and confirm the debugging dialog.

Step 3 – Switch the ADB daemon to TCP mode

  1. In the same terminal, execute:
    adb tcpip 5555
  2. The command tells the daemon on the device to listen on port 5555 (the default ADB port). You’ll see a message like restarting in TCP mode port: 5555.
  3. No reboot is required; the daemon restarts automatically.

Step 4 – Find the device’s IP address

  1. On the phone, go to Settings → Network & internet → Wi‑Fi.
  2. Tap the active Wi‑Fi network, then look for IP address. It will look like 192.168.1.42 or 10.0.0.5.
  3. Write the address down – you’ll need it in the next step.

Step 5 – Connect to the device over Wi‑Fi

  1. Back on the computer, run:
    adb connect 192.168.1.42:5555
    (replace 192.168.1.42 with your actual IP).
  2. If the connection succeeds, you’ll see connected to 192.168.1.42:5555.
  3. Run adb devices again. You should now see the device listed with the IP address instead of the USB serial number.

At this point the USB cable is no longer needed. You can unplug it and continue issuing ADB commands wirelessly.

Step 6 – Verify that everything works

  1. Try a simple command, such as retrieving the device model:
    adb shell getprop ro.product.model
  2. If the model name prints correctly, the Wi‑Fi ADB session is fully functional.

Method 2 – Wireless Debugging (Android 11 and later)

Starting with Android 11, Google added a native “Wireless debugging” option that removes the need for a temporary USB connection. The feature works by pairing the computer and the device using a QR code or a 6‑digit PIN.

Step 1 – Enable Wireless debugging

  1. Open Settings → System → Developer options.
  2. Scroll down to Wireless debugging and toggle it on.
  3. A dialog appears warning about security risks; tap OK to proceed.

Step 2 – Pair your computer

  1. Tap Pair device with pairing code. You’ll see a QR code and a 6‑digit PIN.
  2. On the computer, run:
    adb pair
    (If the command is not recognized, ensure you have Android Platform‑Tools version 31 or newer.)
  3. The terminal prompts for the device IP and PIN. Enter the IP shown on the phone (e.g., 192.168.1.42) and the 6‑digit PIN.
  4. When the pairing succeeds, you’ll see Pairing successful.

Step 3 – Connect to the device

  1. After pairing, the phone shows a new entry “Connect to this device”. Tap it, then note the port number (usually 5555).
  2. Back on the computer, run:
    adb connect 192.168.1.42:5555
  3. Now adb devices should list the device with its IP address, just like the USB‑first method.

Troubleshooting common issues

  • “connection refused” or “unable to connect to 192.168.x.x:5555”
    • Make sure the device and computer are on the same subnet. Some routers isolate Wi‑Fi clients; disable AP‑isolation if present.
    • Check that the device’s firewall (rare on stock Android) isn’t blocking port 5555.
    • Verify the IP address didn’t change after a Wi‑Fi reconnection. Re‑run the IP‑lookup step if needed.
  • “unauthorized” status after adb connect
    • On the phone, a dialog may appear asking to Allow USB debugging for the new network connection. Tap Allow and optionally check “Always allow”.
    • If the dialog never shows, toggle USB debugging off and on again, then repeat the pairing steps.
  • Device disappears after a few minutes
    • Most Android devices automatically revert to USB mode after a sleep cycle. Prevent this by keeping the screen on (temporarily) or by disabling “Battery optimization” for the adb service via Settings → Apps → Show system apps → adb → Battery → “Unrestricted”.

Security best practices

  • Only enable Wi‑Fi ADB on trusted networks (home or office). Public Wi‑Fi exposes the daemon to strangers.
  • When you’re finished, run adb disconnect on the computer and toggle USB debugging off on the phone.
  • If you use the Android 11+ wireless debugging feature, you can also set a timeout in Developer options – “Wireless debugging timeout” – to force automatic disconnection after a period of inactivity.

Optional: Automating reconnection

For developers who regularly switch between devices, a tiny shell script saves time. Below is a Bash snippet that checks the device’s IP, connects, and confirms the link.

#!/bin/bash
# Replace with your device’s Wi‑Fi name (SSID) if you have multiple networks
IP=$(adb shell ip -f inet addr show wlan0 | grep -oP '(?<=inet )[^/]*')
if [ -z "$IP" ]; then
  echo "Unable to obtain IP – is Wi‑Fi on?"
  exit 1
fi
adb connect $IP:5555 && echo "Connected to $IP"

Save the script, make it executable (chmod +x connect_adb_wifi.sh), and run it whenever you need a fresh connection.

When to fall back to USB

Wireless ADB is convenient, but it isn’t ideal for large data transfers (e.g., flashing a full ROM) because Wi‑Fi bandwidth and latency are lower than a wired USB 3.0 link. If you notice slow adb push/pull speeds or encounter flaky connections, reconnect the USB cable and repeat the steps to resume a stable session.

Wrap‑up

By following either the classic USB‑first method or the newer Android 11 wireless‑debugging workflow, you can run ADB commands over Wi‑Fi safely and efficiently. The process is reversible – a quick adb disconnect and a toggle of the developer option turn off the network listener, keeping your device secure. With these tools in hand, testing apps, pulling logs, or simply managing files becomes a lot less constrained by cables.

User Comments (0)

Add Comment
We'll never share your email with anyone else.