192.168.1.1 wifi
192.168.1.1 Router Configuration Center

192.168.31.1 Admin Login

Xiaomi (Mi/MiWiFi) routers are the most well-known brand to use 192.168.31.1 as their default gateway IP address. Models such as the Mi Router 3C, Mi Router 4A, Mi Router AX1500, MiWiFi HD, and many others across the MiWiFi lineup all ship with 192.168.31.1 as their default admin address — also accessible via the hostname miwifi.com. Beyond Xiaomi, this address is also used by select Huawei and Cisco network configurations, particularly in enterprise and ISP-deployed setups where the 192.168.31.x subnet is assigned. It is a Class C private IPv4 address, meaning it falls within the 192.168.0.0–192.168.255.255 range reserved exclusively for private networks. Only one device on your local network should be assigned 192.168.31.1 at any time to avoid IP address conflicts. Other commonly used default gateways include 192.168.1.254 and 192.168.100.1.

192.168.31.1 IP Address

To access the admin panel type 192.168.31.1 in the address bar of your web browser or click on the button below.

How to Access 192.168.31.1

To access your router's admin panel via 192.168.31.1, make sure your device is connected to the router — either via Wi-Fi or an Ethernet cable. Then open any web browser (Chrome, Firefox, Edge, Safari) and type http://192.168.31.1 directly into the address bar. Do not type it into a search engine — it must go into the address bar. If you are using a Xiaomi MiWiFi router, you can also access the admin panel by typing miwifi.com into your browser, which resolves to the same 192.168.31.1 interface.

Once the login page loads, you will be prompted to enter your admin credentials. The most common default login combinations for 192.168.31.1 are:

  • Username: admin | Password: admin
  • Username: admin | Password: (leave blank)
  • Username: admin | Password: password
  • Username: admin | Password: 1234

Note that on many Xiaomi MiWiFi routers, the first-time setup requires you to create a new admin password during the initial configuration wizard — so there may be no pre-set default password. If you have already set a password and forgotten it, you will need to perform a factory reset (see below).

From the admin panel at 192.168.31.1, you can manage your Wi-Fi network name (SSID), change your wireless password, configure DHCP settings, set up port forwarding, update firmware, and much more.

If You Can't Access 192.168.31.1

If entering http://192.168.31.1 in your browser does not load the router login page, there are several possible reasons and fixes:

  • Wrong gateway: 192.168.31.1 may not be your router's current default gateway. Open the Command Prompt (Windows: Start > type cmd) and run ipconfig /all. Look for the Default Gateway field. On Mac or Linux, run netstat -nr or check your network settings. If the gateway shown is different from 192.168.31.1, use that address instead. You can also check our guide to find your router IP address.
  • Not connected to the right network: Make sure your device is connected to the router's own Wi-Fi network or plugged in via LAN cable. You cannot access 192.168.31.1 from outside your local network.
  • Browser cache or HTTPS issue: Some browsers auto-redirect to HTTPS. Make sure you type http:// (not https://) before 192.168.31.1. Also try clearing your browser cache or using a different browser.
  • IP address has been changed: A previous administrator may have changed the default gateway from 192.168.31.1 to something else. In this case, a factory reset is the most reliable solution.
  • Router needs a reboot: Unplug your router from power, wait 30 seconds, and plug it back in. Once it fully restarts, try accessing 192.168.31.1 again.

How to Change Your Router Password via 192.168.31.1

Keeping your router secured with a strong, unique password is one of the most important steps you can take to protect your home network. The default credentials for 192.168.31.1 — especially on Xiaomi MiWiFi routers — are widely known, making it critical that you change them as soon as possible after setup.

To change your admin password, log in to http://192.168.31.1 (or miwifi.com on Xiaomi routers) and navigate to the Administration or Advanced Settings section. Look for an option labeled Admin Password, Router Password, or Account Management. Enter your current password, then type your new password twice to confirm. Choose a password that is at least 12 characters long and includes a mix of uppercase letters, lowercase letters, numbers, and symbols.

