Your IP address is in Settings, Command Prompt, or your router's admin page
Windows stores your IP address in multiple places, and which one you use depends on what you need it for. If you're troubleshooting a connection problem or setting up a device on your home network, the Settings app is fastest. If you need to see technical details or automate the lookup, Command Prompt gives you more information. If you need to know what your internet-facing address is (the one websites see), you'll check your router instead.
Your local IP address is what devices on your home network use to find each other — it usually starts with 192.168 or 10.0. Your public IP address is what the outside internet sees when you connect, and it's assigned by your internet service provider. Most people need the local one, but the method changes depending on which you're after.
Key Takeaways
- Open Settings, go to Network & Internet, then Status to see your local IP address in one screen.
- Type ipconfig in Command Prompt to see your IP address plus your gateway and DNS server addresses.
- Log into your router's admin page (usually 192.168.1.1 or 192.168.0.1) to find your public IP address.
- Your local IP address can change if your router reassigns it, so write it down if you need it for port forwarding or device setup.
- If you see "169.254" as your IP address, your device is not connected to the network properly.
Finding your IP address in Windows Settings
This is the fastest method if you just need to see the number. Open Settings by pressing Windows key + I, then select Network & Internet from the left sidebar. Click Status, and scroll down to the section labeled IP settings. Your IPv4 address appears there — it's the one that looks like four numbers separated by periods (for example, 192.168.1.105).
This view also shows your gateway address (the router's address) and your DNS servers. If you're setting up a printer or security camera on your network, this is the information you'll need. The address shown here is your local IP only — it's not what the outside internet sees.
Using Command Prompt to see detailed network information
Command Prompt shows you more detail than Settings, including your gateway, subnet mask, and DNS servers all at once. Press Windows key + R, type cmd, and press Enter. In the black window that opens, type ipconfig and press Enter.
Look for the section labeled Ethernet adapter or Wireless LAN adapter depending on how you're connected. Your IPv4 Address is your local IP. The Default Gateway is your router's address. If you're troubleshooting a connection, this command also shows whether your device successfully got an address from the router — if you see "169.254" instead of "192.168" or "10.0", the connection failed.
If you want to see only your IP address without the other details, type ipconfig | findstr "IPv4" instead. This filters the output to show just the line you need.
Finding your public IP address through your router
Your local IP address is only useful on your home network. If you need to know what address the outside internet sees — for remote access, port forwarding, or checking if your ISP has changed your address — you need your public IP, which comes from your router.
Open a web browser and go to 192.168.1.1 or 192.168.0.1. If neither works, check the sticker on the bottom or back of your router — it usually lists the admin address. Log in with the username and password printed on that same sticker (the default is often admin/admin, but this varies by manufacturer).
Once logged in, look for a section called Status, Internet, or WAN. Your public IP address is listed there. This is the address that changes when your ISP reassigns it, which happens periodically or when you restart your modem.
What to do if your IP address keeps changing
Your router assigns local IP addresses automatically using a system called DHCP. This means your device's local IP can change when you restart your computer or router, or after a set time period. If you need a stable address — for example, to set up port forwarding for a game server or to access a printer remotely — you can assign a static IP instead.
The easiest way is to use your router's DHCP reservation feature. Log into your router's admin page, find the DHCP or Reserved IPs section, and tell it to always give your computer the same address. This is safer than manually setting a static IP on your computer, because it prevents conflicts if you move the device to a different network.
If your public IP keeps changing and you need it to stay the same, contact your ISP — most residential plans use dynamic public IPs, but some offer static ones for an extra fee.
Checking your IP address on a specific network adapter
If your computer has both Wi-Fi and Ethernet, or if you're connected to multiple networks, you might need to know which IP goes with which connection. Command Prompt shows all of them at once: type ipconfig and look for separate sections for each adapter.
In Settings, you can see which connection is active by going to Network & Internet and checking which one shows a connected status. The IP address shown in the Status page belongs to whichever connection is currently active. If you switch from Wi-Fi to Ethernet, the IP address in Settings will update to show the new one.
Why your IP address matters for network security
Your local IP address is how devices on your network find each other, so it's not a security secret — anyone on your Wi-Fi can see it. Your public IP address is more sensitive: it identifies your location to the outside internet and can be used to target your network with attacks. This is why a firewall (which Windows has built in) is important — it blocks unsolicited incoming connections even if someone knows your public IP.
If you're port forwarding to run a server or game, you're deliberately opening a hole in that firewall for a specific port. Make sure you understand what you're opening and why. If you're not actively using port forwarding, leave it off.
Frequently Asked Questions
Why does my IP address start with 169.254?
This means your device didn't get an address from the router. Restart your computer and router, then check again. If it still shows 169.254, your Wi-Fi or Ethernet connection isn't working properly — try unplugging the Ethernet cable and plugging it back in, or forgetting and reconnecting to your Wi-Fi network.
Can I change my IP address myself?
You can set a static local IP on your computer, but it's easier and safer to use your router's DHCP reservation feature instead. For your public IP, you can restart your modem to force your ISP to assign a new one, but it will change back eventually. If you need a permanent public IP, contact your ISP about static IP service.
Is my IP address the same as my MAC address?
No. Your MAC address is a hardware identifier that never changes (unless you spoof it), while your IP address is assigned by the network and can change. Command Prompt shows both — type ipconfig /all to see your MAC address listed as "Physical Address."
What if I forgot my router's admin password?
Most routers have a reset button you can hold for 10 seconds to restore factory defaults, which resets the password to the one printed on the sticker. Warning: this also erases your Wi-Fi name and password, so you'll have to set them up again. Check your router's manual for the exact reset procedure.
Do I need to hide my IP address?
Your local IP is visible to anyone on your network, so there's nothing to hide there. Your public IP is visible to websites you visit, but that's normal — they need it to send data back to you. If you want to hide your public IP from websites, use a VPN, but understand that this adds a middleman to your connection and may slow it down.