How to find your router's IP address on any device

Your router's address is the private address of your default gateway, not the public IP this site shows. Here is how to find it on each platform and log in.

Public IP versus router IP

The address this site shows is your public IP: what the internet sees. Your router has a private address on your local network, usually something like 192.168.1.1. That private address is the one you type into a browser to reach the admin page. It is not reachable from outside your network, and it is not unique across households.

The common defaults

These are private ranges defined by RFC 1918 and cannot be routed on the public internet. If you see an address in these ranges as your public IP, something is misconfigured or you are reading a local interface rather than the public one.

Windows

ipconfig

Look for the "Default Gateway" line under your active adapter. In PowerShell, Get-NetRoute -DestinationPrefix "0.0.0.0/0" shows the next hop.

macOS

netstat -nr | grep default

The address after default is your gateway. System Settings → Network → your connection → Details → TCP/IP also shows the router address.

Linux

ip route | grep default

The address after via is the gateway. On older systems, route -n shows the same information.

Android and iPhone

Logging in

Type the gateway address into a browser using http, for example http://192.168.1.1. If the page does not load, check that you are on the right network, that the address is correct, and that the router has not moved to a different subnet. Default credentials are often printed on the router; change them if they are still the defaults.

If the gateway does not respond

  1. Confirm your device has an address on the same subnet. If your device is 192.168.1.20 and the gateway was changed to 192.168.0.1, the old address will not answer.
  2. Try the other common addresses, then check the router label.
  3. Restart the router. If it still does not respond, reset it only as a last resort, because you will lose its configuration.
  4. If you are on a guest network or a corporate network, admin access may be blocked by design.

Changing the LAN subnet

Some people change the router's LAN address to avoid clashes with a VPN or another network. If you do, update any static addresses, port forwards and bookmarks. Do not change it to a range used by your ISP or a VPN, or routing can become confusing.

Once you are back online, check what the internet sees with the IP lookup, and if the address looks like someone else's, read CGNAT explained.

Check your own connection

See your public IP address, inspect the headers your browser sends, or work out a network range with the subnet calculator. More background in the guides index.