How to find your IP address on Windows
Your IP address is a set of numbers that identifies your device on your network. Windows stores this information and makes it visible through a few different routes. The fastest way is to open Command Prompt and type a single command — it takes about 30 seconds and works on every version of Windows from Windows 7 onward.
You do not need administrator rights, special software, or access to your router. Your device already knows its own address and can show it to you directly.
Key Takeaways
- Your IP address appears in Command Prompt when you type ipconfig and press Enter — look for the line labeled "IPv4 Address".
- Settings menu also shows your IP address under Network settings, though it takes more clicks than Command Prompt.
- You will see two different addresses: your local IP (starts with 192.168 or 10.0) used inside your home or office, and your public IP used on the internet.
- If you see "169.254" as your address, your device is not connected to the network properly and needs troubleshooting.
Using Command Prompt to find your IP address
Command Prompt is the fastest route. Press the Windows key on your keyboard, type cmd, and press Enter. A black window will open with a blinking cursor.
Type ipconfig (lowercase is fine) and press Enter. Windows will display a block of text with network information. Look for the line that says "IPv4 Address" — the numbers after that line are your local IP address. It will look something like 192.168.1.105 or 10.0.0.50. Write it down or take a screenshot if you need it later.
If you see multiple network adapters listed (Ethernet, Wi-Fi, etc.), find the one you are actually using. If you are connected by cable, look under "Ethernet adapter". If you are on Wi-Fi, look under "Wireless LAN adapter" or "Wi-Fi".
Finding your IP address in Windows Settings
If you prefer not to use Command Prompt, the Settings menu shows your IP address too, though it requires more navigation. On Windows 10 or 11, press the Windows key and type Settings, then press Enter.
Click Network & internet on the left side. Then click Wi-Fi if you are on wireless, or Ethernet if you are plugged in with a cable. Click the name of your network (it will be highlighted in blue). Scroll down until you see "IPv4 address" — the numbers shown are your local IP address.
This route shows the same information as Command Prompt, just with more steps. Use it if you are more comfortable with the Settings menu, but Command Prompt is faster once you have done it once.
Understanding local versus public IP addresses
When you run ipconfig, you see your local IP address — the number your device uses to talk to other devices on your home or office network. This address starts with 192.168, 10.0, or 172.16. It only works inside your network. Your router assigns this address to you automatically.
Your public IP address is different. It is the address the rest of the internet sees when you browse websites or send data outside your network. Your internet service provider assigns this address to your router. You cannot see your public IP address using ipconfig — you would need to visit a website like whatismyipaddress.com to see it.
Most of the time, when someone asks for your IP address, they mean your local address. If they ask for your public IP, they will usually say so explicitly.
What to do if your IP address looks wrong
If ipconfig shows an address starting with 169.254 (like 169.254.1.50), your device is not properly connected to the network. This usually means your router is not assigning an address, or your device lost connection. Try unplugging your ethernet cable for 10 seconds and plugging it back in, or disconnecting from Wi-Fi and reconnecting.
If you see "Media disconnected" under your network adapter, your device is not connected at all. Check that your cable is plugged in firmly, or that you are in range of your Wi-Fi network and have entered the correct password.
After you reconnect, run ipconfig again. The address should change to a normal local IP (192.168.x.x or 10.0.x.x). If it still shows 169.254 after waiting a minute, restart your router by unplugging it for 30 seconds, plugging it back in, and waiting two minutes for it to fully start up.
Finding your IP address on older Windows versions
Windows 7 and Windows 8 use the same ipconfig command in Command Prompt. The steps are identical: open Command Prompt, type ipconfig, and look for "IPv4 Address".
On Windows 7, you can also find your IP address through the Network and Sharing Center. Click the network icon in the system tray (bottom right), then click "Open Network and Sharing Center". Click "Change adapter settings" on the left, right-click your active connection, and click "Status". Your IP address appears in the window that opens.
Command Prompt is faster on any version of Windows, so that route is worth learning even if you are used to the older menu system.
Frequently Asked Questions
Why do I need to know my IP address?
You might need it to set up a printer on your network, connect to a device remotely, troubleshoot a connection problem with your internet provider, or configure your router. Most of the time you do not need it, but when you do, Command Prompt is the fastest way to find it.
Is my IP address private or can anyone see it?
Your local IP address is private — only devices on your home or office network can see it. Your public IP address is visible to websites you visit and your internet provider, but it does not reveal your home address or personal information by itself.
Will my IP address change?
Your local IP address usually stays the same for months or years, but your router can reassign it if your device is unplugged for a long time or if you restart your router. Your public IP address changes less often but can shift when your internet provider updates their systems or you restart your modem.
Can I change my IP address myself?
You can change your local IP address through your router's settings, but most people should not do this unless they have a specific reason. If you need a stable local IP for a device like a printer, your router usually has an option to "reserve" an address for that device instead of changing it manually.
What if ipconfig does not work?
Make sure you typed it correctly — it is ipconfig, not ifconfig (that is a different command for Mac and Linux). If Command Prompt opens but the command does not run, try right-clicking Command Prompt and selecting "Run as administrator", then type the command again.