What your default gateway is and why you need it
Your default gateway is the device that connects your home network to the internet — almost always your router. When you need to change your Wi-Fi password, set up port forwarding, or check which devices are connected to your network, you log into your router by typing its gateway address into a web browser. That address is a four-part number like 192.168.1.1 or 192.168.0.1.
Finding this address takes under a minute on any device already connected to your network. You do not need to restart anything or open any special software. The address is built into your operating system and waiting for you to look at it.
Key Takeaways
- Your default gateway is your router's address on your home network, and you need it to log in and change router settings.
- On Windows, open Command Prompt and type ipconfig, then look for the line labeled "Default Gateway" under your active connection.
- On Mac, go to System Settings, choose Network, select your Wi-Fi connection, and click Details to see the router address.
- On iPhone or iPad, open Settings, tap Wi-Fi, select your network name, and scroll down to see the router address next to "Router".
- Once you have the address, type it into any web browser's address bar to reach your router's login page.
Finding your gateway on Windows
Open Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. A black window will appear with a blinking cursor.
Type ipconfig and press Enter. You will see a block of text with information about your network connection. Look for the section labeled with your connection type — usually "Ethernet adapter" if you are plugged in with a cable, or "Wireless LAN adapter" if you are on Wi-Fi.
Inside that section, find the line that says Default Gateway. The number next to it is what you need. It will look something like 192.168.1.1 or 10.0.0.1. Write it down or copy it, then close Command Prompt.
Finding your gateway on Mac
Click the Apple menu in the top-left corner and select System Settings. On the left side, click Network.
You will see your Wi-Fi network listed. Click on it, then click the Details button in the bottom-right corner. A new window opens showing your network information.
Look for the line labeled Router. The address next to it is your default gateway. Close this window when you have written it down.
Finding your gateway on iPhone or iPad
Open the Settings app and tap Wi-Fi. Find the network you are connected to and tap the information icon (a circle with an "i" inside it) next to the network name.
Scroll down and look for the line labeled Router. The address shown there is your default gateway. You can tap and hold it to copy the address if you want to paste it elsewhere.
Finding your gateway on Android
Open Settings and tap Network and Internet or Connections — the exact name varies by phone maker. Tap Wi-Fi.
Find your connected network and tap on it. Look for a section labeled Advanced or IP Settings. Your gateway address will be listed there, often labeled as Gateway or Router.
What to do once you have your gateway address
Open any web browser on a device connected to your network. In the address bar at the top, type your gateway address exactly as it appeared — for example, 192.168.1.1 — and press Enter.
Your router's login page will appear. You will be asked for a username and password. If you have never changed these, they are usually printed on a sticker on the back or bottom of your router, or in the manual that came with it. Common defaults are admin/admin or admin/password, but this varies by manufacturer.
Once you are logged in, you can change your Wi-Fi password, see which devices are connected, adjust security settings, or make other changes to your network. The exact menu layout depends on your router model, but most routers organize these options in a similar way.
Frequently Asked Questions
What if I see multiple default gateways in ipconfig?
You will see one gateway for each network connection on your computer. If you are connected to Wi-Fi, use the gateway under the "Wireless LAN adapter" section. If you are plugged in with an ethernet cable, use the one under "Ethernet adapter". Ignore any that show 0.0.0.0 or are listed under disconnected adapters.
Can I use my phone's gateway address on my computer?
Yes. Your phone and your computer are on the same network, so they share the same router and the same gateway address. If you found the address on your phone, you can type it into your computer's browser.
What if the gateway address does not work in my browser?
Make sure you typed it exactly as it appeared, with no extra spaces. Try typing it with http:// in front, like http://192.168.1.1. If your router uses a different address format, check the sticker on the back of your router or your router's manual for the correct web address.
Is my default gateway the same as my IP address?
No. Your IP address is your device's address on the network. Your default gateway is your router's address. You can see both in the ipconfig or network settings — your IP address is usually listed as "IPv4 Address" and will be different from the gateway.