What a gateway IP address is and why you need it
Your gateway IP address is the address of the device that connects your home network to the internet — usually your router. When your computer sends data outside your home network, it goes through the gateway first. Finding this address matters because you may need it to log into your router's settings, troubleshoot network problems, or configure devices on your network.
The gateway address is almost always your router's address. It typically looks like 192.168.1.1 or 192.168.0.1, though it can vary depending on your router's make and model. You do not need special software or technical knowledge to find it — your operating system can show it to you in a few clicks.
Key Takeaways
- Your gateway IP address is your router's address, and you can find it through your operating system's network settings without logging into the router itself.
- On Windows, open Command Prompt and type ipconfig, then look for the line labeled "Default Gateway" under your active network connection.
- On Mac, go to System Settings, select Network, choose your active connection, and click Details to see the router address listed as "Router".
- On Linux, open a terminal and type ip route or route -n, then look for the line that says "default via" followed by an IP address.
- If you see multiple gateway addresses or none at all, your network connection may be misconfigured or your router may not be responding.
Finding your gateway on Windows
Open the Start menu and type cmd into the search box. Click on "Command Prompt" when it appears. A black window will open with a blinking cursor.
Type ipconfig and press Enter. The screen will fill with network information. Look for the section labeled with your network name — it might say "Ethernet adapter" if you are plugged in with a cable, or "Wireless LAN adapter" if you are on Wi-Fi. Under that section, find the line that says "Default Gateway" followed by a series of numbers. That number is your gateway IP address.
If you see multiple network sections and are not sure which one is active, look for the one that has an "IPv4 Address" listed — that is the connection your computer is currently using. The Default Gateway directly below it is the one you need.
Finding your gateway on Mac
Click the Apple menu in the top-left corner and select "System Settings". In the left sidebar, click "Network". You will see a list of connection types — select the one you are currently using, either "Wi-Fi" or "Ethernet".
Once you have selected your connection, click the "Details" button on the right side of the window. A new panel will open. Look for the line labeled "Router" — the IP address next to it is your gateway address. It will be in the same format as the Windows example: something like 192.168.1.1.
If the Details button is grayed out or does not appear, your connection may not be active. Make sure you are actually connected to your network before checking.
Finding your gateway on Linux
Open a terminal window. The method varies by desktop environment, but you can usually right-click on the desktop and select "Open Terminal" or search for "Terminal" in your applications menu.
Type ip route and press Enter. Look at the output for a line that begins with "default via" followed by an IP address. That address is your gateway. For example, you might see "default via 192.168.1.1 dev wlan0" — 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 with "0.0.0.0" in the Destination column — the address in the Gateway column on that line is your gateway IP address.
What to do if you cannot find a gateway address
If you run the command for your operating system and see no gateway address listed, your computer may not be connected to the network properly. Check that your Wi-Fi is turned on or your Ethernet cable is plugged in, then run the command again.
If you are connected but still see no gateway, your router may not be responding. Restart your router by unplugging it for 30 seconds, then plugging it back in. Wait two minutes for it to fully start up, then run the command again.
If you see multiple gateway addresses listed, you may have multiple network connections active. Disconnect from any VPN software or secondary networks you are not using, then check again. The gateway for your main home network is the one you need for router access.
Using your gateway address to access your router
Once you have your gateway IP address, you can use it to log into your router's settings. Open a web browser and type the gateway address into the address bar — for example, type 192.168.1.1 and press Enter. Your router's login page should appear.
You will need your router's username and password to proceed. These are usually printed on a sticker on the back or bottom of the router. If you have changed the password and cannot remember it, you can reset the router to factory settings by holding down the reset button for 10 seconds, though this will erase any custom settings you have made.
Do not log into your router unless you have a specific reason — changing Wi-Fi password, updating firmware, or troubleshooting a connection problem. Unnecessary changes to router settings can cause network problems.
Frequently Asked Questions
Why does my gateway address start with 192.168 or 10.0?
These are private IP address ranges reserved for home and office networks. Your router uses one of these ranges for devices on your local network. The specific range depends on your router's manufacturer and how it was configured, but both are normal and find.
Is my gateway address the same as my internet IP address?
No. Your gateway address is your router's address on your home network. Your internet IP address is the address your internet service provider assigns to your router, and it is visible to websites you visit. You can see your internet IP by searching "what is my IP" in a web browser.
Can I change my gateway IP address?
You can change it through your router's settings, but there is no reason to unless you are experiencing a conflict with another device. Changing it can break devices that are configured to use the old address. Leave it at the default unless a technician tells you otherwise.
What if I forgot my router's login password?
You can reset your router to factory settings by holding the small reset button on the back for 10 seconds while it is powered on. This erases your Wi-Fi password and all custom settings, so you will need to set up your network again from scratch. The default username and password are usually printed on the router itself.
Do I need my gateway address to connect to Wi-Fi?
No. Your gateway address is only needed if you want to log into your router's settings. To connect to Wi-Fi, you only need your network name and Wi-Fi password, which are separate from the gateway address.