Skip to content

How to find your router's IP address on Windows, Mac, iPhone and Android

The Net Fix · Updated · 12 min read

The short answer

Your router's IP address is the default gateway of any device on your network. On Windows, open Command Prompt, type ipconfig and read the Default Gateway line. On an iPhone, go to Settings, Wi-Fi, tap the Info button beside your network and read Router. On a Mac or Linux, run a route command in Terminal. Type that address into a browser to reach the router's settings. The Net Fix speed and lag test is a good next step once you are in.

  • The router address is also called the default gateway or gateway. It is a private address, usually written like 192.168.1.1, 192.168.0.1 or 10.0.0.1, but yours can differ.
  • Windows: Command Prompt, ipconfig, read Default Gateway. iPhone and iPad: Settings, Wi-Fi, Info button, Router. Mac and Linux: a route command in Terminal.
  • Android menus differ by phone maker, so look under the connected Wi-Fi network's details for Gateway or Router.
  • Type the address into a web browser's address bar to open the router's login page. You will need the router's admin password, which is on its label or set by whoever installed it.
  • The router address is not the number a website sees for you. That one is your public IP, and it is a different address.
  • If the address does not open, you may be on the wrong network, on a guest network or behind a second router (double NAT). The steps below cover each case.

What is a router's IP address?

Every device on your home network has a local address, and the router has one too. The router's local address is the one your devices send traffic to when the destination is outside the house, which is why Windows calls it the default gateway. It is also where the router's settings page lives: the small web server built into the router answers at that address, so typing it into a browser opens the login screen.

Home routers almost always use a private address. RFC 1918 sets aside three address blocks for private networks: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, and 192.168.0.0 to 192.168.255.255. Anything you see in those ranges is a local address that exists only inside your network. That is why the same number, such as 192.168.1.1, can be the router in millions of homes at once.

The three private ranges your router address will be in
RangeBlock sizeWhat you will often see
10.0.0.0 to 10.255.255.255 (10/8)About 16.8 million addressesAddresses starting 10., such as 10.0.0.1
172.16.0.0 to 172.31.255.255 (172.16/12)About 1 million addressesLess common at home
192.168.0.0 to 192.168.255.255 (192.168/16)65,536 addressesAddresses starting 192.168., such as 192.168.1.1 or 192.168.0.1

The block sizes are calculated from the prefix lengths in RFC 1918. The common examples are only examples: a router can be set to almost any private address, and a mesh system or a provider's gateway may pick its own. Read the real address from your own device rather than guessing.

How do I find my router's IP address on Windows?

  1. Press the Windows key, type cmd and press Enter to open Command Prompt. PowerShell and Windows Terminal also work.
  2. Type ipconfig and press Enter. Microsoft's documentation says that, used without parameters, ipconfig displays the IPv4 and IPv6 addresses, subnet mask and default gateway for all adapters.
  3. Find the adapter you are using: Wireless LAN adapter Wi-Fi if you are on Wi-Fi, or Ethernet adapter Ethernet if you are on a cable.
  4. Read the Default Gateway line under that adapter. The IPv4-looking address (four numbers separated by dots) is your router.

The output looks like this. The addresses here are an illustration, not yours:

If the output lists several adapters, ignore the ones with no Default Gateway or marked as disconnected. Virtual adapters from VPN software, Hyper-V or WSL can show up as extra entries with their own gateway, and those are not your router. Pick the adapter that has your current IPv4 address and is the one connected to your Wi-Fi or cable. Run ipconfig /all if you want the full configuration for every adapter.

You can also get it from the settings: Settings, Network and internet, Wi-Fi (or Ethernet), then your network's properties. The IPv4 default gateway is listed in the details. The menu names change slightly between Windows 10 and Windows 11, so the ipconfig command is the quicker and more reliable route.

How do I find my router's IP address on an iPhone or Android phone?

On an iPhone or iPad, Apple's platform support guide tells you to go to Settings, then Wi-Fi, and tap the Info button next to the network, then check the IP address, subnet mask and router information. The address next to Router is your router's. Make sure you are on your home Wi-Fi network and not on mobile data, because mobile data has no router in your home.

