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.1
  • 192.168.1.1
  • 10.0.0.1
  • 172.16.x.x through 172.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):

  1. Press Windows + R, type cmd, hit Enter
  2. Type ipconfig and press Enter
  3. 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:

  1. Go to Settings → Network & Internet
  2. Click your active connection (Wi-Fi or Ethernet)
  3. Scroll to the Properties section — the gateway is listed there

How to Find Your Gateway IP on macOS

  1. Open System Settings (or System Preferences on older versions)
  2. Go to Network
  3. Select your active connection
  4. Click Details (or Advanced on older macOS)
  5. 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 📱

  1. Open Settings → Wi-Fi
  2. Tap the (i) icon next to your connected network
  3. Scroll down to the IPv4 Address section
  4. 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:

  1. Go to Settings → Network & Internet → Wi-Fi
  2. Tap your connected network
  3. Tap Advanced or the pencil/edit icon
  4. 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:

VariableEffect on Gateway IP
Router model/brandDifferent manufacturers use different default IPs
ISP-provided modem-router comboMay 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 activeGateway may reflect a VPN tunnel endpoint, not your physical router
IPv6 enabledA separate IPv6 default gateway may appear alongside the IPv4 one
Corporate/enterprise networksIT-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.