Forgetting the password from your home Wi-Fi is a familiar situation, especially when it happens with Xiaomi routers, where standard reset methods are not always obvious. Unlike budget models of other brands, Mi Routers (including popular ones) 4A Gigabit, AX3000 and AX6000) They have unique features, from hidden features in the mobile app to alternative ways to sign in via Mi Account. In this article, we will discuss all working methods, from simple reset to recovery through backups, and also tell you how to avoid losing settings in the future.
It is important to understand that the recovery procedure depends on the router model and the firmware version. 4C 2.0.75 is different from the reset. AX6000 We have taken these nuances into account and prepared universal instructions that are relevant to most devices of the Mi Router line (2018-2026), if you are not sure about the model, you can recognize it by the sticker on the bottom of the device or in the Mi WiFi application.
Before you start resetting, check three things:
- π Password saved on other devices. Connect to the network from your phone/laptop and check the password in the settings (on Android: Settings) β Wi-Fi β Name of the network β Share).
- π± Mi WiFi app. If the router is linked to your Mi Account, the password can be displayed in the Network Management section.
- π Backup configuration. Some models (e.g. Mi Router 5) have a function to export settings - the.cfg file contains the password in encrypted form.
1. Password recovery without reset: 3 working methods
Resetting your router to factory settings is a last resort. Try these methods first, which will save all current network settings (including the ones you have in your network). IP-Boundaries, Guest Access and Parental Control).
Method 1: Viewing the password on the connected device
- π± Android: Open Settings β Wi-Fi, tap on the name of your network β Share (will need to be entered) PIN-code).
- π» Windows: Enter the command line: netsh wlan show profile name="NAME NETWORK" key=clear password will be in the key contents line.
- π macOS/iOS: In Keychain Access, find the network name β the password will appear after entering the system password.
Method 2: Sign in via Mi Account (if the router is tied)
If you have previously logged in to the Mi WiFi app through your Xiaomi account, there is a chance to restore access to:
- Open the Mi WiFi app on your smartphone.
- Sign in to your Mi Account (if you have left).
- Go to the Office. β Wi-Fi settings. This can show the current password or the option to change it.
β οΈ Attention: On Mi Router routers 4A and 4C With firmware older than 2.0.50, this function is unstable. If the password does not appear, try updating the firmware through the application.
Method 3: Using a backup configuration
Some models (Mi Router 5, AX3000) You can export your settings to a.cfg file:
- Connect the router to the PC via LAN cable.
- Open in the browser 192.168.31.1 (or other) IP, if you've changed it).
- Go to the Supplementary β Backup/restore.
- Download the.cfg file β after restarting the router, the password will be restored.
How to decrypt a password from a.cfg file?
2. reset Xiaomi router to factory settings
If the previous methods didn't work, you'll have to reset hard, which is a complete reset, and this will delete all the settings, including:
- π Wi-Fi password and network name (SSID).
- π‘ Settings DHCP, IP-anchorages, port forwarding.
- π€ Mi Account data (router will unplug the account).
Instructions for all Xiaomi models (Mi Router) 3/4/5/6/AX-series):
- 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 orange.
- Release the button β the router will restart (the process takes time) ~2 minutes).
- Connect to the network. Xiaomi_XXXX (without password and reset the router through 192.168.31.1.
Make sure the router is on the network|Download the latest firmware from Xiaomi website|Prepare a paper clip for the Reset button|Write down the current settings (if available)|Disconnect all devices from LAN-port
-->
Features for different models:
| Model router | Reset retention time | Indication of discharge | IP post-discharge |
|---|---|---|---|
| Mi Router 4A/4C | 10 seconds. | Yellow flashing | 192.168.31.1 |
| Mi Router 5/6 | 12 seconds | Orange flashing | 192.168.31.1 |
| AX3000/AX6000 | 15 seconds. | White β orange | 192.168.31.1 or miwifi.com |
| Mi Router Pro | 20 seconds. | Red flashing | 192.168.31.1 |
β οΈ Attention: On Xiaomi routers with firmware 3.x.x (for example, AX6000) You may need to re-link to your Mi Account after reset, and if you forget your account details, restore them here, otherwise the router will be blocked.
3. Router setup after reset: step-by-step instruction
After hard reset, Xiaomi's router returns to factory settings.
Step 1: Connect to the router
- πΆ Find a network with a name Xiaomi_XXXX (where XXXX β last-minute MAC-address).
- π Connect without a password (or use a standard one) admin/admin, if requested).
Step 2: Log in to the web interface
- Open your browser and go to 192.168.31.1 or miwifi.com.
- Enter the default login/password: Login: admin Password: admin or blank field (depending on the model).
Step 3: Quick setup
Follow the installation master:
- Select Router Mode (if you use it as your primary router).
- Enter the data from the provider (usually PPPoE with a login / password from the contract).
- Give a new name to the network (SSID) Wi-Fi password (we recommend using it) WPA2-PSK + password-plate+ symbolism).
- Link the router to Mi Account (optional, but recommended for remote management).
π‘
To avoid forgetting your password in the future, save it in your password manager (like Bitwarden or KeePass) or stick a sticker with a password. QR-router code (can be generated here).
4. Alternative methods: if the discharge did not help
In rare cases, the Xiaomi router may not reset the first time or freeze.
Method 1: Dumping through Telnet/SSH (for advanced users)
If the web interface is not available but the router is pinging (ping 192.168.31.1 responds), try:
- Connect to the router via Telnet (on Mi Router) 4A port 23/22 default).
- Enter commands: nvram set wifi_pwd="New password: nvram commit reboot
β οΈ Note: This method only works on firmware up to 2.0.70.On newer versions, Xiaomi has disabled Telnet access by default.
Method 2: Firmware through TFTP (brick-for-brick")
If the router does not respond to reset (only the red indicator burns), the firmware may be damaged.
- Download the official firmware for your model from the Xiaomi website.
- Rename the file to miwifi.bin.
- Launch it. TFTP-server, Tftpd64) And point the way to the file.
- Connect the router to the PC, pinch Reset and turn on the power - after 5 seconds, release.
- The firmware will start automatically (the process will take place). ~3 minutes).
Advice 2: Export router settings
Regularly (every 3-6 months) create a backup copy of:
- Go to the router's web interface (192.168.31.1).
- Go to the Supplementary β Backup/restore.
- Click Export Settings and save the.cfg file to your PC.
Advice 3: Set up remote access
Link the router to Mi Account and enable Remote Management in the Mi WiFi app.
- π Changes Wi-Fi password from anywhere in the world.
- π Viewing Connected Devices.
- β‘ Reboot the router remotely.
Advice 4: Use a label with QR-code
Generate. QR-code your network on qifi.org and paste it on your router, so guests can connect without entering a password, and you can quickly restore it.
π‘
The most reliable way to not lose access to the router is to link it to Mi Account and regularly export the settings to the.cfg file.
6. Frequent errors and their solutions
When you restore access to the Xiaomi router, users face typical problems, and let's look at the most common ones.
Error 1: The router is not resetting (red lights are on)
Possible causes and solutions:
- π Faulty power supply. Try another adapter (5V/2A for Mi Router 4A, 12V/1.5A for AX6000).
- π Hold Reset for 30 seconds, and it will force you to restart the router.
- π οΈ Hardware failure. If the indicators don't respond, contact the service.
Error 2: 192.168.31.1 does not open after reset
Check it out.
- π Sometimes, when you reset, you don't have to switch on Wi-Fi right away -- use it. LAN-port.
- π IP-On some models (Mi Router Pro) the address can be 192.168.1.1.
- π Cache the browser. Try opening the page in Incognito mode or another browser.
Error 3: I canβt log in to my account.
If the router requires authorization, but you do not remember the data:
- Go to account.xiaomi.com and restore the password. email/phone.
- If the account is not tied to the router, reset and reset the device.
- If the router is blocked (the message "The device is linked to another account") - contact support with a check.
Mistake 4: Wi-Fi is working but there is no internet access
After the reset, check:
- π‘ Connection type: In router settings, select PPPoE (if the provider has a login/password) or Dynamic IP.
- π ISP cable, connect it to the port. WAN (usually blue).
- π MAC-If the provider has linked access to the MAC Old router β clone it in settings (Network) β Cloning MAC).