routeripguide.com

🔌 Every Router IP. Every Default Password. One Place.  |  Find My Gateway IP →

192.168.31.1 – Login Admin

You typed 192.168.31.1 into a browser and either got a login screen, a blank page, or an error. This guide covers all three. I’ll walk you through logging in on PC, iPhone, and Android, cover five specific reasons the page won’t load and exactly how to fix each one, run through factory reset step by step, and show you what’s actually worth setting up once you’re inside the admin panel.

192.168.31.1 is almost exclusively a Xiaomi address — and Xiaomi routers have a few quirks that don’t apply to other brands. I’ll cover all of them.

Router Access Panel

Type 192.168.31.1 in your browser or click the link to access the router admin page.

It works only when you’re connected to the same Wi-Fi network.

What Is 192.168.31.1?

192.168.31.1 is a private IP address that your router uses as its default gateway — the internal management address that opens your router’s admin dashboard when you type it into a browser. From that dashboard, you can control your Wi-Fi name and password, see every device connected to your network, manage security settings, configure parental controls, set up port forwarding, and handle firmware updates.

This particular address sits in the 192.168.31.x subnet — a range that isn’t as common as 192.168.0.x or 192.168.1.x, which is probably why you’re searching for it. The vast majority of devices you’ll find at 192.168.31.1 are Xiaomi MiWiFi routers. Xiaomi has used this gateway consistently across an enormous range of models — the MiWiFi Mini, MiWiFi 3, 3A, 3C, 3G, 4, 4A, Lite, Pro, HD, R1D, R2D, R3, and many others all default to this address. You’ll also find it on some Magenta devices (an Austrian ISP) and older Sweex routers.

Here’s what most people don’t realize: 192.168.31.1 doesn’t exist on the public internet at all. It’s one of the reserved private address blocks defined under RFC 1918 private address ranges — addresses set aside specifically for local networks. You can’t reach it from mobile data, from a different Wi-Fi network, or from anywhere outside your own home network. That inaccessibility from outside is a feature, not a bug — it’s what keeps your router admin panel protected.

Xiaomi-specific bonus: MiWiFi routers support two login methods simultaneously. You can type 192.168.31.1 directly into your browser — or you can use the domain-based URL miwifi.com, which Xiaomi maintains as an alias pointing to the same admin panel. Both open the exact same interface. If you’re on a Xiaomi router and 192.168.31.1 isn’t loading, trying miwifi.com is a quick check worth doing before troubleshooting anything else.

Default Credentials for 192.168.31.1

You’ll need a username and password to get past the login screen. If no one has changed the defaults, start with the table below. Xiaomi models come first since they account for the overwhelming majority of traffic to this IP.

BrandModel ExamplesDefault UsernameDefault Password
Xiaomi / MiWiFi (older models)MiWiFi R1D, R2D, Mini, 3, 3Gadminadmin
Xiaomi / MiWiFi (newer models)MiWiFi 4, 4A, Pro, HD, AX series(none)(set at first login)
MagentaMagenta @ 192.168.31.1adminadmin
SweexVarious modelssweexmysweex
TP-LinkVariousadminadmin
AsusVariousadminadmin
LinksysVariousadminadmin
D-LinkVariousadmin(blank)
NetgearVariousadminpassword
CiscoVariousadmincisco
TendaVariousadmin(blank)
BelkinVarious(blank)(blank)
💡 Tip: Always check the label first. The sticker on the bottom or back of your router has the exact factory-default credentials for your specific model. A table like this is a useful starting point — but your router’s sticker is the definitive source.

Critical Xiaomi note: Newer MiWiFi routers — including the MiWiFi 4, 4A, Pro, and most AX-series models — don’t ship with a preset password. The very first time you log in, you’ll be asked to create a new admin password. If someone already completed that first-time setup before you, you’ll need that person’s chosen password — or a factory reset to start fresh. This confuses a lot of people who try admin/admin and get nowhere.

Sweex note: Sweex routers use completely non-standard defaults: sweex as the username and mysweex as the password. Don’t waste time on admin/admin with a Sweex device.

How to Log Into 192.168.31.1 on a PC

