How to Find Your Router IP Address
A router's IP address — also called the default gateway — is the private network
address assigned to the router within a local network, identifying it as the central
forwarding point between connected devices and the internet. On Windows, it appears
as "Default Gateway" in the output of the ipconfig command. On macOS,
it is labeled "Router" under the TCP/IP tab in System Settings. On iOS and Android,
it is accessible from the active Wi-Fi network's detail screen. On Linux, the
ip route show default or nmcli dev show command returns it.
Most home routers use 192.168.1.1 or 192.168.0.1 — both within the RFC 1918 private
address space.
What Is a Router IP Address?
Your router IP is its address on your local network, usually 192.168.1.1, 192.168.0.1 or 10.0.0.1. Your devices call it the “default gateway”.
A router's IP address is the address assigned to the router on the local network — the side facing the devices in your home or office, not the side facing the internet. This local address functions as the network's default gateway: every device that wants to send traffic outside the local network forwards packets to this address first, and the router handles delivery from there.
The term "default gateway" comes from IP routing. When a device has no specific
route configured for a destination, it uses its default route — which points to
the gateway IP — and delegates forwarding to the router. Windows surfaces this
as "Default Gateway" in network diagnostics. macOS and iOS use the label "Router."
Linux exposes it as the "default via" entry in the routing table returned by
ip route.
Why Your Router Uses 192.168.1.1 or 192.168.0.1
Consumer routers default to addresses in the 192.168.0.0/16 block because this range is reserved for private use under RFC 1918. It is not routable on the public internet, which eliminates any risk of collision with external addresses. The specific values 192.168.1.1 and 192.168.0.1 are manufacturer conventions: they are the first assignable host addresses in the 192.168.1.0/24 and 192.168.0.0/24 subnets respectively. The router assigns itself this address and then distributes addresses in the same subnet to connected devices via DHCP — Dynamic Host Configuration Protocol, standardized in RFC 2131. ISP-provided equipment frequently uses the 10.0.0.0/8 private range instead, most commonly 10.0.0.1.
Why You Need Your Router IP Address
The router IP address is the entry point to the router's web administration interface — the panel where Wi-Fi passwords, port forwarding rules, firmware updates, DNS server configuration, and parental controls are managed. It is also essential for network troubleshooting: if a device cannot reach its gateway, it cannot reach anything outside the local network. Knowing the gateway address lets you verify the default route is correctly configured and quickly identify whether a connectivity problem originates on the local network or upstream.
Router IP Address Quick Reference
Each operating system surfaces the router IP address in a different location and under a different label. The table below gives the exact method, command or UI path, and the result label for every major platform.
| Platform | Discovery Method | Command / UI Path | Result Label |
|---|---|---|---|
| Windows | Command Prompt | ipconfig |
Default Gateway |
| Windows | PowerShell | Get-NetRoute -DestinationPrefix '0.0.0.0/0' | Select-Object NextHop |
NextHop |
| macOS | System Settings | System Settings → Network → [Connection] → Details → TCP/IP | Router |
| macOS | Terminal | netstat -nr | grep default |
default (first row) |
| iOS (iPhone / iPad) | Wi-Fi Settings | Settings → Wi-Fi → tap (i) next to network → IPv4 Address | Router |
| Android | Wi-Fi Settings | Settings → Wi-Fi → tap network name → Details | Gateway |
| Linux | Terminal | ip route show default |
default via [IP] |
Do it yourself
How to Find Your Router IP Address on Windows
Windows provides three methods. The Command Prompt method works identically on Windows 7 through Windows 11 and is the fastest.
Windows Command Prompt
Press Win + R, type cmd, and press Enter.
In the Command Prompt window, type the following and press Enter:
ipconfig
Scroll through the output and find the section for your active connection — labeled "Wireless LAN adapter Wi-Fi" or "Ethernet adapter Ethernet." The IP address next to Default Gateway is your router's address. If multiple adapters appear, use the one whose IPv4 Address shares the same subnet as the gateway (for example, 192.168.1.x with a gateway of 192.168.1.1).
Windows PowerShell
Open PowerShell and run:
Get-NetRoute -DestinationPrefix '0.0.0.0/0' | Select-Object NextHop
The NextHop column returns only the gateway IP address, without
surrounding adapter information. This form is useful in scripts where you need
the address programmatically rather than as part of a full network summary.
Windows 11 Settings App
Open Settings → Network & Internet. Click Wi-Fi or Ethernet depending on your connection type, then select the connected network and click View additional properties (Wi-Fi) or Hardware properties (Ethernet). Scroll down to find Default gateway in the list of network properties.
Do it yourself
How to Find Your Router IP Address on macOS
macOS labels the router IP address as "Router" rather than "Default Gateway." Both the graphical System Settings and the Terminal return the same value.
macOS System Settings (Ventura and Later)
Click the Apple menu → System Settings → Network. Select your active connection in the left column — Wi-Fi or Ethernet. Click Details, then select the TCP/IP tab. The address listed next to Router is your router's IP address.
On macOS Monterey and earlier, the same path is Apple menu → System Preferences → Network → select connection → Advanced → TCP/IP tab → Router.
macOS Terminal
Open Terminal (Applications → Utilities → Terminal) and run:
netstat -nr | grep default
The first row in the output contains the gateway IP in the Gateway column, labeled "default." Alternatively, on Apple Silicon and Intel Macs running macOS Ventura or later:
route -n get default | grep gateway
Both commands return the same address regardless of whether you are connected via Wi-Fi or Ethernet.
How to Find Your Router IP Address on iPhone and iPad (iOS)
iOS does not have a command-line interface, but the router IP address is accessible directly from Wi-Fi settings without any additional app.
Open Settings → Wi-Fi. Tap the (i) information icon to the right of the network you are connected to. Scroll down to the IPv4 Address section. The address listed next to Router is your router's IP address. This field is visible regardless of whether the IP configuration is set to Automatic (DHCP) or Manual.
The "Router" field on iOS shows the local gateway IP — not the public IP address. The public IP is assigned to the router's WAN interface by the ISP and is a separate, different address.
How to Find Your Router IP Address on Android
Android's path to network details varies between manufacturers and Android versions, but the gateway address is accessible on all current builds.
Open Settings → Wi-Fi (on Samsung devices: Connections → Wi-Fi). Tap the name of your connected network. A Details or Manage network settings option appears — tap it. The IP address listed next to Gateway is your router's IP address.
On some Android builds, the Gateway field is only visible when IP assignment is set to Static. If the field does not appear, temporarily switch to Static — the values pre-populate from DHCP, including the gateway. Record the gateway IP, then switch back to DHCP. The gateway address does not change when you switch back.
Do it yourself
How to Find Your Router IP Address on Linux
Linux provides multiple commands for retrieving the default gateway.
The ip route command from the iproute2 package is the
current standard, replacing the deprecated route and
netstat commands available on older distributions.
Linux Using ip route
ip route show default
The output format is default via [gateway IP] dev [interface] ....
The IP address after via is your router's address. To extract just
the IP in scripts:
ip route show default | awk '{print $3}'
Linux Using nmcli (NetworkManager)
On systems running NetworkManager — the default on most desktop Linux distributions including Ubuntu, Fedora, and Debian with a desktop environment:
nmcli dev show | grep IP4.GATEWAY
This returns the gateway IP for all active connections. To query a specific connection by name:
nmcli -g IP4.GATEWAY connection show [connection-name]
On minimal Linux installations without NetworkManager, the older
route -n command displays the routing table. Look for the row
where the Destination column reads 0.0.0.0 — the Gateway column
in that row is the router's IP address.
Finding Your Router IP Address on the Router Label
Every consumer router has a physical label on its base or rear panel. This label typically lists the factory-default gateway IP address — often labeled "Default IP," "Router IP," or "Gateway" — alongside the default Wi-Fi SSID, Wi-Fi password, and sometimes the default admin credentials.
The label shows the factory-configured default. If the router IP has been changed by a network administrator or ISP technician, the label value may no longer match the current address. In that case, use the platform-specific commands described above to retrieve the current address from a connected device. The label method is most reliable for a freshly factory-reset or newly installed router.
Common factory defaults by manufacturer: Netgear and Linksys typically use 192.168.1.1; D-Link and TP-Link commonly use 192.168.0.1; Asus uses 192.168.1.1; Apple AirPort (discontinued) used 10.0.1.1; Comcast/Xfinity-provided equipment commonly uses 10.0.0.1.
How to Verify and Use Your Router IP Address
Follow these steps to confirm the router IP address and reach its admin interface.
Enter the IP in a browser
Confirm the admin login page appears
If no page loads, try common default addresses
Verify the address is a private IP
Frequently Asked Questions
What is a router IP address?
What is the difference between a router IP address and a public IP address?
What is the difference between a router IP address and a default gateway?
How do I confirm I have found the correct router IP address?
Why is 192.168.1.1 or 192.168.0.1 not opening my router admin page?
Can I find my router IP address if I am not connected to its network?
Does WhatIsMyIPNow store or log my router IP address?
What should I do if my router uses a non-standard IP address?
Put this guide into practice