Find IP Address Mac: 4 Quick Ways
In this article
- Local vs. Public IP: What's the Difference?
- Method 1: System Settings (macOS Ventura and Later)
- Method 2: Using the Terminal (ipconfig and curl)
- Method 3: System Information and Network Utility
- Method 4: Using a Web Browser for Public IP
- Common Problems and Misconceptions
- How to Choose the Right Method
- Frequently Asked Questions
To find your Mac's IP address, open System Settings > Wi-Fi (or Network), click Details next to your connection, and you'll see it listed. There are four main ways to locate it, depending on whether you need the local IP or your public IP.
Local vs. Public IP: What's the Difference?
Your Mac has two IP addresses that matter: a local (private) IP assigned by your router (like 192.168.1.5) and a public IP assigned by your internet service provider (like 203.0.113.7). The local IP is used for communication within your home network—between your Mac, printer, and other devices. The public IP is what the outside world sees when you visit websites or use online services. Most troubleshooting tasks (like connecting a printer or setting up file sharing) require the local IP, while the public IP is only needed for remote access or port forwarding.
Method 1: System Settings (macOS Ventura and Later)
This is the most straightforward way on modern macOS versions:
- Click the Apple menu (top-left corner) and select System Settings.
- Click Wi-Fi in the sidebar (or Network if you're using Ethernet).
- Find your connected network and click the Details button next to it.
- Your local IP address appears in the IP Address field. You'll also see the subnet mask and router address here.
If you're on an older macOS (Monterey or earlier), the path is System Preferences > Network > select your connection > it's shown directly.
Method 2: Using the Terminal (ipconfig and curl)
For a quick command-line approach, open the Terminal app (found in Applications > Utilities) and type:
ipconfig getifaddr en0
This returns your local IPv4 address for Wi-Fi. If you're on Ethernet, use en1 instead. To see all network interfaces and their addresses, use ifconfig—it lists details for every interface (en0, en1, etc.). For your public IP, type:
curl ifconfig.me
This sends a request to an external service that echoes back your public IP. Other similar services include curl icanhazip.com or curl ipinfo.io/ip. The Terminal method is handy if you're already comfortable with command-line tools or need to script the lookup.
Method 3: System Information and Network Utility
Another built-in option is the System Information app:
- Hold the Option key and click the Apple menu, then select System Information.
- In the sidebar, go to Network.
- Select your active interface (Wi-Fi or Ethernet) from the list—the IP address is shown under the IPv4 Address field.
This method gives you more detailed network info, like MAC address, DNS servers, and the router's IP. The older Network Utility app (still available in some macOS versions) also shows IP info under its Info tab, but Apple has deprecated it in recent releases.
Method 4: Using a Web Browser for Public IP
If you only need your public IP and want a zero-terminal approach, just open Safari or any browser and search for “What's my IP.” The search results will display your public IP directly. Alternatively, visit a site like whatismyip.com or ipchicken.com—they show your public IP and often your approximate location. This method is the easiest for non-technical users, but it only shows the public IP, not the local one.
Common Problems and Misconceptions
One common mistake is confusing the IP address with the MAC address (a hardware identifier like 00:1A:2B:3C:4D:5E). The MAC address is permanent and used for network identification, but it's not the IP. Another issue: if you see a 169.254.x.x address, your Mac failed to get an IP from the router (often due to DHCP issues)—try renewing the DHCP lease in System Settings > Network > Details > TCP/IP > Renew DHCP Lease. Also note that your local IP can change over time unless you set a static IP or use DHCP reservation on your router. Many users mistakenly think the public IP is the same across all devices—it's actually shared by the whole household unless your ISP assigns multiple addresses.
How to Choose the Right Method
- Need it fast, GUI preferred? Use System Settings (Method 1).
- Comfortable with Terminal? Use
ipconfigfor local orcurlfor public (Method 2). - Need additional network details? Use System Information (Method 3).
- Only need public IP, minimal effort? Use a browser (Method 4).
For most home users, Method 1 is the best balance of speed and clarity. If you're setting up a server or need a stable address, you'll also need to configure a static IP—that's done in System Settings > Network > Details > TCP/IP, where you can switch from DHCP to Manual and enter an IP.
Frequently Asked Questions
How do I find my IP address on an old Mac (macOS Catalina or earlier)?
Go to System Preferences > Network, select your connection (Wi-Fi or Ethernet), and it's shown on the right side. For older versions like Mojave, the path is identical—System Preferences has been the standard until Ventura replaced it with System Settings.
Why does my IP address change?
By default, your router assigns IPs dynamically via DHCP, so your Mac can get a different address each time it reconnects. To keep it constant, either set a static IP on your Mac or configure a DHCP reservation on your router (which ties a specific IP to your Mac's MAC address).
What is a 169.254.x.x IP address?
That's an Automatic Private IP Addressing (APIPA) address. It means your Mac couldn't reach the DHCP server to get a proper IP. Check your Wi-Fi password, router status, or try renewing the DHCP lease in System Settings > Network > Details > TCP/IP.
How do I find my public IP from the Terminal?
Type curl ifconfig.me and press Enter. The output is your public IP. If that service is down, try curl icanhazip.com or curl ipinfo.io/ip. These services read your connection's external IP and return it as plain text.
Is my IP address the same on Wi-Fi and Ethernet?
No. Each network interface gets its own IP address. If you're connected to Wi-Fi, you have one local IP; if you plug in Ethernet, you get another—often different. The public IP stays the same because it's the same internet connection, unless your ISP changes it.