Forgot the password from the home Wi-Fi that is stored on the Xiaomi smartphone, or you need to connect a new device to the network, but the sticker from the router has long been erased? This situation is familiar to many β according to a Kaspersky survey, 68% of users have experienced at least once a loss of data to access the wireless network. Fortunately, ecoistema Xiaomi offers several ways to restore the password β both through standard MIUI settings and using hidden features of routers Mi Router or AiOT Router.
In this article, we will discuss all the current methods, from viewing the saved password on the phone to resetting the router settings if other options did not work. We will focus on the nuances for different versions of MIUI (12 to 14) and router models (including Xiaomi Router 4A/4C/AX3600/AX6000).
1. How to view saved Wi-Fi password on Xiaomi smartphone
If your Redmi, POCO, or Mi is already connected to the network, but you don't remember the password, you can extract it from your system settings, which works on all devices with MIUI 12 and later, but requires super-user rights (root) or the use of a hidden menu.
Without root rights, only a workaround is available through Settings β Wi-Fi:
- π± Open Settings and go to the Wi-Fi section.
- π Click on the name of your network (connected).
- π In the window with information tap on the icon Share (or QR-newer-version).
- π The system will request confirmation by fingerprint, PIN-code or pattern lock, and then it will be displayed QR-code with network data, including password.
β οΈ Note: On some firmware (for example, MIUI Global for the European region) the option to share may not be available, in which case the method with root access or resetting the router will help.
π‘
If QR-The code is not displayed, try to disable VPN or restart your smartphone β sometimes it solves the problem with the system menu.
2. extracting password through root-access (for advanced)
If your device has unlocked the bootloader and superuser rights set, the password can be extracted directly from system files, which is suitable for Xiaomi with custom firmware (LineageOS, Pixel Experience) or rooted MIUI.
Instructions:
- Install a file manager with root support (such as Solid Explorer or FX File Explorer).
- Go to /data/misc/wifi/WifiConfigStore.xml
- Find the <string name="PreSharedKey">... - between the tags will be a password in encrypted form.
- Copy the value and decrypt it using online services (e.g. Base64 Decode).
β οΈ Attention: MIUI 14 The path to the file may be different: /data/vendor/wifi/WifiConfigStore.xml. Also, some firmware encrypt passwords using the device key - in this case, additional software like WiFi Password Viewer (available on the Internet) will be required. 4PDA).
What to do if the WifiConfigStore.xml file is empty?
3. Recovery of password through the Xiaomi router (Mi) Router/AiOT Router)
If you have a Xiaomi router (such as Mi Router 4A, AX3600 or AX6000), you can find the password through its web interface, which does not require access to a smartphone and works even if the phone is disconnected from the network.
Steps to enter the router settings:
- Connect your computer or other smartphone to the routerβs network via cable or Wi-Fi (if the password has not changed).
- Open your browser and type in the address bar: 192.168.31.1 (for some models - 192.168.0.1 or miwifi.com).
- Log in with a login and password (by default β admin and password from the sticker on the router).
- Go to the Wi-Fi section β Wireless network settings.
- The password will be displayed in the Wi-Fi (or Wireless Password) field.
π If you do not remember the data for entering the router, use the reset instruction.
| Model router | Web interface address | Default login/password | Does Mi support Wi-Fi? |
|---|---|---|---|
| Mi Router 4A | 192.168.31.1 or miwifi.com | admin / password from the sticker | Yes. |
| Mi Router 4C | 192.168.31.1 | admin / password from the sticker | Yes. |
| AX3600 | 192.168.31.1 or miwifi.com | admin / password from the sticker | Yes (requires firmware update) |
| AX6000 | 192.168.31.1 | admin / password from the sticker | Yes. |
| AiOT Router AC2350 | 192.168.31.1 | admin / password from the sticker | No. |
4.Reset Xiaomi router to factory settings
If none of the previous methods worked, you'll have to reset your router hard, and that will delete all settings, including your Wi-Fi password, and return the device to the "out of the box" state, and after resetting, you can go to the default web interface (as indicated on the router's sticker) and reset the network.
Resetting instructions:
- π Do not turn off the router power during the process!
- π Find the Reset button on the back of the router (usually recessed in the case).
- ποΈ Take a paperclip or toothpick, press and hold the button for 10-15 seconds until the indicators start flashing.
- π After restart (1-2 minutes) the router will be reset.
β οΈ Attention: On models AX6000 and AX3600 Reset may not work because of protection against accidental pressing:
- Connect the router to the computer via cable.
- Open 192.168.31.1 in your browser.
- Enter the username / password (if you do not know - use the data from the sticker).
- Go to Additional settings β System β Reset settings.
Make sure the router is connected to the network
Find a paper clip or thin item for the Reset button
Write data from the sticker (login / password by default)
Prepare the device for setting up after reset (smartphone/PC)
Shut down. VPN on the device from which you will configure the router-->
5. Alternative methods: Mi Home and the application "Wi-Fi Master Key"
If you have a Xiaomi account and the router is linked to the Mi Home app, the password can be restored through it.This method works for routers that support Mi Wi-Fi (for example, Mi Router 4A or AX3600).
Instructions:
- Open the Mi Home app and select your router.
- Go to Wi-Fi Settings.
- Slap the icon. βοΈ near-name.
- The password will be displayed in the Password field (proof of fingerprint may be required).
πΉ If the router is not tied to Mi Home, try the Wi-Fi Master Key app (available on Google Play), which shows saved passwords from networks youβve previously connected to, but doesnβt work on all firmware. MIUI security constraints.
Important: Applications like Wi-Fi Map or Instabridge often contain password leaks from public networks, but it is illegal to use them to hack other people's routers (Article 272 of the Criminal Code).
6.How to avoid losing your password in the future
To avoid looking for ways to restore your password every time you need to connect a new device, follow these tips:
- π Save your password in a safe place: use password managers (Bitwarden, KeePass) or write it down in a notebook marked "Wi-Fi".
- π± Take a photo of the router sticker and save the photo to the cloud (Google Photos, Mi Cloud).
- π Set up backup in Mi Home: link the router to your Xiaomi account to manage it remotely.
- π Use simple but reliable passwords: for example, Xiaomi_2026_Router (easy to remember, but difficult to pick up).
β οΈ Note: Do not use passwords like 12345678 or qwerty β they are hacked in a few seconds. The optimal password length for Wi-Fi is 12-16 characters with a mixture of letters, numbers and characters.
π‘
The most reliable way to keep your password safe is to link your router to your Xiaomi account in the Mi Home app, which allows you to manage your network and reset your password remotely, even if you forgot the login details.