What your default gateway is and why you need it
Your default gateway is the device that connects your home network to the internet — usually your router. When you need to log into your router to change security settings, check connected devices, or troubleshoot a connection problem, you enter the gateway's address into a web browser. That address is almost always printed on a sticker on the router itself, but if the sticker is worn or missing, you can find it in seconds from any device already on your network.
The address looks like 192.168.1.1 or 192.168.0.1 — a set of four numbers separated by periods. Different router brands use different defaults, and some networks use custom addresses, so checking your actual device is faster and more reliable than guessing.
Key Takeaways
- Your default gateway address is printed on a sticker attached to your router, usually on the bottom or back.
- On Windows, open Command Prompt and type ipconfig, then look for the line labeled "Default Gateway" in the results.
- On Mac, open System Preferences, select Network, choose your connection, and click Advanced — the gateway address appears under TCP/IP.
- On iPhone or iPad, go to Settings, select your Wi-Fi network, and tap the information icon next to the network name to see the router address.
- On Android, open Settings, go to Wi-Fi, long-press your network name, and select Modify Network to view the gateway address.
Finding the address on the router itself
The fastest way is to look at the router. Flip it over or check the back panel for a white or silver sticker. The address is usually listed as "Gateway", "Router Address", "Default Gateway", or sometimes just a URL like 192.168.1.1. Write it down or take a photo with your phone.
If the sticker is missing or illegible, the address is still recoverable from any device connected to that network. The steps below work whether your router is a year old or ten years old, and whether it came from your internet provider or you bought it yourself.
Finding the gateway on a Windows computer
Open the Start menu and type cmd to find Command Prompt. Click it to open a black window. Type the word ipconfig (all lowercase) and press Enter. A list of information appears.
Look for a section labeled with your network name or "Ethernet" or "Wi-Fi". Scan down that section until you see a line that says Default Gateway followed by a series of numbers like 192.168.1.1. That number is your gateway address. You can close the Command Prompt window now.
If you see multiple sections (for example, one for Wi-Fi and one for Ethernet), look only at the section for the network you are currently using. The gateway address for the network you are on is the one you need.
Finding the gateway on a Mac
Click the Apple menu in the top-left corner and select System Preferences (or System Settings on newer Macs). Click Network. On the left side, select the network you are connected to — usually Wi-Fi or Ethernet.
Click the Advanced button in the bottom-right corner. A new window opens. Click the TCP/IP tab at the top. Look for the line labeled Router — the address next to it is your default gateway. Close the window when you have written it down.
Finding the gateway on iPhone or iPad
Open the Settings app. Tap Wi-Fi. Find the network you are connected to (it has a checkmark next to it) and tap the small information icon — a circle with an i inside — next to the network name. A details screen appears.
Scroll down to find the line labeled Router. The address next to it is your default gateway. You can take a screenshot or write it down.
Finding the gateway on Android
Open the Settings app. Tap Wi-Fi or Network and Internet depending on your phone model. Long-press (hold down) the name of the network you are connected to. A menu appears. Tap Modify Network or Edit.
A configuration screen opens. Look for Advanced Options or Show Advanced Options and tap it to expand that section. Scroll down to find Gateway or Router. The address shown is your default gateway. Close the screen when you have the address.
On some Android phones, the option is labeled IP Settings instead of Advanced Options. If you do not see Gateway or Router, try tapping DHCP to switch to Static — the gateway address often appears in the Static view.
What to do once you have the address
Open a web browser on any device connected to your network. Type the gateway address into the address bar at the top — for example, 192.168.1.1 — and press Enter. A login screen appears. This is your router's control panel, where you can change Wi-Fi passwords, see which devices are connected, update security settings, or restart the router if it is not working.
If the login screen does not appear, double-check that you typed the address correctly and that you are on the same network as the router. If you are on a guest network or a different Wi-Fi, you will not reach the router. Switch to the main network and try again.
Frequently Asked Questions
What if I see multiple default gateways in the ipconfig results?
You likely have both Wi-Fi and Ethernet connections. Look only at the section for the connection you are actually using right now. If you are on Wi-Fi, find the Wi-Fi section and use that gateway. If you are plugged in with an Ethernet cable, use the Ethernet gateway instead.
Can I change my default gateway address?
You can change the internal address your router uses, but it requires logging into the router and modifying network settings. Most people never need to do this. If your current address works, leave it as is — changing it can disconnect devices from your network.
Why does the gateway address start with 192.168?
Those numbers are reserved for private home and office networks. They cannot be used on the public internet, which is why every home router uses an address in that range. Your internet provider's equipment uses a different address to reach the wider internet.
What if the router login screen asks for a username and password I do not know?
Check the sticker on the router for default credentials — usually something like admin/admin or admin/password. If those do not work, you may need to reset the router to factory settings by holding the reset button for ten seconds, which erases all custom settings and returns it to defaults.
Is it safe to share my default gateway address with someone?
Sharing the address itself is harmless — it is just a number. But do not share the router login password with anyone you do not trust, because that password controls your entire network and internet connection.