Finding your IP address takes under a minute on any computer

Your IP address is a set of numbers that identifies your computer on your home network and the internet. You may need to find it to troubleshoot a connection problem, set up a device, or check your router's settings. The steps differ slightly depending on whether you use Windows, Mac, or Linux, but all three methods are straightforward and require no special tools.

The fastest way is usually through your network settings. You can also find it by opening a command-line tool and typing a single command. Both methods take less than a minute and show you the same information.

Key Takeaways

  • On Windows, open Settings, go to Network & Internet, then Status to see your IP address listed under "IPv4 address".
  • On Mac, open System Settings, click Network, select your connection, and look for "IP Address" in the details pane.
  • On Linux, open a terminal and type hostname -I to see your IP address when ready.
  • You can also use the command line on any system: Windows users type ipconfig, Mac and Linux users type ifconfig or ip addr.
  • Your IP address may change if you restart your router or if your internet provider assigns addresses dynamically, so write it down only if you need it right away.

Finding your IP address on Windows 10 or 11

Open the Settings app by pressing the Windows key and typing "Settings", then press Enter. Click Network & Internet in the left sidebar. On the next screen, click Status. Scroll down until you see "IP settings" and look for the line that says IPv4 address — the numbers next to it are your IP address.

If you need to find it again later, this is the most reliable method because it shows you the address your computer is actually using right now. The address will look something like 192.168.1.50 or 10.0.0.25, depending on how your router is set up.

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 sidebar. Select the connection you are using — usually Wi-Fi or Ethernet — and a details pane will open on the right. Look for the line labeled IP Address.

If you are connected to Wi-Fi, make sure the Wi-Fi network name is highlighted in blue before you look at the details. If you are using Ethernet, select that instead. The IP address will appear in the same format as on Windows: four groups of numbers separated by periods.

Finding your IP address on Linux

Open a terminal window. Type hostname -I and press Enter. Your IP address will appear on the next line. This is the fastest method on any system if you are comfortable using the command line.

If that command does not work, try ip addr instead and look for the line that starts with "inet" under your active connection. The address will be the first set of numbers on that line, before the forward slash.

Using the command line on Windows

Open the Command Prompt by pressing the Windows key, typing "cmd", and pressing Enter. Type ipconfig and press Enter. Look for the line labeled IPv4 Address under the connection you are using. This method shows the same information as the Settings app but in a different format.

The command line output includes extra details like your subnet mask and default gateway, which you may need if you are troubleshooting a network problem. For most purposes, you only need the IPv4 address itself.

Understanding what you are looking at

Your IP address is usually a private address that only works on your home network. Private addresses always start with 10, 172, or 192 — so 192.168.1.50 is private, but 8.8.8.8 is public. Your router translates between your private address and your public address (the one the internet sees), so you do not need to worry about the difference for most tasks.

If you see an address that starts with 169, your computer is not connected to the network properly. Restart your router and your computer, then check again. If the address still starts with 169, your network connection may need troubleshooting beyond finding the IP address.

Why you might need your IP address

You may need to find your IP address to log into your router's settings, set up a printer or security camera on your network, or troubleshoot a connection problem with technical support. Some devices also ask for your computer's IP address when you are setting them up to connect to your network.

Write down your IP address only if you need it right away for a specific task. It can change if you restart your router or if your internet provider assigns addresses dynamically, so a number you wrote down yesterday may not be correct today. If you need a permanent address for a device, your router settings usually let you assign a fixed IP address to that device instead.

Frequently Asked Questions

Is my IP address the same as my Wi-Fi password?

No. Your IP address is a number that identifies your computer on the network. Your Wi-Fi password is what you type to connect to the network in the first place. They are completely separate. You do not need your Wi-Fi password to find your IP address.

Will finding my IP address change anything on my computer?

No. Looking at your IP address does not change any settings or affect how your computer works. It is safe to check whenever you need to.

What if I see two different IP addresses?

You may see both an IPv4 address (four groups of numbers) and an IPv6 address (longer, with letters and colons). Both are correct — IPv6 is the newer standard, but most home networks still use IPv4. Unless someone specifically asked for IPv6, use the IPv4 address.

Can I use my IP address to find out who is on my network?

Your IP address only identifies your computer, not other devices. To see what else is connected to your network, you would need to log into your router's settings using its IP address (usually 192.168.1.1 or 192.168.0.1) and look at the connected devices list there.

Does my IP address change every time I restart my computer?

Usually not. Most home routers assign the same IP address to the same computer each time it connects, unless you restart the router itself or go offline for a long time. If you need an address that never changes, you can set a static IP in your router settings.