Your Mac has two IP addresses you might need to know

Your Mac has a local IP address — the one your home network uses to talk to it — and a public IP address — the one the internet sees. For home network troubleshooting, you almost always need the local one. It usually starts with 192.168 or 10.0 and looks like 192.168.1.42. You can find it in System Settings in under a minute, or use the Terminal if you prefer the command line.

Knowing your Mac's local IP address matters when you're setting up a home network, connecting devices, or troubleshooting why something isn't working. Your router assigns this address automatically most of the time, but it can change, so you may need to look it up more than once.

Key Takeaways

  • Your local IP address appears in System Settings under Network, and it's the one you need for home network setup and troubleshooting.
  • The System Settings method takes 30 seconds and works on any recent Mac without opening Terminal.
  • Terminal commands like ifconfig or ipconfig getifaddr en0 show your IP address if you prefer the command line.
  • Your public IP address (what the internet sees) is different from your local one and is rarely needed for home network work.
  • If your IP address changes frequently, you can assign a static local IP in your router settings to keep it stable.

Finding your IP address in System Settings (fastest method)

Open System Settings and click Network in the sidebar. You'll see your active connection — usually Wi-Fi or Ethernet — listed with a green dot next to it. Click that connection name. The IP address appears on the right side of the window, labeled "IP Address". Write it down or take a screenshot if you need it for setup steps.

This method works on macOS Ventura, Sonoma, and newer versions. If you're on an older Mac running Big Sur or earlier, the layout is slightly different but the path is the same: System Settings (or System Preferences) > Network > your connection type.

Using Terminal to check your IP address

Open Terminal (find it in Applications > Utilities or search for it with Spotlight). Type one of these commands and press Enter:

For your Wi-Fi IP address: ipconfig getifaddr en0

For your Ethernet IP address: ipconfig getifaddr en1

For all network details at once: ifconfig

The first two commands show only your IP address. The ifconfig command shows more information — look for "inet" followed by a number that starts with 192.168 or 10.0. That's your local IP address. Terminal is useful if you're already working in the command line or if you want to check your IP address from a script.

Understanding which IP address you actually need

Your local IP address (192.168.x.x or 10.0.x.x) is what you use for home network tasks: connecting a printer, setting up a smart home device, accessing your Mac from another computer on the same network, or troubleshooting a connection problem. This is the address your router knows about.

Your public IP address is what websites and internet services see when you connect. You can find it by searching "what is my IP" in any browser, but you rarely need it for home network work. Your internet service provider assigns it, and it can change without warning unless you pay for a static public IP (which is uncommon for home use).

What to do if your IP address keeps changing

Your router assigns local IP addresses automatically using DHCP. Most home routers do this randomly, so your Mac might get 192.168.1.42 one day and 192.168.1.55 the next. If you're setting up a device that needs a stable address — like a printer or a network storage drive — you have two options.

The easier route is to set a DHCP reservation in your router. Log into your router's settings (usually 192.168.1.1 or 192.168.0.1 in a browser), find the DHCP or Local Network section, and tell it to always give your Mac the same IP address. The exact steps depend on your router brand, but most have a "reserved addresses" or "DHCP reservation" option.

The alternative is to set a static IP address on your Mac itself. Go to System Settings > Network, click your connection, then click Details. Switch from "Using DHCP" to "Manually" and enter an IP address in the same range as your network (like 192.168.1.100). This works but is less common because it requires you to remember the address and update it if you change routers.

Checking your IP address on a different Mac or network

If you need to know your Mac's IP address while you're away from home, you have limited options. Your local IP address only works on your home network, so it won't help you remotely. You would need to use a remote access tool like Apple Remote Desktop, TeamViewer, or SSH if you've set it up beforehand.

For most people, the practical answer is: write down or screenshot your local IP address when you're home, and keep it somewhere you can reference later. If your router supports it, you can also log into your router remotely and check which devices are connected and what addresses they have — but this requires setting up remote router access first, which most home networks don't need.

Frequently Asked Questions

Why does my IP address look different in System Settings than in Terminal?

It shouldn't — they're the same address. If they look different, you might be checking different network connections (Wi-Fi vs. Ethernet) or one of them isn't connected. Make sure both commands or windows are showing the same connection type.

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

No. Your local IP is 192.168.x.x or 10.0.x.x and only works on your home network. Your public IP is assigned by your internet service provider and is what websites see. They're completely different numbers.

Can I change my IP address if I don't like the one my router gave me?

Yes, but there's usually no reason to. You can set a DHCP reservation in your router to keep the same address, or set a static IP on your Mac. Most people leave it alone — the address your router picks works fine for home networking.

What if I can't find the Network section in System Settings?

Make sure you're in System Settings, not System Preferences (older Macs use Preferences). On very old Macs, click the Apple menu and look for System Preferences instead. If you still can't find it, Terminal's ipconfig getifaddr en0 command will always work.