Skip to content

Xiaomi Router Login: Default IP, Username and Password

Xiaomi router login: default IP, username and password by model, how to change your WiFi password, and fixes when the login page won't open.

Open your router settings

Tap your router address below. Your device must be connected to the router (WiFi or cable).

Opens in a new tab. If nothing loads, try the next address.

Start Speed Test →

Xiaomi (Mi) routers open their settings at router.miwifi.com or 192.168.31.1. The admin password is created during setup; many people set it to match the WiFi password.

How to log in to your Xiaomi router

  1. Connect your phone or computer to the Xiaomi router’s WiFi, or plug in an Ethernet cable.
  2. On a phone, turn off mobile data and any VPN.
  3. Type router.miwifi.com in the browser’s address bar (not the search box), or tap one of the buttons above. Xiaomi addresses: router.miwifi.com, 192.168.31.1.
  4. Enter the admin username and password. Check the sticker on the device first; the table below lists the usual defaults.

Xiaomi default IP, username and password

Device Address Username Password
Xiaomi / Mi routers (AX and BE series) router.miwifi.com or 192.168.31.1 (none) Set during setup (often the WiFi password)

The label on your device always wins: many Xiaomi devices now ship with a unique password, and internet providers often change the defaults.

How to change your Xiaomi WiFi password

Log in as shown above. Open Settings → Wi-Fi settings, change the password for each band, then select Save. Your devices will disconnect; reconnect them with the new password. Use at least 12 characters and WPA2 or WPA3 security. For a general walk-through, see how to change your WiFi password.

Xiaomi router login not working?

  • Check you’re on the right network: the admin page only opens from the Xiaomi router’s WiFi or a cable.
  • Use http and the address bar: type http://router.miwifi.com. Searching it in Google won’t work.
  • Find the real address: on Windows run ipconfig and read Default Gateway; on a phone, open your WiFi details and look for Router or Gateway.
  • Restart the router: unplug it for 30 seconds, then wait two minutes.
  • Try another browser or device, or clear the browser cache.

How to reset a Xiaomi router

Press and hold the Reset button for about 5–10 seconds until the status light turns yellow, then set the router up again. A factory reset erases your settings and restores the login on the label, so only do it if you can’t log in any other way. More in how to restart or reset your router.

Xiaomi app

The Xiaomi Home (Mi Home) or Mi WiFi app manages Xiaomi routers.

Check your speed after setup

Once you’re connected, run our speed test next to the router and in the room where it feels slow. If it’s only slow far away, see how to boost your WiFi signal. Want to know who’s on your network? Read who is using my WiFi.

Frequently asked questions

What is the default Xiaomi router password?

There is no fixed default; it's set during setup and is often the same as your WiFi password.

Why is my Xiaomi router at 192.168.31.1?

That's Xiaomi's default router address.