Your Mac has two IP addresses, and which one you need depends on what you're trying to do

Every Mac connected to the internet has a local IP address (the one your home or office network uses to talk to it) and a public IP address (the one the wider internet sees). Most of the time, you need the local one — to connect a printer, troubleshoot a network problem, or set up a device on your own network. The public one is useful if you're trying to understand how you appear to websites or services outside your network.

Finding either one takes less than a minute, and you have four straightforward routes depending on what's fastest for you right now.

Key Takeaways

  • Your local IP address starts with 192.168, 10.0, or 172.16 and lives in System Settings under Network.
  • The quickest method is opening System Settings, clicking Network, and reading the IP address shown next to "Wi-Fi" or "Ethernet".
  • Terminal gives you both your local and public IP in seconds if you already know how to open it.
  • If you need to find another Mac's IP on your network, you can check your router's connected devices list or use Terminal commands like arp -a.

Finding your local IP through System Settings

Open System Settings (the gear icon in your dock or Applications folder). Click Network in the left sidebar. You'll see your connection type — Wi-Fi or Ethernet — listed with a green dot next to it. Click that connection, and the IP address appears on the right side of the window, labeled "IP Address".

This is the address your own network uses to identify your Mac. It typically starts with 192.168, 10.0, or 172.16 followed by more numbers. Write it down or take a screenshot if you need it for a printer setup, a router configuration, or troubleshooting a connection problem.

Using Terminal for both local and public IP addresses

Open Terminal (Applications > Utilities > Terminal, or search for it with Spotlight). For your local IP, type ifconfig | grep "inet " | grep -v 127.0.0.1 and press Enter. You'll see one or more IP addresses — the one you're using is usually the first one that starts with 192.168 or 10.0.

For your public IP — the one websites see when you visit them — type curl ifconfig.me and press Enter. A single number string appears, which is your public IP. This is useful if you're checking whether your internet provider has assigned you a new address or if you're trying to understand how you appear to the outside internet.

Checking your router's device list

Your router keeps a list of every device connected to it, including their local IP addresses. Open a web browser and type your router's address into the address bar — usually 192.168.1.1 or 192.168.0.1, though some routers use different addresses. You may need to log in with a username and password (often printed on the router itself or in its manual).

Once you're logged in, look for a section called "Connected Devices," "Device List," "DHCP Clients," or "Attached Devices." Your Mac appears in that list with its local IP address next to it. This method is especially useful if you're trying to find the IP of another Mac or device on your network without having to walk over to it.

Finding another Mac's IP address on your network

If you need to locate a different Mac on your network, open Terminal and type arp -a, then press Enter. You'll see a list of devices and their IP addresses. Look for entries that start with 192.168 or 10.0 — those are your local network devices. The list shows the IP address and the device's hardware address, though it doesn't always show the device name clearly.

A more direct approach is to check your router's device list (described above), which usually shows device names alongside their IPs. If you know the other Mac's name, you can also try typing its name followed by .local into your browser — for example, johns-macbook.local — and your network will resolve it to the correct IP address.

Understanding the difference between local and public IP addresses

Your local IP address is assigned by your router and only works within your home or office network. It's what your printer, smart home devices, and other Macs use to find and talk to your computer. These addresses never leave your network — they're private by design.

Your public IP address is assigned by your internet service provider and is how the rest of the internet identifies your connection. Websites log it when you visit, and it's what your router uses to send data back to you from the outside world. If you restart your modem, your public IP often changes. Your local IP usually stays the same unless you restart your Mac or your router reassigns addresses.

Why you might need your IP address

You need your local IP when setting up a printer on your network, accessing your Mac remotely from another device, troubleshooting a connection problem with your router, or configuring network-dependent software. Your public IP is useful if you're checking whether your internet provider has changed your address, testing whether a website can reach you, or understanding how you appear to services outside your network.

If you're setting up remote access to your Mac (through Apple Remote Desktop or similar tools), you'll typically use the local IP if you're on the same network, and the public IP if you're accessing it from outside your home or office.

Frequently Asked Questions

Why does my IP address keep changing?

Your local IP changes if your router restarts or if you turn your Mac off and back on — routers reassign addresses from a pool. Your public IP changes when your modem restarts or your internet service provider refreshes your connection. If you need a stable local IP for a printer or remote access, you can set a static IP in your router's settings, usually under DHCP or Reserved IPs.

Is my public IP address a security risk?

Your public IP is visible to every website you visit and every service you connect to — it's not secret. However, it doesn't directly expose your personal information or let someone access your Mac. Your router's firewall blocks incoming connections by default. The real risk comes from services that log your IP and connect it to your browsing habits, not from the address itself.

Can I hide my public IP address?

A VPN (virtual private network) masks your public IP by routing your traffic through another server, so websites see the VPN's IP instead of yours. This is useful if you want to prevent your internet service provider or websites from logging your real location. However, you're then trusting the VPN provider with your traffic instead.

What if I can't find my IP address in System Settings?

Make sure you're connected to Wi-Fi or Ethernet — if you see "Not Connected" next to your connection type, you're offline. If you're connected but no IP appears, try unplugging your router for 30 seconds and plugging it back in, then reconnecting your Mac. If the problem persists, restart your Mac and check again.

Do I need to remember my IP address?

No. You can look it up whenever you need it using any of these methods. If you use it regularly for the same task (like accessing a printer), you might write it down or take a screenshot. For most people, finding it once when needed is sufficient.