Where to find your IP address on a Mac

Your Mac has an IP address assigned to it whenever it connects to a network. You can find it in System Settings under Network, which shows your current address in seconds. The method depends on whether you want your local IP address (the one your home or office network uses) or your public IP address (the one the wider internet sees).

Most of the time you need the local address — the one that starts with 192.168 or 10.0. This is what you use to connect to your printer, access shared files on another computer, or troubleshoot network problems. Your public IP is less useful for everyday tasks but matters if you're setting up remote access or checking what address websites see.

Key Takeaways

  • Open System Settings, click Network on the left, select your connection (Wi-Fi or Ethernet), and your local IP address appears in the window.
  • Terminal shows your IP in one command: type ifconfig and look for the line starting with "inet" under your active connection.
  • Your public IP address (what the internet sees) is different from your local one and can be found by searching "what is my IP" in any browser.
  • Ethernet connections and Wi-Fi connections have separate IP addresses, so check the one you're actually using.

Using System Settings to find your local IP

This is the fastest way for most people. Click the Apple menu in the top left, select System Settings, then click Network in the sidebar. You'll see your active connection listed — either Wi-Fi or Ethernet depending on how you're connected.

Click the connection you're using. A window opens showing "IP Address" with a string of numbers like 192.168.1.105. That's your local address. If you're connected to both Wi-Fi and Ethernet at the same time, each one has its own IP address, so make sure you're looking at the right one.

Finding your IP address in Terminal

Terminal gives you more detail if you need it. Open Terminal (search for it in Spotlight by pressing Command-Space, type "Terminal", and press Enter). Type the command ifconfig and press Enter.

You'll see a list of network interfaces. Look for the one you're using — usually "en0" for Ethernet or "en1" for Wi-Fi on newer Macs. Under that section, find the line that starts with "inet" followed by numbers. That's your local IP address. Ignore lines starting with "inet6" — those are IPv6 addresses, a different format.

Checking your public IP address

Your public IP is what websites and services on the internet see when you connect to them. It's different from your local IP and changes less frequently, but it's not something you set — your internet provider assigns it.

To find it, open any web browser and search for "what is my IP" or visit a site like whatismyipaddress.com. The page displays your public address immediately. You don't need to install anything or run commands — the website detects it automatically from your connection.

Why you might need each type of address

Your local IP is what you use within your own network. If you're connecting to a printer on your home Wi-Fi, you'd use the printer's local IP. If you're troubleshooting why a device isn't connecting, you compare local IP addresses. If you're setting up file sharing between two Macs in the same house, you use local IPs.

Your public IP matters when you're accessing your Mac from outside your network — for example, if you set up remote access and want to connect from a coffee shop. It's also what services use to determine your general location (usually accurate to your city, not your street). Most everyday tasks don't require knowing your public IP at all.

What to do if your IP address keeps changing

Local IP addresses on home networks usually stay the same for weeks or months, but they can change if your router restarts or if your Mac reconnects to the network. If you need an address that doesn't change — for example, to always reach a device on your network — you can assign a static IP address in your router's settings, though this requires accessing the router's admin panel.

Public IP addresses change more often, sometimes daily, depending on your internet provider. If you need a stable public IP for remote access, you'd typically pay your provider for a static IP, or use a service like a dynamic DNS that tracks your changing address for you.

Frequently Asked Questions

Is my local IP address the same as my public IP address?

No. Your local IP is assigned by your router and only works within your network. Your public IP is assigned by your internet provider and is what the outside internet sees. They're completely different numbers.

Why does my IP address show as 127.0.0.1?

That's your loopback address, which means your Mac is talking to itself. It's not your real network address. Run ifconfig again and look for the inet line under your actual connection (en0 or en1), not under "lo0".

Can I change my IP address?

Your local IP can be changed by your router or by setting a static address in System Settings under Network. Your public IP is assigned by your internet provider and you can't change it directly, though restarting your modem sometimes triggers a new one.

Do I need to know my IP address to use my Mac normally?

No. Most people never need it. You only need it for specific tasks like connecting to a printer by IP, troubleshooting network problems, or setting up remote access.