How to change the administrator password on the Xiaomi router: all ways

Forgot the password from the control panel of the Xiaomi router or want to improve the security of the home network? Changing the administrative password is a key step to protect against unauthorized access. In this article, we will discuss all the current ways to change the password on Mi Routers 3/4/4A/4C/5/AX, including models with firmware in Russian and Chinese.

It's important to understand that the administrator password is different from the Wi-Fi password. The first one gives you access to the router settings, the second one only to the network. If you lose both, you will need to completely reset your device. We'll also look at how to avoid blocking after unsuccessful entry attempts and what to do if the router does not accept the new password.

The instructions in the article are relevant for MiWiFi firmware ROM (official) and alternatives like Padavan or OpenWRT. If your model is running Xiaomi HyperOS (for example, Xiaomi Router) BE7000), Some steps may be different, we will warn you separately.

1.Preparation for changing the password: what you need to know

Before changing your password, make sure that:

  • πŸ”Œ The router is connected to the power supply network and is turned on.
  • πŸ“Ά Your device (PC, smartphone, tablet) is connected to the router’s Wi-Fi network or via cable LAN.
  • πŸ”‘ You have the current administrator password (if not, go to the section about resetting settings).
  • πŸ“± On the smartphone installed Mi WiFi application (current version) or any browser for PC.

If you are using the Mi Router 4A Gigabit Edition or newer model, check the firmware version in Settings β†’ System Status: Outdated versions (below 2.0.100) may not support some features, such as two-factor authentication.

⚠️ Warning: Once you change your password, all devices connected to Wi-Fi will remain online, but access to the admin panel will be blocked until you enter a new password.

If a router issues a 403 Forbidden error when trying to log in, it may mean that:

  • πŸ”’ Incorrect password entered more than 5 times – the device is temporarily locked (wait 10 minutes).
  • 🌐 IP-Your device address is locked in the router’s security settings.
  • πŸ”„ There was a firmware failure - a reboot is required.
πŸ“Š What kind of Xiaomi router do you have?
Mi Router 4A
Mi Router 4C
Mi Router 5
Mi Router AX1800
Mi Router BE7000
Other

2. Method 1: Change password through the web interface

The most versatile method, which works on all Xiaomi models, is suitable for users who have a current administrator password.

Steps to enter the control panel:

  1. Open your browser on a PC or smartphone and type in 192.168.31.1 (for most models) or miwifi.com.
  2. Enter your current username and password. If you haven't changed them, the default is a combination of a sticker on the bottom of the router.
  3. Click Login (or Login in English version).

Follow the instructions for changing the password:

  1. Go to the Settings section β†’ System system β†’ Administrator Password (or Advanced Settings) β†’ System β†’ Modify Password in English).
  2. Enter your current password, then a new password (twice for confirmation).
  3. Press Save. The router will reboot automatically.

⚠️ Note: The new password must contain at least 8 characters, including upper and lower case letters, numbers or special characters. Passwords like 12345678 or password will be rejected by the system.

If the router does not restart after saving, do this manually:

  • πŸ”„ Click the Reboot button in the web interface (Settings) β†’ System system β†’ Reboot).
  • πŸ”Œ Or turn off the power for 10 seconds and turn it on again.

The current password is entered correctly|

New password is complex (8)+ symbolism)|

Password confirmation matches|

Wi-Fi settings are saved (if you change them at the same time)-->

3. Method 2: Change password through the Mi WiFi app

The official Mi WiFi app (formerly Mi Router) lets you control your router from your smartphone, which is convenient if you change your settings frequently or want to use biometric authentication (fingerprint).

Download the app:

  • πŸ“± Android (Google Play)
  • 🍎 iOS (App Store)

Instructions for changing password:

  1. Open Mi WiFi and connect to your router (automatically or manually via Add Device).
  2. Go to Settings. β†’ Account. β†’ Administrator password.
  3. Enter the current password, then a new one (with confirmation).
  4. Click Save. The app will prompt you to save a new password in the smartphone password manager.

Features of working with the application:

  • πŸ” If two-factor authentication is enabled (2FA), will require a code SMS Mi Account applications.
  • 🌍 Chinese firmware may require region change to China Mainland in app settings.
  • πŸ“΅ When changing your password through Mi WiFi, the router doesn’t always reboot – do it manually.

πŸ’‘

If the app doesn't find the router, check if you're connected to its Wi-Fi network. Android may also need permission to access the location (to scan the networks).

Method 3: Reset the administrator password (if you forgot the current one)

The only way to restore access to the router if you forget your administrator password is to completely reset your factory settings, which will delete all personal data, including your Wi-Fi settings, guest network, parental controls, and port-to-port.

How to perform the reset:

  1. Find the Reset button on the back of the router (usually recessed in the case).
  2. Take a paperclip or toothpick and press the button, holding it for 10-15 seconds until the indicators start flashing.
  3. Release the button. The router will restart (it will take 1-2 minutes).

After discharge:

  • πŸ”„ Network settings will be reset to factory: the name of Wi-Fi will be Xiaomi_XXXX, password on the sticker.
  • πŸ”‘ Administrator password will become standard: admin (or unique code from the sticker for new models).
  • πŸ“‘ All connected devices will be disabled – they will have to be connected again.

⚠️ Attention: On routers Xiaomi Router AX6000 and BE7000 Reset button reset may not work due to protection against accidental pressing. In this case, use the program reset via Mi WiFi (Settings section). β†’ Additionally. β†’ Reset).