You should also change your Wi-Fi password from the Wireless Settings section. On Xiaomi routers accessed via 192.168.31.1, the Wi-Fi password settings are typically found under Common Settings > Wireless. Always save your changes before exiting the admin panel.

Router Username and Password List

BrandModelProtocolUsernamePassword
2WIREHOMEPORTAL Rev. SBC YAHOO! DSL(none)2Wire(none)
2WIREALL WIFI ROUTERSHTTP(none)Wireless

Factory Reset for Routers Using 192.168.31.1

If you've forgotten your admin password or your router is behaving unexpectedly, performing a factory reset will restore 192.168.31.1 as the default gateway and wipe all custom settings. Here's how to do it for the most common brands associated with this IP:

Xiaomi MiWiFi Routers (Mi Router 3C, 4A, AX1500, MiWiFi HD, etc.)

  1. Make sure the router is powered on and the indicator light is stable.
  2. Locate the Reset button on the back or underside of the router (it is usually a small pinhole button).
  3. Use a pin or paperclip to press and hold the Reset button for at least 5–10 seconds (some models like the AX1500 require holding until the indicator light turns orange).
  4. Release the button. The router will reboot automatically.
  5. Once the light turns blue/white and stabilizes, the router has been reset to factory defaults.
  6. Reconnect to the router's default Wi-Fi network and navigate to http://192.168.31.1 or miwifi.com to complete the initial setup wizard.

Huawei Routers (192.168.31.1 subnet configurations)

  1. With the router powered on, press and hold the Reset button (usually on the rear panel) for 10 seconds until the indicator lights flash.
  2. Release the button and wait for the router to reboot fully.
  3. Access the admin panel at http://192.168.31.1 and follow the setup wizard.

Important: A factory reset will erase all your custom Wi-Fi names, passwords, port forwarding rules, and any other configurations. Make sure to note down your ISP settings (PPPoE username/password if applicable) before resetting.

What is 192.168.31.1? Understanding This Private IP Address

192.168.31.1 is a Class C private IPv4 address that belongs to the 192.168.0.0/16 private address block defined by RFC 1918. This means it is not routable on the public internet — it exists solely within your local area network (LAN). Your router uses 192.168.31.1 as its default gateway, acting as the central hub through which all devices on your network communicate with the internet.

When a device — whether a laptop, smartphone, smart TV, or printer — connects to your router, it is automatically assigned a private IP address in the same subnet, such as 192.168.31.2, 192.168.31.3, 192.168.31.100, and so on. The router at 192.168.31.1 manages all traffic between these devices and your ISP's network using a process called Network Address Translation (NAT).

The 192.168.31.x subnet (with a subnet mask of 255.255.255.0) supports up to 254 usable host addresses — from 192.168.31.1 (the gateway) to 192.168.31.254. This is more than sufficient for any home or small office network. The router's built-in DHCP server automatically assigns these addresses to connected devices, so you rarely need to configure them manually.

What makes 192.168.31.1 particularly notable is its strong association with Xiaomi's MiWiFi ecosystem. Unlike most router brands that default to more common addresses like 192.168.1.254 or 10.0.0.1, Xiaomi deliberately chose the 192.168.31.x subnet for its routers, making 192.168.31.1 a recognizable signature of the Mi Router product line worldwide.

192.168.31.1 and the Xiaomi MiWiFi Ecosystem

If you own a Xiaomi Mi Router, 192.168.31.1 is your primary point of control. Xiaomi's MiWiFi platform is one of the most feature-rich consumer router interfaces available, and it is fully accessible through this IP address. Here's what you can do from the 192.168.31.1 admin panel on a Xiaomi router:

  • Network Map: View all devices currently connected to your network, including their IP addresses and connection type.
  • Wireless Settings: Change your 2.4GHz and 5GHz Wi-Fi names (SSIDs) and passwords independently.
  • Parental Controls: Set time limits and content filters for specific devices on the network.
  • Port Forwarding: Open specific ports for gaming, servers, or remote access applications.
  • Firmware Updates: Check for and install the latest firmware directly from the 192.168.31.1 interface.
  • VPN Client: Some MiWiFi models support VPN configuration directly from the admin panel.
  • USB Storage Sharing: On supported models, manage shared storage connected via USB.

