Finding your IP address takes less than a minute on any computer

Your PC has an IP address right now — it's the number your router uses to send data to your computer and back out to the internet. You may need to find it to troubleshoot a connection problem, set up a printer on your network, or give tech support someone a specific identifier. The steps differ slightly between Windows, Mac, and Linux, but all three show you the address in under a minute.

The address you'll find is usually a private IP address — something like 192.168.1.5 or 10.0.0.12 — which only your home network uses. This is different from your public IP address, which your internet provider assigns to your router and which the outside internet sees. Both matter for different reasons, and both are visible once you know where to look.

Key Takeaways

  • Windows users can open Command Prompt and type ipconfig to see their private IP address in seconds.
  • Mac users open Terminal and type ifconfig or use System Settings to find the address under Network.
  • Linux users open a terminal and type ip addr or ifconfig depending on their distribution.
  • Your private IP address (like 192.168.1.5) is what your home network uses; your public IP is what the internet sees.
  • If you need your public IP address instead, you can find it by visiting a website like whatismyipaddress.com from any browser.

Finding your IP address on Windows

Open the Start menu and type "Command Prompt" into the search box. Click on Command Prompt when it appears. Once the black window opens, type ipconfig and press Enter. Your computer will display a list of network connections.

Look for the section labeled "Ethernet adapter" if you're plugged in with a cable, or "Wireless LAN adapter" if you're using Wi-Fi. Under that section, find the line that says "IPv4 Address" — the number next to it is your private 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 for later.

If you see multiple adapters listed, you may have more than one network connection active. The one you're currently using is the one that matters. If you're unsure which one is active, look for the adapter that has an IPv4 address listed — inactive adapters often show no address or show 0.0.0.0.

Finding your IP address on Mac

Click the Apple menu in the top-left corner and select "System Settings" (or "System Preferences" on older versions). Click "Network" in the left sidebar. You'll see a list of network connections — select the one you're currently using, usually "Wi-Fi" or "Ethernet".

Once you select your connection, look for a button or section labeled "Details" or "Advanced". Click it, then look for the "TCP/IP" tab. Your IPv4 address will be displayed there — it's the number next to "IPv4 Address". This is your private IP address on your home network.

If you prefer using the terminal instead, open Terminal (found in Applications > Utilities), type ifconfig, and press Enter. Look for the section labeled "en0" (for Ethernet) or "en1" (for Wi-Fi). Find the line that starts with "inet" — the number after it is your private IP address.

Finding your IP address on Linux

Open a terminal window. The method varies by distribution, but usually you can right-click on the desktop and select "Open Terminal" or press Ctrl+Alt+T. Once the terminal is open, type ip addr and press Enter.

Your computer will display all network interfaces. Look for the one labeled "eth0" (for wired Ethernet) or "wlan0" (for Wi-Fi). Under that interface, find the line that starts with "inet" — the number after it, before the forward slash, is your private IP address. It will look something like 192.168.1.110.

On some older Linux systems, ip addr may not work. If that happens, type ifconfig instead. The output will be formatted differently, but you'll still find your address next to "inet addr" under your active network interface.

Understanding what you're looking at

The IP address you just found is your private IP address — it's assigned by your router and only used within your home network. Every device on your Wi-Fi or wired network has its own private address in the same range. These addresses never leave your home; the outside internet doesn't see them.

Your router translates between your private address and your public IP address, which your internet provider assigns to the router itself. When you visit a website, the website sees your public IP, not your private one. Your private address is useful for things like setting up a printer, connecting to a security camera on your network, or giving tech support a way to identify your specific computer on your home network.

Private IP addresses always fall into certain ranges. The most common is 192.168.x.x (where x is a number from 0 to 255), but you might also see 10.x.x.x or 172.16.x.x to 172.31.x.x. If your address starts with any of these, you're looking at a private address. If it starts with something else — like 8.x.x.x or 1.x.x.x — you may be looking at your public address instead, which is less common to see on your computer directly.

Why you might need your IP address

The most common reason to find your IP address is to set up a device on your network. If you're installing a printer, security camera, or network storage device, you may need to tell it your computer's address so the devices can communicate. You might also need it if you're troubleshooting a connection problem and tech support asks for your "local IP" or "private IP".

Another reason is to access your computer remotely from another device on the same network. If you want to use remote desktop software or file-sharing tools, you'll need to know your computer's private IP address to connect to it. Some people also need it to set up port forwarding on their router, which directs traffic from the internet to a specific computer on their home network.

If you need your public IP address instead — the one the internet sees — you don't need to open Command Prompt or Terminal. straightforward open any web browser and visit a site like whatismyipaddress.com or whatismy.ipaddress.com. The site will display your public IP when ready. This is useful if you're setting up remote access from outside your home or if you need to report your address to a service provider.

What to do if you can't find your address

If you typed the command but nothing appeared, make sure you pressed Enter after typing it. If you see an error message like "command not found", you may have typed it incorrectly — check the spelling and try again. On Windows, make sure you're using Command Prompt, not PowerShell (though PowerShell will also work with the same command).

If you see multiple network adapters and aren't sure which one is active, look for the one that has an IPv4 address listed. Inactive adapters won't show an address, or will show 0.0.0.0. If you're connected to Wi-Fi, the active adapter will be labeled as a wireless adapter. If you're plugged in with a cable, it will be labeled as Ethernet.

If you're still stuck, restart your computer and try again. Sometimes a network connection needs to be refreshed. If the problem persists, check that you're actually connected to your network — look for a Wi-Fi icon or check that your Ethernet cable is plugged in. A computer that isn't connected to a network won't have a private IP address assigned.

Frequently Asked Questions

Is my private IP address the same every time I turn on my computer?

Usually yes, but not always. Most routers assign the same private address to the same device each time it connects, a feature called DHCP reservation. However, if your router restarts or if you don't connect for a long time, your address might change. If you need the address to stay the same — for example, to set up port forwarding — you can configure your router to reserve that address for your computer.

Can someone on the internet see my private IP address?

No. Your private IP address only exists on your home network. The internet sees your public IP address instead, which is assigned to your router. Your private address is invisible outside your home network, which is one reason it's called "private".

What's the difference between IPv4 and IPv6?

IPv4 addresses look like 192.168.1.5 — four numbers separated by dots. IPv6 addresses look like 2001:0db8:85a3:0000:0000:8a2e:0370:7334 — they use letters and numbers and are much longer. Most home networks still use IPv4, but IPv6 is becoming more common. Both are valid; you'll usually see IPv4 listed first.

Do I need to write down my IP address or can I just look it up again?

You can look it up again anytime using the same steps. However, if you're setting up a device or giving it to tech support, it's helpful to write it down or take a screenshot so you have it handy. Your private address usually stays the same, so you may only need to find it once.

Why does my computer show multiple IP addresses?

If you have multiple network adapters — for example, both Wi-Fi and Ethernet plugged in at the same time — each one gets its own address. Only the one you're actively using matters. If you're connected to Wi-Fi, use the Wi-Fi address. If you're plugged in with a cable, use the Ethernet address. You don't need both.