Forgot the password from the web interface of the Xiaomi router and can not log in to the settings? Or bought a used device with an already installed unknown access code? This situation is familiar to many users β especially if we are talking about popular models like Mi Router 4A, Xiaomi AIoT Router AX3600 or Redmi Router AX5. Unlike the Wi-Fi password, which can be viewed on the case sticker, the administrator password is stored only in the device memory and is not duplicated in the documentation.
In this article, we will discuss all the ways to restore access, from standard default combinations to hardware reset via the Reset button. You will also learn how to protect the router from repeated password loss and what to do if the reset did not help. The instructions are relevant for all modern Xiaomi routers, including models with MiWiFi firmware and OpenWRT.
Standard Administrator Passwords for Xiaomi Routers
If you've never changed your password after you've purchased it, chances are that the device still uses the factory combination. Xiaomi has it depending on the model and firmware version. Below is a table with the current data for popular routers:
| Model router | Login by default | Password default | Notes |
|---|---|---|---|
| Mi Router 4/4A/4C | admin | admin or empty field | New firmware may require a password to be created at the first login |
| Mi Router 3/3G/3 Pro | admin | admin | For Chinese versions, 12345678 is sometimes used. |
| Xiaomi AIoT Router AX3600 | admin | Empty field or password | Requires a binding to your Mi Account when you first connect |
| Redmi Router AX5/AX6 | admin | admin or xiaoqiang | On the global versions, the password may not be available. |
β οΈ Note: If the router has previously been configured via the Mi WiFi mobile app, the standard combinations may not work, in which case the device is tied to a Xiaomi account, and login will require authorization through it.
Try the following steps:
- π Enter admin in both fields (login and password).
- π Leave the password field blank if the admin login.
- π Try Xiaoqiang is the internal coder name for Xiaomiβs router lineup.
- π± Check the sticker on the bottom of the device - sometimes it is indicated there PIN-Sign-in code (not to be confused with Wi-Fi password!).
How to Reset Administrator Passwords through Reset Button
If standard passwords don't work, the only reliable way to get back access is to reset the hardware settings, which will return the router to factory status by deleting all user data, including:
- π Administrator Password and Wi-Fi;
- π‘ Network settings (name) SSID, channel, mode of operation);
- π Port rules, DMZ, parental control;
- π Updates to the firmware (back to the "out of the box" version").
Resetting instructions:
- Find a small hole on the back of the router that says Reset (sometimes signed as WPS/Reset).
- Take a paperclip or toothpick, press and hold the button for 10-15 seconds until the indicators start flashing.
- Release the button and wait for the reboot (1-2 minutes).
- Connect to the router network via cable or Wi-Fi (network name will be standard, for example). Xiaomi_XXXX).
- Open your browser and go to 192.168.31.1 or miwifi.com.
Disconnect all devices from the router network |
Write down your current Wi-Fi settings (if you remember)|
Prepare a paperclip or toothpick |
Make sure the router is on the network 220V|-->
β οΈ Note: On some models (e.g. Xiaomi Mi Router) 4A Gigabit Edition long-term Reset retention (more than 30 seconds) can put the device in emergency firmware mode. TFTP MiWiFi Repair Tool.
Restoring access through the Mi WiFi app
If the router was previously linked to your Xiaomi account, you can try to restore access through the official application.This method works for models that support Mi Home or Mi WiFi (for example, Mi Router 4C, Redmi Router AC2100).
Follow the instructions:
- Install the Mi WiFi app (for Android/iOS) or Mi Home.
- Sign in under the same account that was used to set up the router.
- In the main menu, find your router in the list of devices.
- Go to Settings β Device Management β Password Reset.
- Confirm the action via SMS or email (if two-factor authentication is enabled).
πΉ Important: This method will only work if:
- π± The router is linked to your Mi Account;
- π The device has access to the Internet (to check authorization);
- π The router does not have custom firmware installed (for example, OpenWRT).
π‘
If the app doesnβt see the router, try connecting to its Wi-Fi network (even without internet) and updating the list of devices manually.
What to do if the reset did not help: alternative methods
In rare cases, a hardware reset may not work because of:
- π§ Hardware failure (damaged Reset button);
- π οΈ Unofficial firmware with modified resetting mechanism;
- π Power problems (router does not save settings after restarting).
Try the following solutions:
1. reset via Telnet/SSH (for advanced users)
If remote access is enabled on the router, you can try resetting the password through the command line:
telnet 192.168.31.1
login: admin
Password: Admin (or other standard)
Type a command:
nvram set http_passwd=""
nvram commit
rebootAfter rebooting, the administrator password will be empty.
2. Flashing through TFTP
For models based on the MediaTek chipset (for example, Mi Router 3G), you can use the TFTP utility for forced flashing.
- π» Windows computer;
- π Official firmware for your model (download from Xiaomi website);
- π Network cable for direct connection to the router.
Detailed instructions for firmware through TFTP
3. Appeal in support of Xiaomi
If the router is guaranteed, contact official support via:
- π§ Email: support@mi.com;
- π¬ Online chat on the site mi.com/support;
- π Hotline phone (for Russia: +7 495 644-03-55).
When applying, prepare:
- π Check or guarantee card;
- π Router serial number (on the sticker);
- πΈ Photo of the device with visible serial.
How to protect your router from losing your password in the future
To avoid repeated access issues, follow these tips:
- π Backup settings: In the router web interface (192.168.31.1) go to Settings β Backup and save the configuration file to PC.
- π± Link the router to your Xiaomi account: This will allow you to restore access through the Mi WiFi app even after a reset.
- π Write your password to a safe place: Use password managers (like Bitwarden or KeePass) or a physical notebook.
- π Update the firmware: New versions of MiWiFi ROM Often fix vulnerabilities associated with password circumvention.
Critical information: On Xiaomi routers with firmware older than 2021, there is a vulnerability that allows you to reset the administrator password through a special script without physical access to the device.
π‘
Linking a router to a Xiaomi account is the only way to restore access to settings without resetting if you forget your password.
Frequent mistakes and their solutions
When you try to log into the admin panel or reset the settings, users often face typical problems.
| Problem. | Possible cause | Decision |
|---|---|---|
| Page 192.168.31.1 does not open | Wrong. IP-router address or network connection problems | Check your network settings on your PC (IP should be in the range of 192.168.31.x).Try miwifi.com |
| After reset, the password was not reset. | Incomplete reset (reset button was not pressed long enough) | Repeat the procedure by holding the button for at least 15 seconds. |
| Router asks for a username/password from Mi Account | The device is linked to the account of the previous owner | Contact Xiaomi Support to Unlock or Flash Firmware |
| Indicators burn unstablely after resetting | Firmware failure or hardware malfunction | Try flashing your router through TFTP or contact the service center |
β οΈ Note: If after reset, the Xiaomi router constantly restarts or does not issue IP-address DHCP, This may indicate that the file system is damaged, and in this case, only flashing through the file system will help. UART (soldering).