Xiaomi routers also support the MiWiFi mobile app, which allows you to manage your router remotely. However, for full access to all advanced settings, the web interface at 192.168.31.1 remains the most comprehensive option.

Related IP Addresses in the 192.168.31.x Subnet

The 192.168.31.1 gateway manages the entire 192.168.31.0/24 subnet. When your router is set to 192.168.31.1, connected devices will typically receive addresses in the following range via DHCP:

  • 192.168.31.2 – 192.168.31.100: Commonly assigned to the first devices that connect to your network (laptops, phones, tablets).
  • 192.168.31.100 – 192.168.31.200: Typical DHCP pool range on Xiaomi MiWiFi routers.
  • 192.168.31.254: Sometimes used as an alternative gateway or reserved for network infrastructure.

If you need to assign a static IP address to a device (such as a printer, NAS, or gaming console), you should choose an address outside the DHCP pool — for example, 192.168.31.200 or higher — to avoid conflicts. You can configure static IP reservations directly from the admin panel at 192.168.31.1 by binding a device's MAC address to a fixed IP.

Other commonly used private gateway addresses you may encounter include 192.168.0.1, 192.168.2.1, 192.168.8.1, 192.168.10.1, and 10.0.0.1. Each of these belongs to a different subnet and is used by different router manufacturers as their default gateway.

Frequently Asked Questions About 192.168.31.1

What is 192.168.31.1 used for?

192.168.31.1 is the default gateway IP address used primarily by Xiaomi MiWiFi routers and select Huawei and Cisco network configurations. You use it to access your router's admin panel, where you can manage Wi-Fi settings, security, connected devices, and more.

Why can't I open 192.168.31.1 in my browser?

The most common reasons are: you are not connected to the correct network, your router's gateway has been changed from 192.168.31.1 to a different address, or you are typing it into a search bar instead of the browser's address bar. Run ipconfig /all (Windows) or netstat -nr (Mac/Linux) to confirm your actual gateway address.

Is 192.168.31.1 only for Xiaomi routers?

While 192.168.31.1 is most strongly associated with Xiaomi MiWiFi routers — where it is the factory default — it can technically be configured as the gateway on any router or network device. Huawei and Cisco devices are also known to use the 192.168.31.x subnet in certain deployment scenarios.

What is the default username and password for 192.168.31.1?

For most routers using 192.168.31.1, the default credentials are admin / admin. However, on Xiaomi MiWiFi routers, the first-time setup requires you to create a new admin password through the setup wizard — there is no pre-configured default password. Always change your credentials after the initial setup.

How do I reset my router to restore 192.168.31.1 as the default gateway?

Press and hold the Reset button on your router for 5–10 seconds (until the indicator light changes color on Xiaomi models). The router will reboot and restore all factory settings, including 192.168.31.1 as the default gateway. You can then access the setup wizard at http://192.168.31.1 or miwifi.com.

Can two devices on my network share the IP 192.168.31.1?

No. Only one device — your router — should be assigned 192.168.31.1 on a given network. If another device is manually configured with the same address, it will cause an IP address conflict, resulting in network disruptions for both devices. Always ensure that 192.168.31.1 is reserved exclusively for your router/gateway.

What is the difference between 192.168.31.1 and 192.168.0.1?

Both are Class C private IPv4 gateway addresses, but they belong to different subnets. 192.168.0.1 is the default gateway for many Netgear, D-Link, and other mainstream routers, while 192.168.31.1 is specifically associated with the Xiaomi MiWiFi product line. Devices on a 192.168.31.1 network receive IPs in the 192.168.31.x range, while those on a 192.168.0.1 network receive IPs in the 192.168.0.x range.