192.168.31.1 — Xiaomi Router Admin Login
192.168.31.1 is unusual in being effectively a single-brand address. If your gateway is 192.168.31.1, you are almost certainly holding a Xiaomi or Redmi router, and the first thing to know is that there is no default password to look up.
- Xiaomieffectively a single-brand address
- No defaultpassword is set at first run
- miwifi.comthe same panel by hostname
- 0apps or downloads needed
Quick answer
Connect to the router and open http://192.168.31.1 or http://miwifi.com. There is no username field and no factory password — Xiaomi routers ask you to create an admin password during first-run setup. If you never set one, the router has not been configured yet and the setup wizard will appear instead of a login prompt.
Which routers use 192.168.31.1
Xiaomi standardised on the 192.168.31.0/24 subnet across the whole range, which is why the address is such a reliable signal of what hardware you have.
| Brand | Typical models | Username | Password |
|---|---|---|---|
| Xiaomi | Mi Router 3, 4, AX1800, AX3000, AX6000 | — | Set at first run |
| Redmi | AC2100, AX5, AX6, AX3000 | — | Set at first run |
| Xiaomi | Mi WiFi Repeater and Mesh nodes | — | Inherited from the main router |
| Xiaomi | Mi Router 4A, 4C global versions | — | Set at first run |
The label on your own unit always overrides this table. For every other brand, see the full credential reference.
How to log in at 192.168.31.1
The interface language depends on the firmware region. Chinese-market units often present a Chinese-only panel even when the hardware is identical to a global model.
- 01
Join the Xiaomi network
A new router broadcasts an open network named after the model, such as Xiaomi_XXXX. A configured one uses whatever name was set. Either way, connect to it directly rather than to another network in range.
- 02
Open the panel
Type
http://192.168.31.1, orhttp://miwifi.comwhich resolves locally to the same page. Both only work while you are attached to that router. - 03
Expect a password prompt, not a username
Xiaomi routers ask for a single admin password. There is no username field, which catches out anyone expecting the usual admin and admin pair.
- 04
Use the password you created at setup
This was set the first time the router was configured, either in the browser or in the Mi Home or Mi WiFi app. It is not printed on the router and there is no published default. If nobody remembers it, a factory reset is the only route in.
- 05
Find the router key if you need the app
Some advanced functions only appear in the Mi WiFi app, which pairs using the account the router was bound to. If the router is bound to somebody else account, unbinding requires a reset.
Regional firmware, and what it changes
Xiaomi ships two broadly different firmware lines. Chinese-market units run a Chinese-language interface with features tied to Chinese cloud services; global units run an English interface and are region-appropriate elsewhere. The hardware is often identical, which is why the same model number can behave very differently depending on where it was bought.
This matters practically because a Chinese-firmware router bought through a grey importer will present a panel most buyers cannot read, and translation extensions handle it poorly because much of the interface is drawn rather than rendered as text. Some models can be moved to global firmware through the official update process; others cannot without unofficial methods that carry a real risk of bricking the unit. Treat any guide promising an easy conversion with caution.
The second thing to understand is account binding. Xiaomi routers can be tied to a Mi account, and once bound, the app will only manage them from that account. Buying second-hand often means inheriting a bound router, and the fix is a factory reset before setup rather than anything you can do in the panel.
Finally, mesh behaviour: Xiaomi nodes joined to a main router do not keep separate credentials. Reaching 192.168.31.1 gets you the primary unit, and nodes are managed from within it. If you are trying to configure a node directly, you are looking in the wrong place.
When 192.168.31.1 will not open
There is no username field
That is correct. Xiaomi routers use a single admin password with no username. Nothing is missing.
admin / admin is rejected
There is no factory password on these routers. The password was created during first-run setup. If it is unknown, hold the reset button for around ten seconds to start over.
The interface is in Chinese
The unit is running Chinese-market firmware. Some models can move to global firmware through the official update path; many cannot without unofficial methods that risk bricking the device.
miwifi.com opens a marketing website
You are not connected to the router. The hostname only resolves locally while attached to that network; otherwise it goes out to the public internet.
The app says the router belongs to another account
It is still bound to a previous owner Mi account. A factory reset clears the binding, after which you can set it up under your own account.
Longer diagnostic sequence: twelve fixes for a router login page that will not load.
Common questions about 192.168.31.1
What is the default password for 192.168.31.1?
There is not one. Xiaomi and Redmi routers ask you to create an admin password during first-run setup, so no published default exists. If the password is unknown, a factory reset is the only way in.
Is miwifi.com the same as 192.168.31.1?
Yes, while you are connected to the router. It is a local hostname that resolves to the same admin panel. Off that network it goes to a public website instead.
Why is there no username?
Xiaomi uses a single admin password with no separate username field. This is by design and differs from most other manufacturers.
Can I change 192.168.31.1 to another address?
Yes, under LAN settings. It is worth doing if you are placing the router behind another one, though every connected device will need a fresh DHCP lease afterwards.
How do I reset a Xiaomi router?
Hold the recessed reset button for around ten seconds while the router is powered on. This clears the admin password, any Mi account binding, and all custom settings.
Do mesh nodes have their own login?
No. Nodes joined to a Xiaomi mesh are managed from the primary router panel at 192.168.31.1 rather than individually.
Not the address you needed?
Read the real gateway off the device in your hand in about twenty seconds, or browse every private IP routers use by default.
Browse every router IP