Forgot your Wi-Fi password on your Xiaomi router and can't connect new devices? This is a familiar situation for many people, especially if the network has been out of use for a long time or someone else has set it up. Fortunately, you can restore access to the Mi Router router (or Redmi Router) in several ways, from simply viewing the saved password on the connected device to resetting settings to factory ones. In this article, we will analyze all the working methods, including little-known MiWiFi firmware chips that will help you do without a complete reset.
Itβs important to understand that if youβre talking about an administrator password (to log into the router control panel at 192.168.31.1 or miwifi.com), itβs different from finding a Wi-Fi password. Weβll look at both scenarios. Youβll also learn how to avoid blocking your Mi Account after several failed entry attempts β a common problem when working with Xiaomi routers tied to your account.
1. Viewing the saved Wi-Fi password on the connected device
The fastest way to find out the password from a Xiaomi router is to look it up on a device that's already connected to that network, which could be a smartphone, a laptop, a tablet, and let's look at the instructions for different operating systems.
On Android (including Xiaomi, Redmi, POCO smartphones):
- π± Open the Settings. β Wi-Fi and tap on your network name.
- π In some firmware (for example, MIUI 14+) The password will be displayed immediately under QR-If not, click Share Password (you will need a fingerprint confirmation or a copy of your password). PIN-code).
- π On the old versions. MIUI You may need to install a third-party application, such as WiFi Password Viewer (root rights required).
On Windows 10/11:
- π₯οΈ Press Win. + R, enter ncpa.cpl and press Enter.
- π Right-click on your Wi-Fi connection β Status. β Properties of wireless network.
- π Go to the Security tab and tick Display the entered signs.
On macOS:
- π Open Spotlight (Cmd) + Space) and enter the keychain.
- π Find the name of your Wi-Fi network, double-click on the record and tick Show password (you will need to enter a password from your Mac account).
β οΈ Note: If the Xiaomi router is set to hide SSID (Network name does not appear in the list, first enable network visibility in the control panel (miwifi.com) β Wi-Fi settings β Hide the net).
2. Entrance to the control panel of the Xiaomi router
If you donβt need a Wi-Fi password, but an administrator password to log into your routerβs web interface (192.168.31.1 or miwifi.com), try the standard combinations:
- π Login: admin, password: admin (for older models).
- π Login: Admin, password: last 8 digits MAC-address (indicated on the router sticker).
- π Login: admin, password: password from Wi-Fi (on some firmware they coincide).
If standard passwords donβt work and the router is tied to your Mi Account, try:
- Go to account.xiaomi.com and log in.
- In the Devices β Smart Home section, find your router and click Control.
- The system may suggest generating a temporary password to log into the control panel.
β οΈ Attention: After 5 failed attempts to enter a password, the Xiaomi router blocks access for 5 minutes.If this happens, turn off the router power for 30 seconds and try again.
What if the router requires a link to the Mi Account?
3 Use of the Mi WiFi mobile application
The official Mi WiFi app (available for Android and iOS) lets you manage your router without entering your administrator password β provided youβre already connected to its Wi-Fi network.
- π€ Google Play
- π App Store
Instructions for password recovery:
- Open the app and wait until it finds your router (make sure the smartphone is connected to the Wi-Fi router).
- Click on the router name β Device management.
- Go to Wi-Fi Settings β the current password will be displayed here (a fingerprint confirmation may be required).
If the app requests an administrator password but you donβt remember it, try:
- π Restart your router and start Mi WiFi right away β sometimes it resets the temporary lock.
- π§ Restore access to Mi Account if the router is linked to your account.
π‘
If the Mi WiFi app doesnβt find the router, check if the smartphone is enabled with Wi-Fi and Bluetooth β some models (such as the Xiaomi Router 4A Gigabit) require both connections for initial setup.
4. Viewing passwords via Telnet or SSH (for advanced users)
This method is suitable for Xiaomi routers with OpenWRT-based MiWiFi firmware (e.g. Xiaomi Router 3/3G/4) and requires access to the router console and basic command line knowledge.
Steps to connect via Telnet:
- Make sure the router is connected to the internet.
- Open the command line (Win + R β cmd) and enter: telnet 192.168.31.1 Login: root, password: admin (or password from Wi-Fi).
- Run the command to view the Wi-Fi configuration: cat /etc/config/wireless Look for the key='your password' line.
For models with Telnet disabled (such as Xiaomi Router 4A), you can use SSH, but you need to activate it first:
- π§ Download the MiRouter utility SSH Enabler (available on the 4PDA).
- π₯ Connect to the Wi-Fi router and start the utility β it will automatically open SSH-port.
- π₯οΈ Connect to the SSH (For example, through PuTTY) with root and admin password.
β οΈ Warning: Incorrect commands in the router console can disrupt the router's performance. If you're not sure what you're doing, use other methods.
| Model router | Supports Telnet? | Default password for SSH | Notes |
|---|---|---|---|
| Xiaomi Router 3/3G | β Yes. | admin | Requires activation via MiRouter SSH Enabler |
| Xiaomi Router 4/4A | β No, only. SSH) | Wi-Fi password | SSH is disabled by default |
| Xiaomi Router AX3600 | β No. | β | Access only through the web interface |
| Redmi Router AC2100 | β Yes. | admin | Telnet works without any additional manipulation. |
5. Resetting Xiaomi router to factory settings
If no one has worked, a hard reset will return the router to factory settings, including the default password, and note that all user settings (including guest network, parental controls, and device priorities) will be lost.
Resetting instructions:
- 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.
- Release the button and wait for the reboot (2-3 minutes).
After discharge:
- π Connect to the network. Xiaomi_XXXX (passwordless).
- π Open miwifi.com in your browser and perform the initial setup.
- π The new Wi-Fi password can be seen in the Settings section. β Wi-Fi.
Disconnect all important devices from Wi-Fi|Write it down. MAC-Device addresses for fast connection|Prepare a paperclip to press Reset|Check if you have a backup of your settings (if any)-->
β οΈ Note: Xiaomi routers with MiWiFi firmware may require re-assignment to your Mi Account after reset. If you do not remember your account details, the router will become a βbrickβ β you will have to sew it manually.
Alternative methods: QR-code WPS
If you need to connect a new device to Wi-Fi but donβt remember the password, you can use alternative methods:
Method 1: QR-code
- π± On a smartphone already connected to Wi-Fi, open Settings β Wi-Fi and tap the name of the network.
- π Click Share Password and it will appear QR-code.
- π· Scan it from a new device (for example, through the camera on the iPhone or the Google Lens app on Android).
Method 2: WPS (Wi-Fi Protected Setup)
- π Press the button. WPS on the back of the router (usually marked with an icon) π).
- π± On the device you want to connect, select the network and click Connect via WPS (wifi).
- β±οΈ You will have 2 minutes to complete the connection.
Please note: WPS is considered unsafe β after connecting, we recommend turning this feature off in the router settings (miwifi.com β Settings β WPS).
π‘
QR-code WPS β For permanent access to the network, it is better to restore or reset the password in the main ways.
7.How to avoid losing your password in the future
To avoid the problem of forgotten passwords again, follow these tips:
- π Save your password in a safe place: use password managers (Bitwarden, KeePass) or write it down in a notebook (do not store it on stickers on the router!).
- π Update your firmware regularly: New versions of MiWiFi add a backup feature for settings to the cloud.
- π Set up backup: link router to Mi Account and enable two-factor authentication.
- π Create a guest network for temporary devices β so you will change your main password less often.
It's also useful to know:
- π§ Xiaomi routers can enable Remote Management (miwifi.com) β Settings β Remote access to manage the network from anywhere.
- π Regularly check connected devices in the Devices section - this will help to notice unauthorized access in time.