How to Find Your Gateway Address on Windows, Mac, and Mobile
In this article
To get your gateway address, you need to look at your device's network settings. On Windows, open Command Prompt and run ipconfig; the gateway appears as "Default Gateway." On Mac, go to System Settings > Network, select your connection, click Details, then TCP/IP; the router's address is listed as "Router." On iPhone or Android, open Wi-Fi settings, tap the connected network, and look for "Router" or "Gateway." That address is the local IP of your router, usually something like 192.168.1.1 or 192.168.0.1. You do not need any special tools or admin rights to view it. The exact menu labels can differ slightly by version, device, or region, but the steps below cover the standard paths.
What You'll Need
- Your device (Windows PC, Mac, iPhone, or Android phone/tablet) connected to the network whose gateway you want to find.
- No additional software or permissions required.
Step-by-Step
- Windows (Command Prompt method): Press
Win + R, typecmd, and press Enter. In the black window, typeipconfigand press Enter. Scroll to your active adapter (look for "Wireless LAN adapter Wi-Fi" or "Ethernet adapter"). Find the line "Default Gateway" — the number next to it is your gateway address. - Windows (Settings method): Open Settings > Network & internet. Click on your connection type (Wi-Fi or Ethernet). For Wi-Fi, click the network name, then scroll down to "Properties." Look for "IPv4 default gateway." For Ethernet, click "Properties" directly. The gateway is listed there.
- Mac: Click the Apple menu > System Settings. In the sidebar, click Network. Select your active connection (Wi-Fi or Ethernet). Click the "Details…" button next to it. Choose "TCP/IP" from the left-hand list. The "Router" field shows your gateway address.
- iPhone/iPad: Open Settings > Wi-Fi. Tap the blue "i" icon next to the network you are connected to. Scroll down to "Router." The number shown is your gateway address.
- Android: Open Settings > Network & internet > Wi-Fi. Tap the gear icon or the network name you are connected to. Tap "View more" or scroll down to "Network details." Look for "Gateway" or "Router." The address is listed there. (Menu names vary by manufacturer; on Samsung it may be under "Advanced" or "IP settings.")
Common Mistakes
- Confusing gateway with IP address: Your device's IP address (e.g., 192.168.1.5) is different from the gateway (e.g., 192.168.1.1). The gateway is the router's address, not your device's.
- Looking at the wrong adapter: On Windows, you may see multiple adapters (Wi-Fi, Ethernet, virtual adapters like VPNs). Make sure you check the one that is actually connected to your network. Disconnect VPNs if unsure.
- Using outdated instructions: Menu labels change. For example, macOS Ventura and later use System Settings instead of System Preferences. Always look for the current path.
- Assuming the gateway is always 192.168.1.1: It can be 192.168.0.1, 10.0.0.1, or another address depending on your router. Always check, do not guess.
- Forgetting to connect to the network: You must be connected to the network to see its gateway. If you are offline, the gateway field will be blank or show 0.0.0.0.
Tips
- Write down the gateway address — you will need it to access your router's admin page (type it into a browser's address bar).
- On Windows, you can also use
ipconfig /allfor more details, including the gateway for all adapters. - If you are on a public Wi-Fi (coffee shop, hotel), the gateway may be different and access to it may be restricted. That is normal.
- On Mac, you can also use Terminal: type
netstat -nr | grep defaultand look for the "default" line — the address after "default" is your gateway. - On Android, if you cannot find the gateway in Wi-Fi settings, install a network info app from the official Play Store (e.g., "Network Analyzer") — but only from trusted developers.
Troubleshooting
If you cannot find the gateway or it shows as blank, try these steps in order:
- Reconnect to the network: Turn Wi-Fi off and on, or unplug and replug the Ethernet cable. Then check again.
- Restart your device and router: Power cycle both. Wait 30 seconds before turning the router back on.
- Check for VPN or virtual adapters: Disconnect any VPN. On Windows, disable virtual adapters temporarily in Network Connections (Control Panel > Network and Internet > Network Connections).
- Use alternative methods: On Windows, try
Get-NetIPConfigurationin PowerShell (run as admin). On Mac, use the Terminal command above. On mobile, try a different Wi-Fi network to see if the issue is device-specific. - Update your device: Ensure your OS is up to date — sometimes network settings bugs are fixed in updates.
- Reset network settings (last resort): On mobile, this erases saved Wi-Fi passwords and Bluetooth pairings. On Windows, you can use Network Reset in Settings > Network & internet > Advanced network settings > Network reset. This will remove and reinstall network adapters — back up any custom settings first.
If the gateway still does not appear, your router may be misconfigured or the network may be down. Contact your network administrator or internet service provider.
Frequently Asked Questions
What is a gateway address?
It is the IP address of your router on the local network. It acts as the exit point for traffic leaving your network, such as when you browse the internet.
Can I find the gateway without connecting to the network?
No. The gateway is part of the network configuration, so you must be connected (via Wi-Fi or Ethernet) to see it.
Why does my gateway show 0.0.0.0?
That means your device has not received a valid IP configuration from the router. Reconnect, restart the router, or check for DHCP issues.
Is the gateway the same as my public IP address?
No. The gateway is a private local address (like 192.168.x.x). Your public IP is what websites see, assigned by your ISP.
How do I use the gateway address?
Type it into a web browser's address bar to access your router's login page, where you can change Wi-Fi settings, passwords, and more.
Can I change my gateway address?
Yes, but it requires logging into your router's admin panel and changing the LAN IP settings. Be careful — incorrect changes can disconnect your network.