Your Windows computer has two IP addresses you might need to find

Your IP address is a number that identifies your computer on a network. Windows machines typically have two: a local IP address (used only within your home or office network) and a public IP address (how the internet sees you). Most of the time you need the local one — it's what you use to connect to your printer, access files on another computer, or troubleshoot network problems. Finding either one takes less than a minute.

The fastest method is the Command Prompt, which shows both addresses at once. If you prefer clicking through menus, Settings or Network Connections will get you there. A third option is your router's admin page, which lists every device on your network by IP address.

Key Takeaways

  • Your local IP address starts with 192.168 or 10.0 and is what you use to connect to devices on your home network.
  • The Command Prompt method (typing ipconfig) shows both your local and public IP addresses in seconds.
  • Settings > Network & Internet > WiFi or Ethernet also displays your local IP address, though it takes more clicks.
  • Your router's admin page lists the IP addresses of every device connected to your network, useful for identifying which device is which.
  • If you need your public IP address for port forwarding or remote access, your router's status page or a website like whatismyipaddress.com will show it.

Using Command Prompt (fastest method)

Open Command Prompt by pressing Windows key + R, typing cmd, and pressing Enter. At the prompt, type ipconfig and press Enter. Your local IP address appears next to "IPv4 Address" — it will look something like 192.168.1.100 or 10.0.0.50.

If you want to see only your IP address without the extra information, type ipconfig | findstr IPv4 instead. This filters the output to show just the line you need. To find your public IP address from Command Prompt, type curl ifconfig.me (this requires an internet connection and works on Windows 10 and newer).

Finding your IP in Settings

Go to Settings > Network & Internet. If you're connected by WiFi, click WiFi on the left, then click the name of your network. Scroll down to find "IPv4 address" — that's your local IP. If you're using Ethernet, click Ethernet instead and look for the same field.

This method is slower than Command Prompt but doesn't require typing. The address you see here is the one you'll use if you need to access your computer from another device on the same network, or if you're setting up port forwarding on your router.

Checking Network Connections

Right-click the network icon in your system tray (bottom right corner) and select Open Network & Internet settings. Click Advanced network options at the bottom, then scroll down and click More network adapter options. Find your active connection (either WiFi or Ethernet), right-click it, and select Status.

Click Details in the window that opens. Your local IP address is listed as "IPv4 Address." This route is longer than the others but gives you access to more detailed network information if you need it for troubleshooting.

Looking up IP addresses on your router

Your router keeps a list of every device connected to it, along with each device's IP address. Open a web browser and type your router's IP address into the address bar — it's usually 192.168.1.1 or 192.168.0.1, but check the sticker on the back of your router to be sure. Log in with your router's username and password (also on the sticker if you haven't changed it).

Look for a section called "Connected Devices," "DHCP Clients," or "Device List." You'll see the name of each device and its IP address. This is useful if you're trying to figure out which IP belongs to which computer or printer, or if you need to set up port forwarding and want to know the exact address to forward to.

Understanding what you're looking at

A local IP address always starts with 192.168, 10.0, or 172.16 — these are reserved ranges that only work on private networks. Your public IP address, by contrast, is a number between 0 and 255 in each section (like 203.45.67.89) and is unique across the entire internet. You need your local IP to talk to devices in your home; you need your public IP if someone outside your network needs to reach you.

If you see an address starting with 169.254, your computer is not properly connected to the network — it's using a fallback address. Restart your computer or reconnect to WiFi to fix this.

When you need each type of address

Use your local IP address when you're setting up a printer on your network, accessing shared files from another computer, or logging into your router. You'll also need it if you're troubleshooting network problems and a technician asks for it. Write it down or take a screenshot — it usually stays the same unless you restart your computer or change your router settings.

Your public IP address matters if you're setting up remote access to your computer, port forwarding, or running a server that people outside your network need to reach. It changes periodically (usually every few weeks or months) unless you pay your internet provider for a static IP. To check your public IP without Command Prompt, visit whatismyipaddress.com or search "what is my IP" in any browser.

Frequently Asked Questions

Why do I have two different IP addresses?

Your local IP is assigned by your router and only works within your home or office network. Your public IP is assigned by your internet provider and is how devices on the internet find your network. Think of the local one as your address on a private street, and the public one as your address on a map the whole world can see.

Will my IP address change if I restart my computer?

Your local IP usually stays the same after a restart, but it can change if your router reassigns addresses. Your public IP may change depending on your internet provider's settings — some change it weekly, others monthly or longer. If you need a permanent address, contact your provider about a static IP.

Is it safe to share my local IP address?

Yes, your local IP only works on your home network, so sharing it with someone outside your network does nothing for them. Your public IP is more sensitive — it identifies your location to the internet, though it doesn't directly expose personal information. Avoid posting it publicly online.

What if Command Prompt shows multiple IPv4 addresses?

You may see more than one if your computer is connected to multiple networks (WiFi and Ethernet at the same time, or a VPN). The one you need is usually the first one listed, or the one labeled with your active connection type. If you're unsure which is correct, check Settings to confirm which network you're actually using.