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

Your IP address is a number your computer uses to talk to other devices on your network and the internet. You may need to find it to troubleshoot a connection problem, set up a device on your home network, or give it to someone helping you with your computer. The steps differ slightly depending on whether you use Windows, Mac, or Linux, but all of them are straightforward.

You have two IP addresses: one for your home network (called a local or private IP address) and one for the internet (your public IP address). Most of the time, you need the local one — the number your router assigned to your specific computer.

Key Takeaways

  • On Windows, open Settings, go to Network & Internet, then Status to see your local IP address listed as "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 local IP address when ready.
  • Your local IP address usually starts with 192.168 or 10.0 and stays the same as long as your computer stays on the same network.
  • If you need your public IP address instead, search "what is my IP" in any browser to see the number the internet sees.

Finding your IP address on Windows 10 and 11

Open the Settings app by pressing the Windows key and typing "Settings", then press Enter. Click on "Network & Internet" in the left sidebar.

Select "Status" from the menu. Scroll down until you see a section called "IP settings". Your local IP address appears next to "IPv4 address" — it will be four numbers separated by periods, like 192.168.1.105. Write this down if you need it for later.

If you see "IPv6 address" as well, that is a newer type of address your network may also use. For most home network tasks, the IPv4 address is the one you need.

Finding your IP address on Mac

Click the Apple menu in the top-left corner and select "System Settings". Click "Network" in the sidebar on the left.

You will see a list of your network connections — usually "Wi-Fi" or "Ethernet" depending on how your Mac connects. Click the one you are currently using. A details pane opens on the right side. Your local IP address appears next to "IP Address" — again, four numbers separated by periods.

If you use Wi-Fi, make sure you click the Wi-Fi connection you are actually connected to, not a different network name in the list.

Finding your IP address on Linux

Open a terminal window. The exact way to do this depends on your Linux distribution, but usually you can right-click on the desktop and select "Open Terminal", or press Ctrl+Alt+T.

Type the command hostname -I and press Enter. Your local IP address will appear on the next line. If you see multiple addresses, the first one is usually the one you need.

If that command does not work, try ip addr show instead. Look for a line that starts with "inet" (not "inet6") and contains a number like 192.168.1.105 — that is your local IP address.

What to do if your IP address keeps changing

Your router normally assigns the same local IP address to your computer every time it connects, but this is not may provide. If you need the address to stay the same — for example, to set up port forwarding or to reach a printer on your network — you can ask your router to assign a static IP address to that computer.

Log into your router's settings page (usually by typing 192.168.1.1 or 192.168.0.1 into a browser). Look for a section called "DHCP" or "Local Network" settings. Most routers have an option to "reserve" an IP address for a specific device. You will need your computer's MAC address, which you can find in the same Network settings where you found your IP address.

If you are not comfortable changing router settings, ask the person who set up your network, or contact your internet provider's support line.

Finding your public IP address

Your public IP address is the one the internet sees when your computer connects to websites. It is assigned by your internet provider and is usually shared by all devices in your home (they all go through your router to reach the internet).

To find your public IP address, open any web browser and search for "what is my IP". The first result will show your public address. You can also visit sites like whatismyipaddress.com or ipinfo.io, which display your public IP address as soon as the page loads.

You rarely need your public IP address for home network tasks. You only need it if someone outside your home is trying to reach a service you are running on your computer, or if you are troubleshooting an internet connection problem with your provider.

Why you might need your IP address

The most common reason to find your IP address is to reach a device on your home network. If you have a printer, security camera, or network storage device, you often type its IP address into a browser to access its settings or see what it is doing.

You might also need it if you are setting up port forwarding in your router, connecting to your computer remotely, or troubleshooting a network problem. Someone helping you with a technical issue may ask for your IP address so they can understand where the problem is happening.

If you are having trouble connecting to your network, write down your IP address before you restart anything — it helps you and whoever is helping you figure out whether the problem is with your computer, your router, or your internet connection.

Frequently Asked Questions

Is my IP address the same as my MAC address?

No. Your MAC address is a permanent identifier built into your network card; your IP address is assigned by your router and can change. You need the MAC address to set up a static IP address in your router settings, but for most tasks you only need the IP address.

Can someone use my IP address to hack me?

Your local IP address (the 192.168 one) is only visible to other devices on your home network, so it is not a security risk. Your public IP address is visible to websites, but it only tells someone your internet provider and general location — not your home address or personal information. A real security threat comes from open ports or weak passwords, not the IP address itself.

Why do I see two different IP addresses when I look?

You probably found both your local IP address (from your router) and your public IP address (from the internet). The local one starts with 192.168 or 10.0; the public one is the number you see when you search "what is my IP" in a browser. For home network tasks, use the local address.

What if I cannot find the IP address in Settings?

Make sure you are looking at the network connection you are actually using right now. If you are on Wi-Fi, click the Wi-Fi connection, not Ethernet. If you are on Ethernet, click Ethernet, not Wi-Fi. On Windows, scroll down in the Status page — the IP address may be below the fold.

Does my IP address change when I restart my computer?

Usually not. Your router remembers which address it gave your computer and assigns the same one again. However, if your computer is off for a long time or your router restarts, you may get a different address. If you need it to stay the same, set up a static IP address in your router settings.