Your gateway IP is the address you type into your browser to reach your router's settings
Your gateway IP address is the local address of your router — the device that connects your home or office network to the internet. It's different from your public IP address (what websites see) and from individual device addresses. You need it when you want to change your Wi-Fi password, set up port forwarding, check connected devices, or troubleshoot network problems.
The gateway IP is almost always either 192.168.1.1 or 192.168.0.1. Most people find it by opening a web browser, typing one of these addresses into the location bar, and logging in with their router's username and password. If neither works, you can find the correct address by checking your device's network settings or the router's label.
Key Takeaways
- Your gateway IP is printed on a sticker on the back or bottom of your router, usually labeled "Default Gateway" or just "Gateway".
- The two most common gateway addresses are 192.168.1.1 and 192.168.0.1 — try these first in your browser's address bar.
- On Windows, you can find your gateway IP 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 listed next to "default".
- If you cannot remember your router's login password, you can reset it by holding the reset button for 10 to 15 seconds, though this erases all your settings.
Finding the gateway IP on the router itself
The easiest method is to look at your router. Flip it over or look at the back panel — there is a sticker with network information printed on it. This label lists the default gateway address, usually shown as "Gateway", "Default Gateway", or sometimes just an IP address like 192.168.1.1. The same sticker normally shows the default username and password you will need to log in.
If the sticker is worn or missing, check the router's manual or the manufacturer's website. Search for your router model number (printed on the device) plus "default gateway" and you will find the address. Common manufacturers include Netgear, TP-Link, Linksys, and Arris — each publishes this information online.
Finding the gateway IP on Windows
Open Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. In the black window that opens, type ipconfig and press Enter. A list of network information appears. Look for the section labeled with your network name or "Ethernet" if you are wired. Next to "Default Gateway" you will see an IP address — that is your gateway.
Write down the address shown. If you see multiple network sections (for example, one for Wi-Fi and one for Ethernet), check the one that is currently active — the one showing an IP address under "IPv4 Address" that is not all zeros.
Finding the gateway IP on Mac
Open Terminal by pressing Command and Space, typing terminal, and pressing Enter. Type netstat -nr | grep default and press Enter. The output shows one or more lines starting with "default". The IP address in the second column of that line is your gateway.
Alternatively, you can go to System Preferences, click Network, select your active connection (Wi-Fi or Ethernet), and click Advanced. The gateway address appears under the TCP/IP tab, labeled "Router".
Finding the gateway IP on Linux
Open a terminal window. Type ip route show and press Enter. Look for the line that starts with "default via" — the IP address immediately after "via" is your gateway. On some systems, you can also type route -n and look for the line with "0.0.0.0" in the Destination column; the Gateway column on that line shows your gateway IP.
If neither command works, type nmcli device show and search the output for "IP4.GATEWAY" — the address listed there is your gateway.
Logging in to your router with the gateway IP
Once you have the gateway address, open a web browser on any device connected to your network. Type the address into the location bar — for example, 192.168.1.1 — and press Enter. A login page appears asking for a username and password. These are usually printed on the router's sticker: often "admin" and "admin", or "admin" and the router's serial number.
If the login page does not appear, make sure you are connected to the correct network (the one your router broadcasts) and that you typed the address correctly. Try the other common address (192.168.0.1) if the first one does not work. If you still cannot reach it, restart your router by unplugging it for 30 seconds and plugging it back in, then try again.
What to do if you cannot access your gateway
If you have tried both common addresses and neither works, your router may use a non-standard gateway IP. Go back to your device's network settings using the methods above (ipconfig on Windows, netstat on Mac, or ip route on Linux) and verify the exact address listed. Type that address into your browser.
If you have forgotten your router's login password and cannot access the settings, you can reset the router to factory defaults. Locate the small reset button (usually recessed into the case) and hold it down with a paperclip or pen for 10 to 15 seconds while the router is powered on. The lights will flash and the router will restart. After reset, use the default username and password from the sticker. Note that resetting erases all your custom settings, including Wi-Fi password changes and port forwarding rules.
Frequently Asked Questions
Is my gateway IP the same as my public IP address?
No. Your gateway IP is a private address used only on your local network — it never leaves your home or office. Your public IP is assigned by your internet provider and is what websites see when you visit them. You can find your public IP by searching "what is my IP" in any search engine.
Why do I need to know my gateway IP?
You need it to access your router's settings page, where you can change your Wi-Fi password, restart the router, set up port forwarding, see which devices are connected, or adjust security settings. Without the gateway address, you cannot reach these controls.
Can I change my gateway IP address?
Most home routers do not allow you to change the gateway IP — it is set by the manufacturer. In business networks, administrators can change it, but this requires advanced configuration and can break network connections if done incorrectly. For a home network, there is no practical reason to change it.
What if my gateway IP is not 192.168.1.1 or 192.168.0.1?
Some routers use different private IP ranges, such as 10.0.0.1 or 172.16.0.1. Check your router's sticker or use the command-line methods (ipconfig, netstat, or ip route) to find the exact address your router uses. Once you know it, type it into your browser the same way.
Do I need to be an administrator to find my gateway IP?
No. Finding your gateway IP using network settings or command-line tools requires no special permissions on Windows, Mac, or Linux. Logging into your router's settings page may require the admin password, but that is set by whoever configured the router, not by your operating system.