↑

How to Find Your IP Address on a Mac (Wi-Fi, Ethernet, and Public IP)

Person finding a Mac IP address in System Settings with a home router and Wi-Fi devices nearby

Support asks for your IP address. You read out a number starting with 192.168, and they say that cannot be it. Both of you are right. Your Mac has more than one address, and each one answers a different question. This guide shows you how to find each one in under a minute, with no extra software.

First, which IP address do you need?

Every home network uses two kinds of address at the same time:

 Private (local) IPPublic IP
Example192.168.1.24The address websites see
Assigned byYour routerYour internet provider
Used forTalking to devices on your own Wi-Fi: printers, file sharing, screen sharing at homeReaching the internet; the number support desks, allowlists, and websites see
Where to find itIn System Settings or Terminal on the MacOn a what-is-my-IP page or in your router's status page

Your router sits between the two. Inside your home it hands each device a private address. When you visit a website, the router swaps that private address for the single public address your provider gave your connection, then swaps the reply back. That translation is why your phone and Mac on the same Wi-Fi normally show the same public address but different private ones.

Private addresses come from three ranges reserved for local networks, so you can recognise them on sight: 10.0.0.0 to 10.255.255.255, 172.16.0.0 to 172.31.255.255, and 192.168.0.0 to 192.168.255.255. Most home routers use the 192.168 range. If the number you found starts with one of those, you have your private address.

Method 1: Find your IP address in System Settings (no typing)

This is the clearest route on macOS Ventura and later, and it is the path Apple's Wi-Fi settings guide  documents.

On Wi-Fi:

  1. Choose Apple menu > System Settings, then click Wi-Fi in the sidebar. You may need to scroll down.
  2. Click Details next to the network you are connected to.
  3. Read the value next to IP address. That four-part number, for example 192.168.1.24, is your private IP address. The Router row below it shows your router's address.

On Ethernet:

  1. Choose Apple menu > System Settings, then click Network in the sidebar.
  2. Click your wired connection. It is usually named Ethernet, or after your adapter.
  3. Click Details, then click TCP/IP.
  4. Read the IPv4 Address field. The same pane shows the subnet mask, the router address, and how the address was obtained: Using DHCP (automatic) or Manually (entered by you or an administrator).

Shortcut on Wi-Fi: hold the Option key and click the Wi-Fi icon in the menu bar. The menu shows your IP address and router address under the network you are connected to, without opening Settings at all.

 

Viewing these details changes nothing, and you do not need an administrator account to see them. Your Mac does need an active network connection — a disconnected interface has no address to show. On macOS Monterey and earlier, the app is called System Preferences instead: choose Apple menu > System Preferences > Network, select your connection on the left, and read the address in the status area. Advanced > TCP/IP has the full details.

Method 2: Find your IP address in Terminal (one line)

Use this when you want the address fast, or when you are following written instructions that assume a command line.

  1. Open Terminal. Press Command + Space, type Terminal, and press Return. You will also find it in Applications > Utilities.
  2. Type ipconfig getifaddr en0 and press Return.
  3. Terminal prints your private IPv4 address on its own line. Nothing else changes.

On a MacBook, en0 is normally the Wi-Fi interface. On a Mac with a built-in Ethernet port, en0 can be the wired port instead, so if the command prints nothing, you are probably asking the wrong interface. Run ifconfig and look for the inet line under your active connection, ignoring the 127.0.0.1 loopback entry — that one is the Mac talking to itself, not your network address.

How to find your public IP address

macOS never shows your public address in Settings, because that address belongs to your router's internet connection, not to your Mac. A website has to tell you: it sees the address your connection arrives from.

Open an IP address checker and your public address appears straight away, along with connection details such as your provider and approximate location. Compare it with the private address from Method 1 — they will be completely different numbers, and both are yours.

Two things worth knowing. First, the location shown for a public address is an estimate from a database, not your exact home address; it can point to a nearby city or your provider's hub. Second, if you use a VPN, the checker shows the VPN's address while the VPN is on. Turn the VPN off and reload to see your normal connection address. Your router's status page also shows its internet (WAN) address, which usually matches.

If your address starts with 169.254

An address starting with 169.254 means your Mac could not get a normal address from the router, so it gave itself a temporary one. With it, your Mac can only talk to other devices on the same local segment — there is no gateway, so there is no internet.

Work through these checks in order:

  • Confirm you are connected to the right Wi-Fi network, or reseat the Ethernet cable at both ends.
  • Restart the router: unplug it for about 30 seconds, plug it back in, and give it a few minutes to come back.
  • Turn Wi-Fi off and on again on the Mac, or disconnect and reconnect to the network.
  • Check System Settings again and see whether the IP address now shows a normal 192.168 or 10. address.

Your Mac keeps retrying for a proper address in the background, so once the router answers again, the 169.254 address is replaced automatically. If it stays, the problem is usually the router or the connection between the Mac and the router, not the Mac's settings.

Which number should you give support?

Match the number to the job. For a printer, file share, or screen sharing between devices at home, give the private address from System Settings or Terminal. For anything outside your home — a work allowlist, a game server, or an internet provider troubleshooting your line — give the public address from the checker. And if someone asks for your router's address, that is the Router row in the same Details pane.

Keep both numbers handy and you will never be stuck reading out the wrong one again.

Share: X Facebook WhatsApp LinkedIn

Awais Arshad

FastToolKit publishes practical guides about free online tools and technology.