Product Session: Prove Before You Trust: Xcitium Just Changed How Cybersecurity Is Bought. December 01, 2026 | 11 AM EST.
  • November 23, 2026
  • 8 mins
How to Find IP Address on Mac: A Complete Step-by-Step Guide

You can find the IP address on a Mac in under a minute, either through System Settings, the Wi-Fi menu, or a single Terminal command. Knowing how is a small skill that pays off often.

An IP (Internet Protocol) address is the numeric label that identifies your Mac on a network. You might need it to set up a printer, configure port forwarding for a game server, connect to a remote desktop, troubleshoot a dropped connection, or give your IT team the details they need to support you.

This guide walks through every reliable method, from the point-and-click approach to quick command-line tricks. It also explains the difference between private and public addresses, how to fix common problems, and why IP visibility matters for security.

Private vs. Public IP Addresses: Know Which One You Need

Your Mac actually has two kinds of IP address, and the right one depends on what you are trying to do.

TypeWhat it identifiesTypical formatWhere it is used
Private (local) IPYour Mac inside your home or office network192.168.x.x, 10.x.x.x, or 172.16–31.x.xPrinters, file sharing, local servers, router settings
Public (external) IPYour whole network as seen by the internetAssigned by your ISP, e.g. 203.0.113.45Remote access, website allowlists, VPN and firewall rules

Your router hands out private addresses to each device on the network, usually through DHCP. Every device then shares the single public address your internet provider assigns to the router. That is why your Mac and your phone show different private IPs but the same public IP.

Most local tasks need the private address. Anything involving the outside world, such as connecting to your Mac from another location, needs the public one.

Method 1: Find Your IP Address in System Settings

System Settings is the easiest method and works on macOS Ventura and every later version. It shows your private IP address for whichever connection you are using.

find ip address on mac

If you are on Wi-Fi

  1. Click the Apple menu in the top-left corner and choose System Settings.
  2. Select Wi-Fi in the sidebar.
  3. Find the network you are connected to (it shows “Connected”) and click Details… next to it.
  4. Open the TCP/IP tab.
  5. Your private address appears next to IP address, along with your Router address and Subnet mask.

If you are on Ethernet

  1. Open System Settings and click Network in the sidebar.
  2. Select Ethernet (or the name of your USB or Thunderbolt adapter).
  3. Click Details… and open the TCP/IP tab.
  4. Read the value next to IP address.

On older macOS versions

On macOS Monterey and earlier, go to Apple menu > System Preferences > Network. Select your active connection in the left column. The IP address is displayed on the right, under the status line; click Advanced > TCP/IP for full details.

While you are on the TCP/IP tab, note the Configure IPv4 setting. “Using DHCP” means your router assigns the address automatically, which is the default for most users.

Method 2: Use Terminal Commands

Terminal gives you the IP address in seconds, which makes it the favorite of IT admins and power users. Open it from Applications > Utilities > Terminal, or press Command + Space and type “Terminal.”

Get your Wi-Fi IP address:

ipconfig getifaddr en0

On most MacBooks, en0 is the Wi-Fi interface. If the command returns nothing, you are probably on Ethernet; try en1 or another number.

List every active IPv4 address:

ifconfig | grep "inet "

Ignore 127.0.0.1, which is the loopback address your Mac uses to talk to itself. The other line, usually starting with 192.168 or 10, is your private IP.

Find your router (default gateway):

route get default | grep gateway

Check your full network configuration:

networksetup -getinfo Wi-Fi

This prints your IP address, subnet mask, router and DHCP status in one readable block. Replace Wi-Fi with Ethernet for a wired connection.

Method 3: The Option-Click Wi-Fi Shortcut

The fastest method of all needs no apps. Hold down the Option key and click the Wi-Fi icon in the menu bar.

An expanded menu appears with technical details about your current network. Look for the IP Address line under your connected network’s name. You will also see the router address, signal strength (RSSI), channel and security type, which is handy when diagnosing a weak connection.

If the Wi-Fi icon is missing from your menu bar, open System Settings > Control Center, find Wi-Fi, and set it to Show in Menu Bar.

Method 4: Find Your Public IP Address

Your Mac does not display its public IP anywhere in System Settings, because the address belongs to your router, not the computer. You have three easy options.

  1. Use a search engine. Type “what is my IP” into Google or another search engine, and the result usually appears at the top.
  2. Use Terminal. Run curl ifconfig.me or curl icanhazip.com, and your public address prints immediately.
  3. Check your router. Log in to your router’s admin page (usually by entering the router address from Method 1 into a browser) and look for “WAN IP” or “Internet IP.”

Keep in mind that if you are connected to a VPN, every method will show the VPN server’s address rather than your provider’s. Disconnect the VPN first if you need your true public IP.

IPv4 vs. IPv6 on Your Mac

Most people need the IPv4 address, the familiar four numbers separated by dots, such as 192.168.1.24. Many networks now also assign an IPv6 address, a longer string of letters and numbers separated by colons, such as fe80::1c2b:3a4d:5e6f:7a8b.

