What a gateway address is and why you need it

Your gateway address is the IP address of the device that connects your home network to the internet — usually your router. When your computer or phone sends data outside your home network, it goes through the gateway first. Finding this address matters because it's where you log in to change your Wi-Fi password, see which devices are connected, or adjust security settings.

The gateway address is also called the default gateway or sometimes the router's IP address. It's a four-part number like 192.168.1.1 or 192.168.0.1. Most home routers use one of a handful of standard addresses, but the exact one depends on your router's manufacturer and how it was set up.

Key Takeaways

  • Your gateway address is printed on a sticker on the back or bottom of your router, usually labeled "Default Gateway" or "Router IP".
  • On Windows, you can find it by opening Command Prompt and typing ipconfig, then looking for "Default Gateway" in the results.
  • On Mac or Linux, open Terminal and type netstat -nr | grep default to see your gateway address.
  • Once you have the address, type it into your web browser's address bar to log into your router's settings page.
  • If you can't find the address, restarting your router and checking its documentation or manufacturer's website will usually reveal it.

Finding the gateway address on the router itself

The fastest way to find your gateway address is to look at the router. Most routers have a sticker on the back or bottom that lists the default gateway, usually printed as "Default Gateway", "Router IP", or "Gateway Address". The address will be four numbers separated by periods, like 192.168.1.1.

If the sticker is missing or worn away, check the router's documentation — the manual or the box it came in. You can also visit the manufacturer's website and search for your router model number (printed on the device itself). The default gateway address is almost always listed in the setup guide or specifications.

Finding the gateway address on Windows

Open Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. Type ipconfig and press Enter. A list of network information will appear.

Look for the section labeled "Ethernet" (if you're using a wired connection) or "Wireless LAN adapter Wi-Fi" (if you're using Wi-Fi). Under that section, find the line that says "Default Gateway". The number next to it is your gateway address. Write it down or remember it — you'll need it to log into your router.

Finding the gateway address on Mac

Open Terminal by pressing Command and Space, typing terminal, and pressing Enter. Type netstat -nr | grep default and press Enter.

The first line of results will show your default gateway. It's the IP address that appears after the word "default" in the output. This is the address you'll use to access your router's settings page.

Finding the gateway address on Linux

Open a terminal window. Type ip route | grep default and press Enter. Your default gateway address will appear in the output after the word "default" and before the word "dev".

If that command doesn't work, try route -n instead. Look for the line with "0.0.0.0" in the Destination column — the address in the Gateway column is your default gateway.

What to do once you have the gateway address

Once you have your gateway address, open a web browser and type it into the address bar at the top, just as you would type a website URL. Press Enter. Your router's login page should appear.

You'll be asked for a username and password. The default is usually "admin" for both, but check your router's sticker or manual to be sure. Once you're logged in, you can see connected devices, change your Wi-Fi password, update security settings, or restart the router if needed.

If the login page doesn't appear, make sure you're connected to your network (either by Wi-Fi or ethernet cable) and that you typed the address correctly. If you still can't reach it, try restarting your router by unplugging it for 30 seconds, plugging it back in, and waiting two minutes for it to fully start up.

Troubleshooting when you can't find the gateway address

If none of the methods above work, restart your router and try again. Sometimes network information doesn't display correctly until the router has fully restarted. Unplug the router, wait 30 seconds, and plug it back in.

If you're still stuck, contact your internet service provider. They can tell you what your gateway address should be, or they may be able to reset it remotely. You can also check your router manufacturer's support website — search for your router model and "default gateway" to find documentation specific to your device.

Frequently Asked Questions

Is the gateway address the same as my public IP address?

No. Your gateway address is a private address used only inside your home network. Your public IP address is assigned by your internet service provider and is what websites see when you visit them. The gateway is the device that translates between the two.

Can I change my gateway address?

You can change it through your router's settings page, but there's usually no reason to. The default address works fine for most people. Changing it can cause connection problems if you don't know what you're doing, so leave it alone unless you have a specific reason to change it.

What if I see multiple gateway addresses?

If you're connected to both Wi-Fi and ethernet at the same time, you might see two gateway addresses. They should be the same number — both pointing to your router. If they're different, you may have two routers on your network, which is unusual for a home setup.

Do I need the gateway address to connect to Wi-Fi?

No. You only need the gateway address if you want to log into your router to change settings. To connect to Wi-Fi normally, you just need the Wi-Fi network name and password.