How to Find IP Address on Mac
Discover multiple ways to find your Mac’s IP address, including System Settings, Terminal commands, and router tools.
Using System Settings or System Preferences
On recent macOS versions, open System Settings and go to Network. Select your active interface—Wi‑Fi or Ethernet—and look for the IP address listed under the connection details.
On older macOS releases with System Preferences, open the Network pane, select your interface, and read the IP address displayed beneath the status indicator.
Using Terminal Commands
For command-line access, open Terminal and use ifconfig or ipconfig getifaddr. The ifconfig command lists all network interfaces and their IP addresses, while ipconfig getifaddr en0 (or en1) can show a specific Wi‑Fi or Ethernet address.
These tools are handy for scripted checks, remote management, or when working via SSH without a graphical desktop.
Use the correct interface name for Wi‑Fi or Ethernet.
ifconfig
ipconfig getifaddr en0
Finding Your Public IP from macOS
To discover the public IP your Mac uses on the internet, you can visit an IP-checking website in Safari or another browser. Alternatively, run a command such as curl ifconfig.me or curl https://api.ipify.org in Terminal.
Remember that this public IP is usually associated with your router or VPN endpoint rather than your Mac alone, especially on home and office networks.