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.
Related Articles
Can You Find a Facebook User by IP Address?
Understand what is and is not possible when trying to identify Facebook users by IP address, plus the privacy and legal issues involved.
Find IP Address in Windows 7, 10, or 11
Learn how to quickly find your IPv4 and IPv6 addresses on Windows 7, Windows 10, and Windows 11 using both GUI and command-line tools.
How to Find Your Default Gateway Address
Learn what a default gateway is, why it matters, and how to find the default gateway IP address on common systems.