On Android the menus differ by phone maker and version, so there is no single path. Open Settings, go to Wi-Fi or Network and internet, tap the network you are connected to (often a gear or arrow icon), and look for the details. The router address appears as Gateway or Router, and on some versions you have to open Advanced first. If you cannot find it, read it from a laptop on the same Wi-Fi instead: the result is the same router.

Where to look on each device
DeviceWhereLabel to read
Windows 10 and 11Command Prompt: ipconfigDefault Gateway
iPhone and iPadSettings, Wi-Fi, Info button next to your networkRouter
AndroidSettings, Wi-Fi, your network's details (menu names vary)Gateway or Router
MacNetwork settings for your Wi-Fi or Ethernet connection, or TerminalRouter, or the gateway line in Terminal
LinuxTerminal: ip routeThe address after default via

How do I find my router's IP address on a Mac or Linux?

On a Mac, open System Settings, choose Wi-Fi (or Ethernet), open the details for your network and look for the Router entry on the TCP/IP tab. The exact layout changes between macOS versions and we could not open an official Apple page for the current one, so if you do not see it, use Terminal, which is the same on every version.

  1. Press Command and Space, type Terminal and press Enter.
  2. Type route -n get default and press Enter. The FreeBSD manual for route explains that get displays the route for a destination and that default means the default route, and the -n option keeps the output as numbers.
  3. Read the line that starts with gateway. That address is your router.

On Linux, type ip route in a terminal. The Linux manual describes the output as the routing table, and a line starting default via followed by an address names the next-hop router. A line such as default via 192.168.1.1 dev wlan0 means the router is 192.168.1.1 and your device reaches it over wlan0.

How do I open my router's settings page?

  1. Connect to the router by Wi-Fi or, better, a cable. A cable keeps working even if you change a Wi-Fi setting and disconnect yourself.
  2. Open a web browser and type the router address into the address bar, for example 192.168.1.1, then press Enter. Type it in the address bar, not in the search box, so the browser does not run a web search.
  3. Sign in. The admin username and password are usually on a label on the router or in the paperwork from whoever installed it. We do not list default logins here: they differ by maker and many routers force you to create your own during setup.
  4. If the browser warns the connection is not private, that is common, because routers use a self-signed certificate or plain http. It is normal for your own router on your own network, and not for a site you reached over the internet.
  5. Write down any setting before you change it, so you can undo it.

Once you are in, the pages worth knowing for lag are the QoS or Smart Queue page, the Wi-Fi band and channel settings, and the firmware update page. The bufferbloat fix guide shows what to set, and the router pages cover the menus for specific brands such as ASUS, TP-Link and UniFi.

Why won't my router's IP address open?

If you typed the right address and nothing loads, work down this table. Most cases are one of the first three.

Router page will not open: causes and fixes
What you seeMost likely causeWhat to do
Page times outYou are on mobile data, a guest network or a VPNTurn off mobile data and the VPN, and join the main network
Page times out on a different address than ipconfig showedYou typed the address from memory and it is wrongRun ipconfig (or the Mac or Linux command) again and copy the gateway exactly
The address belongs to a different deviceA second router or provider gateway sits in front of yours (double NAT)Check the other address; see the double NAT guide
Browser says the site is not secureThe router uses http or a self-signed certificateContinue to the page on your own router only
Page loads but the login failsYou do not have the admin passwordCheck the router label; a factory reset erases every setting, so use it last
No Default Gateway line at allThe device is not connected to a networkReconnect to Wi-Fi or plug the cable in, then run the command again
Only a mesh app, no web pageSome mesh systems are managed from a phone appUse the app; the web page may not exist

Double NAT deserves a note, because it makes finding the right router confusing. If you have a provider gateway and your own router behind it, your device's gateway is the one it is directly plugged into, and the provider's is a second address one step further out. The double NAT guide explains how to tell, and the Xfinity and Spectrum and Cox guides cover the bridge mode steps.

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

No. The router has two sides. The inside, or local, address is the private one you just found, and it is only meaningful inside your home. The outside, or public, address is the one your provider assigns, and it is the address websites see. Searching for your IP address in a search engine, or using the IP lookup tool, shows the public one. Typing the public address into your browser will not open your router's login page and is not what you want here.

