What an IP address is and why you need to know yours

Your computer's IP address is a set of numbers that identifies it on your home network — like a mailing address for data. When you set up a find network, you sometimes need this number to log into your router, check which devices are connected, or troubleshoot why something isn't working. Every device on your network has one: your laptop, phone, printer, smart TV, all of it.

There are two types. Your local IP address (also called private IP) is what your router assigns to your device inside your home — it usually starts with 192.168 or 10.0. Your public IP address is what the outside internet sees, assigned by your internet provider. For home network security, you almost always need the local one.

Finding it takes less than a minute on any device. The steps differ slightly between Windows, Mac, and Linux, but the idea is the same: you're looking at your network settings.

Key Takeaways

  • Your local IP address is the number your router assigns to your device and usually starts with 192.168 or 10.0.
  • On Windows, open Settings, go to Network & Internet, then Status to see your IPv4 address listed.
  • On Mac, open System Settings, click Network, select your connection, and look for the IP address field.
  • You can also find it by opening Command Prompt (Windows) or Terminal (Mac) and typing a single command.
  • Write down your IP address if you need it for router login or device troubleshooting, since it can change if you restart.

Finding your IP address on Windows

The easiest way on Windows is through Settings. Click the Start button, type "Settings" into the search box, and open it. Then go to Network & Internet on the left side, click Status, and scroll down to find IPv4 address. That's your local IP — it will be four numbers separated by periods, like 192.168.1.105.

If you prefer the command line, open Command Prompt by pressing Windows key + R, typing "cmd", and pressing Enter. Type ipconfig and press Enter. Look for the line that says "IPv4 Address" under your active network connection. It's the same number you'd find in Settings, just faster if you're comfortable with the command line.

Finding your IP address on Mac

On Mac, open System Settings (the gear icon in the dock or Applications folder). Click Network on the left, select the network connection you're using (usually Wi-Fi), and look for the IP Address field on the right side. That's your local IP address.

From Terminal, you can also type ifconfig and press Enter. Look for "inet" followed by a number — that's your IP address. Terminal is faster if you check this often, but the Settings route works just as well and doesn't require remembering a command.

Finding your IP address on Linux

On Linux, open a terminal window. Type hostname -I and press Enter — your local IP address will appear on the next line. If that doesn't work, try ip addr show and look for "inet" followed by your IP address.

Different Linux distributions have graphical network settings too, but the terminal command is usually faster and works the same way on any version.

What to do once you have your IP address

Write it down or take a screenshot if you need it for something specific — logging into your router, checking connected devices, or troubleshooting a network problem. Keep in mind that your router can reassign IP addresses, so the number might change if you restart your device or your router. If you need the same address every time, you can set a static IP in your router settings, but that's a separate step and usually only necessary for devices like printers or security cameras that need to stay in one place.

If you're checking your IP address to see which devices are on your network, log into your router instead — that's where you'll see everything connected. Your router's address is usually printed on the back of the device itself, or you can find it by looking for "Default Gateway" in the same network settings where you found your IP address.

Public vs. local IP address

The IP address you just found is your local one — it only works inside your home network. Your public IP address is different and is assigned by your internet provider. You don't usually need your public IP for home network security, but if you do want to see it, you can visit a site like whatismyipaddress.com from any browser and it will display the number your internet provider assigned.

Your public IP can change if you restart your modem or if your provider reassigns it. Your local IP can change too if your router restarts, unless you've locked it down with a static assignment. For most home network tasks, the local IP is what matters.

Frequently Asked Questions

Why does my IP address keep changing?

Your router assigns IP addresses automatically by default, so restarting your device or router can give it a new one. If you need the same address every time — for a printer, camera, or router login — you can set a static IP in your router settings, which locks it in place.

Is my IP address private or can other people see it?

Your local IP address is only visible to devices on your home network. Your public IP address is visible to websites and services you connect to on the internet, but it doesn't reveal your home address or personal information by itself.

What if I can't find the IPv4 address in my network settings?

Make sure you're connected to your network — if you're offline, there won't be an IP address to display. If you're connected and still don't see it, try the command line method (ipconfig on Windows, ifconfig on Mac) instead, which usually works when the settings menu doesn't.

Do I need my IP address to find my home network?

Not always. You need it if you're logging into your router to change security settings, or if you're troubleshooting a specific device. For basic security like changing your Wi-Fi password, you don't need to know your IP address at all.