How to find your IP address on Windows
Your Windows computer has an IP address assigned to it right now — you just need to know where to look. The fastest way is to open Command Prompt and type a single command that displays it when ready. You can also find it through Settings if you prefer clicking through menus, or through your router's admin page if you need to see all devices on your network at once.
The method you choose depends on what you need the address for. If you're troubleshooting a connection problem or need to tell someone how to reach your computer on the network, Command Prompt is quickest. If you're checking your network setup or need to see which devices are connected, the Settings route or router page gives you more context.
Key Takeaways
- Open Command Prompt by pressing Windows key + R, typing cmd, and pressing Enter to see your IP address in seconds.
- Your IP address appears next to "IPv4 Address" in the command output — it looks like four numbers separated by periods, such as 192.168.1.5.
- You can also find your IP address in Windows Settings under Network & Internet, which shows your connection type and other network details.
- Your router's admin page shows every device connected to your network and their IP addresses, useful if you need to see the full picture.
- A private IP address (starting with 192.168 or 10.) is what your computer uses inside your home network; your public IP is what the internet sees.
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 opens with a blinking cursor.
Type ipconfig and press Enter. The window fills with network information. Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" — whichever one you use to connect. Next to "IPv4 Address" you'll see four numbers separated by periods. That's your IP address. Write it down if you need it.
If you see multiple adapters listed, find the one that shows an IPv4 address (not "Media disconnected"). Virtual adapters or disabled connections may appear but won't have an active address. The one you use to reach the internet is the one you need.
Finding your IP address in Windows Settings
If you prefer not to use Command Prompt, Settings shows the same information with more explanation. Press the Windows key, type Settings, and press Enter. Click Network & Internet on the left side.
If you're connected by ethernet cable, click Ethernet. If you're on Wi-Fi, click Wi-Fi. Then click the name of your network (the one with a checkmark next to it). Scroll down and you'll see "IPv4 address" with your address next to it. You'll also see your subnet mask and default gateway, which are useful if you're configuring network devices.
Settings also shows your connection status and whether your network is public or private. This view is helpful if you're checking whether your computer is actually connected before troubleshooting other problems.
Checking your IP address from your router
Your router keeps a list of every device connected to your network and the IP address it assigned to each one. This is useful if you need to see all your devices at once or if you're trying to figure out which address belongs to which computer.
Open a web browser and type your router's address into the address bar. Most home routers use 192.168.1.1 or 192.168.0.1 — check the back or bottom of your router if neither works. You'll be asked to log in. The default username is often admin and the password is either admin or printed on the router itself.
Once logged in, look for a section called "Connected Devices," "DHCP Clients," or "Device List." Your computer will be listed with its IP address. This view also shows you how many devices are on your network and whether any unknown devices have connected — useful for security checks.
Understanding private and public IP addresses
The address you find on your computer is a private IP address — it only works inside your home network. It starts with 192.168, 10., or 172.16 and is assigned by your router. Every device on your network gets its own private address so they can talk to each other.
Your public IP address is different. It's assigned by your internet provider and is what websites and services see when you connect to the internet. You can find your public IP by searching "what is my IP" in any search engine — the first result shows it. Your public address changes periodically unless you pay for a static IP, while your private address stays the same until you restart your router or your computer.
For most home network tasks — sharing files, printing, or connecting devices — you need the private address. For remote access or port forwarding, you need the public address. Understanding the difference prevents confusion when troubleshooting.
What to do if your IP address keeps changing
Your router assigns IP addresses automatically using DHCP (Dynamic Host Configuration Protocol). This means your computer's private address can change when you restart your router or after a set period of time. If you need the same address every time — for example, to set up a printer or security camera — you can assign a static IP address.
The easiest way is to set it in your router's admin page. Log in as described above, find the DHCP settings or "Reserved IP" section, and assign your computer a fixed address. Write down the address you choose so you don't forget it. Alternatively, you can set a static IP directly on your Windows computer through Settings, but doing it on the router is simpler and less likely to cause conflicts.
If your public IP address keeps changing and you need it to stay the same, contact your internet provider about a static public IP. This usually costs extra and is mainly useful for running servers or services that need a permanent address.
Frequently Asked Questions
Why do I need to know my IP address?
You need it to set up printers or cameras on your network, troubleshoot connection problems, configure port forwarding, or give someone else a way to reach your computer remotely. Most of the time you won't need it, but when you do, Command Prompt gets you the answer in seconds.
Is my IP address the same as my MAC address?
No. Your IP address is a number your router assigns to reach your computer on the network. Your MAC address is a permanent identifier built into your network card. They serve different purposes — IP addresses route data, MAC addresses identify the physical device. You'll see both in ipconfig output; MAC is listed as "Physical Address."
Can someone use my IP address to hack me?
Your private IP address is only visible inside your home network, so it's not a security risk. Your public IP is visible to websites, but it only tells someone your general location and internet provider — not your address or identity. Hackers target vulnerabilities in software or weak passwords, not IP addresses themselves.
What if ipconfig shows multiple IP addresses?
You may have multiple network adapters — ethernet, Wi-Fi, virtual adapters, or VPN connections. Each gets its own address. Use the one next to the adapter you actually use to connect to the internet. If you're unsure which one is active, check Settings under Network & Internet to see which connection is currently connected.
Does restarting my computer change my IP address?
Usually not when ready. Your router remembers your computer and reassigns the same address when you restart. However, if your router restarts or enough time passes, you may get a different address. If you need the same address every time, set a static IP as described above.