How to find or reset the admin password on the Xiaomi router: full instruction 2026

Forgot the password from the administration panel of the Xiaomi router and can not log into the settings? This problem is familiar to many users β€” especially if the device was configured a long time ago or purchased from hand. Fortunately, you can restore access to the web interface of the router in several ways, and not all of them require a complete reset configuration.

In this article, we’ll look at all possible methods, from standard login/password combinations for different Xiaomi Mi Router models to hardware reset via the Reset button and alternative ways to sign in via the Mi Wi-Fi app. You’ll also learn how to avoid locking in the future and why you should never use default passwords.

Important: If you are not the router owner (for example, you are connected to someone else’s network), an attempt to hack the administrator password violates the law and may entail liability.

Standard logins and passwords for Xiaomi routers

Most Xiaomi routers come with factory credentials, which can be found on a sticker underneath the device’s body, but if the sticker is worn or you’ve bought a used router, try the following combinations:

  • πŸ”‘ Admin is the most common combination for older models (for example, Mi Wi-Fi Router 3 or Mi Router). 3G).
  • πŸ”‘ Login: admin, Password: blank (just press Enter) – relevant for some Mi Router firmware 4A Mi Router 4C.
  • πŸ”‘ Login: root, Password: root - rare, but found on custom firmware.
  • πŸ”‘ Login/password: unique sticker code (e.g. 12345678) – used in new Xiaomi AIoT Router models AX3600 or AX6000.

If neither combination fits, check the router's serial number on the box or under the case - sometimes the password is generated based on it. For example, for the Mi Router 4 model, it can be the last 8 digits of the SN.

⚠️ Note: Using standard passwords makes your network vulnerable to hacking. After the first login, be sure to change the credentials in the Settings section β†’ System system β†’ Administrator password.

πŸ“Š What model of Xiaomi router you use?
Mi Router 3/3G/3C
Mi Router 4/4A/4C
AX1800/AX3000/AX3600
AX6000/AX9000
Another model

How to Reset Passwords through the Reset Button

If standard passwords don't work and access to the admin panel is critical, you'll have to perform a hardware reset to factory settings, which will delete all your settings (network name, Wi-Fi password, tied devices) but will return the ability to log in with default data.

Instructions for all Xiaomi models:

  1. Find a small hole on the back of the router that says Reset (sometimes labeled WPS/Reset).
  2. Take a paper clip or a toothpick and press the button inside the hole. Hold it for 10-15 seconds until the indicators on the router start flashing.
  3. Release the button and wait for the reboot (usually takes 1-2 minutes).
  4. Connect to a Wi-Fi network with a name Xiaomi_XXXX (password is indicated on the sticker) and log into the administrator panel at the address 192.168.31.1 or miwifi.com.

After the reset, you will have to reconfigure your Internet connection (enter data from the provider in the Internet β†’ Connection Type section) and set a new password for Wi-Fi.

Disconnect all devices from the Wi-Fi network

Record the current settings (if available)

Prepare data from the provider (logins, VLAN, PPPoE)

Have a paper clip or toothpick on hand-->

Restoring access through the Mi Wi-Fi app

If the router is linked to your Xiaomi account, you can try to restore access through the official Mi Wi-Fi app (available for Android and iOS).

  • πŸ“± The router was previously connected to your profile in the app.
  • πŸ”„ Remote management is enabled on the device (located in Settings) β†’ Cloud).
  • 🌐 You have access to the router network (wi-fi or cable connection).

Step-by-step:

  1. Open the Mi Wi-Fi app and log in under the same account you used to set up your router.
  2. In the main menu, find your router (if there isn’t one, click Add Device and select Router).
  3. Go to the Settings section β†’ Administrator password.
  4. The system will offer to confirm the action via SMS or email – follow the instructions.
  5. After confirmation, you can set a new password to log into the web interface.

If the router doesn’t appear in the app, try updating the firmware through Settings β†’ Update or reset (see previous section).

πŸ’‘

If you have multiple Xiaomi routers, you can create a network group in the Mi Wi-Fi app and manage all devices from a single interface, making it easier to monitor traffic and update firmware.

Alternative ways to log in: Telnet and SSH

For power users, it is possible to access the router via Telnet or SSH protocols if enabled in firmware, a technique that requires technical knowledge and can lead to unstable device operation if the device is not operated correctly.

Before starting, make sure that:

  • πŸ–₯️ You have a PuTTY client (for Windows) or a Terminal client (for Windows) installed on your PC. macOS/Linux).
  • πŸ”Œ The router is connected to the computer via cable LAN.
  • πŸ”§ You know. IP-router address (usually 192.168.31.1 or 192.168.0.1).

Instructions for connecting via Telnet:

1. Open the command line (Win + R β†’ cmd).


Enter: telnet 192.168.31.1




3. If the connection is successful, enter the login: admin




Password: Admin (or leave blank).




5. To change the administrator password, execute the command:




passwd admin

For SSH, the process is similar, but requires pre-enabled service in the router settings (Advanced β†’ Remote Access) If Telnet/SSH is disabled, they can be activated via Mi Wi-Fi or after resetting.

⚠️ Attention: Incorrect commands in the console can disrupt the router. Do not change system files without a configuration backup. For beginners, we recommend using only a web interface or application.

