How to Find Your Gateway IP Address on Any Device
Your gateway IP address is the address of the router or modem that connects your local network to the internet. Every device on your network routes outbound traffic through it — so knowing how to find it is a genuinely useful skill for troubleshooting connections, configuring network settings, or accessing your router's admin panel.
Here's how to locate it across every major platform, plus what affects which address you'll actually see.
What Is a Gateway IP Address?
The default gateway is typically your router's local IP address — the internal address it uses to communicate with devices on your home or office network. It is not your public IP (the one websites see). Instead, it's a private address, most commonly in one of these ranges:
192.168.0.1192.168.1.110.0.0.1172.16.x.xthrough172.31.x.x
These ranges follow RFC 1918 private address standards. Your router assigns itself one of these, and every device on the network is told to send external traffic there first.
How to Find Your Gateway IP on Windows 🖥️
Option 1 — Command Prompt (fastest):
- Press
Windows + R, typecmd, hit Enter - Type
ipconfigand press Enter - Look for the line that reads Default Gateway under your active network adapter
The address listed next to it is your gateway IP.
Option 2 — Settings UI:
- Go to Settings → Network & Internet
- Click your active connection (Wi-Fi or Ethernet)
- Scroll to the Properties section — the gateway is listed there
How to Find Your Gateway IP on macOS
- Open System Settings (or System Preferences on older versions)
- Go to Network
- Select your active connection
- Click Details (or Advanced on older macOS)
- Open the TCP/IP tab — Router is your gateway IP
Alternatively, open Terminal and run:
netstat -nr | grep default The address in the first result column is your default gateway.
How to Find Your Gateway IP on Linux
Open a terminal and use one of these commands:
ip route | grep default or
route -n The gateway address appears in the Gateway column next to the 0.0.0.0 destination row. Most Linux distributions support both commands, though ip route is the more modern standard.
How to Find Your Gateway IP on iPhone or iPad 📱
- Open Settings → Wi-Fi
- Tap the (i) icon next to your connected network
- Scroll down to the IPv4 Address section
- The Router field shows your gateway IP
Note: iOS only displays gateway information for Wi-Fi. If you're on cellular, there's no local gateway visible at the device level.
How to Find Your Gateway IP on Android
The steps vary by manufacturer and Android version, but the general path is:
- Go to Settings → Network & Internet → Wi-Fi
- Tap your connected network
- Tap Advanced or the pencil/edit icon
- Look for Gateway or Router in the IP settings
Some Android skins (Samsung One UI, Xiaomi MIUI, etc.) place these details under different menu names. If you don't see a Gateway field, switching the IP settings from DHCP to Static will often reveal the full network detail view — without needing to actually save those static settings.
Variables That Affect What You'll See
Not every user finds the same gateway address, and there are a few reasons why:
| Variable | Effect on Gateway IP |
|---|---|
| Router model/brand | Different manufacturers use different default IPs |
| ISP-provided modem-router combo | May use non-standard ranges like 192.168.100.1 |
| Multiple routers (daisy-chained) | Each device may show a different gateway depending on which network it's on |
| VPN active | Gateway may reflect a VPN tunnel endpoint, not your physical router |
| IPv6 enabled | A separate IPv6 default gateway may appear alongside the IPv4 one |
| Corporate/enterprise networks | IT-managed environments often use custom subnets |
A VPN is a particularly common source of confusion — if a VPN is running when you check, the gateway shown may belong to the VPN adapter, not your actual router.
What to Do Once You Have It
The gateway IP is most useful when:
- Accessing your router's admin panel — paste it into a browser address bar
- Diagnosing a connection problem — ping the gateway to test local network connectivity
- Setting a static IP — you'll need the gateway address as part of the manual configuration
- Network troubleshooting — confirming a device is on the expected subnet
To ping your gateway on Windows or Linux, run ping 192.168.1.1 (substituting your actual gateway). On macOS and Linux, the same ping command works in Terminal.
Why Your Gateway IP Might Not Match Common Defaults
ISPs sometimes configure their equipment with non-standard addresses. Business-grade routers, mesh network systems, and enterprise hardware often use custom addressing schemes. If you're on a corporate network, a guest network, or using a travel router, the address structure may look quite different from the typical home setup.
Whether the address you find is the right one to interact with — and what access level your network gives you once you reach the router admin panel — depends entirely on how that network was configured and who controls it.