Your default gateway is the device that sends your computer's traffic out to the internet
A default gateway is the address your computer uses when it needs to send data somewhere outside your home network. Think of it as the exit ramp: when your device wants to reach a website, send an email, or stream video, it doesn't know the path to take, so it hands the packet to the gateway and says "figure out where this goes." In almost every home network, your default gateway is your router.
Your router sits between your devices and your internet service provider's network. It has two jobs: it receives data from the internet and decides which device in your home should get it, and it takes data from your devices and forwards it out to the internet. The default gateway address is how your computer knows which device to trust with that outbound traffic.
On most home networks, the default gateway address is something like 192.168.1.1 or 192.168.0.1 — these are private addresses that only exist inside your network. Your router has a second address that faces the internet, assigned by your ISP, but your devices never see that one. They only know about the gateway address inside your home.
Key Takeaways
- Your default gateway is almost always your router, and it is the device your computer sends traffic to when it needs to reach the internet.
- The gateway address is a private IP address like 192.168.1.1, not a public internet address.
- You can find your default gateway by checking your network settings on Windows, Mac, or mobile devices.
- If your default gateway is set to an unfamiliar address, a device on your network may be impersonating your router, which is a sign of compromise.
How to find your default gateway on Windows
Open the Command Prompt by pressing Windows key + R, typing cmd, and pressing Enter. Type ipconfig and press Enter. Look for the section labeled with your network name (usually "Ethernet" if you are wired, or your Wi-Fi network name if wireless). The line that says "Default Gateway" shows your gateway address.
Write down that address. On a normal home network, it should be 192.168.1.1, 192.168.0.1, or 10.0.0.1. If it shows something completely different — like an address in the 172 range or something you do not recognize — that is worth investigating, because it means traffic is being routed through an unexpected device.
How to find your default gateway on Mac
Click the Apple menu, go to System Settings, then click Network on the left side. Select your active connection (Wi-Fi or Ethernet) and click Details. Look for the "Router" field — that address is your default gateway. On Mac, you can also open Terminal and type netstat -nr | grep default to see the same information in command-line format.
The router address should match what is printed on your actual router, usually on a sticker on the back or bottom. If your Mac is showing a different gateway address than what your router displays, something else on your network is intercepting traffic.
How to find your default gateway on phones and tablets
On an iPhone or iPad, go to Settings, tap Wi-Fi, then tap the information icon (i) next to your network name. Scroll down to find "Router" — that is your default gateway. On Android, go to Settings, tap Wi-Fi, long-press your network name, tap Modify, then tap Advanced. Look for "Gateway" in the list.
Mobile devices usually discover the gateway automatically when they join the network, so if your phone shows a gateway address that does not match your router, the phone may be connected to a different network than you think — or something is spoofing your network.
Why the default gateway matters for network security
Your default gateway is the single point of trust on your network. Every device assumes the gateway is legitimate and sends it all outbound traffic without question. If an attacker can trick your devices into using a different gateway — through a technique called ARP spoofing or by running a rogue access point — they can intercept all your traffic, steal passwords, and inject malware.
This is why checking your default gateway occasionally is a useful security habit. If all your devices show the same gateway address, and that address matches your router, your network is routing traffic the way you expect. If one device shows a different gateway, or if the address changes without you changing your router settings, that is a sign something is wrong.
You do not need to change your default gateway under normal circumstances. Your router assigns it automatically, and it is set up correctly when you first connect. Changing it manually is only necessary if you are replacing your router or setting up an advanced network configuration.
What happens if your default gateway goes down
If your router stops working or loses power, your devices will still be able to talk to each other over the local network — they can ping each other, share files, and see shared printers. But they will not be able to reach the internet, because there is no gateway to send traffic through. Your devices will show "no internet connection" even though Wi-Fi or ethernet is still connected.
Restarting your router usually fixes this. Power it off, wait 30 seconds, and power it back on. The router will reconnect to your ISP, and your devices will start routing traffic through it again. If the router does not come back online after a few minutes, check that the ethernet cable from your modem is plugged into the router's WAN port (usually labeled "Internet" or "WAN" in a different color).
Frequently Asked Questions
Is my default gateway the same as my router's IP address?
Yes. The default gateway address is the private IP address of your router on your local network. It is the address your devices use to reach the router, and it is the same address you would type into a web browser to access your router's settings page.
Can I have more than one default gateway?
A single device can only have one default gateway at a time — it is the one path out of the network. However, advanced networks can use multiple gateways for redundancy or load balancing, but that is not a home network setup. On a standard home network, one gateway is correct.
What if I forgot my router's IP address?
Check the sticker on the back or bottom of your router — the default gateway address is usually printed there. If the sticker is gone, you can find it by running ipconfig (Windows) or checking System Settings (Mac), as described above. Most routers use 192.168.1.1 or 192.168.0.1 by default.
Does changing my default gateway improve security?
Changing the gateway address itself does not improve security — it is just a number. What matters is that your router is configured securely: strong Wi-Fi password, firmware up to date, and admin password changed from the default. Changing the gateway address can actually cause problems if you do not know what you are doing.