Your gateway address is your router’s local address, and you can usually find it in under 30 seconds. On Windows, open Command Prompt and run ipconfig; Microsoft says this command shows current TCP/IP settings, including gateway details [source: Microsoft]. On macOS, open Terminal and run route -n get default. Network apps can show it too, but they often add extra clicks for no good reason.
TLDR: Your gateway address is often something like 192.168.1.1 or 10.0.0.1. On Windows, use ipconfig and look for Default Gateway. On macOS, use route -n get default and look for gateway. If Wi Fi dies during a 20 person video call, this address helps you open the router page and fix things fast.
What is a gateway address?
A gateway address is the local IP address of your router.
Think of it as the front door of your network. Your laptop, phone, printer, and game console all use it to reach the internet. If your device wants to talk to a website, it sends traffic to the gateway first.
Most home gateways look like this:
192.168.0.1192.168.1.110.0.0.1172.16.0.1
You may need it when you want to log in to your router, fix Wi Fi, change DNS, set up port forwarding, or check who is hogging the network. Yes, it is often one person streaming 4K video. Shocking.
How to find it on Windows with Command Prompt
Windows gives you the answer quickly. No hunting through menus. No tiny gear icons. Just one command.
- Press Windows + R.
- Type
cmd. - Press Enter.
- Type
ipconfig. - Press Enter.
Now look for your active connection. It may say Wireless LAN adapter Wi-Fi or Ethernet adapter Ethernet.
Find the line called Default Gateway. That is the address you want.
Example:
Wireless LAN adapter Wi-Fi:
IPv4 Address. . . . . . . . . . . : 192.168.1.42
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.1.1
In this case, the gateway address is 192.168.1.1.
Quick tip: If you see two gateways, check which adapter is actually in use. Wi Fi and Ethernet can both appear. Your active one usually has a real IPv4 address and is not marked as disconnected.
Image not found in postmetaHow to find it on macOS with Terminal
On macOS, Terminal is the cleanest method. It looks scary. It is not.
- Open Spotlight with Command + Space.
- Type
Terminal. - Press Enter.
- Type this command:
route -n get default
Press Enter. Look for the line that says gateway.
Example:
gateway: 192.168.1.1
That is your gateway address.
You can also use this command:
netstat -nr | grep default
It may show a line like this:
default 192.168.1.1 UGSc
Again, 192.168.1.1 is the gateway.
Honestly, it feels silly that macOS shows this so neatly in Terminal but makes the same info feel tucked away in settings. Terminal wins here.
How to find it with network apps
Network apps are the friendly option. They are great if you hate command lines. They can also show device names, signal strength, router brand, and local IP details.
Common options include:
- Router admin apps from your internet provider or router maker.
- Network scanner apps for phones or desktops.
- Wi Fi analyzer apps that show router and channel details.
- Built in system settings on Windows and macOS.
On Windows, you can also check:
- Open Settings.
- Go to Network & internet.
- Select Wi-Fi or Ethernet.
- Open your network details.
- Look for IPv4 default gateway.
On macOS, you can check:
- Open System Settings.
- Click Network.
- Select your active Wi Fi or Ethernet connection.
- Click Details.
- Check TCP/IP.
- Look for Router.
That Router value is the gateway address. Apple lists router information under TCP/IP settings in macOS network options [source: Apple].
The annoying part? Apps can take longer. A command takes about 5 to 10 seconds. A network app may take 30 seconds, ask for permissions, scan the network, and then show the same number. Great. Thanks, app.
Command Prompt vs Terminal vs apps
Here is the simple breakdown.
- Windows Command Prompt: Fast. Clear. Best for Windows users.
- macOS Terminal: Fast. Clean. Best for Mac users who can copy one command.
- Network apps: Easy to read. Good for beginners. Sometimes slow.
If you only need the gateway address, use the command line. It is faster. It gives the exact answer. It does not try to sell you a premium scan.
If you want to see every device on your network, use an app. That is where apps shine. They can show phones, laptops, TVs, speakers, cameras, and mystery gadgets named things like “android-4839.” Very helpful. Also slightly creepy.
What to do after you find it
Open a browser. Type the gateway address into the address bar. Press Enter.
For example:
http://192.168.1.1
You may see your router login page. From there, you can check Wi Fi names, passwords, DNS settings, connected devices, and firmware updates.
Use care here. Do not change random settings just to see what happens. That is how Tuesday night becomes “why is the internet dead?” night.
Quick fixes if nothing works
- Make sure you are connected to Wi Fi or Ethernet.
- Turn off VPN software for a minute.
- Check the right adapter.
- Restart your router if the gateway is blank.
- Try another device on the same network.
Final tip: Write your gateway address down once you find it. Put it in a notes app. Future you will be grateful when the Wi Fi acts up again.
