How to Reset Your Xiaomi Password: All Ways (including Hidden)

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:

  1. Open the Mi Home app on your smartphone.

Once confirmed, the router will restart and return to factory settings.

ParameterDefault value
Name of the Wi-Fi network (SSID)Xiaomi_XXXX or MiWiFi_XXXX
Wi-Fi passwordIndicated on the sticker under the router (8 digits)
IP-address192.168.31.1 or 192.168.0.1
Login/password of the admin paneladmin/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.

πŸ“Š What kind of Xiaomi router do you have?
Mi Router 4A/4C
AX1800/AX3000
AX6000/AX9000
Other (write in the comments)

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:

  1. Connect to the router’s Wi-Fi network (the password is usually indicated on the sticker).
  2. 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).
  3. 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/reboot

Sometimes 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:

  1. Download and install PuTTY (or use the built-in Telnet client in Windows 10/11).
  2. Connect to the router via cable (Wi-Fi may be disabled after unsuccessful login attempts).
  3. 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




reboot

After rebooting, the admin panel password will be empty (admin/empty).

What to do if the Telnet is disabled?
On some Xiaomi firmware, Telnet access is blocked after the first login. To enable it: 1. Open the web interface (if you have access). 2. Go to Advanced Settings β†’ SSH/Telnet. 3. Enable Telnet and save settings. 4. Connect again via PuTTY. If there is no access to the web interface, only a hardware reset remains (see Method 1).

⚠️ 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 buttonHold 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-FiFailure of the configuration of the wireless moduleGo 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 networkCheck your current IP via ipconfig (Windows) or ifconfig (Linux/Mac).
Mi Home doesn't see router after resetThe device is not tied to an account or server problems with XiaomiReconnect 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".

FAQ: Answers to Frequent Questions

Can I reset my password without losing my settings (such as Port Forwarding or VPN)?
No, a full reset always deletes all user settings. However, you can save the configuration before reset: Go to the web interface. Go to Advanced Settings. β†’ Backup & Restore. Download backup. Reset the settings from the file after reset. ⚠️ Note: the backup contains the current password of the admin panel, so it will not be possible to restore it without knowing the password.
I reset the router, but Mi Home asks for the old password.
This means that the router is still tied to the previous Mi Account: πŸ“± Ask the previous owner to untie the device in your account (Mi Home) β†’ Router settings β†’ Untie). πŸ”§ Use Telnet to manually remove the binding (command: nvram set binded)=0). πŸ“§ Contact Xiaomi with proof of purchase (check, box).
Once reset, the router distributes Wi-Fi, but there's no Internet access. What's the problem?
Probably not configured to connect to the provider. Go to the admin panel (192.168.31.1) and check: πŸ”Œ Connection type (PPPoE, DHCP, Static IP) β€” It should be in line with the provider’s settings. πŸ”‘ Login/password for connection (if PPPoE is used). 🌍 Settings DNS (If you have the right settings but no internet, restart your router and wait for the update. IP from the provider (can take up to 5 minutes).
Can I reset my password on a Xiaomi router if it is in another country?
Yes, but with reservations: 🌍 If the router is connected to your Mi Account, use cloud reset via Mi Home (see Method 2). πŸ”Œ If the router is not tied to an account, you will need physical access to click Reset or connect via Telnet. ⚠️ Remote discharge through SSH TeamViewer is only possible if the router is already configured for remote control (which is unlikely without pre-configuring).
How to protect the Xiaomi router after reset, so that the password is not hacked?
After restoration of access: πŸ” Change the standard password of the admin panel to a complex one (at least) 12 symbols, with numbers and special symbols). πŸ›‘οΈ Disable remote control in the settings (Security) β†’ Remote Management). πŸ”„ Update your firmware to the latest version (older versions have password vulnerabilities). πŸ“± Link the router to your Mi Account – this will allow you to restore access even after a reset. 🚫 Turn it off. Telnet/SSH, If you do not use these protocols.