Your Mac has a private IP on your local network. Websites see your network's public IP instead — check it on our home page.
Method 1: System Settings (macOS Ventura and later)
- Open the Apple menu → System Settings.
- Click Wi-Fi (or Network → Ethernet).
- Click Details… next to the network you are connected to.
- Select TCP/IP. You will see:
- IP address — your private IPv4 address
- Router — your router's IP (default gateway)
- IPv6 address — if your network supports IPv6
Method 2: The Wi-Fi menu shortcut
Hold the Option (⌥) key and click the Wi-Fi icon in the menu bar. Your IP address, router address and other details appear directly in the menu.
Method 3: Terminal
Open Terminal (Applications → Utilities) and run:
ipconfig getifaddr en0
en0 is usually Wi-Fi on laptops. If nothing prints, try en1. To see your router's address:
route -n get default | grep gateway
And to print your public IP:
curl -4 https://ipclarify.com
Which IP do I need?
- For devices on your network (printers, file sharing, port forwarding): the private IP from System Settings.
- For anything on the internet (whitelists, remote access, VPN checks): your public IP from our home page.
If your IP starts with 169.254
Your Mac could not get an address from the router. Turn Wi-Fi off and on, restart the router, or go to Details… → TCP/IP → Renew DHCP Lease.