192.168.31.1 belongs to Xiaomi. Every Mi Router and Redmi router, from the AX1800 and AX3000 to the AX6000 and the older 3G and 4A, uses it as the gateway, and the same page is reachable by typing miwifi.com. Xiaomi does not ship a default admin password: you create one during setup, and by default it is the same as the Wi-Fi password unless you untick that option. The routers can also be managed from the Mi Home or Mi Wi-Fi app, but the web page at 192.168.31.1 exposes settings the app hides, including the full DHCP table, static leases and the built-in firewall.
Default logins for devices on 192.168.31.1
Factory credentials by brand. Where a device prints a unique password on its label, that label overrides anything listed here. If a default fails, the password has been changed and a factory reset restores it.
| Brand / model | Username | Password | Notes |
|---|---|---|---|
| Xiaomi Mi Router (AX series) | none | set at setup | AX1800, AX3000, AX3600, AX6000, AX9000 |
| Redmi Router | none | set at setup | AX1800, AX3000, AX5400, AX6, AX6S |
| Xiaomi Mi Router 3 / 3G / 4 / 4A | none | set at setup | Older 802.11ac models |
| Xiaomi Mesh System | none | set at setup | Managed mainly in the app |
| Xiaomi routers with OpenWrt | root | set at flash | Community firmware |
How to log in at 192.168.31.1
- Connect to the router’s network. Join its Wi-Fi or plug in with an Ethernet cable. Mobile data, a VPN, or a different router’s Wi-Fi will not reach 192.168.31.1.
- Type the address in the URL bar. Enter
http://192.168.31.1exactly, in the address bar at the top of the browser, not in a search box. Some devices also answer to a hostname such as miwifi.com, router.miwifi.com. - Accept a certificate warning if one appears. Routers that use HTTPS on the local network present a self-signed certificate. On your own router the warning is expected; choose Advanced and proceed.
- Sign in. Use the credentials from the table above or from the label on the router. Usernames are case-sensitive on some firmware.
- Change the admin password. Do this before anything else. Default credentials are public, and remote management, if enabled, exposes the login to the internet.
Chinese firmware versus global firmware
Xiaomi sells the same hardware with two firmware families. The global version presents the admin page in English and offers the settings most users need. The Chinese version has more options, including some advanced routing and VPN features, but the interface is in Chinese and a translation extension helps. Both live at 192.168.31.1. If you imported a router and the page is in Chinese, check whether a global firmware exists for your model before attempting a switch, because not every model has one.
Hostnames that reach the same page
These names resolve to 192.168.31.1 while you are connected to the device, and keep working even if the address has been changed.
| Hostname | Devices |
|---|---|
| miwifi.com | All Xiaomi and Redmi routers |
| router.miwifi.com | Alternative |
Common mistypes of 192.168.31.1
None of these open anything. Each is a slip that sends people to a search page or a timeout instead of the admin panel.
192.168.31.1 will not open: what to check
Wrong gateway. The most common cause by far. Read the Default Gateway from your device: ipconfig on Windows, Wi-Fi details on macOS, iPhone and Android, or ip route on Linux. If it is not 192.168.31.1, that is the address to use.
Typed into search. A page of search results means the address went to a search engine. Click the address bar, clear it, and type the IP again. Adding http:// in front forces the browser to treat it as an address.
HTTPS forced. Some browsers upgrade to https:// automatically and the router does not answer there. Type http:// explicitly.
VPN or private DNS. A VPN routes everything away from the local network; secure DNS in the browser can break router hostnames. Turn both off while you log in.
169.254.x.x address. If your device shows an address starting 169.254, it never received one from the router. Restart both devices, and check the cable or Wi-Fi connection.
Forgotten password. Defaults failing means someone changed the password. Hold the reset button for about ten seconds to return the unit to factory settings, which also erases its configuration and Wi-Fi name.
Find your router’s real address
| Device | Where to look |
|---|---|
| Windows 10 / 11 | Command Prompt → ipconfig → Default Gateway |
| macOS | System Settings → Wi-Fi → Details → TCP/IP → Router |
| iPhone / iPad | Settings → Wi-Fi → (i) → Router |
| Android | Wi-Fi → network details → Gateway (varies by maker) |
| Linux | ip route | grep default |
Related addresses
Huawei home routers & ONTs
192.168.8.1Huawei mobile Wi-Fi & 4G routers
192.168.1.1TP-Link, Netgear, Linksys, ASUS
192.168.0.1TP-Link, D-Link, Netgear, Tenda
192.168.50.1ASUS routers (2019 onwards)