Your default gateway is the device that sends your internet traffic out to the wider world
When you send data from your computer — an email, a web request, a video stream — it does not know how to reach the internet on its own. Your computer needs a middleman to forward that traffic. That middleman is your default gateway, almost always your home router.
The default gateway is the address your device uses when it needs to send information somewhere outside your local network. Without it, your computer can talk to other devices on your WiFi or ethernet, but nothing beyond that. It is the door between your private home network and everything else online.
On most home networks, the default gateway address is something like 192.168.1.1 or 192.168.0.1 — a private IP address that only exists inside your network. Your router sits at that address and decides where each piece of data goes next.
Key Takeaways
- Your default gateway is almost always your router, and it forwards all your internet traffic to your internet service provider.
- You can find your gateway address by checking your network settings on Windows, Mac, or Linux, or by looking at the sticker on your router.
- The gateway address is usually 192.168.1.1 or 192.168.0.1, but the exact number depends on how your router is configured.
- If your default gateway is missing or wrong, you will have internet access on your local network but not on the wider internet.
How to find your default gateway address
The fastest way is to look at the sticker on the back or bottom of your router. Most routers print the gateway address (sometimes labeled "IP Address" or "Router Address") along with the WiFi name and password.
If you cannot find the sticker, you can look it up in your device settings. On Windows 10 or 11, open Settings, go to Network & Internet, then Status. Scroll down and click "View your network properties." Look for "IPv4 Default Gateway" — that is your answer. On Mac, open System Preferences, go to Network, select your connection, and click Advanced. The gateway address is listed under TCP/IP. On Linux, open a terminal and type ip route — the line starting with "default via" shows your gateway.
You can also log into your router itself to confirm. Open a web browser, type your gateway address into the address bar (for example, 192.168.1.1), and log in with your router's username and password — usually printed on that same sticker.
Why your router is the gateway, not your internet service provider
Your internet service provider (ISP) — Comcast, Verizon, AT&T, or whoever you pay for internet — runs the network outside your home. But inside your home, your router is in charge. It assigns addresses to all your devices, decides which traffic goes where, and acts as the translator between your private network and the public internet.
Your router itself has two addresses: a private one (like 192.168.1.1) that only your home devices see, and a public one (assigned by your ISP) that the rest of the internet sees. When you send a request to a website, your router forwards it using that public address, then brings the response back to you.
This setup protects you. Your ISP and the wider internet do not see the individual addresses of your computer, phone, or smart TV — they only see your router. That is why your router is also a firewall: it sits between your devices and the outside world.
What happens when your default gateway is wrong or missing
If your device does not have a default gateway set, or if it points to the wrong address, you will lose internet access even if your WiFi or ethernet connection looks fine. You might see "no internet" or "limited connectivity" in your network settings.
This usually happens after a router restart, a network configuration change, or if your device is set to use a static IP address instead of getting one automatically. If you manually assigned an IP address to your computer, you also need to manually set the gateway to match your router.
The fix is usually simple: go back to automatic IP assignment (called DHCP), which tells your device to ask the router for an address and the gateway at the same time. On Windows, open Network Settings, find your connection, click Edit, and toggle "Automatic (DHCP)" back on. On Mac, go to System Preferences, Network, Advanced, TCP/IP, and select "Using DHCP" from the Configure dropdown.
The difference between your gateway and your DNS server
People often mix these up because they work together. Your default gateway is the address your device sends traffic to when it needs to leave your network. Your DNS server is the address your device sends requests to when it needs to turn a website name (like google.com) into an IP address.
You can have a working gateway but a broken DNS server, and vice versa. If your gateway is wrong, you cannot reach the internet at all. If your DNS is wrong, you can reach the internet, but you cannot visit websites by name — you would have to type IP addresses instead.
Most of the time, your router handles both. It is your gateway and also your DNS server, or it forwards DNS requests to your ISP's DNS server. But you can change your DNS server independently if you want to use a different one, like Google's (8.8.8.8) or Cloudflare's (1.1.1.1), without changing your gateway.
When you might need to change your gateway address
In a home network, you almost never need to change your gateway. It is set up when you first install your router and stays the same.
You might change it if you replace your router with a different model that uses a different default address, or if you are setting up a more complex network with multiple routers or subnets. Some people change it for advanced configurations like running a home server or setting up a guest network with its own gateway.
If you are not sure whether you should change it, you probably should not. Changing your gateway address can break internet access for all your devices until they are reconfigured. If you do change it, write down the old address first, and make sure you can still reach your router before you change anything else.
How your gateway works with your firewall and security
Your router's firewall sits at the gateway. It inspects traffic coming in from the internet and decides whether to let it through to your devices. By default, it blocks incoming connections that you did not ask for — someone on the internet cannot just connect to your computer without your router stopping them first.
This is why your gateway address is private and invisible to the outside world. Your ISP and the internet see only your router's public address, not the addresses of your individual devices. Your router translates between the two, keeping your devices hidden behind it.
If you open a port on your router (to run a web server, for example, or to play online games with port forwarding), you are telling the gateway to forward traffic from that port on your public address to a specific device on your private network. The gateway is still in control — it is just forwarding specific traffic instead of blocking it.
Frequently Asked Questions
Can I have more than one default gateway?
No, each device can have only one default gateway at a time. If you have multiple routers or networks, your device picks one as the default and uses it for traffic that does not match any other route. Advanced setups can use multiple gateways for different destinations, but that requires manual configuration.
Is my default gateway the same as my router's IP address?
Yes, they are the same thing. Your router's IP address on your local network is its gateway address. When you log into your router to change settings, you are connecting to that same address.
What if I forgot my router's password and cannot log in?
You can reset your router to factory settings by holding the reset button (usually a small hole on the back) for 10 to 15 seconds. This erases all your settings and returns the gateway address and password to the factory defaults, which are printed on the sticker. You will need to set up your WiFi and internet connection again.
Does changing my gateway address improve my internet speed or security?
No. Your gateway address is just a label for your router — changing it does not change how your router works or how fast your connection is. Security comes from your router's firewall settings and your WiFi password, not from the gateway address itself.
Why is my gateway address 192.168.x.x instead of something else?
Those addresses (192.168.0.0 to 192.168.255.255) are reserved for private networks and cannot be used on the public internet. This keeps your home network separate from the wider internet. Your router's public address, assigned by your ISP, is different and visible to the outside world.