What an IP Address Is and Why You Might Need It
Your PC has an IP address — a unique number that identifies it on your home network or the internet, similar to a mailing address for your computer. It looks like four numbers separated by dots, such as 192.168.1.5 (for your home network) or something like 203.45.67.89 (for the wider internet).
You may need to find your IP address to troubleshoot a connection problem, set up a printer or other device on your network, access your PC remotely, or provide it to technical support. Windows stores this information in a few places, and the fastest method depends on what you're trying to do.
Key Takeaways
- Your local IP address (the one on your home network) starts with 192.168 or 10.0 and is found in Settings or Command Prompt.
- The quickest method is to open Settings, go to Network & Internet, and look under your connection type for "IPv4 address".
- Command Prompt shows your IP address in seconds if you type ipconfig and press Enter, then look for "IPv4 Address".
- Your public IP address (the one the internet sees) is different from your local one and can be found by searching "what is my IP" in any browser.
- If you need to find another PC's IP address on your network, use Command Prompt with the arp -a command to see all connected devices.
Finding Your IP Address in Windows Settings
The Settings method is the most straightforward if you prefer clicking through menus rather than typing commands. Open Settings by pressing the Windows key and typing "Settings," then select the Settings app.
Once Settings opens, click Network & Internet on the left side. Then click the connection type you're using — either Wi-Fi if you're on wireless, or Ethernet if you're plugged in with a cable. Under the name of your network, you'll see a link that says something like "Connected" or the network name itself. Click it. Scroll down to the section labeled IP settings, and you'll see "IPv4 address" followed by your local IP address — that's the number you need.
Using Command Prompt to Find Your IP Address Quickly
Command Prompt is faster if you're comfortable typing a single line. Press the Windows key, type "cmd," and select Command Prompt (or Command Prompt (Admin) if you want to see more details). You don't need admin rights for this task, but it doesn't hurt.
Type ipconfig and press Enter. A list of information will appear. Look for the section that matches your connection — it will say "Ethernet adapter" if you're wired, or "Wireless LAN adapter" if you're on Wi-Fi. Under that section, find the line that says IPv4 Address. The number next to it is your local IP address. Ignore lines that say "Autoconfiguration IPv4 Address" — those are temporary fallback addresses.
If you want to see only your IP address without the extra information, type ipconfig | findstr "IPv4" and press Enter. This filters the output to show only lines containing "IPv4".
Finding Your Public IP Address (What the Internet Sees)
Your local IP address (192.168.x.x or 10.0.x.x) is only visible to devices on your home network. The internet sees a different address — your public IP address — which is assigned by your internet service provider.
To find your public IP address, open any web browser and search for "what is my IP" or "my IP address." Google, Bing, and other search engines will display your public IP at the top of the results. You can also visit websites like whatismyipaddress.com or ipinfo.io, which show your public IP along with other details like your approximate location and internet provider.
Your public IP address changes periodically — sometimes weekly, sometimes monthly — depending on your internet provider's settings. If you need a stable public IP for remote access or hosting, you would need to contact your provider about a static IP option, which usually costs extra.
Finding Another PC's IP Address on Your Network
If you need to find the IP address of a different computer on your home network, Command Prompt can show you all connected devices. Open Command Prompt and type arp -a, then press Enter. This displays a list of all devices currently connected to your network, along with their IP addresses and physical addresses (MAC addresses).
The list can be long and include devices you don't recognize — printers, smart home devices, phones, and tablets all appear here. Look for the device name or description if it's listed, or try to match the IP address to a device you know. If you're unsure which address belongs to which device, you can unplug or turn off a device and run arp -a again to see what disappears from the list.
Another method is to open your router's admin page in a web browser. Type your router's IP address (usually 192.168.1.1 or 192.168.0.1) into the address bar, log in with your router's username and password, and look for a section called "Connected Devices," "DHCP Clients," or "Device List." This shows every device on your network with its IP address, and often includes the device name so you can identify them easily.
Common Mistakes to Avoid
Don't confuse your local IP address with your public IP address. If you're troubleshooting a home network problem or setting up a printer, you need your local address (192.168.x.x). If someone asks for your IP address to access you remotely over the internet, you need your public address. They are not the same.
Don't assume an IP address is permanent. Devices on your home network are usually assigned a new local IP address each time they connect, though it often stays the same for weeks or months. If you're setting up a device that needs a fixed address, check your router settings for an option to assign a static local IP to that device.
Don't share your public IP address with untrusted sources. While your public IP alone doesn't expose your personal data, it can be used to target your network with attacks. Only provide it to people or services you trust.
Frequently Asked Questions
What's the difference between IPv4 and IPv6?
IPv4 addresses use four numbers (like 192.168.1.5), while IPv6 addresses use longer strings of numbers and letters (like 2001:0db8:85a3:0000:0000:8a2e:0370:7334). Most home networks still use IPv4, but IPv6 is becoming more common. For home use, you typically only need the IPv4 address.
Why does my IP address keep changing?
Your router assigns local IP addresses automatically using DHCP (Dynamic Host Configuration Protocol). Devices usually keep the same address for a while, but it can change when you restart your router or after a period of inactivity. If you need a permanent address for a device, you can set a static IP in your router's settings.
Can someone hack me if they know my IP address?
Knowing your IP address alone doesn't give someone direct access to your computer. However, it tells them you exist on the internet and can be used as a starting point for attacks. Keep your firewall enabled, use strong passwords, and avoid sharing your public IP with strangers.
How do I find my IP address on a Mac or Linux PC?
On a Mac, open System Preferences, click Network, select your connection, and look for "IPv4 Address." On Linux, open a terminal and type hostname -I or ip addr to see your IP address. The process is similar but the menu locations differ from Windows.
What if ipconfig doesn't show an IP address?
If you see "Autoconfiguration IPv4 Address" instead of a regular IPv4 address, your PC isn't connecting to your router properly. Restart your router and your PC, check that your network cable is plugged in (if wired), or try forgetting and reconnecting to your Wi-Fi network. If the problem persists, restart your modem as well.