How to find your IP address in Windows
Your Windows computer has an IP address assigned to it right now. To find it, open the Settings app, go to Network & Internet, then select Wi-Fi or Ethernet depending on how you connect. Click the network you're currently using, scroll down, and you'll see "IPv4 address" listed with a string of numbers like 192.168.1.5. That's your local IP address — the one your router uses to send data to your specific device.
If you need to find it faster, use the Command Prompt method instead. Press Windows key + R, type cmd, and press Enter. In the black window that opens, type ipconfig and press Enter. Look for the line that says "IPv4 Address" under your active connection. The number there is what you're looking for.
You also have a public IP address — the one the outside internet sees when you browse websites. To find that one, open any web browser and search "what is my IP" or visit a site like whatismyipaddress.com. The number that appears is your public IP, which your internet provider assigns to your home network.
Key Takeaways
- Your local IP address appears in Settings under Network & Internet, in the details for your Wi-Fi or Ethernet connection.
- The Command Prompt method (ipconfig command) shows your IP address in seconds without opening Settings.
- Your public IP address is what websites see and can be found by searching "what is my IP" in any browser.
- Local IP addresses usually start with 192.168 or 10.0 and change only when you reconnect to your network or restart your router.
- You may need your IP address to troubleshoot network problems, access your router settings, or set up devices on your home network.
Using Settings to find your local IP address
The Settings method works on all recent versions of Windows and requires no typing. Click the Windows Start button, type settings, and press Enter. In the Settings window, select Network & Internet from the left menu. If you're connected by Wi-Fi, click Wi-Fi and then click the name of your network. If you're using an Ethernet cable, click Ethernet instead.
Scroll down in the window that opens. Under "IP settings," you'll see a line labeled "IPv4 address" followed by four numbers separated by periods. That's your local IP address. You'll also see your subnet mask and default gateway listed below it — you don't need those for most purposes, but they're there if you're troubleshooting network issues.
This method is useful if you prefer clicking through menus and want to see all your network details in one place. The address shown here is the one your router assigned to your computer and is only valid on your home network.
Using Command Prompt to find your IP address quickly
The Command Prompt method is faster once you know the steps. Press Windows key + R to open the Run dialog. Type cmd and press Enter. A black window with white text will open — this is Command Prompt. Type ipconfig (all lowercase) and press Enter.
The output will show information about all your network connections. Look for the section labeled with your connection type — either "Ethernet adapter" if you're using a cable, or "Wireless LAN adapter" if you're on Wi-Fi. Under that section, find the line that says "IPv4 Address" and read the number next to it. That's your local IP address. You can close Command Prompt by typing exit and pressing Enter, or just clicking the X button.
If you want to copy your IP address to paste it elsewhere, right-click in the Command Prompt window, select Mark, highlight the IP address with your mouse, right-click again, and select Copy. Then you can paste it into another program.
Finding your public IP address
Your public IP address is different from your local one. It's the address that websites and online services see when you connect to them. Your internet provider assigns it to your home network, and it's visible to anyone you communicate with online. To find it, open any web browser and search for "what is my IP" or "my IP address". Google will display your public IP at the top of the search results.
Alternatively, visit a dedicated IP lookup site like whatismyipaddress.com, ipchicken.com, or iplocation.net. These sites show your public IP address, your approximate location based on that address, and sometimes your internet provider's name. The IP shown on these sites is what the rest of the internet knows about your connection.
Your public IP address changes periodically — usually when you restart your modem or after a set number of days, depending on your internet provider's settings. Your local IP address (the one in Settings or ipconfig) stays the same until you restart your router or your device reconnects to the network.
Why you might need to know your IP address
Knowing your local IP address is useful for several reasons. If you're setting up a printer, security camera, or smart home device on your network, you may need to enter your computer's IP address or access your router's settings page, which requires knowing your router's IP (usually 192.168.1.1 or 192.168.0.1). If your internet isn't working, your tech support person might ask for your IP address to help diagnose the problem. If you're sharing files between computers on your home network, you might need the IP address of the computer you're connecting to.
Your public IP address is less something you need to know and more something you should be aware of. Websites log your public IP when you visit them, which is how they can block access by region or track your browsing across sites. If you're concerned about your public IP being visible, you can use a VPN (virtual private network) to mask it, though that's a separate topic from finding it.
Most of the time, you won't need either address. But when you do need it — whether for network troubleshooting, device setup, or just curiosity — these methods will get you the answer in under a minute.
Frequently Asked Questions
Will my IP address change if I restart my computer?
Your local IP address usually stays the same after a restart, as long as you reconnect to the same Wi-Fi network or Ethernet connection. Your router remembers which device you are and assigns you the same address. However, if you disconnect from your network for a while or your router restarts, you may get a different local IP address when you reconnect.
What does IPv4 mean, and is there an IPv6?
IPv4 is the older, more common format for IP addresses — the four-number format like 192.168.1.5. IPv6 is a newer format with longer addresses designed to handle more devices as the internet grows. Most home networks still use IPv4, but your computer may have both. If you see both listed in ipconfig or Settings, IPv4 is the one you typically need for home network tasks.
Can someone use my IP address to hack me?
Your local IP address is only useful on your home network, so it's not a security risk by itself. Your public IP address is visible to websites, but it doesn't directly expose your personal information — it just shows your general location and internet provider. Real security comes from keeping your passwords strong, using a firewall (Windows has one built in), and keeping your system updated.
Why does my IP address show differently in Settings than in ipconfig?
It shouldn't — both methods show the same local IP address. If they look different, you may be looking at different network connections (one showing Wi-Fi and one showing Ethernet, for example). Make sure you're checking the active connection you're actually using to reach the internet.