The Wi-Fi Direct feature on Xiaomi smartphones allows you to quickly share files between devices without a router, but often runs in the background, consuming battery power and causing interference with other connections. Many users face a situation where the Mi Phone or Redmi Note is constantly looking for affordable devices for direct connection, even when this feature is not in use. In some cases, Wi-Fi Direct can conflict with the main Wi-Fi, causing problems with the Internet connection.
In this article, we will discuss all the current ways to turn off Wi-Fi Direct on Xiaomi in 2026, including hidden settings MIUI 14, commands for engineering menus and solutions for cases when standard methods do not work. Separately, we will focus on the features of disconnection on popular models, from Xiaomi 13 Pro to budget Redmi A2. If you notice that the phone has become slower to connect to the network or discharge faster than usual, the problem may lie in the background activity of this protocol.
What is Wi-Fi Direct and Why You Should Turn It Off
Wi-Fi Direct is a technology that allows devices to connect directly to the Wi-Fi standard without a router intermediary, which is convenient in theory for transferring files or streaming to a TV, but in practice, Xiaomi often has this feature that works incorrectly:
- π Increased battery consumption β Wi-Fi module stays active even when the screen is off, scanning available devices.
- πΆ Main Wi-Fi conflicts β some routers lose connection if the phone tries to use Direct at the same time.
- π± Background activity - on MIUI com.android.wifidirect can consume up to 5% of the charge per day.
- π Security issues β protocol vulnerabilities allow attackers to connect to your device without confirmation.
Disconnection is especially important for owners of devices with MIUI 12-14, where the function is activated automatically when you turn on Mi Share (formerly Xiaomi Share). Even if you have never used direct file transfer, the protocol can be active by default. For example, on Xiaomi 12T and POCO X5, Wi-Fi Direct is turned on when you first connect to any wireless network.
β οΈ Note: Some models (e.g. Redmi Note 11 Pro)+) Disabling Wi-Fi Direct through the standard menu results in a reset of Mi Share settings. If you are actively using this feature, consider alternative methods in the section below.
Method 1: Standard shutdown via Wi-Fi settings
The simplest method works on most Xiaomi devices with MIUI 12 and later. the interface may vary slightly depending on the shell version, but the general logic is maintained:
- Open the Settings app (cog icon).
- Go to the Wi-Fi section.
- Swipe on the three dots in the upper right corner (or swipe left on some models).
- Select option Additional or Advanced settings.
- Find the Wi-Fi Direct option and move the slider to the off position.
On MIUI 14 (for example, on Xiaomi 13 Lite), the path may be different:
Settings β Connections and Sharing β Wi-Fi β Wi-Fi DirectIf Wi-Fi Direct is not in the advanced settings, then it is integrated into Mi Share on your model.
Wi-Fi settings are open|Found section "Additional"|Wi-Fi Direct slider turned off|Reboot the phone to apply changes-->
Method 2: Disconnect via Mi Share (Xiaomi Share)
Starting with MIUI 13, Xiaomi combined Wi-Fi Direct and Mi Share into a single data exchange system. If there is no separate Direct option in the Wi-Fi settings, try the following method:
- Open Settings β Connections and Sharing.
- Choose Mi Share (or Xiaomi Share on older versions).
- Turn off the main switch at the top of the screen.
- To completely disable, tap on Mi Share Settings and deactivate the Automatic Device Search option.
Some devices (e.g., POCO F4) may require an additional step:
Settings β Applications β Application Management β Mi Share β Permissions β Disable βWi-Fiββ οΈ Note: After disabling Mi Share, you will not be able to enjoy fast file transfer between Xiaomi devices. If you need this feature, consider Method 4 (partially disabling via the engineering menu).
Every day |1-2 times a week | Less than once a month | Never used-->
Method 3: Use of an engineering menu (for power users)
If standard methods fail, you can turn off Wi-Fi Direct via a hidden engineering menu, which is suitable for all Xiaomi devices, but requires caution β improper actions can disrupt the wireless modules.
Instructions for MIUI 12-14:
- Open the Phone app.
- Enter the combination: ##3646633## (some models may require ##4636###).
- Choose Wi-Fi Information or Wi-Fi.
- Find the Wi-Fi Direct or P2P tab.
- In the P2P Settings section, set the P2P Device Discovery option to Disabled.
- Save the settings and restart the device.
For Qualcomm Snapdragon devices (such as Xiaomi 11T Pro or POCO X3 Pro), the path might look like this:
EngineerMode β Hardware Testing β Wi-Fi β Wi-Fi P2P β Disable P2PWhat to do if the engineering menu does not open?
Method 4: Disconnect via ADB (for advanced users)
If previous methods have failed, you can block Wi-Fi Direct at the system level using ADB (Android Debug Bridge), which requires connecting the phone to a computer and enabling developer mode.
Step-by-step:
- Activate Developer Mode: Settings β About Phone β MIUI Version (Tap 7 times)
- Enable USB debugging in Settings β Additional β For developers.
- Connect your phone to your PC and open the command line (or Terminal on Mac/Linux).
- Enter the command to check the connection: adb devices (should display your device).
- Execute the command to disable Wi-Fi Direct: adb shell settings put global wifi_p2p_enabled 0
- Reset the device.
To get it back, use the same command by replacing 0 with 1. Some firmware (e.g. MIUI 14 on Xiaomi 13) may require an additional command:
adb shell pm disable-user --user 0 com.android.wifidirectβ οΈ Note: Disabling the system component through ADB This can cause Mi Share and other services that depend on Wi-Fi Direct to work in an unstable way.
π‘
If after the shutdown through ADB Wi-Fi is no longer working, run adb shell settings put global wifi_on 1, Then restart the device.
Method 5: Disconnect at the router level (for home network)
If Wi-Fi Direct interferes with your home network, you can block it at the router level, which does not disable the feature on the phone, but prevents conflicts with the main connection.
Instructions for most routers (on the example of Xiaomi Mi Router):
- Open the routerβs web interface (usually at 192.168.31.1 or miwifi.com).
- Go to the Wireless Mode section β Advanced settings.
- Find Customer Isolation (or AP Isolation) and turn it on.
- In the section Filtration MAC-Add addresses MAC-Your phone address is blacklisted for P2P-compound.
- Save the settings and restart the router.
For routers from other manufacturers (such as TP-Link or ASUS), look for options:
- π WMM (Wi-Fi Multimedia) β Shut down.
- π‘ Beacon Interval β Set 100.+ (reduces the frequency of scanning)
- π Protected Management Frames β Enable (blocks unauthorized) P2P-linkage)
| Model router | Option to block Wi-Fi Direct | Path in settings |
|---|---|---|
| Xiaomi Mi Router 4A | Isolation of clients | Wireless network β Extended β Customer isolation |
| TP-Link Archer C6 | AP Isolation | Wireless β Wireless Settings β Enable AP Isolation |
| ASUS RT-AX55 | Block Intra-BSS Traffic | Wireless β Professional β Block Intra-BSS Traffic |
| Keenetic Ultra | Client isolation | Home Network β Access Point β Client isolation |
Frequent problems and their solutions
If you've successfully disabled Wi-Fi Direct, you may have side effects, and let's look at the typical situations and how to fix them:
Problem 1: After the shutdown, Mi Share stopped working.
- π Restart the device β sometimes functions are restored after a reboot.
- π± Check the permissions for the Mi Share app in Settings β Annexes.
- π§ If you use the method 4 (ADB), Reset the settings with the command: adb shell settings put global wifi_p2p_enabled 1
Problem 2: Wi-Fi Direct is turned on after the MIUI update.
- π Set a ban on automatic activation through Settings β Battery β Energy saving regime β Background activity β Mi Share.
- π΅ Use the MacroDroid app to automatically disable the feature when connecting to your home network.
Problem 3: You canβt connect to smart devices (e.g. Xiaomi Smart Band or Mi Home).
- π Temporarily turn on Wi-Fi Direct to pair, then turn off again.
- π‘ Use Bluetooth to connect smart gadgets instead of Wi-Fi Direct.
π‘
If the Internet is lost after Wi-Fi Direct is turned off, check the DNS settings in Settings β Wi-Fi β Additional β IP settings. Sometimes resetting network settings (in Settings β Connections β Network Reset) solves the problem.