192.168.31.1 Xiaomi Router Login and Default Gateway
192.168.31.1 is the default admin address and gateway of Xiaomi routers. The same page opens at miwifi.com or router.miwifi.com while you're connected to the router.
192.168.31.1 is a private IP address (RFC 1918, 192.168.0.0/16). It only exists inside a local network, so it has no public location, ISP or owner.
- Address type
- Private IP Address
- Block
- 192.168.0.0/16
- Defined by
- RFC 1918
- Location, ISP and owner
- None: it can't be geolocated
Who Uses 192.168.31.1
- Xiaomi Router BE3600 (also miwifi.com)
- Xiaomi Router AC1200 (also router.miwifi.com)
How to Log In to 192.168.31.1
- Connect to the router's network, over Wi-Fi or with a network cable. The address doesn't work from mobile data or from another network.
- Type 192.168.31.1 into the browser's address bar, not the search box, and press Enter.
- Sign in with the router's admin username and password. Many routers print them on a label on the bottom or back.
- If the router still uses its factory password, change it in the administration or system settings.
Default Username and Password
We don't list default passwords. They differ by model, and many newer routers ship with a unique password printed on their label. Check that label, the manual or the maker's support site. If the password was changed and nobody knows it, a factory reset with the router's reset button restores the defaults, but it also erases your Wi-Fi name, Wi-Fi password and other settings.
Can't Open 192.168.31.1?
You're on a Different Network
192.168.31.1 only answers on the router's own local network. Connect to its Wi-Fi or plug in a cable, and turn off mobile data if your phone keeps switching to it.
Your Router Uses a Different Address
Not every router uses 192.168.31.1. The address your device actually uses is its default gateway. To find it:
- Windows: open Command Prompt, run ipconfig and read "Default Gateway".
- macOS: System Settings > Wi-Fi > Details next to your network > TCP/IP > Router.
- Linux: run ip route and read the address after "default via".
- iPhone and iPad: Settings > Wi-Fi > the (i) next to your network > Router.
- Android: open the Wi-Fi network's details and look for Gateway. Menu names vary by phone.
The Browser Shows a Warning or Search Results
Search results mean the address went into the search box, so type it into the address bar instead. If the page still doesn't load, put https:// in front of the address, and if that fails, http://: routers differ. Some routers use a self-signed certificate, so the browser may show a security warning even on your own network.
A VPN or an Address Conflict Is in the Way
Some VPN apps block access to the local network: disconnect and try again. If a computer was given 192.168.31.1 as a fixed address, it clashes with the router; set that device back to automatic (DHCP).
The Router Doesn't Respond at All
Restart it by unplugging the power for 30 seconds. If it still doesn't answer, check its status lights against the manual or contact your internet provider.
Your Public IP Address
Websites and online services see your public IP, the one your router or provider uses on the internet. They never see 192.168.31.1.
What the API Returns
The IP Geolocation API answers with HTTP 423 for bogon and private addresses, and charges no credits for it.
GET https://api.ipgeolocation.io/v3/ipgeo?apiKey=API_KEY&ip=192.168.31.1
HTTP/1.1 423 Locked
{
"message": "'192.168.31.1' is a bogon IP address."
}
Questions about 192.168.31.1
What Is the Default Password for 192.168.31.1?
The address has no password of its own; the router behind it does. Many routers print the default admin password on a label on the bottom or back, and many newer models use a unique password per device. If it was changed and forgotten, a factory reset restores the default.
Is 192.168.31.1 My Public IP Address?
No. 192.168.31.1 is a private address that only works inside your local network, so websites never see it. They see your public IP, the address your internet provider assigns to your router, which you can check on our What Is My IP page.
More about Special-Purpose Addresses
Private, loopback, link-local, documentation and other reserved ranges are known as bogons: they should never appear as a source or destination on the public internet. Our guide lists every IPv4 and IPv6 bogon range and how to filter them: What are bogon IP addresses?