Your IP address is a number your computer uses to talk to other devices on your network and the internet

Every device connected to your home network — your computer, phone, printer, smart TV — has its own IP address. Think of it like a mailing address: it tells other devices where to send information so it reaches the right place. Your computer actually has two IP addresses at any given moment: a local IP address that only devices in your home can see, and a public IP address that the wider internet sees when you browse.

You might need to find your local IP address to set up a printer, troubleshoot a connection problem, or log into your router's settings. Finding it takes less than a minute and requires no special tools — just a few clicks or typed commands depending on whether you use Windows, Mac, or Linux.

Key Takeaways

  • Your local IP address is a four-part number like 192.168.1.5 that only devices in your home can see.
  • Windows users can find it by opening Command Prompt and typing ipconfig, then looking for "IPv4 Address".
  • Mac users can find it in System Settings under Network, or by opening Terminal and typing ifconfig.
  • Linux users open a terminal and type ip addr or ifconfig to see all network information.
  • Your public IP address (the one the internet sees) is different and can be found by searching "what is my IP" in any browser.

Finding your IP address on Windows

The fastest way on Windows is through Command Prompt. Click the Start button, type cmd into the search box, and press Enter. A black window opens with a blinking cursor.

Type ipconfig and press Enter. You will see a list of network information. Look for the line that says IPv4 Address — the number next to it is your local IP address. It will look something like 192.168.1.5 or 10.0.0.42. That is the address you need if you are setting up a device or troubleshooting a connection.

If you prefer not to use Command Prompt, you can also find it through Settings. Open Settings, go to Network & Internet, select your connection type (Wi-Fi or Ethernet), and scroll down to find "IPv4 address" listed under your connection details.

Finding your IP address on Mac

On Mac, the easiest route is through System Settings. Click the Apple menu in the top left, select System Settings, then click Network in the sidebar. Select your active connection (usually Wi-Fi or Ethernet) and you will see your IP address listed as "IPv4 Address" on the right side of the window.

If you want to use Terminal instead, click the Spotlight icon (magnifying glass in the top right), type terminal, and press Enter. In the Terminal window, type ifconfig and press Enter. Look for the section labeled with your connection type (en0 for Ethernet, en1 for Wi-Fi on newer Macs). Your IP address appears on the line that starts with "inet" — it is the four-part number, not the one that starts with "inet6".

Finding your IP address on Linux

Open a terminal window (the method varies by Linux distribution, but usually involves right-clicking the desktop or using an process menu). Type ip addr and press Enter. You will see information for each network connection. Look for the section labeled with your connection name (often eth0 for Ethernet or wlan0 for Wi-Fi). Your IP address is the number after "inet" on that line.

If ip addr does not work on your system, try ifconfig instead — older Linux distributions use this command. The format is the same: find your connection name and look for the "inet" line.

Understanding what you are looking at

Your local IP address always starts with 192.168, 10.0, or 172.16 — these are reserved ranges that only work inside your home network. If you see a number that starts with something else (like 8.8.8.8), that is not your local address.

You will also see other information in the output: a subnet mask (usually 255.255.255.0), a gateway address (usually 192.168.1.1 or 10.0.0.1 — this is your router), and sometimes a DNS server address. For most purposes, you only need the IPv4 address itself.

Finding your public IP address

Your public IP address is what websites and internet services see when you connect to them. It is different from your local address and changes periodically depending on your internet provider. To find it, open any web browser and search for "what is my IP" or "my IP address". Google will show your public IP at the top of the results, or you can visit a site like whatismyipaddress.com.

You do not need to find your public IP for home network troubleshooting — it matters more when you are setting up remote access or checking whether your internet provider has changed your address. Your local IP is what you need for almost everything else.

Why you might need this information

The most common reason to find your local IP address is to set up a printer or other device on your network. Many printers need to know your computer's IP to communicate properly. Another reason is logging into your router's settings — you usually type your gateway address (often 192.168.1.1) into a browser to access router controls.

If you are troubleshooting a connection problem, your IT support person or device manufacturer might ask for your IP address to help diagnose the issue. Knowing how to find it quickly saves time and makes the conversation clearer.

Frequently Asked Questions

Does my IP address change?

Your local IP address usually stays the same unless you restart your router or your computer is offline for a long time. Your public IP address changes periodically — sometimes weekly, sometimes monthly — depending on your internet provider. Neither change is something you need to prevent; they happen automatically.

Is it safe to share my IP address?

Your local IP address is only visible to devices in your home, so there is no risk in sharing it. Your public IP address is visible to every website you visit, so websites already know it. Sharing your public IP with someone does not give them access to your computer or files — they would need much more information to do that.

What if I see multiple IP addresses?

If you have multiple network connections (Wi-Fi and Ethernet, for example), you will see multiple IP addresses — one for each connection. Use the address for whichever connection you are actually using. If you are connected to Wi-Fi, use the Wi-Fi address; if you are plugged in with Ethernet, use the Ethernet address.

Can I change my IP address?

You can change your local IP address through your router settings, but there is rarely a reason to do so. If a device is having trouble, restarting your router usually fixes the problem without needing to manually change anything. If you want to change your public IP, you can restart your modem, though your provider may assign you the same one again.

What is the difference between IPv4 and IPv6?

IPv4 addresses are the older format (four numbers separated by dots, like 192.168.1.5). IPv6 addresses are newer and longer (with colons and letters, like 2001:db8::1). Most home networks still use IPv4. If you see both listed, use the IPv4 address unless a device specifically asks for IPv6.