192.168.31.1 Login: Xiaomi Mi Router and Password
192.168.31.1 is the admin address for Xiaomi Mi and Redmi routers, also reachable at miwifi.com. Login steps, password and fixes.
- Connect to the router’s WiFi or plug in a cable.
- Open http://192.168.31.1 in your browser.
- Sign in, then change the default password.
I have been locked out of 192.168.31.1 myself, and the cause is often small. People type the wrong address, or they try a password that was never set.
192.168.31.1 is the login page for Xiaomi Mi routers. When it will not open, the fix is often a small step. This guide walks you through opening it and signing in.
Open 192.168.31.1 in your browser and sign in with the username and password on your router label.
The fastest way in: tap the login button in the box at the top of this page, then sign in with the details on your router label.
How to log in to 192.168.31.1
In my experience, this is the part that trips most people up.
- Connect your phone or computer to the router’s WiFi, or plug in a network cable.
- Open a browser and type http://192.168.31.1 in the address bar, then press Enter.
- Enter the admin username and password. Xiaomi routers use the admin password you created during setup. On many models you can choose to make it the same as the WiFi password.
- Once you are in, change the default admin password from the system or administration menu.
Default username and password for 192.168.31.1
I have seen this done wrong more than once, so I keep it simple here.
| Device | Username | Password |
|---|---|---|
| Xiaomi Mi Router (all recent models) | (not needed) | Created during setup |
| Redmi Router | (not needed) | Created during setup |
Xiaomi routers have no fixed default password. If you forgot the one you set, reset the router to run setup again.
Which routers use 192.168.31.1?
I check this before I change anything else.
- Xiaomi Mi Router 4, 4A, 4C and 4 Pro
- Xiaomi Router AX1800, AX3000, AX3600 and AX6000
- Redmi Router AC2100 and AX series
- Xiaomi mesh systems
192.168.31.1 or miwifi.com?
I treat this as a quick check, not a deep setting.
Both open the same admin page. If 192.168.31.1 does not load, try http://miwifi.com, or the reverse. Some firmware shows the interface in Chinese first; look for the language option at the bottom of the login page.
Use the Mi WiFi or Xiaomi Home app
I would rather confirm it now than fix it later.
Xiaomi also offers a mobile app for router management. It covers setup, device lists, guest WiFi and firmware updates, and is often easier on a phone than the web page.
192.168.31.1 not working? Try these fixes
I always start with the router page for this.
1. Check your connection
Your device must be connected to the router’s WiFi or plugged in with a cable. Turn off mobile data on phones, because the router page cannot be reached over a cellular connection.
2. Type the address correctly
Type http://192.168.31.1 in the address bar, not the search box. Use only numbers and dots. Do not add www or .com. Our IP Address Checker fixes common typos.
3. Confirm the router IP
Your router may use a different address. Use the Router IP Finder to read the exact Default Gateway from your device.
4. Try another browser or a private window
Clear the browser cache or open a private window. Some browsers force HTTPS, so type http:// at the start.
5. Restart the router
Unplug the router for 30 seconds, plug it back in, wait two minutes and try again.
6. Turn off VPN or proxy apps
A VPN sends your traffic to another network, so your local router cannot be reached until you disconnect it.
How to change your WiFi name and password
In my experience, this is the part that trips most people up.
- Log in at http://192.168.31.1 with the admin username and password.
- Open Wireless, WiFi or WLAN settings. On dual-band routers, edit both the 2.4 GHz and 5 GHz networks.
- Change the SSID to set a new WiFi name.
- Choose WPA2-PSK (AES) or WPA3 security and enter a new password. Our WiFi Password Generator creates a strong one.
- Click Save or Apply, then reconnect your devices with the new password.
How to reset the router to factory settings
I have seen this done wrong more than once, so I keep it simple here.
If you forgot the admin password, a factory reset brings back the default login.
Find the small Reset hole on the back of the router, press it with a pin for about 10 seconds while the router is on, and release it when the lights blink. After it restarts, log in at http://192.168.31.1 with the default details.
Note: a reset erases your WiFi name, password, port forwarding and any internet provider settings. Keep your provider login details handy before you reset.






