What an IP address is and why you need it
Your computer's IP address is a set of numbers that identifies your device on your network — like a mailing address for data. It looks like four numbers separated by dots: 192.168.1.5 or something similar. You need this number when you're setting up a home network, troubleshooting connection problems, or giving a technician information about your device.
Every device connected to your network — your laptop, phone, printer, security camera — has its own IP address. Your router assigns these addresses automatically, so they can change over time. That's why you might need to find it again later.
Key Takeaways
- Your IP address appears in your network settings on Windows, Mac, or Linux, and the steps differ slightly for each.
- On Windows, you can find it in Settings under Network or by typing a command in the search box.
- On Mac, the IP address shows up in System Settings under Network.
- Write down your IP address if you need it for setup or troubleshooting, since it may change when you restart your router.
Finding your IP address on Windows
The fastest way on Windows is to use the search box. Click the Windows icon in the bottom left corner, type cmd, and press Enter. A black window opens. Type ipconfig and press Enter. Look for the line that says "IPv4 Address" — the number next to it is your IP address.
If you prefer not to use the command window, you can find it in Settings instead. Click the Windows icon, then go to Settings > Network & Internet > Wi-Fi (or Ethernet if you're plugged in with a cable). Scroll down and click "Properties." Your IP address appears under "IPv4 address."
Finding your IP address on Mac
On a Mac, click the Apple menu in the top left corner and select System Settings. Click Network on the left side. If you're connected to Wi-Fi, click Wi-Fi. If you're using an Ethernet cable, click Ethernet. Your IP address appears on the right side of the window next to "IP Address."
The number you're looking for starts with 192.168 or 10.0 in most home networks. If you see something that starts with 169.254, your device is not properly connected to your network — try disconnecting and reconnecting to Wi-Fi, or unplugging and replugging your Ethernet cable.
Finding your IP address on Linux
Open a terminal window. Type hostname -I and press Enter. Your IP address appears on the next line. If you have multiple network connections, you may see more than one address — the one you need is usually the first one, starting with 192.168 or 10.0.
Alternatively, type ip addr show for more detailed information. Look for the line labeled "inet" under your active connection — the number after "inet" is your IP address.
What to do with your IP address once you have it
Write it down or take a screenshot if you need it for setup instructions or troubleshooting. Keep in mind that this address can change, especially if you restart your router or if your device hasn't been connected for a while. If you need the address to stay the same — for example, to set up port forwarding or to always reach a printer — you can assign a static IP address in your router's settings, but that's a separate step.
If you're setting up a home network and a technician or setup guide asks for your IP address, this is the number to give them. If you're troubleshooting a connection problem, having this number on hand helps you describe what's happening to your internet provider or router manufacturer.
Troubleshooting if you can't find your IP address
If the steps above don't show an IP address, or if you see an address starting with 169.254, your device is not connected to your network properly. First, check that you're actually connected — on Windows or Mac, look for the Wi-Fi icon or Ethernet icon in the top right (Mac) or bottom right (Windows) corner and make sure it shows a connection. On Linux, run nmcli device show to see connection status.
If you're connected but still don't see an IP address, restart your device and try again. If the problem continues, restart your router by unplugging it for 30 seconds, plugging it back in, and waiting two minutes for it to fully restart. Then check for your IP address again.
Frequently Asked Questions
Why does my IP address keep changing?
Your router assigns IP addresses automatically and can reassign them when a device reconnects or after a restart. This is normal. If you need an address that stays the same, you can set a static IP in your router's settings, though this requires logging into your router's admin panel — usually found by typing 192.168.1.1 or 192.168.0.1 into a web browser.
Is my IP address the same as my internet address?
No. Your IP address is what your device uses inside your home network. Your internet address (called your public IP) is what the outside world sees when you browse the web. You can find your public IP by searching "what is my IP" in any search engine, but for home network setup, you need the private IP address shown in your settings.
Can I find someone's IP address from their email or social media?
Not directly from email or social media alone. An IP address only identifies a device on a network, not a person. Even if you had someone's IP address, it would only tell you their internet provider and general location, not their identity or home address.
What if I see multiple IP addresses on my computer?
You may have both a Wi-Fi connection and an Ethernet connection active at the same time, or you may be running virtual machines. Use the address for the connection you're actually using — if you're on Wi-Fi, use the Wi-Fi address; if you're plugged in with a cable, use the Ethernet address.