Your Mac has two IP addresses you might need to find

Your Mac uses an IP address to communicate on a network — it's like a mailing address for data. You'll see two types: a local IP address (used only within your home or office network) and a public IP address (how the wider internet identifies your connection). Most of the time, you need the local one. Finding it takes less than a minute and requires no special software.

The local IP address usually starts with 192.168 or 10.0 and changes only when you restart your Mac or switch networks. Your public IP address is assigned by your internet provider and you can see it by visiting a website like whatismyipaddress.com, but that's rarely what you need for troubleshooting or connecting devices at home.

Key Takeaways

  • Your local IP address appears in System Settings under Network, and it's the one you need for most home networking tasks.
  • The fastest method is to hold Option and click the Wi-Fi icon in the menu bar, which shows your IP address instantly without opening any windows.
  • If you're connected by Ethernet cable instead of Wi-Fi, the process is identical — just look under Ethernet instead of Wi-Fi in System Settings.
  • Terminal shows your IP address with a single command (ipconfig getifaddr en0 for Wi-Fi or en5 for Ethernet), useful if you prefer the command line.

Method 1: System Settings (the straightforward way)

Open System Settings by clicking the Apple menu in the top-left corner, then select System Settings. Click Network in the left sidebar. If you're connected to Wi-Fi, click Wi-Fi on the right side — your local IP address appears next to "IPv4 Address" in the details that open. If you're using an Ethernet cable, click Ethernet instead.

This method works on all recent macOS versions (Monterey, Ventura, Sonoma, and newer). On older Macs running Big Sur or earlier, the path is slightly different: go to System Preferences instead of System Settings, then Network, then select your connection type and look for the IP address in the same place.

Method 2: Menu bar shortcut (the fastest way)

Hold down the Option key and click the Wi-Fi icon in the menu bar at the top-right of your screen. A dropdown menu appears showing your connection details, including your local IP address next to "IP Address." This is the quickest method if you need the address in a hurry and don't want to open System Settings.

If you're using Ethernet, this method doesn't work — you'll need to use System Settings or Terminal instead. The Option-click trick only works for Wi-Fi connections.

Method 3: Terminal (for command-line users)

Open Terminal by pressing Command + Space, typing "terminal," and pressing Enter. At the prompt, type ipconfig getifaddr en0 and press Enter. Your local IP address appears on the next line. This command works for Wi-Fi connections; for Ethernet, type ipconfig getifaddr en5 instead.

Terminal is useful if you're already working in the command line or if you want to check your IP address without navigating menus. The command works the same way on all macOS versions.

Method 4: Network Utility (the detailed view)

Open Finder, click Applications in the sidebar, then double-click Utilities. Find and open Network Utility. Click the Info tab, select your network interface from the dropdown (usually en0 for Wi-Fi or en5 for Ethernet), and your IP address appears in the details below.

This method shows more information than you typically need, but it's useful if you want to see additional network details like your MAC address or subnet mask at the same time. Network Utility is less commonly used now that System Settings shows the same information more clearly.

When you need your public IP address instead

Your public IP address is what websites see when you visit them — it's assigned by your internet provider and shared by everyone on your home network. You don't need it for connecting devices at home or troubleshooting local network problems. To find it, visit whatismyipaddress.com or iplocation.net in any web browser, and your public IP appears at the top of the page.

Your public IP changes periodically (sometimes daily, sometimes monthly, depending on your provider's settings). If you need a stable public IP for remote access or hosting, contact your internet provider about a static IP option — this usually costs extra and requires a business or premium plan.

Troubleshooting: what to do if you don't see an IP address

If System Settings shows "No IP Address" or the field is empty, your Mac isn't connected to the network properly. First, check that you're actually connected: look at the Wi-Fi icon in the menu bar (it should show signal bars, not an X). If the icon shows an X, click it and select your network, then enter your Wi-Fi password.

If you're connected but still see no IP address, restart your Mac and try again. If the problem persists, restart your Wi-Fi router by unplugging it for 30 seconds, plugging it back in, and waiting two minutes for it to fully restart. Then check System Settings again. If you still see no IP address after these steps, your router may not be assigning addresses correctly — contact your internet provider or router manufacturer for support.

Frequently Asked Questions

Why do I need to know my IP address?

You need it to connect to your Mac remotely, set up printers or other devices on your network, troubleshoot connection problems, or configure your router. Most home users don't need it often, but it's useful to know how to find it when you do.

Is my local IP address private and safe to share?

Yes. Your local IP address only works within your home or office network — it's not visible to the internet. You can safely share it with someone helping you troubleshoot or with a device you're trying to connect. Your public IP is the one you should keep private.

Will my IP address change if I restart my Mac?

Usually not. Your local IP address stays the same unless you restart your router or your Mac is disconnected from the network for a long time. If you need a permanent IP address for a specific device, you can set a static IP in System Settings under Network > Advanced > TCP/IP.

What's the difference between IPv4 and IPv6?

IPv4 addresses look like 192.168.1.5 (four numbers separated by dots). IPv6 addresses are newer and look like 2001:0db8:85a3::8a2e:0370:7334 (letters and numbers with colons). Most home networks use IPv4, but your Mac may show both. Either one works for connecting devices — use whichever one your device asks for.

Can I change my IP address?

Your local IP is assigned by your router automatically. You can set a static (permanent) local IP in System Settings if you need one to stay the same, but most people don't need to. Your public IP is assigned by your internet provider and changes on their schedule — you can't change it directly.