Your gateway address is the IP address of the device that connects your computer to the rest of the network and the internet

On most home networks, this is your router. The gateway address tells your computer where to send data that is headed outside your local network. You need it when you are troubleshooting connection problems, setting up a VPN, or configuring network security tools. The steps to find it differ slightly depending on whether you use Windows, Mac, or Linux.

Finding your gateway address takes less than a minute and requires no special software or administrator access on most systems. The address itself looks like 192.168.1.1 or 10.0.0.1 — a series of four numbers separated by periods, usually starting with 192.168 or 10.0 on a home network.

Key Takeaways

  • Your gateway address is the IP address of your router, the device that connects your computer to the internet.
  • On Windows, open Command Prompt and type ipconfig, then look for the line labeled "Default Gateway".
  • On Mac, open System Settings, go to Network, select your connection, and look for "Router" in the TCP/IP tab.
  • On Linux, open a terminal and type ip route or route -n to see your gateway listed as "default via".
  • Your gateway address is usually printed on a sticker on the back or bottom of your router if you need to verify it.

Finding your gateway 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 on your screen.

Look for the section labeled "Ethernet" if you are connected with a cable, or "Wireless LAN adapter" if you are using Wi-Fi. Under that section, find the line that says Default Gateway. The IP address next to it is your gateway address. It will look something like 192.168.1.1 or 192.168.0.1.

If you see multiple network adapters listed, check the one that shows an IP address under "IPv4 Address" — that is the one currently connected to your network. The gateway for that adapter is the one you need.

Finding your gateway on Mac

Click the Apple menu in the top-left corner and select System Settings. Click Network in the left sidebar. Select the network connection you are using — either Wi-Fi or Ethernet — and click the Details button.

Click the TCP/IP tab at the top of the window. Look for the line labeled Router. The IP address shown there is your gateway address.

If you do not see a Details button, your connection may be listed differently. In that case, select your connection from the list on the left, and the router address should appear in the main panel on the right side of the window.

Finding your gateway on Linux

Open a terminal window. Type ip route and press Enter. Your gateway address will appear on the first line, after the word default via. For example, you might see default via 192.168.1.1 dev eth0 — in this case, 192.168.1.1 is your gateway.

If the ip route command does not work on your system, try route -n instead. Look for the line where the destination is 0.0.0.0 or default. The IP address in the "Gateway" column is your gateway address.

Verifying your gateway address against your router

Once you have found your gateway address on your computer, you can verify it is correct by checking your router itself. Look for a sticker on the back, bottom, or inside the battery compartment of your router. This sticker usually lists the router's IP address, along with the default username and password.

The IP address on the sticker should match the gateway address you found on your computer. If it does not match, your computer may be connected to a different network than you thought, or there may be a configuration problem. If the addresses do match, you have confirmed your gateway address is correct.

What to do if you cannot find your gateway address

If you followed the steps above and did not see a gateway address, check that your computer is actually connected to the network. Look for a network icon in your system tray or menu bar — it should show a connected status, not a disconnected or warning icon.

If you are connected but still do not see a gateway address, restart your computer and try again. Sometimes network information does not display correctly until after a restart. If the problem continues, restart your router by unplugging it for 30 seconds, then plugging it back in and waiting for it to fully boot up.

If you are on a work or school network, your gateway address may be configured differently than on a home network. Ask your IT department or network administrator for your gateway address — they can provide it directly rather than you having to find it yourself.

Why you might need your gateway address

The most common reason to find your gateway address is to log into your router's settings. You type the gateway address into a web browser's address bar, and it takes you to the router's configuration page. From there, you can change your Wi-Fi password, restart the router, or adjust security settings.

You also need your gateway address when setting up certain security tools, VPNs, or network monitoring software. Some of these programs ask for your gateway address so they can monitor or control traffic leaving your network. Network troubleshooting tools sometimes ask for it as well when you are trying to diagnose connection problems.

Frequently Asked Questions

Is my gateway address the same as my router's IP address?

Yes, on a home network they are the same thing. Your gateway is the router, and the gateway address is the router's IP address on your local network. On larger networks, a gateway might be a different device, but for home and small office networks, they are identical.

Can I change my gateway address?

You can change your router's IP address by logging into the router's settings and modifying the LAN IP address. However, this is rarely necessary and can cause problems if you do not know what you are doing. Most people should leave the default gateway address as it is.

Why do different computers show different gateway addresses?

They should not, if they are all on the same network. If two computers show different gateway addresses, one of them may be connected to a different network — perhaps a guest network, a work VPN, or a different router. Check which network each computer is connected to.

What if my gateway address starts with a number other than 192 or 10?

Some networks, particularly at workplaces or schools, use different IP ranges. Addresses starting with 172 are also common. As long as the address is in the format of four numbers separated by periods, it is a valid gateway address. The specific numbers depend on how your network is configured.

Do I need to write down my gateway address?

You do not need to memorize it, but it can be helpful to write it down and keep it somewhere safe, like a notebook or password manager. You will need it if you ever want to log into your router's settings to change your Wi-Fi password or troubleshoot network problems.