Why Standard Instructions Donβt Work and What to Do
The forgotten password from Xiaomi Mi Router is a problem that every third owner of the device faces. The reasons are trivial: infrequent use of the admin panel, resetting settings after updating the firmware or buying a used router with other settings. But if you just go to the web interface to reset your Wi-Fi password, restoring access to the administrative panel requires more knowledge.
The main difficulty lies in the lack of a universal solution for all Xiaomi models. For example, on the Mi Router 4A, resetting through the Reset button works differently than on the AX6000 with OpenWRT firmware. And if the router is linked to a Mi Account, you may need to confirm via SMS β even after a hardware reset. In this article, we will analyze all the current methods, including little-known ones (for example, via Telnet), which work even when the web interface is blocked.
We warn you right away: some methods require physical access to the device and can lead to the loss of current settings (for example, Mesh network binding or parental control). If the router is rented from the provider, contact support: self-reset often violates the terms of the contract.
Method 1: Hardware reset via Reset button (works on 90% of models)
The most reliable and versatile method is a factory reset, suitable for all Xiaomi routers except for devices with modified firmware (for example, Mi Router 3G with Padavan), the main advantage is that it does not require knowledge of the current password or access to the web interface.
Instructions:
- π Turn off the router power (remove the plug from the socket).
- π±οΈ Press and hold the Reset button (usually located on the back, next to the port). WAN).
- β‘ Without releasing the button, connect the power back.
- β³ Hold Reset for another 10-15 seconds until the indicators start flashing orange (in some models, a quick blink of blue).
- π Release the button and wait for the reboot (2-3 minutes).
Are all devices disconnected from the router (except power)|
Is there a backup of settings (if the router has already been configured)|
Is the router connected to the 220V network directly (without the UPS)|
Does the power indicator burn after pressing Reset?
-->
After discharge:
- π Router to create new Wi-Fi network Xiaomi_XXXX (where XXXX β last-minute MAC-address).
- π The Wi-Fi password and admin panel will be displayed on the sticker under the router (usually an 8-digit combination).
- β οΈ All previous settings including Port Forwarding, VPN and QoS) will be removed.
β οΈ Attention: On Xiaomi routers AX9000 and AX6000 MiWiFi-based R4CM The Reset button can only work if it's held for more than 20 seconds. If the indicators don't blink, try repeating the procedure with longer retention time.
Method 2: Reset via Mi Home (if the router is linked to an account)
If a Xiaomi router is linked to your Mi Account, you can reset your password without physically accessing the device.This method works for models with cloud-enabled management: Mi Router 4A Gigabit, AX1800, AX3000 and later.
Step-by-step:
- Open the Mi Home app on your smartphone.
Once confirmed, the router will restart and return to factory settings.
| Parameter | Default value |
|---|---|
| Name of the Wi-Fi network (SSID) | Xiaomi_XXXX or MiWiFi_XXXX |
| Wi-Fi password | Indicated on the sticker under the router (8 digits) |
| IP-address | 192.168.31.1 or 192.168.0.1 |
| Login/password of the admin panel | admin/admin or an empty password |
β οΈ Note: If the router was bought from hand and tied to someone else's Mi Account, this method will not work, in which case you will need to contact the previous owner to untie the device or use the methods in the section about Telnet.
Method 3: Reset via web interface (if the Wi-Fi password is known)
If you're connected to a router network (even without access to an admin panel), you can try resetting your password through a hidden recovery page, which works on MiWiFi R3 firmware and later.
Instructions:
- Connect to the routerβs Wi-Fi network (the password is usually indicated on the sticker).
- Open your browser and go to http://192.168.31.1/cgi-bin/luci/;stok=/ws (if 192.168.31.1 doesn't open, try 192.168.0.1).
- Enter the standard credentials: Login: admin Password: leave the field empty or enter admin.
System β Backup / Flash Firmware
Reset to Default Settings
If the page does not open, try an alternative address:
http://192.168.31.1/cgi-bin/luci/;stok=/ws/admin/rebootSometimes this URL allows you to reset the router to Restore mode.
π‘
If the web interface is blocked, but you know the Wi-Fi password, try connecting to SSH (port 22) with the root login and the password from the sticker. On some firmware, this works even after changing the admin password.
Method 4: Reset via Telnet (for advanced users)
If standard methods don't work, and the router runs on OpenWRT or Padavan firmware, you can use Telnet protocol. This requires minimal knowledge of working with the command line, but allows you to reset your password without losing network configuration.
Step-by-step instructions for Windows:
- Download and install PuTTY (or use the built-in Telnet client in Windows 10/11).
- Connect to the router via cable (Wi-Fi may be disabled after unsuccessful login attempts).
- Launch PuTTY and type: Host: 192.168.31.1 (or 192.168.0.1) Port: 23 Connection Type: Telnet
Open
Login: root
Password: Admin (or password from the sticker)nvram set http_passwd=""
nvram commit
rebootAfter rebooting, the admin panel password will be empty (admin/empty).
What to do if the Telnet is disabled?
β οΈ Attention: On routers with MiWiFi firmware R4A And then the newer Telnet is disabled by default, and you have to get the stok token first from the web interface or the mobile app to activate it.
Method 5: Reset via Recovery Mode (for bricks and non-working routers)
If the Xiaomi router does not load (only power indicators are on, there is no Wi-Fi access), there may be a firmware failure, in which case the recovery mode will help.
Instructions:
- π§ Use the MiWiFi Repair Tool (download here) to flash your device.
Once the firmware is successfully run, the router will return to factory settings, and all data (including passwords) will be erased.
π‘
If the router doesn't respond to the Reset button and doesn't go into Recovery Mode, the memory chip may be damaged, and only repairs at the service center will help.
Frequent Mistakes and How to Avoid Them
Even following the instructions, users often encounter problems, and here are the most common mistakes and solutions:
| Mistake. | Reason. | Decision |
|---|---|---|
| The Reset button doesn't work. | Insufficient retention time or mechanical breakage of the button | Hold the button for 20 to 30 seconds. If it doesn't work, use Telnet or Recovery Mode. |
| After reset, the router does not distribute Wi-Fi | Failure of the configuration of the wireless module | Go to the admin panel and manually turn on Wi-Fi in the Wireless Settings section. |
| I can't get into 192.168.31.1. | IP-Router address changed or conflict with other device on the network | Check your current IP via ipconfig (Windows) or ifconfig (Linux/Mac). |
| Mi Home doesn't see router after reset | The device is not tied to an account or server problems with Xiaomi | Reconnect the router manually through Add Device β Router. |
If none of these methods helped, check:
- π Router power: try another power supply (especially relevant for Mi Router) 4C, where the original adapter often fails).
- π‘ Antennas: on models with external antennas (AX6000) Check the density of their connection.
- π Firmware: forums 4PDA often lay out patches to unlock routers with a "brick".