The quickest way to find your IP address
Open the Command Prompt and type ipconfig, then press Enter. Windows will display a list of network adapters on your computer. Look for the line that says "IPv4 Address" — that number (usually something like 192.168.1.5 or 10.0.0.3) is your local IP address, the one your devices use to talk to each other on your home or office network.
If you want your public IP address instead — the one your internet service provider assigns to your whole network, visible to websites you visit — open any web browser and search "what is my IP". Google, DuckDuckGo, and most search engines will show it at the top of the results. You can also visit sites like whatismyipaddress.com or ipinfo.io, which display your public IP along with your approximate location and internet provider.
The difference matters: your local IP is for devices in your home or office talking to each other. Your public IP is what the outside internet sees. Most of the time when someone asks for "your IP address," they mean the local one.
Key Takeaways
- Type ipconfig in Command Prompt to see your local IP address, which appears next to "IPv4 Address."
- Your local IP is what devices on your network use to find each other; your public IP is what the internet sees.
- Search "what is my IP" in any browser to find your public IP address in seconds.
- If you have multiple network adapters (Ethernet and WiFi, for example), you will see an IPv4 address for each one.
Using Command Prompt to see all your network details
Command Prompt is the most reliable way to see your IP address and related network information. Press the Windows key, type cmd, and press Enter. The Command Prompt window opens.
Type ipconfig and press Enter. You will see a list of network adapters. Each one shows an "IPv4 Address" line — this is your local IP. If you are connected by Ethernet cable, look under "Ethernet adapter." If you are on WiFi, look under "Wireless LAN adapter" or "WiFi." The numbers after "IPv4 Address" are what you need.
You will also see a "Default Gateway" (usually 192.168.1.1 or 10.0.0.1) — this is your router. The "Subnet Mask" tells your computer which other devices are on the same local network. You do not need to understand these for basic use, but they appear here if you need them later.
Finding your IP address in Settings
Windows also lets you find your IP address through the graphical Settings app, though it takes a few more clicks than Command Prompt. Press the Windows key, type Settings, and open it.
Go to Network & Internet on the left side. If you are on WiFi, click WiFi; if you are on Ethernet, click Ethernet. Then click the name of your current network. Scroll down to "IP settings" and you will see your IPv4 address listed there.
This method is slower than Command Prompt but shows the same information in a format some people find easier to read. It is also the place to go if you need to change your IP address manually, though most home networks assign addresses automatically and you will not need to do this.
Understanding local versus public IP addresses
Your local IP address is assigned by your router to your individual computer. It only works on your home or office network. If you are on WiFi, your phone, laptop, and smart TV each get their own local IP. These addresses usually start with 192.168 or 10.0. They change when you restart your computer or router, or when you disconnect and reconnect to WiFi.
Your public IP address is assigned by your internet service provider to your router. Every device in your home shares this one address when talking to the internet. Websites, email servers, and online services see this address, not your local one. It is the address that could theoretically be used to locate your general geographic area (usually accurate to your city or region, not your street). It changes when your internet connection resets or when your ISP reassigns it, which can happen days or months apart.
When you are troubleshooting a network problem or setting up a device on your home network, you need your local IP. When you are checking what address websites see, or when someone asks "what is your IP," they usually mean your public one. Command Prompt shows your local IP; a web search shows your public one.
What to do if ipconfig does not show what you expect
If you run ipconfig and see an address starting with 169.254, your computer is not connected to your router properly. Restart your WiFi connection or check that your Ethernet cable is plugged in. Then run ipconfig again.
If you see multiple IPv4 addresses (one for Ethernet and one for WiFi), your computer is connected to both networks at once. Windows will prefer one over the other depending on which is faster. This is normal and not a problem, but if you want to use only one, disconnect from the other in your network settings.
If you are on a corporate network and your IP address starts with something other than 192.168 or 10.0, your network administrator has set up a custom range. The address is still correct — just not a standard home network address. Contact your IT department if you have questions about what it means.
Why you might need to know your IP address
You need your local IP address to set up devices on your network (like a printer or smart home device), to access your router's settings, or to troubleshoot why something is not connecting. You might also need it if you are setting up port forwarding to let someone outside your network access a service inside it, though this is uncommon for everyday use.
You might want to check your public IP if you are testing a VPN (to confirm it is working), if you are troubleshooting why a website is blocking you, or if you are curious what location data websites can infer from your address. Your public IP does not reveal your street address, but it can narrow down your location to your city or region.
For most everyday tasks — connecting to WiFi, using email, browsing the web — you do not need to know either address. But when something stops working or you are setting up something new, knowing how to find it in seconds saves time.
Frequently Asked Questions
Is my IP address private information I should hide?
Your public IP is visible to every website you visit, so it is not secret. However, it does not reveal your name, address, or identity by itself. If you are concerned about location tracking or want to hide your IP from websites, a VPN (virtual private network) replaces your public IP with the VPN provider's address. Your local IP is only visible on your own network and is not a privacy concern.
Will my IP address change if I restart my computer?
Your local IP might change if your router reassigns addresses after a restart, though most routers try to give the same device the same address. Your public IP usually stays the same unless your internet connection drops or your ISP reassigns it, which can take days or weeks. If you need a permanent local IP for a device, you can set a static IP in your router's settings.
Can I change my IP address?
You can change your local IP by configuring a static address in Windows Settings under Network & Internet, though most people should let the router assign it automatically. Your public IP is controlled by your ISP — you cannot change it directly, but restarting your modem sometimes triggers a reassignment. A VPN changes what address websites see, but that is a different tool.
What does IPv6 mean, and do I need it?
IPv6 is a newer address format that looks like 2001:0db8:85a3:0000:0000:8a2e:0370:7334. It is the future standard because the internet is running out of IPv4 addresses. Most home networks still use IPv4, but newer ones support both. You do not need to do anything — your router handles it automatically. If you see an IPv6 address in ipconfig, it just means your network supports it.
Why do I see multiple IP addresses when I run ipconfig?
Each network adapter (Ethernet, WiFi, virtual adapters) gets its own IP address. If you are connected to both Ethernet and WiFi at the same time, you will see two IPv4 addresses. This is normal. Windows uses whichever connection is faster or was connected first. You only need the address for the connection you are actually using.