How to change the password on the router Xiaomi 4: 3 proven ways

Forgot the password from Xiaomi Router 4 or want to update it for security? the password change on this popular router takes no more than 5 minutes if you know the correct sequence of actions. Unlike newer models (for example, Xiaomi AX3600 or Redmi Router AC2100), the fourth version of the router has a specific web interface with a unique menu structure, which often causes confusion among users.

In this article, we will discuss three official password change methods: through the browser, the Mi WiFi mobile application and manually after resetting. You will also learn how to bypass locking when data is lost from a Xiaomi account if the router is associated with an account. All instructions are relevant for firmware 2023-2026 and tested on devices with Russian and global localization.

Preparing for a password change: what to check in advance

Before changing your password to Xiaomi Router 4, make sure that the key conditions are met, otherwise you risk losing access to the network or experiencing authorization errors.

  • πŸ”Œ Stable power: the router must be connected to the 220V network without using UPS (uninterruptible power sources) – they can distort signals while saving settings.
  • πŸ“Ά Connecting to a router: Your computer or smartphone must be connected to the network Xiaomi_XXXX (If you forget your password, use the section on resetting settings.
  • 🌐 Up-to-date firmware: routers with software version older than 1.0.56 may not support encryption WPA3. You can check the version in Settings β†’ Status of the system.
  • πŸ“± Mi WiFi app: if you plan to use the mobile method, install the latest version of the application (for Android – Google Play, for iOS – App Store).

Pay special attention to the type of connection. If the router is configured in repeater (WDS) or bridge (Bridge), changing the password of the main network can break the connection with the main router.

πŸ“Š How do you usually set up a router?
Through a browser on a PC
Through the mobile app
With the help of a specialist
I don't set myself up.

Method 1: Change password through the web interface (browser)

The classic method, which works on all versions of Xiaomi Router 4, is suitable if you have access to the router network and remember the current administrator password (by default – admin or empty field).

  1. Open any browser (we recommend Google Chrome or Mozilla Firefox) and type in the address bar 192.168.31.1 or miwifi.com.
  2. In the authorization window, enter your login and password. If you haven't changed them before, try the combinations: Login: admin, password: admin or blank field. Login: root, password: admin (for firmware until 2020).

Go to Wi-Fi β†’ Security settings. Here you will see the current network settings.

In the Wi-Fi Password field, enter a new key. Recommended length β€” 8–20 symbols using letters, numbers and special characters (e.g. Xiaomi)@2026_Router4).

Choose the encryption type: WPA2-PSK (recommended) or WPA/WPA2 (for compatibility with older devices). Avoid WEP - this protocol is outdated and insecure.

Click Save and wait for the router to restart (it will take ~1 minute).

New password written on paper or in password manager |

Type of encryption is not available on WEP|

Connected devices ready for re-authorization |

The router does not overheat (box temperature is normal)-->

Important: If devices do not connect to the network after changing the password, check:

  • πŸ”„ Is Customer Isolation Mode turned on (turns off in Wi-Fi) β†’ Additional settings).
  • πŸ“΅ Does the antivirus block the connection (especially relevant for Kaspersky Internet Security).
  • πŸ”„ Have you lost your Wi-Fi channel settings (try manually setting channel 6 or 11 in the Wi-Fi menu)? β†’ Main settings).

πŸ’‘

If the Internet disappears after changing the password, but the network Xiaomi_XXXX You can see it - check the settings WAN-Internet connection. PPPoE may have been lost, or DHCP.

Method 2: Change passwords through the Mi WiFi app

The Mi WiFi mobile app makes it easier to manage the router, but has limitations, such as some firmware that does not change the type of encryption you use, only the password itself, and requires that the router be linked to your Xiaomi account (otherwise, the device will be offline).

  1. Open the Mi WiFi app and log in under the same account the router is linked to.
  2. On the home screen, tap the icon of your Xiaomi Router 4. If the device doesn't show up, check the connection to its Wi-Fi network.
  3. Go to the Wi-Fi settings section β†’ Password.
  4. Enter the new password twice (to confirm) and click Save.
  5. Wait for the notification of a successful change. The router will restart automatically.

If the error "Can not change password" appears when saving, follow the following steps:

⚠️ Attention: on routers with Chinese firmware (CN ROM) Mi WiFi can block password changes due to regional restrictions, in which case use a web interface or reset settings.

Problem.Reason.Decision
The application does not see the routerDevice not tied to account or Cloud access disabledLink the router to Settings β†’ Cloud access via web interface
The "wrong password" errorA password that is too simple (less than 8 characters)Use a combination of letters, numbers and special characters
After changing the password, there is no InternetWAN settings are lost (especially with PPPoE)Check the settings on the Internet β†’ Type of connection

Method 3: Resetting settings and setting a new password

