Home / Guides

How to find your IP address on Mac

Find your Mac's IP address in System Settings, from the menu bar, or in Terminal.

Looking for the address websites see? That's your public IP, and it's on our home page. The steps below find your device's private address on your local network.

The quickest way: the Wi-Fi menu

Hold the Option key and click the Wi-Fi icon in the menu bar. Your IP address and router address appear under your connected network.

In System Settings

  1. Open the Apple menu and choose System Settings, then Network.
  2. Select Wi-Fi (or your wired connection), then click Details next to the network you're on.
  3. Select TCP/IP. Your address is next to IP address, and your router's is next to Router.

On older versions of macOS, this is in System Preferences > Network.

In Terminal

Run ipconfig getifaddr en0. On most Macs, en0 is Wi-Fi. If nothing appears, try en1.

Get a new local IP address

In the same TCP/IP screen, click Renew DHCP Lease. This asks your router for a fresh address and can fix some connection problems. It doesn't change your public IP.

Common questions

What does "Self-assigned IP" mean on a Mac?

Your Mac couldn't get an address from the router and gave itself a temporary one starting with 169.254. Click Renew DHCP Lease in the TCP/IP settings, or restart your router.

How do I set a static IP address on a Mac?

In System Settings > Network, open your connection's Details, choose TCP/IP, and set Configure IPv4 to Manually. Then enter the address, subnet mask, and router.

Why does my Mac show an IPv6 address too?

Most networks now use both versions. The TCP/IP screen lists your IPv6 address below the IPv4 one. See IPv4 vs IPv6.

How do I find my public IP on a Mac?

macOS only shows your private address. Your public address, the one websites see, is on our home page.

Last updated October 2026.