How to Completely Disable ‘Wi-Fi Direct’ System-Wide on Android

Wi-Fi Direct is a wireless technology that allows two devices to establish a direct, peer-to-peer Wi-Fi connection without requiring a centralized wireless router or access point. Android utilizes Wi-Fi Direct extensively for features like Nearby Share, wireless printing, and casting to smart TVs. While highly convenient, leaving Wi-Fi Direct enabled in crowded public spaces or secure corporate environments poses a security risk. Malicious actors can attempt to initiate unauthorized connections to your device, exploit vulnerabilities in the Wi-Fi Direct protocol stack, or spam your device with persistent pairing requests to drain the battery and cause a denial-of-service condition.

This guide explains how to completely disable Wi-Fi Direct system-wide on an Android device, ensuring your phone refuses all peer-to-peer connection attempts and remains strictly reliant on infrastructure networks.

Disable Wi-Fi Direct Connections

Because Wi-Fi Direct is a core component of the Android networking stack, we must dive into the advanced network preferences to sever its listening capabilities.

  1. Open the main Settings app on your Android smartphone.
  2. Tap on Network & internet (or Connections, depending on your manufacturer UI).
  3. Tap on Internet (or Wi-Fi).
  4. Scroll down to the bottom of the active networks list and tap on Network preferences (or Wi-Fi preferences/Advanced).
  5. Locate and tap on Wi-Fi Direct.
  6. You will see a list of paired devices and available peer devices. While Android does not always provide a simple master “Off” switch for the protocol itself (as it is tied to the main Wi-Fi radio), you must manually select and Disconnect or Forget every device listed under “Remembered groups” or “Paired devices.”
  7. To completely prevent the radio from broadcasting its availability for new connections, you must also disable associated services that rely on it: navigate to Settings > Connected devices > Connection preferences and turn off Nearby Share, Cast, and Printing.

Verify the Configuration Lockdown

By purging all remembered Wi-Fi Direct groups and disabling the overlay services that trigger the protocol to broadcast (like Nearby Share), you force the Android kernel to drop all peer-to-peer Wi-Fi listening states.

To verify the lockdown is active, attempt to send a file to the Android device from another smartphone using Wi-Fi Direct or Nearby Share. The locked-down Android device will remain completely invisible to the sender. It will not appear in the discovery list, and it will silently drop any direct connection frames transmitted in its vicinity. Your device is now secured against unauthorized peer-to-peer wireless intrusions.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.