192.168.31.1 — Xiaomi Router Login

Open admin panel: http://192.168.31.1

Which Routers Use 192.168.31.1?

192.168.31.1 is the default gateway for every Xiaomi and Redmi router — a deliberate choice by Xiaomi to avoid conflicts with the 192.168.1.1 and 192.168.0.1 addresses used by virtually every other brand. This means Xiaomi routers can be placed behind other routers without IP conflicts, which is useful for apartment buildings and shared networks.

ModelWiFi StandardAdmin IPApp
Mi Router 4A GigabitWiFi 5 (AC1200)192.168.31.1MiWiFi
Mi Router AX3000 (RA67)WiFi 6 (AX3000)192.168.31.1MiWiFi
Mi Router AX6000 (RA63)WiFi 6 (AX6000)192.168.31.1MiWiFi
Redmi Router AX5400WiFi 6 (AX5400)192.168.31.1MiWiFi
Mi Router BE6500 (WiFi 7)WiFi 7 (BE6500)192.168.31.1MiWiFi

How to Log In

  1. Connect your device to the Xiaomi router via WiFi or Ethernet cable
  2. Open a browser and type 192.168.31.1 in the address bar (not the search bar)
  3. Alternatively, go to miwifi.com — the router intercepts this hostname locally
  4. Enter your admin password (set during first-time setup)
  5. If you have forgotten the password, see the reset section below

Default Credentials

Xiaomi routers require setting a custom admin password during the initial setup wizard — there is no universal default password printed on the device. The WiFi password is set at the same time. If someone already set up the router and you do not know the credentials, the only option is a factory reset.

UsernamePasswordNotes
admin(set on first login)Set during setup wizard — no universal default

What You Can Change at 192.168.31.1

WiFi name and password — Change the SSID and password for both 2.4 GHz and 5 GHz bands. Xiaomi supports band steering under a single SSID or separate names for each band.

Connected devices — View all devices on your network with their IP addresses, MAC addresses, and real-time bandwidth usage. Useful for spotting unknown devices.

Parental controls — Time-based internet access schedules per device. Set bedtime rules and daily limits. More advanced controls available in the MiWiFi app.

Guest network — Separate isolated network for visitors. Enable under Wireless Settings → Guest Network.

Port forwarding — Found under Advanced → Port Forwarding. Set a DHCP reservation for the target device first.

DNS — Change your DNS servers network-wide under Advanced → DNS. Supports Cloudflare (1.1.1.1), Google (8.8.8.8), and custom servers.

Bandwidth priority — Assign higher priority to specific devices or applications when the network is congested.

IPTV / VLAN settings — Some Xiaomi models support IPTV passthrough for ISPs that provide TV over fiber. Configure under Advanced → IPTV.

MiWiFi App vs Web Interface

The MiWiFi app provides everything the web interface does, plus additional features:

FeatureWeb (192.168.31.1)MiWiFi App
WiFi settingsYesYes
Connected devicesYesYes
Port forwardingYes (Advanced)Yes
Parental controlsBasicFull schedules + categories
Mesh node managementNoYes
Remote accessNoYes (via Mi account)
Firmware updatesYesYes
Traffic statisticsBasicDetailed history

Can't Access 192.168.31.1?

You're on the wrong network: If your computer got a 192.168.1.x or 192.168.0.x address, you are connected to a different router. Check your current gateway: on Windows run ipconfig and look for Default Gateway; on Mac go to System Settings → Network → Wi-Fi → Details. It should say 192.168.31.1.

Typing in the search bar: 192.168.31.1 typed into Google or Bing's search box will search the internet, not open your router. Click in the browser's address bar (URL bar) at the very top and type the IP there.

VPN is active: A running VPN routes traffic through a tunnel and can prevent browser access to your local network. Disconnect the VPN, access the router, make your changes, then reconnect.

Browser cache: Try a different browser or open an incognito/private window. Cached redirects sometimes block local IP access.

Factory Reset

If you have forgotten the admin password, a factory reset is the only recovery option on Xiaomi routers. Find the reset button (usually a pinhole on the back or bottom) and hold it for 10 seconds while the router is powered on. The indicator light will flash and the router will restart. You will need to run the setup wizard again and set a new admin password and WiFi password.

After reset, go to 192.168.31.1 — the setup wizard will launch automatically.

Security Recommendations

Xiaomi's firmware has improved significantly in recent years, but there are a few settings worth checking: disable remote management (Advanced → Remote Management should be off), keep firmware updated (System → Upgrade), and use a unique admin password different from your WiFi password. The MiWiFi app's remote access feature requires a Xiaomi/Mi account — if you do not use remote access, you can skip the account linkage.