Your Mac has two IP addresses you might need to find

Your Mac shows its IP address in System Settings under Network, or you can find it faster using Terminal or Spotlight. The address you see depends on how your Mac connects — Wi-Fi and Ethernet each have their own IP, and you may also have an IPv6 address alongside the more common IPv4 address.

Most of the time you need the IPv4 address, which looks like four numbers separated by dots (for example, 192.168.1.5). This is what you enter when you're setting up a printer, accessing your Mac remotely, or troubleshooting a network problem.

Key Takeaways

  • The quickest way to find your IP address is to open System Settings, click Network, and look for the address next to "IP Address" on the active connection.
  • Terminal shows your IP address in seconds if you type ifconfig and look for the line starting with "inet" under your connection type.
  • Spotlight search can show your IP address instantly — press Command-Space, type "ip address", and the result appears without opening any settings.
  • Your Mac may have both an IPv4 address (the standard four-number format) and an IPv6 address (longer, with colons and letters), depending on your network.

Finding your IP address in System Settings

Open System Settings and click Network in the sidebar. You'll see your active connection listed — either Wi-Fi or Ethernet. Click the connection name, and the IP Address field appears on the right side of the window. This is your IPv4 address.

If you're connected to both Wi-Fi and Ethernet at the same time, each connection has its own IP address. Click each one to see which address belongs to which connection. The address shown is the one your Mac is currently using for that specific network.

This method also shows your subnet mask and router address if you need them for network setup. Scroll down in the same window to find those details under "IPv4 Address" or "Configure IPv4".

Using Terminal to see your IP address

Open Terminal (find it in Applications > Utilities or search for it in Spotlight). Type ifconfig and press Enter. Your Mac displays a list of all network connections and their addresses.

Look for the section labeled en0 (Ethernet) or en1 (Wi-Fi, though the number varies). Under that section, find the line that starts with "inet" — the address next to it is your IPv4 address. Ignore lines starting with "inet6" unless you specifically need your IPv6 address.

Terminal also shows your MAC address (a different identifier from your IP address) on the line starting with "ether". This method is faster than opening System Settings if you only need the number and don't need to change anything.

Finding your IP address with Spotlight

Press Command-Space to open Spotlight search. Type "ip address" and your Mac displays the result at the top of the search window without you having to open any settings or applications. This is the fastest method if you just need the number quickly.

Spotlight also shows your computer name and other network details in the same result. This method works on recent versions of macOS (Monterey and newer) and is useful when you need the address but don't want to navigate through menus.

Understanding IPv4 and IPv6 addresses

Your Mac may show two different IP addresses: an IPv4 address (like 192.168.1.5) and an IPv6 address (like fe80::1). Both are correct — IPv6 is the newer standard, but most devices and services still use IPv4. Unless someone specifically asks for your IPv6 address, use the IPv4 address.

The IPv4 address is what you need for printers, remote access, port forwarding, and most network troubleshooting. IPv6 addresses are longer and contain letters and colons, making them harder to type and remember. Your router assigns both automatically in most cases.

What to do if your IP address keeps changing

Your Mac gets a new IP address each time you connect to a network or restart your Mac. This is normal — your router assigns addresses automatically using DHCP. If you need your Mac to keep the same address (for example, to set up port forwarding for a game server), you can assign a static IP address in System Settings.

Go to System Settings > Network, click your connection, then click Details. Look for the DHCP tab and change it to "Manual" or "Off" to set a static address. Write down your current address, subnet mask, and router address first — you'll need to enter them manually. Assigning a static address incorrectly can disconnect your Mac from the network, so only do this if you know what address to use.

Finding your IP address on older Macs

On macOS versions before Monterey, the path is slightly different. Open System Preferences (not System Settings), click Network, select your connection, and the IP address appears on the right. The information is the same — only the menu location changed.

Terminal and Spotlight methods work the same way on all recent macOS versions. If you're using an older Mac and the System Settings path doesn't match, Terminal is the most reliable method across all versions.

Frequently Asked Questions

Is my IP address the same as my MAC address?

No. Your IP address is a network address that changes when you connect to different networks or restart. Your MAC address is a hardware identifier that stays the same and is used only on your local network. Terminal shows both — MAC address is on the "ether" line, IP address is on the "inet" line.

Why does my IP address start with 192.168 or 10.0?

These are private IP addresses used only on your local network. Your router assigns them automatically. If you're accessing your Mac from outside your home network, you need your router's public IP address instead, which is different from your Mac's local address.

Can someone see my IP address and find my location?

Your local IP address (192.168.x.x or 10.x.x.x) is only visible to devices on your network. Your router's public IP address can be seen by websites you visit, and it reveals your general location (city or region, not your exact address). A VPN hides your public IP from websites.

What if I don't see an IP address in System Settings?

Your Mac may not be connected to the network. Check that Wi-Fi is on or that your Ethernet cable is plugged in. If you're connected but still don't see an address, restart your Mac or try forgetting the network and reconnecting. If the problem continues, your router may not be assigning addresses correctly.

Do I need my IP address to connect to Wi-Fi?

No. Your Mac gets an IP address automatically after you connect to Wi-Fi using the password. You only need to know your IP address if you're setting up a device on the network, troubleshooting a connection, or accessing your Mac remotely.