Both appear in the TCP/IP tab of System Settings. In Terminal, run ifconfig en0 | grep inet6 to see IPv6 addresses. Unless a device or service specifically asks for IPv6, use the IPv4 address.

Troubleshooting Common IP Address Problems

  • Your IP starts with 169.254. This “self-assigned” address means your Mac could not reach the router’s DHCP server. Restart your router, then go to TCP/IP and click Renew DHCP Lease.
  • The IP keeps changing. DHCP leases expire, so addresses can shift. For printers or servers, set a DHCP reservation in your router, or choose Manually under Configure IPv4 to assign a static address.
  • You see an IP conflict warning. Two devices claim the same address. Renewing the DHCP lease or restarting the router usually resolves it.
  • No IP address appears at all. Confirm Wi-Fi is on, forget and rejoin the network, or check the Ethernet cable and adapter.

Why IP Visibility Matters for Security

Your IP address is more than a troubleshooting detail; it is part of your security footprint. Attackers scan public IP ranges for open ports and exposed services, and a compromised device on a local network can be used to reach others.

A few habits reduce the risk:

  • Keep the macOS firewall on under System Settings > Network > Firewall.
  • Never forward ports on your router unless you know exactly why.
  • Use a trusted VPN on public Wi-Fi to mask your public IP.
  • Keep macOS and your apps updated so known network vulnerabilities are patched.

For organizations, the challenge grows with every endpoint. IT and security teams need to know which device holds which address, spot unusual connections, and contain threats before they spread across the network.

Frequently Asked Questions

1. What is the quickest way to find my IP address on a Mac? Hold Option and click the Wi-Fi icon in the menu bar. Your IP address is listed right there.

2. Is my Mac’s IP address the same as my public IP? No. System Settings shows your private IP on the local network. Your public IP is shared by every device behind your router and is found with a “what is my IP” search or curl ifconfig.me.

3. Can I change my Mac’s IP address? Yes. Renewing the DHCP lease may assign a new private IP, or you can set one manually in the TCP/IP tab. Your public IP is controlled by your internet provider, though a VPN can mask it.

4. Is it safe to share my IP address? Sharing your private IP is low-risk because it only works inside your network. Be more careful with your public IP, as it can reveal your approximate location and be targeted by scans.

Conclusion

Finding the IP address on a Mac takes seconds once you know where to look. Use System Settings for a visual walkthrough, the Option-click Wi-Fi menu for speed, Terminal for precision, and a quick web check for your public address.

For businesses, knowing an IP address is only the first step. Protecting every Mac, PC and server connected to your network requires real-time visibility and threat containment that stops attacks before they cause damage. Xcitium’s endpoint security platform helps your team isolate unknown threats, monitor devices and keep your network secure without slowing anyone down.

Ready to see how it works for your organization? Request a Demo with Xcitium

Like what you see? Share with a friend.

Please give us a star rating based on your experience.

19 votes, average: 2.26 out of 519 votes, average: 2.26 out of 519 votes, average: 2.26 out of 519 votes, average: 2.26 out of 519 votes, average: 2.26 out of 5 (19 votes, average: 2.26 out of 5, rated)
Patented Threat Prevention
Built For Today

Zero-day malware can't be stopped from entering,
but Xcitium prevents damage entirely. Zero infection.

By clicking “Accept All" button, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts. Cookie Disclosure

Manage Consent Preferences

When you visit any website, it may store or retrieve information on your browser, mostly in the form of cookies. This information might be about you, your preferences or your device and is mostly used to make the site work as you expect it to. The information does not usually directly identify you, but it can give you a more personalized web experience. Because we respect your right to privacy, you can choose not to allow some types of cookies. Click on the different category headings to find out more and change our default settings. However, blocking some types of cookies may impact your experience of the site and the services we are able to offer.

These cookies are necessary for the website to function and cannot be switched off in our systems. They are usually only set in response to actions made by you which amount to a request for services, such as setting your privacy preferences, logging in or filling in forms. You can set your browser to block or alert you about these cookies, but some parts of the site will not then work. These cookies do not store any personally identifiable information.
These cookies allow us to count visits and traffic sources so we can measure and improve the performance of our site. They help us to know which pages are the most and least popular and see how visitors move around the site. All information these cookies collect is aggregated and therefore anonymous. If you do not allow these cookies we will not know when you have visited our site, and will not be able to monitor its performance.
These cookies enable the website to provide enhanced functionality and personalisation. They may be set by us or by third party providers whose services we have added to our pages. If you do not allow these cookies then some or all of these services may not function properly.
These cookies may be set through our site by our advertising partners. They may be used by those companies to build a profile of your interests and show you relevant adverts on other sites. They do not store directly personal information, but are based on uniquely identifying your browser and internet device. If you do not allow these cookies, you will experience less targeted advertising.