The quickest way to find your PC's IP address

Your PC has an IP address assigned to it right now — it's the number your router uses to send data to your computer instead of to your printer or phone. You can find it in about 30 seconds using built-in tools that don't require any downloads or special software.

The method depends on whether you use Windows, Mac, or Linux, but all three show you the same information in roughly the same place. Most people need to know their IP address to troubleshoot a connection problem, set up a device on their network, or give remote support to someone else.

Key Takeaways

  • Windows users can open Command Prompt and type ipconfig to see their IP address listed as "IPv4 Address" in seconds.
  • Mac users open Terminal and type ifconfig to find the same information under "inet" in the en0 or en1 section.
  • Linux users open a terminal and type ip addr or ifconfig depending on their distribution.
  • Your IP address on the home network (like 192.168.1.5) is different from your public IP address, which your internet provider assigns.
  • If you see an address starting with 169.254, your PC is not connected to the network properly and needs troubleshooting.

Finding your IP address on Windows

Open Command Prompt by pressing the Windows key, typing cmd, and pressing Enter. A black window will open. Type ipconfig and press Enter.

Look for the section labeled "Ethernet adapter" or "Wireless LAN adapter" depending on how you're connected. Under that section, find the line that says "IPv4 Address" — the number next to it is your PC's address on your home network. It usually looks like 192.168.1.5 or 10.0.0.8. Write it down if you need it for setup or troubleshooting.

If you see multiple adapters listed (one for Ethernet, one for WiFi), check which one is actually connected. The one you're using will have an IPv4 Address. If you're using WiFi, look under the wireless adapter. If you're plugged in with a cable, look under Ethernet.

Finding your IP address on Mac

Open Terminal by pressing Command + Space, typing terminal, and pressing Enter. A white window will open. Type ifconfig and press Enter.

You'll see several sections. Find the one labeled en0 or en1 (these are your network connections). Look for the line that starts with "inet" — the number after it is your IP address. It will look like 192.168.1.5 or similar. Ignore the line that says "inet6" — that's a different type of address.

If you're connected by WiFi, the section you need is usually labeled en0. If you're using Ethernet, it might be en1 or en5. The easiest way to tell which one is active is to look for the section that has an "inet" address — the inactive ones won't have one.

Finding your IP address on Linux

Open a terminal window (the method varies by distribution, but usually you can right-click the desktop and select "Open Terminal" or search for "Terminal" in your applications menu). Type ip addr and press Enter.

Look for a section labeled with your connection name — usually eth0 for Ethernet or wlan0 for WiFi. Find the line that starts with "inet" and the number after it is your IP address. If your distribution doesn't recognize the ip command, try ifconfig instead, which works the same way as the Mac version.

Understanding what your IP address means

The address you just found (like 192.168.1.5) is your local IP address — it's only used inside your home network. Your router assigns it to your PC so other devices on your network know where to send data. Every device on your network has its own local IP address.

This is different from your public IP address, which is assigned by your internet provider and is how websites know where to send information back to your home. You don't usually need your public IP address for home network setup, but you might need it if you're setting up remote access or troubleshooting with your internet provider.

If your local IP address starts with 169.254 (like 169.254.1.5), your PC is not properly connected to the network. This usually means your router isn't assigning an address correctly, or your network cable is loose. Restart your router and your PC, then check again.

When you need to know your IP address

The most common reason to find your IP address is to set up a printer, camera, or other device on your network. Many devices have a web interface you access by typing the IP address into your browser — for example, you might type 192.168.1.100 into the address bar to configure a printer.

You might also need it if you're troubleshooting a connection problem with tech support, or if you're setting up remote access to your PC from another location. Some people also need it to set up port forwarding on their router, which lets outside devices connect to a specific computer on the home network.

If you're giving remote support to someone else, they can send you their IP address so you know which computer to connect to. This is especially useful if multiple people in the same house need help at the same time.

Frequently Asked Questions

Why does my IP address keep changing?

Your router assigns IP addresses automatically using DHCP, and it may reassign them when you restart your PC or router. If you need the same address every time, you can set a static IP address in your router settings, which tells it to always give that computer the same number. This is useful for devices like printers that you access by IP address.

Is my IP address the same as my MAC address?

No — they're completely different. Your MAC address is a hardware identifier that only works on your local network, while your IP address is how devices route data to you. You rarely need your MAC address unless you're filtering devices on your network or setting up a static IP assignment in your router.

Can someone find me using my local IP address?

No — your local IP address only works inside your home network. Someone on the internet cannot use it to reach you. Your public IP address is visible to websites, but it only tells them your internet provider's location, not your home address or personal information.

What if I don't see an IPv4 address in the output?

Your PC is not connected to the network. Check that your WiFi is turned on or your Ethernet cable is plugged in, then run the command again. If you still don't see an address, restart your router and your PC, wait 30 seconds, and try once more.