If the router does not reset IP-address (not opened 192.168.31.1):

  1. Check what your device is getting. IP automatically (DHCP).
  2. Manually assign yourself. IP subnet 192.168.31.x (for example, 192.168.31.100).
  3. Try the alternative addresses: 192.168.0.1 or miwifi.com.

5. Features for different models of Xiaomi routers

Not all Xiaomi routers are the same, with different firmware, interfaces, and even authentication methods, and the table below shows the key differences:

Model routerStandard. IP-addressPassword defaultFeatures of changing the password
Mi Router 3/3G/3C192.168.31.1On the sticker (8 characters)Supports Cyrillic in the password, but can glitch when entering.
Mi Router 4/4A/4C192.168.31.1 or miwifi.comadmin or with a stickerIn the web interface there is a separate section for changing the Wi-Fi password and the admin.
Mi Router AX1800/AX3600192.168.31.1Unique code from the stickerRequires confirmation of the SMS First entry (if the Mi Account is tied).
Xiaomi Router BE7000192.168.31.1 or xiaoqiang.meIt is generated at the first connectionIt works under HyperOS – the interface is different, but the logic of changing the password is the same.

For routers with Padavan firmware (e.g. Mi Router) 3G v2):

  • πŸ”§ Password changes in Administration β†’ System.
  • πŸ”’ It is possible to disable password authentication (not recommended!).
  • πŸ“Œ After changing your password, please click Apply Changes.
What if the router does not accept the new password?
If the router gives an Invalid password error or does not save the changes after changing the password, try: 1. Make sure that the new password does not contain Cyrillic characters (this causes a failure on some firmware). 2. Use only Latin letters, numbers and symbols!@#$%. 3. Reboot the router and try again. 4. Reset to factory settings (if the problem repeats itself).

6. Additional security measures after changing the password

Simply changing your password is not enough to fully protect your router, and we recommend following the steps:

  • πŸ” Disable Remote Access (if not used): Settings β†’ Security β†’ Remote control.
  • πŸ”„ Update the firmware to the latest version: Settings β†’ Status of the system β†’ Update.
  • πŸ›‘οΈ Turn on firewall and filtering MAC-Addresses (for advanced users).
  • πŸ“± Link router to Mi Account to restore access via Mi WiFi.

If you use a router in an office or public place:

  • πŸ”’ Create a guest network with a separate password (Settings) β†’ Wi-Fi β†’ Guest network).
  • ⏰ Set up a Wi-Fi schedule (such as overnight shutdown).
  • πŸ“Š Enable event logging to track entry attempts.

⚠️ Warning: Never use the same password for router administrator and Mi Account. In case of data leak, attackers will have access to both network settings and your Xiaomi cloud services.

πŸ’‘

Change your administrator password and Wi-Fi password regularly (every 3-6 months), which reduces the risk of hacking even if your network has been compromised.

7. Frequent errors and their solutions

When you change your password, you often have a common problem, and we'll look at some of the most common ones.

Mistake.Reason.Decision
403 Forbidden at the entranceIP-Address blocked or too many failed attemptsRestart your router, connect from another device, or reset your settings
The page miwifi.com is not openWrong. IP-address DNSTry 192.168.31.1 or change it. DNS at 8.8.8.8
The new password is not saved.Too simple password or firmware failureUse 12.+ symbols with numbers and letters, update the firmware
Mi WiFi app is not connectedAn outdated version of an application or routerUpdate the router’s app and firmware, restart both devices

If after changing the password, the Xiaomi router began to β€œglutch” (reboot independently, lose the connection):

  • πŸ”„ Return the old password and check for stability.
  • πŸ”Œ Turn it off. USB-devices (if connected).
  • πŸ“‘ Change the Wi-Fi channel in settings (Settings) β†’ Wi-Fi β†’ Canal).

On routers with alternative firmware (Padavan, OpenWRT) after changing the password, you may need:

  • πŸ”§ Manually restart the httpd service through SSH:
ssh admin@192.168.31.1


service httpd restart

Frequently Asked Questions (FAQ)

Can I change my administrator password without resetting if I forget it?
No, if you forgot your administrator password, the only way is to completely reset your router to factory settings, and then you can log in with the default password (specified on the sticker or admin).
Why does the router not save the settings after changing the password?
This can happen for several reasons: πŸ”‹ Lack of power - try another power supply. πŸ’Ύ Router flash memory damaged (requires repair). πŸ”„ Firmware failure: update the software to the latest version. If the problem recurs, reset and reset the router.
How do I know which password is the default on my Xiaomi router?
The default password depends on the model: For Mi Router 3/4/4A β€” usually admin or listed on a sticker under the device. AX1800/AX3600/BE7000 β€” unique code from the sticker (8+ For Chinese versions, you may need to be linked to a Mi Account.
Can I turn off the administrator password altogether?
Technically yes, but strongly discouraged. Disabling the password makes the router vulnerable to attacks from the local network. If you want maximum ease of access: Use a simple but long password (for example, use a simple one, mypassword12345678). Enable fingerprint login in the Mi WiFi app. On Padavan firmware, you can turn off the password in Administration. β†’ System, but it removes all responsibility for security from the manufacturer.
What if the router does not give the Internet after resetting?
After the reset, you need to reconfigure the connection to the provider: Connect to the router via cable or Wi-Fi (password on the sticker). β†’ Internet. Select the connection type (PPPoE, Dynamic). IP etc.) and enter data from the provider. Save the settings and restart the router. If the Internet doesn't appear, check: πŸ”Œ Is the cable from the provider (in port) correctly connected? WAN). πŸ“ž Is the data relevant to the connection (sometimes the providers change the settings).