Your gateway address is the IP address of your router — the device that connects your home network to the internet

Every device on your home network needs to know where to send data that's headed outside your network. That destination is your gateway address, which is almost always your router. Finding it takes less than a minute on any device, and you'll need it if you ever want to log into your router to check security settings, change your Wi-Fi password, or see what devices are connected.

The steps differ slightly depending on whether you use Windows, Mac, or Linux, but the information is always there — you just need to know where to look.

Key Takeaways

  • Your gateway address is your router's IP address on your local network, usually something like 192.168.1.1 or 10.0.0.1.
  • On Windows, open Command Prompt and type ipconfig, then look for the line labeled "Default Gateway".
  • On Mac, go to System Settings, choose Network, select your connection, and click Details — the gateway is listed there.
  • On Linux, open a terminal and type ip route or route -n to see your gateway in the output.
  • Once you have the address, you can type it into a web browser to access your router's settings page.

Finding your gateway on Windows

Open Command Prompt by pressing the Windows key, typing "cmd", and pressing Enter. A black window will open. Type ipconfig and press Enter. You'll see a block of information for each network connection on your computer.

Look for the section labeled "Ethernet" if you're connected with a cable, or "Wireless LAN adapter" if you're using Wi-Fi. Within that section, find the line that says "Default Gateway" — the number next to it is your gateway address. It will look something like 192.168.1.1 or 10.0.0.1.

If you see multiple network connections listed, find the one that shows an "IPv4 Address" starting with a number like 192.168 or 10.0 — that's the one connected to your home network, and its gateway is what you need.

Finding your gateway on Mac

Click the Apple menu in the top-left corner and select "System Settings". Click "Network" in the sidebar. You'll see a list of network connections on the left side — click the one you're currently using (usually "Wi-Fi" or "Ethernet").

Click the "Details" button in the window that appears. A new panel will open showing detailed network information. Look for the line labeled "Router" — that IP address is your gateway. Write it down or take a screenshot.

If you don't see a Details button, try clicking "Advanced" instead, then look for the TCP/IP tab at the top of the window that opens.

Finding your gateway on Linux

Open a terminal window. Type ip route and press Enter. You'll see output that includes a line starting with "default via" — the IP address after "via" is your gateway.

If that command doesn't work, try route -n instead. Look for the line where the "Destination" column shows "0.0.0.0" or "default" — the "Gateway" column on that line contains your gateway address.

Both commands show the same information in slightly different formats. Either one will give you the address you need.

What to do once you have your gateway address

Once you have the address, open a web browser on any device connected to your network and type the gateway address into the address bar — for example, 192.168.1.1 — and press Enter. Your router's login page should appear.

You'll be asked for a username and password. If you've never changed these, they're usually printed on a sticker on the back or bottom of your router. Common defaults are "admin" for both username and password, or "admin" with a blank password. If you've changed them before and don't remember, you can reset your router to factory defaults by holding down the reset button (usually a small recessed button) for 10 to 15 seconds.

Once logged in, you can see connected devices, change your Wi-Fi password, update security settings, or check for firmware updates. These settings are where you control who can access your network.

Why you might need this information

Knowing your gateway address lets you spot unauthorized devices on your network. If you log into your router and see a device you don't recognize, you can disconnect it or change your Wi-Fi password to force it to reconnect with the new password.

You also need the gateway address if you want to change your router's default password — something worth doing if you've never changed it, since many routers ship with the same username and password on thousands of devices. Changing it means only people you give the password to can access your router's settings.

Some people also need the gateway address to set up port forwarding or to configure their router for specific security features. The gateway address is straightforward the starting point for accessing any of these settings.

Frequently Asked Questions

Is my gateway address the same as my Wi-Fi password?

No. Your gateway address is the IP address of your router on your local network. Your Wi-Fi password is what you type into your phone or laptop to connect to the network. They're completely separate. You need the gateway address to log into your router and change the Wi-Fi password, but the password itself is not the gateway address.

What if I see multiple gateway addresses?

If you have multiple network connections (for example, both Ethernet and Wi-Fi), each one might show a different gateway. Use the gateway for whichever connection you're actually using. If you're on Wi-Fi, use the gateway from the Wi-Fi section. If you're plugged in with a cable, use the Ethernet gateway.

Can I change my gateway address?

Not in a practical sense. Your gateway address is assigned by your router and is part of how your home network is organized. You can log into your router and change its settings, but the gateway address itself is determined by your router's configuration. Most people never need to change it.

Is it safe to share my gateway address?

Your gateway address is not a secret — it's visible to anyone on your network and is part of normal network traffic. What matters is the password to log into your router. Never share that password with anyone you don't trust to access your network settings.