Why you need to know your IP address

Your IP address is the number that identifies your computer on your home network. It looks like four numbers separated by dots — something like 192.168.1.5. You need this number when you're troubleshooting network problems, setting up port forwarding on your router, or giving remote support to someone else.

Windows stores this information in a few places, and the fastest route depends on what you're trying to do. If you're setting up security rules on your router or checking whether your device got the right address from your router's DHCP server, you'll want to know how to find it in under a minute.

Key Takeaways

  • Your IP address appears in Settings under Network & Internet, which is the fastest way to find it on Windows 11 or Windows 10.
  • The Command Prompt command ipconfig shows your IP address and your router's address in one view, which is useful for network troubleshooting.
  • Your local IP address (the one on your home network) is different from your public IP address (the one your internet provider assigns), and you need different tools to see each.
  • If your IP address starts with 169.254, your computer did not reach your router — restart your router and your computer's network adapter.

Finding your IP address in Windows Settings

Open Settings by pressing the Windows key and typing "settings", then click the Settings app. Go to Network & Internet on the left side. On Windows 11, click Wi-Fi or Ethernet depending on how you're connected, then click the network name you're using. Your IP address appears under "IP address" near the bottom.

On Windows 10, the path is slightly different: go to Network & Internet, then click Status on the left, then scroll down and click View your network properties. Look for "IPv4 Address" in the list. This method works whether you're on Wi-Fi or a wired connection, and it's the clearest view if you just need the number quickly.

Using Command Prompt to see your IP and router address together

Open Command Prompt by pressing Windows key + R, typing cmd, and pressing Enter. Type ipconfig and press Enter. You'll see a list of all your network connections. Look for the one that's currently active — it will have an IP address listed under "IPv4 Address".

This same view shows you "Default Gateway", which is your router's IP address on the network. This matters because if you need to log into your router to change security settings or check which devices are connected, you'll need the gateway address. The Command Prompt method is faster if you need both numbers at once, and it's the standard way to troubleshoot network issues.

Understanding what your IP address tells you

A local IP address on a home network usually starts with 192.168 or 10.0. These are private addresses that only work inside your home network — they're not routable on the internet. Your router translates between these private addresses and your public IP address, which is what websites see when you connect to them.

If your IP address starts with 169.254, your computer did not successfully contact your router's DHCP server (the part that hands out addresses). Restart your router by unplugging it for 30 seconds, then restart your computer's network adapter by going to Settings > Network & Internet > Advanced network options > Network reset, or straightforward restart your computer. If the problem persists, your network cable may be loose or your Wi-Fi password may have changed.

Finding your public IP address

Your public IP address is different from your local one. It's assigned by your internet provider and is what the outside world sees. To find it, open a web browser and go to whatismyipaddress.com or ipchicken.com. Both sites display your public IP when ready without requiring you to sign up or read anything.

You need your public IP if you're setting up remote access to your home network or if you're troubleshooting why a service isn't reachable from outside your home. Your public IP can change — some providers change it every few months, others less often. If you need it to stay the same for remote access, you can contact your internet provider about a static IP, though this usually costs extra.

What to do if your IP address keeps changing

Most home networks use DHCP, which means your router assigns a new local IP address each time you restart your computer or reconnect to the network. This is normal and usually not a problem — your router remembers which device is which and routes traffic correctly regardless.

If you're setting up port forwarding or firewall rules that depend on a specific IP address, you have two options. The easier one is to set a DHCP reservation in your router's settings, which tells the router to always give that computer the same address. The other option is to set a static IP address directly on your computer in Settings > Network & Internet > Advanced network options > IP settings, but this can cause conflicts if you don't know what you're doing. DHCP reservation is safer because your router manages it.

Checking your network adapter's full details

If you need more information than just the IP address — like your MAC address (the hardware identifier of your network card) or your DNS servers — you can see everything in one place. Open Command Prompt and type ipconfig /all. This shows your IP address, subnet mask, default gateway, DHCP server, DNS servers, and MAC address for every network adapter on your computer.

The MAC address is useful if you're setting up MAC filtering on your router (a security feature that only allows certain devices to connect) or if you need to identify your device on the network. The DNS servers are what your computer uses to turn domain names like google.com into IP addresses — if websites aren't loading, checking that your DNS servers are correct can help narrow down the problem.

Frequently Asked Questions

Is my local IP address private and safe to share?

Your local IP address (192.168.x.x or 10.0.x.x) only works inside your home network, so sharing it is not a security risk. Your public IP address is different — it's visible to websites you visit, but it's not sensitive information on its own. Never share your router's admin password or your MAC address with someone you don't trust.

Why does my IP address have four different numbers?

Each number can range from 0 to 255, giving your router millions of possible addresses to assign. The first three numbers usually identify your home network, and the last number identifies your specific device. Your router's address is typically x.x.x.1, and devices get x.x.x.2, x.x.x.3, and so on.

Can I set my IP address to any number I want?

You can manually set a static IP address in Windows, but it must be in the same range as your router (usually 192.168.1.x) and it must not conflict with any other device. It's safer to use your router's DHCP reservation feature instead, which prevents conflicts automatically.

What does "IPv6 address" mean, and do I need it?

IPv6 is the newer version of IP addressing that uses longer addresses. Most home networks still use IPv4 (the four-number format), but IPv6 is gradually becoming standard. You don't need to do anything — your router and devices handle both automatically if your internet provider supports it.