Your Mac has two IP addresses you might need, and which one matters depends on what you're trying to do
Your IP address is a number that identifies your Mac on a network — like a postal address for data. Most Macs have two: a local IP address (used only within your home or office network) and a public IP address (how the wider internet sees you). If you're troubleshooting a connection, setting up a printer, or accessing your Mac remotely, you'll need the local one. If you're checking what address websites see, you need the public one. The fastest way to find your local IP is through System Settings; finding your public IP requires a website.
Knowing which address you need saves time. Your local IP starts with 192.168, 10, or 172.16 and never leaves your network. Your public IP is a different number entirely and changes more often. This guide shows you how to find both.
Key Takeaways
- Your local IP address appears in System Settings under Network and starts with 192.168, 10, or 172.16 — this is what you need for most home troubleshooting.
- The Terminal app can show your local IP in one command if you prefer the command line over clicking through menus.
- Your public IP address (what the internet sees) requires visiting a website like whatismyipaddress.com because your Mac cannot see it on its own.
- If your Mac is not connected to the internet or network, no method will show an IP address — check your Wi-Fi or Ethernet connection first.
Finding your local IP through System Settings
Open System Settings (the gear icon in your dock or Applications folder). Click Wi-Fi in the left sidebar if you're connected wirelessly, or Network if you're using Ethernet. You'll see your connection listed — click the name of your network or the "Details" button next to it. A window opens showing connection details. Look for the line labeled IP Address; the number there (usually starting with 192.168 or 10) is your local IP.
If you're using Ethernet instead of Wi-Fi, the process is the same: go to Network in System Settings, select your Ethernet connection, and the IP address appears in the details. If you see "Inactive" or no IP address listed, your connection is not working — try unplugging and replugging the cable, or turning Wi-Fi off and back on.
Using Terminal to find your local IP quickly
Open Terminal (search for it in Spotlight by pressing Command + Space, type "Terminal", and press Enter). Type this command and press Enter: ifconfig | grep "inet " | grep -v 127.0.0.1. The output shows your local IP address — it's the number after "inet" that is not 127.0.0.1. This method is faster if you use Terminal often, but System Settings is easier if you rarely need it.
If you see multiple IP addresses listed, you likely have both Wi-Fi and Ethernet connected. The one you're actually using depends on which connection is active — System Settings makes this clearer because it shows which network you're connected to. Terminal is most useful when you're already working in the command line or need to check your IP as part of a troubleshooting script.
Finding your public IP address online
Your public IP is the address that websites and internet services see when you connect to them. Your Mac cannot tell you this address on its own — you need to ask a website. Open any web browser and visit whatismyipaddress.com, ipinfo.io, or search "what is my IP address" in Google. The site displays your public IP immediately. This is the address you would give someone if they needed to connect to your Mac from outside your home network, or if you're troubleshooting an internet service that blocks or tracks by IP.
Your public IP often changes — your internet provider may assign you a new one every time you restart your modem, or on a schedule. If you need a stable public IP for remote access or hosting, you would need to contact your internet provider about a static IP, which usually costs extra. Most home users do not need a static IP.
What to do if you cannot find an IP address
If System Settings shows "No IP Address" or "Not Connected", your Mac is not on the network. For Wi-Fi: check that Wi-Fi is turned on (look at the Wi-Fi icon in the menu bar at the top right), and that you've selected a network and entered the password correctly. For Ethernet: make sure the cable is plugged into both your Mac and your router or wall jack, and that the port lights are on.
If you're connected but still see no IP address, restart your Mac and your router (unplug the router for 30 seconds, then plug it back in). If the problem persists, your router may not be assigning IP addresses correctly — this is a router issue, not a Mac issue, and you may need to restart the router or contact your internet provider. Most of the time, a router restart solves this.
Why you might need your IP address
Your local IP is useful for several common tasks. If you're setting up a printer on your network, you may need to enter your Mac's IP address into the printer's settings. If you're troubleshooting a slow connection, your internet provider might ask for it. If you're accessing your Mac from another computer on the same network (using Screen Sharing or file sharing), you need the local IP. If you're setting up port forwarding on your router to run a server or game, the local IP goes into the router's settings.
Your public IP matters less often in daily use, but websites use it to determine your approximate location, and some services block or throttle traffic from certain IP ranges. If a website is blocking you, changing your public IP (by restarting your modem) sometimes solves it. Understanding when you need each address prevents wasted troubleshooting steps.
Frequently Asked Questions
Is my IP address private or can anyone see it?
Your local IP is private — only devices on your home or office network can see it. Your public IP is visible to every website you visit and every internet service you connect to. Websites use it to identify you, though they cannot see your name or personal files without additional information. If privacy is a concern, a VPN masks your public IP by routing your traffic through another server.
Why do I have two different IP addresses?
Your local IP identifies you within your home network so your router knows where to send data. Your public IP identifies you to the wider internet. Your router translates between them — it's like having a home address and a mailing address. The router is the bridge.
Does my IP address change?
Your local IP usually stays the same as long as you're on the same network, though it can change if your router restarts or if you're away and reconnect later. Your public IP changes more often — usually when you restart your modem, though some internet providers change it on a schedule. If you need a stable IP for remote access, contact your internet provider about a static IP option.
Can I change my IP address?
Your local IP can be changed in System Settings under Network by switching from "Using DHCP" to "Manual" and entering a new address, but this is rarely necessary and can break network access if done wrong. Your public IP changes automatically when you restart your modem. If you want to hide your public IP, use a VPN instead of trying to change it.