Some providers share one public address between many customers, which is called carrier-grade NAT. In that case the public address is not even unique to you. That does not change anything about finding your router, because the local gateway address you read from your own device is still correct.

Why do I need my router's IP address?

There are three common reasons, and they are all about the home network, not the internet line. The first is to change a router setting, such as Smart Queue, the Wi-Fi channel, or a port forward for a game. The second is to run a ping test against the router as the first step of a diagnosis: if the router answers fast but 1.1.1.1 does not, the problem lies beyond your home. The ping guide shows how to run that test. The third is to check what is connected, so you can find a device that is using the bandwidth; the bandwidth guide covers it.

If you only want to test your connection, you do not need the router at all. The speed and lag test measures ping under load and grades the result, and the Wi-Fi fix page covers wireless problems. Open the router page only when a test tells you a router setting is the fix.

What should I be careful about in the router settings?

  • Change only one thing at a time and test after each change, so you know which one helped or hurt.
  • Never share your router's admin password or a screenshot that shows it. Use a long password of your own, not the one printed on the label, if the router allows it.
  • Do not turn on remote management (access from the internet) unless you need it. Leaving it off keeps the login page reachable from inside your home only.
  • Update the firmware from the router's own update page or the maker's official site, not from a link sent in a message.
  • A factory reset erases the Wi-Fi name and password, the provider login and every other setting. Treat it as a last resort and note your settings first.
  • If a page asks for your payment details, or an email tells you to log into your router at an unfamiliar web address, stop. A real router setup page does not need either.

Remember what the router can and cannot fix. Opening the settings can lower lag when the cause is queueing on the router or a crowded Wi-Fi channel. It cannot fix a fault on the provider's line, and it will not raise your plan's speed. If a clean cable test still shows high ping or lost packets at every hour, keep dated results and contact the provider. The packet loss guide explains how to read that test.

Should I use a cable to reach the router settings?

If you can, yes. Changing Wi-Fi settings from a Wi-Fi connection drops you the moment the router restarts its radio, and a bad guess can lock you out. A short Cable Matters Cat 6 cable from a laptop to a LAN port on the router avoids that, and a laptop without an Ethernet port can use an Anker USB-C to Ethernet adapter. Once you are signed in over the cable, the changes apply to the whole network, including the Wi-Fi devices. See the Ethernet vs Wi-Fi guide for how much a cable steadies lag in general.

Questions

How do I find my router's IP address?

On Windows, open Command Prompt, type ipconfig and read the Default Gateway line. On an iPhone, go to Settings, Wi-Fi, tap the Info button next to your network and read Router. On a Mac or Linux, use a route command in Terminal. That address is your router's local IP.

What is the default gateway?

The default gateway is the router address your device sends traffic to when the destination is outside your home network. At home it is nearly always your router. Windows shows it as Default Gateway, an iPhone shows it as Router.

What is the most common router IP address?

Home routers use a private address in the 10.x.x.x, 172.16-31.x.x or 192.168.x.x ranges set aside by RFC 1918. 192.168.1.1, 192.168.0.1 and 10.0.0.1 are often seen, but any of them can be changed, so read yours from your own device instead of guessing.

How do I log in to my router?

Join your home network, type the router address into a browser's address bar and press Enter. Sign in with the admin username and password, which are normally on a label on the router or set by whoever installed it. If you have lost it, a factory reset clears every setting, so use it last.

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

No. Your router's address is a private one that only works inside your home. Your public IP address is assigned by your internet provider and is what websites see. Typing the public address into a browser does not open your router's login page.

Why can't I connect to my router's IP address?

The usual causes are being on mobile data, a guest network or a VPN, typing the wrong address, or having a second router or provider gateway in front of yours. Turn off mobile data and the VPN, then read the gateway address again from your device.

Can I find my router's IP address on a phone?

Yes. On an iPhone, open Settings, Wi-Fi and tap the Info button next to your network to see Router. On Android, open the connected network's details in the Wi-Fi settings and look for Gateway or Router; the exact menu varies by phone.

Does knowing my router's IP address help with lag?

It lets you reach the settings where lag fixes live, such as Smart Queue, Wi-Fi channel and firmware updates. It also lets you ping the router to see whether a problem is inside your home or beyond it. It does not lower lag on its own.