Where to find your IP address on a Mac

Your Mac's IP address lives in the network settings, and you can see it in about 30 seconds without downloading anything. The fastest route is System Settings, where you'll find both your local IP address (the one your home network uses) and your public IP address (the one the internet sees). Most people need the local address — that's what you use to connect to printers, security cameras, or other devices on your home network.

You have three working methods depending on what you're trying to do and how comfortable you are with your Mac. The System Settings route works for everyone. The Terminal method is faster once you know the command. The Network Utility gives you more detail if you're troubleshooting a connection problem.

Key Takeaways

  • Your local IP address appears in System Settings under Network, and it changes only when you switch networks or restart your router.
  • Your public IP address (what websites see) is different from your local one and requires a separate lookup or a Terminal command.
  • Terminal shows both addresses instantly if you type the right command, but System Settings is easier if you've never used Terminal before.
  • Your IP address on Wi-Fi is different from your IP address on Ethernet, so check the connection type you're actually using.

Finding your local IP address in System Settings

Open System Settings by clicking the Apple menu in the top-left corner, then select System Settings. Click Network in the left sidebar. You'll see your current connection — either Wi-Fi or Ethernet — with a green dot next to it. Click that connection name.

A details panel opens on the right side. Look for the line that says "IPv4 Address" — that's your local IP address. It usually looks like 192.168.1.100 or 10.0.0.50. Write it down or take a screenshot if you need it for something else, like connecting to a printer or accessing a security camera on your network.

If you're connected to multiple networks (Wi-Fi and Ethernet at the same time, for example), you'll have a different IP address on each one. Check the connection you're actually using right now — the one with the green dot.

Finding your public IP address without Terminal

Your public IP address is what the internet sees when you visit a website. It's different from your local address, and you can't find it in System Settings — you need to look it up online or use Terminal. The easiest no-Terminal method is to open a web browser and visit a site that shows your public IP.

Go to whatismyipaddress.com or similar sites in your browser. The page loads and displays your public IP address immediately — usually a four-part number like 203.45.67.89. These sites are safe and don't collect your information; they simply show you what your internet provider assigned to your connection.

You'll see both IPv4 and IPv6 addresses on most of these sites. Unless you specifically need IPv6 (which is rare), use the IPv4 address — it's the standard one most devices and services recognize.

Using Terminal to see both addresses at once

Terminal is the command-line tool built into every Mac. If you've never opened it before, click the Spotlight search icon (magnifying glass) in the top-right corner, type "Terminal," and press Enter. A black window opens.

To see your local IP address, type this command and press Enter: ifconfig | grep "inet " | grep -v 127.0.0.1. Terminal shows you every local IP address your Mac has — one for Wi-Fi, one for Ethernet if you're plugged in, and possibly others. Look for the address that starts with 192.168 or 10.0 — that's your local one.

To see your public IP address from Terminal, type: curl ifconfig.me and press Enter. Terminal connects to a server and displays your public IP in one line. This method is faster than opening a browser if you need both addresses quickly.

Don't worry if Terminal looks intimidating — you're just typing two short commands. You can't break anything by typing these specific lines, and you can close Terminal anytime by pressing Command+Q.

What to do if you see multiple IP addresses

If you're connected to both Wi-Fi and Ethernet at the same time, your Mac has two local IP addresses — one for each connection. This is normal and not a problem. Use the address that matches the connection you're actually using right now. If you're on Wi-Fi, use the Wi-Fi address. If you're plugged into Ethernet, use the Ethernet address.

You'll also see 127.0.0.1 in Terminal output — that's your Mac talking to itself and you can ignore it. The address you want starts with 192.168 or 10.0 for a home network, or something else if you're on a business network.

If you see an address starting with 169.254, your Mac is connected to the network but didn't receive a proper address from your router. Restart your router and reconnect — this usually fixes it within a minute.

When and why you need your IP address

You need your local IP address when you're setting up a device on your home network — connecting a printer, accessing a security camera, or logging into a router. You type the IP address into your browser's address bar to reach that device. Your printer manual or camera instructions will tell you if you need this.

Your public IP address matters less often, but you might need it if you're troubleshooting an internet connection problem with your provider, or if you're setting up remote access to your Mac from outside your home. Most people never need to look it up.

Both addresses change sometimes. Your local address changes when you restart your router or switch networks. Your public address changes when your internet provider reassigns it, which can happen days or months apart depending on your provider. If you need an address to stay the same, your router settings usually have an option to assign a permanent local address to a specific device.

Frequently Asked Questions

Why do I have different IP addresses on Wi-Fi and Ethernet?

Because they're two separate network connections. Your Mac treats them as different devices, so your router gives each one its own address. You only use one at a time — whichever connection you're actually connected to right now.

Is my public IP address the same as my local IP address?

No. Your local address is only used inside your home network. Your public address is what the internet sees. They look similar but are completely different numbers. Your router translates between them automatically.

Will my IP address change if I restart my Mac?

Your local address usually stays the same when you restart your Mac, as long as you stay on the same network. Your public address won't change unless your internet provider reassigns it, which is separate from restarting your computer.

Can I change my IP address?

Your local address can be changed in System Settings under Network, though most people don't need to. Your public address is assigned by your internet provider and you can't change it directly — you'd need to contact them or restart your modem.

What if Terminal shows an error when I type the command?

Make sure you typed the command exactly as shown, including spaces and punctuation. If it still doesn't work, close Terminal and try the System Settings method instead — it's simpler and works the same way.