If you forget your current Wi-Fi or administrator password, the only way to get access back is to completely reset your router to your factory settings, which will delete all personal data, including:

  • πŸ” Wi-Fi and Administrator Passwords;
  • πŸ“‘ Guest network settings;
  • πŸ”„ Parental Control Rules and Blacklists MAC-address;
  • 🌐 Parameters PPPoE/L2TP (I'll have to re-configure).

For discharge:

  1. Find the Reset button on the back of the router (usually recessed in the case).
  2. Take a paper clip or toothpick, press and hold the button for 10-15 seconds until the indicators start flashing yellow.
  3. Release the button and wait for the reboot (it will take ~2 minutes).
  4. Connect to the network. Xiaomi_XXXX (default password is listed on the sticker below the router).
  5. Go to the web interface (192.168.31.1) and set a new password as described in Method 1.

⚠️ Note: on routers with a link to the Xiaomi account after reset, you may need to re-authorize via Mi WiFi. If you forget your account information, restore them to account.xiaomi.com before resetting!

What if the router does not turn on after resetting?
If the indicators are not lit or flashing red, check: 1. Power supply: try another adapter with parameters 12V/1A. 2. Overheat: turn off the router for 10 minutes, then turn on again. 3. Firmware: if the router "brick" (does not respond to reset), you will need to flash through UART or service center.

How to Create a Strong Password for Xiaomi Router 4

Weak Wi-Fi passwords are one of the main reasons for home network hacking. According to Kaspersky data for 2023, 68% of routers in Russia use passwords like 12345678 or qwerty, which are hacked in a few seconds. For Xiaomi Router 4, we recommend the following rules:

  • πŸ”’ Length: minimum 12 characters (optimally 16)+).
  • πŸ”€ Composition: combination of capital and lowercase letters, numbers and special symbols (!@#$%).
  • 🚫 Exclude: dates of birth, names, dictionary words, recurring characters (aaaaaa).
  • πŸ”„ Update: Change your password every 3-6 months.

Examples of strong passwords for Xiaomi Router 4:

  • MiRouter4_2026!Secure
  • Xia0m1_R@uter_4WiFi
  • P@ssw0rd_F0r_X!40m1

Check your password with Kaspersky Password Checker. If the tool shows a hacking time of less than 100 years, come up with a more complex combination.

πŸ’‘

Never use your Wi-Fi password for other services (e.g., email, social media) and if your router is hacked, attackers will have access to all your accounts.

Frequent mistakes and their solutions

Even when following the instructions, users face typical problems, and here are the most common ones and how to fix them:

Mistake.Possible causeHow to fix it
Page 192.168.31.1 does not openIP-Router address changed or conflict with other deviceCheck your current IP via ipconfig (Windows) or ifconfig (macOS/Linux)
Password is not saved (old password is returned)Browser cache or firmware errorTry another browser or clear the cache. If it doesn't work, update the firmware.
After changing the password, the Internet speed fellThe settings of the channel or Wi-Fi mode are lostManually set channel 6 and 802.11n mode in Wi-Fi settings
The Mi WiFi app says "offline device"Router not tied to account or cloud access disabledLink the router via the web interface to Settings β†’ Cloud Access

If none of these methods helped, check:

  • πŸ”Œ Physical connections: cable from the provider must be tightly inserted into the port WAN (blue-colored).
  • πŸ”„ Mode of operation: in the settings System β†’ The mode of operation should be selected by the Router, not the Access Point (AP).
  • πŸ“‘ The status of the antennas: on the Xiaomi Router 4, the antennas are not removable, but their contacts may have oxidized.

Additional security settings

Changing your password is just the first step to protecting your network. To keep the Xiaomi Router 4 as safe as possible from hacking, follow the following guidelines:

  1. Turn off remote control: go to Settings β†’ System β†’ Remote access and deactivate the option. This will prevent access to the router from the internet.
  2. Update your firmware: In Settings β†’ Update, check the update. For the Xiaomi Router 4, the last stable firmware at 2026 is 1.0.112.
  3. Set up the filtering. MAC-Addresses: Wi-Fi β†’ Filter MAC whitelist only your devices, which won't give you 100% protection, but it will make it harder to connect other devices.
  4. Turn off WPS: This feature is vulnerable to brute force attacks. Deactivate it in Wi-Fi β†’ Additional settings β†’ WPS.
  5. Turn on the guest network: if you often come to visitors, create a separate network with limited access to local resources (Wi-Fi β†’ Guest network).

For advanced users:

  • πŸ”§ Change. SSH-Password: it matches the administrator password by default. Use the command: passwd (available after activation) SSH In Settings β†’ Additionally. β†’ SSH).
  • πŸ›‘οΈ Install an alternative firmware, like OpenWRT or Padavan, which will give you access to advanced security features, but will deprive you of official support Xiaomi.

πŸ’‘

If you have children, activate Parental Controls in the Settings β†’ Parental Controls menu, where you can restrict access to sites by schedule or category (social media, games, etc.).

FAQ: Answers to Frequent Questions

Can I change my password to Xiaomi Router 4 without access to the network?
Yes, but only through reset (Reset button on the case). After reset, connect to the router via cable and reset it. If the router is linked to a Xiaomi account, you may need to log in to the Mi WiFi app.
Why do some devices not connect after changing their password?
Probable reasons: The device does not support the type of encryption you choose (e.g., older smartphones do not work with the same encryption). WPA3). Solution: Establish WPA2-PSK. Filter on. MAC-Addresses, and the device is not whitelisted, Wi-Fi channel settings are lost, try manually setting the channel 1, 6 or 11 (they are least affected by interference).
How to find your current Wi-Fi password if you forget it?
If you have access to a router: Connect to it via cable. Go to the web interface (192.168.31.1). Go to Wi-Fi β†’ Security settings. The password will appear as dots, but it can be copied (right click on the field β†’ View the code in the browser). If you do not have access, then only resets remain.
What if the Xiaomi 4 router doesn’t save a new password?
The problem is typical for devices with a corrupted file system. Try: Update the firmware to the latest version, reset the settings and configure the router again. If the error repeats, contact the service center (possible wear of flash memory).
Can I change the administrator password (not Wi-Fi) to Xiaomi Router 4?
Yes, it's done in the web interface: Go to Settings β†’ System β†’ Administrator password. Enter your current password (the default is admin or blank field). Set a new password (recommended length is 10+ characters). Save the changes. Importantly, if you forget the new administrator password, you can only restore it through resetting.