Enable Wireless Debugging and Pair ADB Over Wi‑Fi
Skip the USB cable. On Android 11+, Wireless debugging lets you pair your phone with a computer’s Android Debug Bridge (adb) on the same Wi‑Fi network—official Android Developers flow.
What You Need
- Phone on Android 11+ and a computer on the same Wi‑Fi.
- Latest SDK Platform-Tools (adb) on the computer—or Android Studio’s Pair Devices Using Wi‑Fi.
- Developer options enabled (tap Build number 7 times).
- No third-party phone apps—only system Developer options + desktop adb/Studio.
Security: Wireless debugging is for development. Only pair machines you trust. Unpair / revoke adb authorizations when finished. Prefer a private Wi‑Fi network (guest/isolation networks can block device-to-device traffic).
Step 1: Enable Developer options
Settings > About phone → tap Build number seven times until you see “You’re now a developer.”
Step 2: Turn on Wireless debugging
Settings > System > Developer options (or search Wireless debugging).
Open Wireless debugging, allow it for this network. Optional: always allow on this network (trusted network).
Step 3: Pair with a code (adb)
On the phone: Pair device with pairing code (or Pair using pairing code). Note the IP address, port, and six-digit code.
On the computer (in
platform-tools):adb pair IP:PORT
Enter the pairing code when prompted. Pairing is usually once until you Forget the device or revoke adb authorizations.
Step 4: Connect & verify
After pairing, use the connection IP/port shown under Wireless debugging (often different from the pairing port) if you need
adb connect IP:PORT. Then runadb devices.Android Studio: Run → Pair Devices Using Wi‑Fi (QR or pairing code) per Android Developers.
Step 5: Unpair when done
Wireless debugging → Paired devices → your PC → Forget, or Developer options → Revoke USB debugging authorizations. Turn Wireless debugging off if you don’t need it.
Samsung Galaxy
Same Android 11+ Wireless debugging feature under Developer options after enabling via Build number. Menu names match stock; search Settings for Wireless debugging if System paths differ by One UI version.
Tile for quick off
Official docs
Steps follow Android Developers: Connect to a device over Wi‑Fi (adb) and Run apps on a hardware device. Android 11+ phones; same Wi‑Fi; Platform-Tools pairing code / Studio QR.