What if Telnet/SSH is not connected?
If the router does not respond to requests Telnet/SSH, check: 1. Is remote access enabled in settings (Settings) β†’ System system β†’ Remote control). 2. Does not block access to the firewall on the PC or the router itself (disable the protection temporarily). 3. Is it correct? IP-address (check it out via ipconfig command in Windows or ifconfig in Windows) Linux/macOS). 4. Is the router firmware updated to the latest version (old versions could have bugs with remote access).

Below are factory credentials for the most common Xiaomi routers, and if your model isn’t on the list, try the generic combinations in the first section.

Model routerLogin.Password.Notes
Mi Router 3/3G/3CadminadminNew firmware may require a change of password at the first login.
Mi Router 4/4A/4CadminhollowIn some regions, the password is generated by SN (last 8 characters).
Xiaomi AIoT Router AX3600adminmarkedPassword is a unique code of 8 digits under the body.
Mi Router AX1800/AX3000admin12345678 or SNYou may need to link to your Xiaomi account when you first sign in.
Mi Router Pro (R3P)rootrootOnly for old firmware. Newer versions are disabled.

If your model is not listed in the table, but the router is released after 2020, chances are the administrator password is listed on the sticker under the case or generated based on the serial number.

How to Protect a Router After Restoring Access

Once you have successfully logged in to the admin panel, don't delay setting up security, but here's the minimum set of steps to protect your network:

  • πŸ”’ Change the Administrator Password: Go to Settings β†’ System system β†’ Administrator password and set a complex combination (at least 12 characters with numbers and special marks).
  • 🌐 Update the firmware: in the Settings section β†’ Update check the relevance of the software. Outdated versions often contain vulnerabilities.
  • πŸ›‘οΈ Disable Remote Access: If not used Telnet/SSH, Deactivate these services in Extended β†’ Remote control.
  • πŸ“‘ Set up a guest network: for visitors, create a separate access point with limited rights (Settings) β†’ Wi-Fi β†’ Guest network).

We further recommend:

  • πŸ”„ Enable automatic firmware update (if the function is supported by the model).
  • πŸ“Š Activate the Event Log (Settings) β†’ System system β†’ Log) for tracking suspicious connections.
  • πŸ” Use it. WPA3 instead WPA2 Wi-Fi encryption (available on newer models, for example, AX6000).

πŸ’‘

Even if you don’t store important data on a router, hacking it can lead to traffic theft, attacks on connected devices (smartphones, PCs), or the use of your network for illegal activities.

Frequent mistakes and their solutions

When you restore access to the Xiaomi router, users often face typical problems, and consider the most common and ways to fix them:

1. Entry page not opened (192.168.31.1 not answered)

  • Check the connection to the router via cable or Wi-Fi.
  • Reset your browser cache or try another one (Chrome, Firefox, Edge).
  • Make sure that IP-Router address unchanged (check ipconfig in command line).

2.After reset, the router does not give the Internet

  • Check the ISP connection settings (Internet β†’ Connection type). Often you need to manually specify PPPoE with your login/password.
  • Restart the router and modem (if separate).
  • Update the firmware - in new versions, bugs with automatic configuration are fixed.

3 Mi Wi-Fi application does not see router

  • Make sure that the router and smartphone are connected to the same network.
  • Update the app to the latest version in the App Store or Google Play.
  • Turn on Bluetooth on your phone – some Xiaomi models use it for initial setup.

4.The password from the sticker doesn't fit

  • Try to enter the code without spaces and dashes.
  • If the sticker is erased, use the last 8 characters of the serial number (SN).
  • Do a reset (reset button) and try again.
πŸ“Š What problems do you have when restoring access?
Standard passwords do not fit
The administrator panel does not open.
Mi Wi-Fi app doesn't see router
Another problem.
It worked out the first time.
Can I find out the password of the Xiaomi router without resetting?
Yes, if the router is linked to your Xiaomi account, you can restore access through the Mi Wi-Fi app (Settings β†’ Administrator Password section). Also try the standard combinations from the first section of the article. If nothing helps, resetting via Reset is the only reliable way.
What if the router does not distribute Wi-Fi after resetting?
After the reset, you need to reconfigure your Internet connection: Connect to the router via cable. Log in the administrator panel (192.168.31.1). Go to the Internet β†’ Connection type and select your provider's protocol (usually PPPoE or Dynamic IP). Enter the username / password from the provider (specified in the contract). Save settings and restart the router. If the problem persists, check the cable from the provider or contact technical support.
How to protect the router from hacking after access restoration?
Minimum security measures: Change the standard administrator password to a complex one (at least) 12 Disable remote access (Telnet/SSH) and WPS. Enable encryption. WPA3 For Wi-Fi (if supported), upgrade your firmware to the latest version. Activate the firewall (Settings) β†’ Security. For advanced users: set up MAC-filtering and change the standard IP-router (192.168.31.1 β†’ 192.168.x.x).
Can I hack the password of the Xiaomi router if I am not admin?
Technically possible, but it's illegal. Hacking someone else's networks violates article 272 of the Russian Criminal Code and can result in fines or criminal liability. If you rent a house and don't know the router's password, ask the owner for it. Use the legal methods in this article for your own device.
Where is the admin password stored in the router firmware?
The administrator password is stored encrypted in the router configuration file (usually /etc/shadow or /etc/passwd). Access is only possible through SSH/Telnet with root rights, but it is not recommended to change it manually - this can cause the device to fail.