Your default gateway is the device that connects your home network to the internet

The default gateway is the IP address of the router or modem that sends your traffic out to the wider internet. When your computer, phone, or tablet needs to reach a website, send an email, or access anything outside your home network, it sends that data to the default gateway first. The gateway then forwards it onward. Without a default gateway, your devices would have no way to leave your local network.

On most home networks, the default gateway is your router — the box with antennas that you plug into your wall. Its IP address is usually something like 192.168.1.1 or 192.168.0.1. Your device learns this address automatically when it connects to your Wi-Fi or ethernet, so you rarely need to think about it. But knowing where to find it and what it does helps you troubleshoot connection problems and understand how your network actually works.

Key Takeaways

  • Your default gateway is the IP address of your router, and it acts as the exit point for all traffic leaving your home network.
  • Most home routers use an IP address in the 192.168.x.x range, and your device learns this address automatically when you connect.
  • You can find your default gateway by checking your network settings on Windows, Mac, or mobile devices, or by looking at a sticker on your router itself.
  • If your default gateway is unreachable or missing from your network settings, your internet will not work, even if your Wi-Fi signal is strong.

How to find your default gateway on Windows

On a Windows computer, open the Command Prompt and type ipconfig, then press Enter. Look for the line that says "Default Gateway" — that IP address is what you are looking for. You will see it listed under whichever network connection you are using (Ethernet or Wi-Fi). If the field is blank or says "N/A", your computer has not received a gateway address, which means it cannot reach the internet.

If you prefer not to use the command line, you can also find it through Settings. Go to Settings > Network & Internet > Wi-Fi (or Ethernet), select your connection, and scroll down to "Properties". The default gateway will be listed under "IPv4 settings".

How to find your default gateway on Mac and Linux

On a Mac, open Terminal and type netstat -nr | grep default, then press Enter. The first column will show your default gateway IP address. Alternatively, go to System Preferences > Network, select your active connection, and click "Advanced". The gateway address appears under the "TCP/IP" tab.

On Linux, open a terminal and type ip route or route -n. The line marked "default via" shows your gateway address. Different distributions may display this slightly differently, but the gateway IP will always be listed in the routing table.

How to find your default gateway on phones and tablets

On an iPhone or iPad, go to Settings > Wi-Fi, tap the information icon next to your network name, and look for "Router". That address is your default gateway. On Android, go to Settings > Wi-Fi, long-press your connected network, tap "Manage", and look for "Gateway" in the IP settings section. The exact path varies by manufacturer and Android version, but the gateway is always listed in the Wi-Fi network details.

Mobile devices do not usually display this information as prominently as computers do, because most people never need to check it. But if you are troubleshooting a connection problem or setting up a device that requires manual network configuration, knowing how to find it on your phone is useful.

What the default gateway IP address tells you about your network

The default gateway address reveals which router is managing your network. If you see 192.168.1.1, you know your router is using that address. If you see 10.0.0.1 or 172.16.x.x, your router is using a different private IP range — all three are valid, and the choice depends on how the router was configured. The important thing is that all devices on your network should have the same default gateway, because they all need to route through the same router to reach the internet.

If two devices on the same Wi-Fi network show different default gateways, one of them is not actually on your network, or your network has a configuration problem. This is rare in home setups but can happen if you have multiple routers or if a device is somehow connecting to a neighbour's network instead of yours.

When your default gateway is missing or unreachable

If your device shows no default gateway, or if you can see the gateway address but cannot reach it, your internet will not work. A missing gateway usually means your device did not receive network settings from the router — try disconnecting and reconnecting to Wi-Fi, or unplugging and replugging your ethernet cable. Restart your router by unplugging it for 30 seconds, then plugging it back in.

If the gateway is still unreachable after a restart, the problem may be with the router itself. Try connecting a different device to the same network — if that device can reach the internet, the issue is with your first device's network settings. If no devices can reach the internet, the router may have lost power, lost its internet connection from your ISP, or developed a hardware problem. Check that all cables are plugged in firmly, and look for lights on the router that indicate it is powered on and connected.

Why you might need to log into your default gateway

Sometimes you need to access your router's settings to change your Wi-Fi password, restart it, or adjust security settings. To do this, you open a web browser and type your default gateway address into the address bar — for example, 192.168.1.1. This takes you to your router's login page, where you enter a username and password (usually "admin" and "admin" or "admin" and the password on a sticker on the router).

Knowing your default gateway address makes this process straightforward. If you do not know the address, you can always find it using the methods described above, or you can look for a sticker on the back or bottom of your router — most manufacturers print the default gateway address there.

Frequently Asked Questions

What is the difference between a default gateway and a DNS server?

Your default gateway is the physical router that forwards your traffic to the internet. A DNS server is a separate computer that translates website names (like google.com) into IP addresses. You need both: the gateway to route your data, and DNS to know where to send it. Your router usually provides DNS automatically, but they are two different things.

Can I change my default gateway address?

You can change the IP address your router uses, but this is rarely necessary and can break things if done incorrectly. Most people should leave it at the factory default. If you have a specific reason to change it, you would do so in your router's settings page, but this is advanced configuration that most home users never need.

Why do some networks use 192.168.1.1 and others use 192.168.0.1?

Different router manufacturers choose different default addresses. Both are valid private IP addresses, and the choice is arbitrary. Your router's manual or the sticker on the device will tell you which one it uses. As long as all your devices on that network see the same gateway, it does not matter which one it is.

Is my default gateway address a security risk?

Your default gateway address is only visible to devices already on your network or to someone who can see your traffic. Knowing the address alone does not let someone access your router — they would still need the login password. Keep your router's default password changed to something strong, and your gateway address is not a security concern.

What if my device shows a default gateway but I still cannot access the internet?

A reachable gateway does not may provide internet access — your router itself might not be connected to your ISP, or there might be a problem with your ISP's service. Check that the cable from your modem to your router is plugged in, and that your modem shows lights indicating it has an active connection. If those are fine, contact your ISP to check whether there is an outage in your area.