192.168.31.1 Login: Xiaomi MiWiFi 4 Password
Xiaomi MiWiFi 4 logs in at 192.168.31.1 with the password created at first setup — no factory password exists. Find the steps and fixes here.
You searched for the Xiaomi MiWiFi 4 default password, but there is none to find. Xiaomi ships the Mi Router 4 with no factory password at all — you create the login password during first setup, and the router never asks for a username. Owners who type admin and admin from aggregator lists keep getting rejected. This guide gives you the MiWiFi 4 login, the setup-created password rule, and the fixes owners hit most.
This guide covers the Xiaomi MiWiFi 4 login at 192.168.31.1, the setup-created password, the Mi WiFi app route, the Wi-Fi steps, and the fixes owners need most.
Log in to your Xiaomi MiWiFi 4 at 192.168.31.1 or miwifi.com with the password you created during first setup — there is no username and no factory password. If you ticked the same-as-Wi-Fi box during setup, the Wi-Fi password opens the admin page. If the password is gone, reset the router and set a new one.
IP Address: 192.168.31.1
Username: — (no username asked)
Password: created during first setup
Wi-Fi Name (SSID): Xiaomi_XXXX (on the label)
Login to Admin Panel →The login page opens only while your device is connected to the Mi Router 4, by cable or Wi-Fi. The button opens the router login directly at 192.168.31.1.
How to Log in to a Xiaomi MiWiFi 4
Connect to the router first, then open its address in a browser. The router answers at miwifi.com and at 192.168.31.1 — use the address if the name opens Xiaomi’s public website instead.
- Connect your computer or phone to the Mi Router 4 by Wi-Fi or with an Ethernet cable. A new router broadcasts an open network called Xiaomi_XXXX — join it.
- Switch off mobile data on a phone so it uses the router Wi-Fi.
- Open a browser and type 192.168.31.1 into the address bar, then press Enter. If miwifi.com opens Xiaomi’s public site, use 192.168.31.1 instead.
- If the setup wizard opens, follow it: pick the internet connection type, set the Wi-Fi name and password, then set the login password. Write the login password down.
- If a login screen opens instead, type the password you created during setup. There is no username field.
- If the password fails, try the Wi-Fi password — the setup wizard offers a box that sets the login password the same as the Wi-Fi password.
The Mi WiFi app (or the Xiaomi Home app on newer setups) reaches the same settings from a phone, but the browser method works on any device and needs no app. Use the app only if the browser page will not open.

