192.168.31.1 Login: Access Your Xiaomi Mi Router
192.168.31.1 Router Login
The IP address 192.168.31.1 is the default admin gateway for Xiaomi, Mi, and Redmi routers, the brand behind most searches for this address. Unlike many routers, a Mi router does not use admin/admin or any shared default password. You set the password yourself during setup. This guide explains how to log in, what to do when you cannot remember the password, and how to change your Wi-Fi settings.
What Is 192.168.31.1?
192.168.31.1 is a private IP address, which means it works only inside your own network and cannot be reached from the public internet. Your Xiaomi router uses it as the address for its admin panel, where you change the Wi-Fi name and password, manage connected devices, and adjust network settings. Xiaomi also gives the router a friendly name, so you can reach the same page by typing miwifi.com in your browser.
If you are in India and have Jio AirFiber rather than a Xiaomi router, note that Jio AirFiber also uses 192.168.31.1, but it logs in with Jio’s own credentials rather than the Xiaomi setup described here. The rest of this guide is for Xiaomi, Mi, and Redmi routers.
How to Log In to Your Mi Router at 192.168.31.1
- Connect your phone or computer to the Mi router, over Wi-Fi or with a LAN cable. You must be on the router’s own network for the address to work.
- Open a web browser such as Chrome, Firefox, Edge, or Safari.
- Click the address bar at the top of the browser, the bar that shows the web address. Do not use the search box in the middle of the page.
- Type 192.168.31.1 or miwifi.com and press Enter. Use digits only in the numeric address.
- Wait for the MiWiFi login page. It asks for a single password, not a username.
- Enter the management password you set during setup, and click to log in.
If you want to confirm you are even connected before troubleshooting, press Win+R,
type cmd, and run ping 192.168.31.1. Replies mean the router is reachable.
Why There Is No Default Password
This is where many people get confused, especially if they’ve used other router brands before. Xiaomi routers don’t come with a default admin password such as admin or 1234. During the initial setup, the MiWiFi setup wizard asks you to create a management password, and that becomes the password you use to log in later. Because of this, there’s no default password printed on the router for you to check. If you can’t remember the login password, it’s the one that was created during setup.
Many older websites still list admin/admin for Xiaomi routers. For current Mi and Redmi models, that is simply incorrect. If admin/admin is rejected, you are not doing anything wrong, the router never had that password.
| Field | Value |
|---|---|
| Login URL | 192.168.31.1 or miwifi.com |
| Username | (none, password only) |
| Password | the management password you set during setup |
What to Do If You Forgot the Password
Because the password is user-created, recovering it is different from other routers. Try these in order.
- Try your Wi-Fi password. During setup, Xiaomi offers an option to make the management password the same as the Wi-Fi password. Many people accept it without noticing, so your Wi-Fi password is worth trying first.
- Use the Mi Home or Mi WiFi app. If you set the router up through the app and linked it to your Xiaomi account, you can manage it and reset the management password from within the app, without needing the web login.
- Factory reset as a last resort. If neither works, resetting the router clears the password along with everything else, and you set a new one during the fresh setup. The reset steps are below.
What to Do If You Cannot Log In
The page will not load. Confirm 192.168.31.1 is your gateway and that you are on the Mi router’s network.
- On Windows: press Windows + R, type
cmd, and runipconfig. Read the “Default Gateway” line. - On Android or iOS: open Wi-Fi settings, tap the connected network, and look for the gateway or router field.
- You can also just try miwifi.com, which reaches the same page.
You typed a letter instead of a number
A common slip is writing the letter O for zero or the letter I for one. The address is digits only, 192.168.31.1. Retype it carefully.
You got search results
The address went into a search engine, not the browser’s address bar. Click the bar at the very top of the window, clear it, type miwifi.com, and press Enter.
The password is rejected
Remember there is no default, so try your Wi-Fi password or use the Mi Home app. If you genuinely cannot recover it, reset the router.
How to Reset Your Mi Router to Factory Settings
A factory reset erases everything: the Wi-Fi name and password, the management password, and all configuration. The router returns to how it shipped, so reset only when you are locked out and have no other way in.
- Find the RESET button on the bottom or back of the router.
- With the router powered on, use a pin or toothpick to press and hold it for about 10 seconds.
- Hold until all the indicator lights turn off and then come back on, which signals the reset is done.
- Release and wait one to two minutes for the router to restart.
- Reconnect to the router’s default Wi-Fi network, open 192.168.31.1 or miwifi.com, and run the setup wizard again, which is where you create a new management password.
How to Change Your Wi-Fi Password on a Mi Router
Changing the Wi-Fi key is the most common reason people log in.
- Log in at 192.168.31.1 or miwifi.com.
- Open the Settings section, then Wi-Fi settings.
- Find the Wi-Fi name (SSID) and the password field.
- Enter your new Wi-Fi password, and set the encryption to Mixed (WPA/WPA2) if asked.
- Click Save to apply.
After saving, every device drops off the Wi-Fi and reconnects with the new key. You can also change the Wi-Fi password from the Mi Home app if you prefer. Pick a password of at least 12 characters with no personal details.
Conclusion
The key thing to understand about 192.168.31.1 is that a Xiaomi router has no factory password, so ignore any site telling you to enter admin/admin. Use the management password you created during setup, and if you have forgotten it, try your Wi-Fi password or the Mi Home app before resorting to a reset. The miwifi.com address is an easier way to reach the login, and once you are in, the Wi-Fi password lives under Settings then Wi-Fi settings.
Frequently asked questions
What is the default password for a Xiaomi router at 192.168.31.1?
There is no default password. Xiaomi routers have you create a management password during setup, and that is the only one that works. The admin/admin listed on some websites does not apply to current Mi and Redmi routers.
I forgot my Mi router password. How do I get in?
Try your Wi-Fi password first, since Xiaomi can set the management password to match it during setup. If that fails, use the Mi Home app to reset it, or factory reset the router as a last resort.
192.168.31.1 will not load. What should I try?
Try miwifi.com instead, which reaches the same page. Confirm you are connected to the Mi router's Wi-Fi and not mobile data, and check your gateway with ipconfig on Windows.
Is 192.168.31.1 only used by Xiaomi?
It is mostly Xiaomi, Mi, and Redmi routers, but Jio AirFiber in India also uses it. If you have Jio AirFiber, log in with Jio's credentials rather than the Xiaomi setup password.
Can I manage my Mi router from my phone?
Yes. Connect to the router's Wi-Fi and open 192.168.31.1 or miwifi.com in a mobile browser, or use the Mi Home app, which handles login and settings without the web page.
What is miwifi.com?
It is the friendly hostname for the Mi router login, an easier alternative to typing 192.168.31.1. Both open the same admin page on your local network.
Related guides
- 192.168.29.1 Router LoginLogin guide and default passwords for 192.168.29.1.
- 192.168.1.1 Router LoginLogin guide and default passwords for 192.168.1.1.
- 192.168.0.1 Router LoginLogin guide and default passwords for 192.168.0.1.
- 10.0.0.1 Router LoginLogin guide and default passwords for 10.0.0.1.
- 192.168.0.2 Router LoginLogin guide and default passwords for 192.168.0.2.
- 192.168.0.254 Router LoginLogin guide and default passwords for 192.168.0.254.