The single most common login failure on a PC isn’t a network problem or a wrong password — it’s typing the IP address into the search bar instead of the address bar. The search bar sends it to Google. The address bar navigates to the page. They look similar at first glance, but they do completely different things.

  1. Make sure your PC is connected to your router — via Wi-Fi or through an Ethernet cable. Ethernet is more reliable when making changes, since there’s no risk of your Wi-Fi connection dropping mid-save.
  2. Open any web browser: Chrome, Firefox, Edge, or Safari.
  3. Click the address bar at the very top of the browser — that’s the strip where URLs normally appear (like https://google.com).
⚠️ Don’t type it into the search bar: If pressing Enter takes you to Google results, you hit the wrong field. Click the address bar at the top, clear whatever’s in it, and type the IP fresh.
  1. Type 192.168.31.1 and press Enter. Alternatively, if you have a Xiaomi router, try miwifi.com.
  2. A login screen should appear. Enter your username and password.
  3. Click Login or Sign In.

If you’re in — great. Jump to “What to Do After You Log In.” If not, the troubleshooting section below covers the five most likely causes.

How to Log Into 192.168.31.1 on a Phone

No competitor page for this IP covers mobile login at all — they give one generic instruction and move on. Here are separate steps for iPhone and Android, because the process is genuinely different on each.

On iPhone (Safari)

  1. Connect your iPhone to the Wi-Fi network your router manages. Make sure you’re on this router’s network, not a guest zone or a different network entirely.
  2. Open the Safari app. Not Spotlight search, not the search bar inside Safari — tap the actual URL address bar at the top of the Safari browser.
  3. Type 192.168.31.1 and tap Go.
  4. The router login page should load. Enter your username and password, then tap Login.
💡 Tip: If Safari routes you to a Google search results page, prefix the address: http://192.168.31.1. This forces Safari to treat your input as a URL rather than a search term. Xiaomi users can also try miwifi.com as an alternative — it goes to the exact same page.

On Android

  1. Connect your Android phone to your router’s Wi-Fi. Here’s a common issue: Android phones sometimes keep mobile data active in the background even when Wi-Fi shows as connected. When that happens, your browser routes traffic through mobile data instead of Wi-Fi — and local addresses like 192.168.31.1 never respond.
  2. Open Chrome or your preferred browser.
  3. Tap the address bar at the top.
  4. Type 192.168.31.1 and tap Go or press enter.
  5. The admin login screen should appear. Enter your credentials and tap Login.
📱 Tip: If Chrome shows “This site can’t be reached,” pull down your notification panel and confirm that mobile data is off or that Wi-Fi is actively routing your traffic. Turning off mobile data temporarily and reloading usually resolves this. Xiaomi users can also try miwifi.com in the address bar.

Troubleshooting — 5 Reasons 192.168.31.1 Won’t Load

192.168.31.1 not working error on laptop with tips check wifi correct ip address and restart router
Fix 192.168.31.1 not working error by checking WiFi, IP address, and restarting your router

1. You’re not connected to the right router’s network

192.168.31.1 only responds to devices that are on the local network it manages. If your laptop is connected to a neighbor’s Wi-Fi, your phone has mobile data overriding Wi-Fi, or you’re on a guest zone from a different device — this IP address won’t respond no matter how many times you try.

Fix: On Windows, open Command Prompt and type ipconfig. Look at the Default Gateway line under your active network connection. It should say 192.168.31.1. If it shows something else — 192.168.1.1, 192.168.0.1, or another address — that’s your actual router’s gateway, not this one. On a Mac, go to System Preferences → Network → select your active connection → Advanced → TCP/IP → check the Router field. On your phone, turn off mobile data and confirm Wi-Fi shows your home network as the active connection.

2. The gateway IP was changed

A previous admin — or a setup wizard — may have changed the router’s gateway from 192.168.31.1 to something else. The router works fine, but 192.168.31.1 no longer points to anything.

Fix: Use the ipconfig / Default Gateway method above to find the current address. If you can’t get in at all and believe this happened, a factory reset (see below) will restore 192.168.31.1 as the gateway on Xiaomi and other affected models.

3. You have a typo in the address

192.168.31.1 is easy to mistype — people frequently confuse it with 192.168.3.1 (missing the 1 at the end of the third octet) or type 192.168.31.l with a lowercase L instead of the digit 1 at the very end. Both are different addresses entirely.

Fix: Type it carefully, one group at a time: 192 . 168 . 31 . 1. The third octet is 31 — not 3, not 311, not 310. Double-check before pressing Enter. You can also run ipconfig to confirm your actual Default Gateway rather than guessing. For Xiaomi users, trying miwifi.com bypasses the need to type the IP correctly at all.

4. The browser has a cached failure state

Browsers sometimes cache failed network requests and serve the error again even after the underlying issue is fixed. Chrome is particularly aggressive about this with local network addresses.

Fix: Press Ctrl + Shift + R on Windows or Cmd + Shift + R on Mac for a hard refresh that bypasses the cache. Even better — open a new incognito or private browsing window and try 192.168.31.1 from scratch. If it loads in incognito but not in your regular window, clear your browser cache.

5. The router needs a restart

Routers are computers, and like any computer, they occasionally get into a bad state — especially after weeks of uptime without a reboot. Your internet may still work fine while the admin panel becomes completely unresponsive. Don’t panic — this is the easiest fix of all.

Fix: Unplug the router from power. Wait a full 30 seconds — capacitors in the router need time to fully discharge. Plug it back in and wait 60–90 seconds for it to boot completely. Then try 192.168.31.1 again. A power cycle fixes this more reliably than any other single step.

Factory Reset Guide for 192.168.31.1 Routers

If the admin password has been changed and you can’t get in, a factory reset is the solution. It wipes all custom configuration and returns the router to the state it was in when it left the factory — including restoring 192.168.31.1 as the gateway and resetting credentials to defaults.

💡 Tip: Export your settings first if you can still access the panel. Navigate to Administration or System Tools and look for a Backup or Export Configuration option. Save that file — it means you can restore your settings after the reset instead of building everything from scratch.

What a factory reset erases:

  • Admin username and password (returned to factory defaults)
  • Wi-Fi network name (SSID) and password
  • All port forwarding rules
  • Parental controls and URL filters
  • Static IP / DHCP reservations
  • Custom DNS entries
  • Any configuration made during initial setup

How to reset — step by step:

  1. Keep the router powered on. Don’t unplug it first.
  2. Find the Reset button — typically a small recessed pinhole on the back or bottom panel. On some MiWiFi models, it’s labeled “Reset” near the USB or Ethernet ports on the back.
  3. Insert a straightened paperclip, SIM card ejector, or similar thin tool.
  4. Press and hold firmly. Keep holding.
  5. Watch the LED indicator. On Xiaomi routers, the indicator light typically turns yellow or orange, then blinks rapidly to signal the reset has triggered. On other brands, the LEDs may all blink at once or go out.
  6. Release and wait 60–90 seconds for the router to fully reboot.
  7. Try 192.168.31.1 (or miwifi.com for Xiaomi) with the factory defaults from your router’s label. Newer Xiaomi models will prompt you to set a new password again from scratch.

Reset hold times by brand:

BrandApprox. Hold Time
Xiaomi / MiWiFi10 seconds (until LED changes)
Magenta10–15 seconds
Sweex10 seconds
TP-Link10 seconds
Netgear7–10 seconds
Asus10 seconds
Linksys10–15 seconds
D-Link10 seconds
Cisco10–15 seconds

What to Do After You Log In

Getting in is step one. Here’s what to actually configure once you have access, in priority order.

1. Change Your Admin Password

Do this first, before anything else. Default credentials for every major router brand are publicly documented — they’re listed in brand manuals, support wikis, and in tables like the one above. Anyone on your network who knows your brand can get in if you leave the defaults unchanged.

  1. Log into 192.168.31.1 (or miwifi.com).
  2. Look for Administration, System, Management, or Advanced Settings in the navigation. On Xiaomi routers, check under Administration or Settings → Security. On Magenta, look under System Tools.
  3. Find Admin Password or Change Password.
  4. Enter your current password, then your new one twice.
  5. Make it long — a passphrase of three or four unrelated words is both more secure and easier to remember than a random character string. Check how to create a strong password for a practical framework.
  6. Save and re-login with your new credentials.

2. Change Your Wi-Fi Name and Password

Head to Wireless Settings or Wi-Fi Settings. Change the SSID (the visible network name) to something that doesn’t reveal your router brand — “MiWiFi_Pro_3BD2” tells strangers exactly what hardware you’re running. Set a strong, unique Password or Passphrase. After saving, all connected devices will need to reconnect.

Xiaomi tip: MiWiFi routers often let you manage Wi-Fi settings from the mobile app (Mi WiFi or MiWiFi app) as well as from the browser panel. Both are equivalent — use whichever feels easier.

3. Set Your Encryption to WPA2 or WPA3

While in wireless settings, check the Security Mode or Encryption Type field. If it shows WEP — switch it immediately. WEP is decades old and can be cracked in seconds with freely available tools. The current minimum standard is WPA2-Personal. If your firmware supports it, WPA2 vs WPA3 breaks down the difference — WPA3 is worth using if your devices support it, especially on newer MiWiFi AX models where it’s available by default.

4. Review Connected Devices

Under DHCP Client List, Connected Devices, or Device List (Xiaomi’s interface often labels this clearly on the main dashboard), you’ll see every device currently on your network. Each entry shows a device name, IP address, and what is a MAC address — a unique hardware identifier. Look for anything unfamiliar. Most routers, including MiWiFi models, let you block unknown devices by MAC address directly from this screen.

5.Set Up a Guest Network

A guest network gives visitors internet access without exposing your main network — they can’t see your computers, NAS drives, smart home devices, or anything else connected to your primary network. Xiaomi’s MiWiFi interface makes guest network setup particularly clean — look for Guest Network on the main dashboard or under Wireless Settings. Keep the guest network name simple; ours is just “GuestWifi.” For step-by-step help, how to set up a guest network covers it well.

6.Port Forwarding

If you run anything that needs to be reachable from outside your network — a game server, home NAS, remote desktop, or security camera system — set it up under Port Forwarding or Virtual Server in your router’s menu. Understanding what network ports are before you start prevents the most common configuration mistakes.

7. Update Firmware

Go to Administration → Firmware Update or System Tools → Software Update. On Xiaomi routers, firmware updates are prominently featured in the admin interface — there’s usually a banner or notification if an update is available. Install it and check again every few months. Firmware patches real security vulnerabilities, and Xiaomi in particular has historically released fairly frequent updates for its MiWiFi product line.

Common Misspellings of 192.168.31.1

The similarity between 192.168.31.1 and 192.168.3.1 causes more confusion for this IP than almost any other address. Here are all the common variants people search:

Common IP Address Mistakes
192.168.3.1
192.168.31.l
192.168.31.10
192.168.31.11
192.168.031.1
192.168.31.
19216831
192.168.31.1.
http//192.168.31.1
www.192.168.31.1
192.168.13.1

The correct address: 192.168.31.1 — four number groups, three dots, the third group is 31, no letters anywhere. Alternatively, Xiaomi users can just type miwifi.com.

Which Brands and ISPs Use 192.168.31.1?

Brands That Commonly Use 192.168.31.1

  • Xiaomi / MiWiFi — by far the primary brand for this IP. An extensive range of MiWiFi models defaults to 192.168.31.1, including: MiWiFi Mini, MiWiFi 3, 3A, 3C, 3G, MiWiFi 4, 4A, 4Q, MiWiFi Pro, MiWiFi Lite, MiWiFi HD, MiWiFi HDR3D, R1D, R2D, R3, R3C, and many newer AX-series devices. Xiaomi also supports miwifi.com as a domain alias for the same admin panel.
  • Magenta — the Austrian telecom brand; certain Magenta-supplied routers default to this IP
  • Sweex — a Dutch networking brand no longer actively manufactured; Sweex routers use the unique credentials sweex / mysweex rather than the standard admin defaults

Brands That Sometimes Use It

  • Huawei — primarily uses 192.168.3.1 or 192.168.1.254, but some models land in the 192.168.31.x range depending on firmware and regional ISP configuration
  • TP-Link — most TP-Link devices use 192.168.0.1 or 192.168.1.1, but a small number of models have been configured to use this subnet

Frequently Asked Questions

What is 192.168.31.1 used for?

It’s a private IP address that serves as the default gateway for Xiaomi MiWiFi routers and a handful of other brands. Typing it into a browser while connected to your home network opens your router’s admin panel — the dashboard for managing Wi-Fi, security, connected devices, and all other network settings.

Is 192.168.31.1 the same as miwifi.com?

Yes. On Xiaomi MiWiFi routers, miwifi.com is a domain alias that points to the same admin panel as 192.168.31.1. Both open the exact same interface. If one isn’t working, try the other before doing any deeper troubleshooting.

What’s the default password for a Xiaomi MiWiFi router?

Older MiWiFi models default to admin / admin. Newer models — including the MiWiFi 4, 4A, Pro, and AX series — don’t have a preset password. Instead, you’re asked to set one during first-time setup. If you’re not the one who did the initial setup, you’ll need that person’s chosen password or a factory reset.

What are the Sweex default credentials for this IP?

Sweex routers at 192.168.31.1 use sweex as the username and mysweex as the password. These are completely different from the standard admin/admin default — don’t waste time trying the generic ones on a Sweex device.

Why does 192.168.31.1 show “This site can’t be reached”?

Most likely you’re not connected to that router’s network, or there’s a typo. Run ipconfig on Windows (or check Network → TCP/IP on Mac) and verify your Default Gateway is 192.168.31.1. If it shows a different address, that’s your actual gateway. For Xiaomi users, also try miwifi.com as an alternative.