Xiaomi MiWiFi 4 Default Username and Password
The Mi Router 4 has no factory login at all. The table below lists every login this router shows, with the setup rule first.
| IP | Username | Password |
|---|---|---|
| 192.168.31.1 (Mi Router 4, after setup) | — (no username asked) | created during first setup |
| miwifi.com / router.miwifi.com (same login page) | — (no username asked) | created during first setup |
| 192.168.31.1 (same-as-Wi-Fi box ticked) | — (no username asked) | Wi-Fi password |
| 192.168.31.1 (after a factory reset) | — (no username asked) | set a new password in the wizard |
Xiaomi’s own support pages state the rule plainly: the router does not have a default login username or password, and the password is the one created during first setup. The Xiaomi support FAQ on the router login gives the miwifi.com address and the setup-created password, and the Xiaomi FAQ on the default login confirms there is no default username or password. Do not use admin/admin on any Mi Router 4 — Xiaomi’s own pages contradict it, and aggregator lists that print it are wrong.
A router bought in China may show Chinese menus. The login works the same way — the password field is the only field — but the menu names differ. Switch the language in the settings, or use the Mi WiFi app in English, if the Chinese menus slow you down.
Change the Xiaomi MiWiFi 4 WiFi Password and Network Name
Change the Wi-Fi details right after your first login. A new router broadcasts an open network called Xiaomi_XXXX, so anyone nearby can join it until you set a password.
- Log in at 192.168.31.1 with the password created during setup.
- Open the Wi-Fi settings page.
- Type a new network name (SSID) in the network name box.
- Type a new Wi-Fi password, then click Save.
- Reconnect your phones and computers with the new Wi-Fi password.
The admin password and the Wi-Fi password are separate unless you ticked the same-as-Wi-Fi box during setup. Changing the Wi-Fi password never changes the admin login, and changing the admin login never changes the Wi-Fi password. Our WiFi security basics guide explains strong passphrases in more depth.
Xiaomi MiWiFi 4 Login Not Working?
Most MiWiFi 4 failures come from the missing factory password, the wrong address, or a setup that never finished. Work through the list in order.
- There is no forgot-password link on the login page: Xiaomi gives no password recovery for this router. Try the Wi-Fi password first, then reset the router and set a new password in the wizard.
- miwifi.com opens Xiaomi’s public website instead of the router: the name resolves to the public site when the device is not on the router network. Join the Xiaomi_XXXX Wi-Fi, switch mobile data off, and type 192.168.31.1 instead.
- admin/admin does not work: the Mi Router 4 never shipped with admin and admin. Type the password created during setup, or the Wi-Fi password if the same-as-Wi-Fi box was ticked.
- The setup wizard never appears: the phone never joined the router network. Join the open Xiaomi_XXXX network, switch mobile data off, and open 192.168.31.1 again.
- Setup finished but the internet does not work: the broadband details are wrong. Open the Internet settings and check the connection type — DHCP for most cable and fibre, PPPoE with the ISP username and password for DSL.
- miwifi.com stopped working after a firmware update: the update changed how the name resolves. Use 192.168.31.1 in the browser address bar, which bypasses the name entirely.
- The menus are in Chinese on a Chinese-bought unit: the login still works the same way. Switch the language in the settings page, or use the Mi WiFi app in English.
- Mi WiFi app and Xiaomi Home app confusion: older routers use the Mi WiFi app, while newer setups use the Xiaomi Home app. Either app reaches the same router — use the one that finds your device.
- The reset hold time is unclear: press the Reset button and hold it for over 5 seconds, until the light turns orange, then release it. A shorter press only reboots the router.
- Smart Connect merges the two bands under one name: the router can broadcast one name for 2.4 GHz and 5 GHz. Open the Wi-Fi settings and turn Smart Connect off if you want separate names for the two bands.
If the login page still will not open, check the gateway address with our Router IP Finder tool. If your router sits on a different address, use the one shown on the Default Gateway line — our What Is My IP tool shows the same gateway address.
Xiaomi MiWiFi 4 Key Specs
The Mi Router 4 is a dual-band AC1200 home router from Xiaomi’s MiWiFi line. The specs below help you confirm the unit in front of you is a Mi Router 4.
- Dual-band Wi-Fi: 802.11ac, up to 1,167 Mbps combined (300 Mbps on 2.4 GHz, 867 Mbps on 5 GHz).
- Four high-gain antennas for home coverage.
- One Gigabit WAN port and two Gigabit LAN ports on the back.
- 128 MB RAM and a dual-core 880 MHz processor.
- Up to 128 connected devices on the home network.
- Setup by browser at miwifi.com or 192.168.31.1, or by the Mi WiFi app.
- No factory password — the login password is created during first setup.
Common Mistakes When Typing the Xiaomi MiWiFi 4 Login
A single wrong address or a guessed password looks like a dead router. The table below covers the mix-ups that trap MiWiFi 4 owners most.
| Wrong | Right |
|---|---|
| admin/admin as the Mi Router 4 login | The password created during setup — no factory password exists |
| miwifi.com typed while on mobile data | Joining the Xiaomi_XXXX Wi-Fi first, then typing 192.168.31.1 |
| 192.168.1.1 or 192.168.0.1 for a Mi Router 4 | 192.168.31.1 — Xiaomi uses its own address |
| router.miwifi.com typed as a different router | router.miwifi.com opens the same Mi Router 4 login page |
| The Wi-Fi password typed when the box was never ticked | The password created during setup — the Wi-Fi password only works if the box was ticked |
| Typing the address into the search bar | Typing it into the browser address bar |
| A short tap of the Reset button | Holding the Reset button for over 5 seconds until the light turns orange |
| Expecting a forgot-password link on the login page | Resetting the router — Xiaomi gives no password recovery here |










