How to Find Your IP Address on Mac

On a Mac, just like any other OS, your local IP (inside your network) is different from your public IP (what the internet sees). Here are both methods — through Settings and through the Terminal.

Finding your public IP

The fastest way is to open the Show-IP.ir homepage in Safari or any other browser on your Mac — your public IP address, country, city, and ISP show up instantly.

Finding your local IP via System Settings

  1. Open System Settings (or System Preferences on older versions of macOS).
  2. Click Network.
  3. Select your connected network (Wi-Fi or Ethernet); your local IP address appears right on that screen.
  4. Click Details… for more information.

Finding your local IP via Terminal

Open the Terminal app (search "Terminal" in Spotlight) and run:

ipconfig getifaddr en0

That shows your Wi-Fi local IP. If you're on Ethernet, you may need to replace en0 with en1. Alternatively:

ifconfig | grep "inet "

Key takeaways

  • The fastest way to see your public IP: open Show-IP.ir.
  • Your local IP is visible under System Settings → Network.
  • From the Terminal, ipconfig getifaddr en0 shows your local IP too.
Show-IP.ir
Find your public IP address along with your country, city, ISP, time zone and location on a map. Includes VPN/proxy/Tor detection and a free subnet calculator.
Try it
Back to articles