Your Mac has two IP addresses you might need to find
Your Mac uses an IP address to communicate on a network — one address for your local network (called a private IP) and potentially another for the internet (called a public IP). The private IP is what you need most often: to connect printers, set up file sharing, or troubleshoot network problems. You can find your private IP in System Settings in under a minute. Your public IP — the one the outside internet sees — requires a different method.
The steps differ slightly depending on whether you're using Wi-Fi or Ethernet, but both are straightforward. If you're setting up a device on your home network or helping someone troubleshoot a connection, you almost certainly need the private IP address, not the public one.
Key Takeaways
- Your private IP address (the one for your local network) is found in System Settings under Network, and it starts with 192.168, 10, or 172.
- Wi-Fi and Ethernet connections show their IP addresses in different places within System Settings, though the process takes the same amount of time.
- Your public IP address (what the internet sees) requires visiting a website like whatismyipaddress.com, not checking your Mac's settings.
- You may need your IP address to connect wireless printers, access shared files, or give to tech support for troubleshooting.
Finding your private IP on Wi-Fi
Open System Settings (the gear icon in your dock or Applications folder). Click Wi-Fi in the left sidebar. Next to the network you're connected to, click the Details button or the information icon. Your IP address appears under "IPv4 Address" — it will look something like 192.168.1.105.
If you don't see a Details button, your Mac may show the IP address directly in the Wi-Fi menu. Look for a line that starts with "IP Address:" on the main Wi-Fi screen. Write down the full number if you need it for a printer or device setup.
Finding your private IP on Ethernet
Open System Settings and click Ethernet in the left sidebar (not Wi-Fi). If you're connected via Ethernet cable, your IP address appears immediately under "IPv4 Address." Ethernet connections are usually more stable for this information because the address rarely changes, unlike Wi-Fi which may reassign addresses if you disconnect and reconnect.
If Ethernet doesn't appear in your sidebar, your Mac isn't currently connected via cable. You'll need to use the Wi-Fi method instead, or plug in an Ethernet cable first.
Using Terminal to find your IP address
If you prefer the command line, Terminal shows your IP address in seconds. Open Terminal (search for it in Spotlight or find it in Applications > Utilities). Type ifconfig and press Enter. Look for the section labeled en0 (Ethernet) or en1 (Wi-Fi, depending on your Mac model). Your private IP appears next to "inet" — ignore the "inet6" line, which is a different type of address.
This method is useful if System Settings isn't responding or if you need to check your IP address repeatedly. The Terminal approach works the same way on every Mac and doesn't require navigating menus.
Finding your public IP address
Your public IP — the address the outside internet sees when you browse — is not stored on your Mac. Instead, visit a website that reports it back to you. Open any web browser and go to whatismyipaddress.com or ipchicken.com. The site displays your public IP immediately at the top of the page.
You need your public IP if you're setting up remote access to your Mac, troubleshooting with an internet service provider, or checking if your location is being tracked. Your private IP (the one in System Settings) won't help for these tasks — they require the public address instead.
When you need each type of address
Use your private IP when connecting devices on your home or office network: wireless printers, network drives, smart home devices, or other Macs you want to share files with. You also give your private IP to tech support if they're helping you troubleshoot your local network.
Use your public IP when setting up remote access from outside your network, reporting abuse or spam to an internet provider, or checking geolocation services. Most everyday network tasks on your Mac use the private address, so if you're unsure which one you need, start with the private IP from System Settings.
Frequently Asked Questions
Why does my IP address keep changing?
Your router assigns IP addresses automatically using DHCP, and these addresses can change when you disconnect and reconnect to Wi-Fi or restart your Mac. If you need a stable address for a printer or device, you can set a static IP in your router's settings, which tells it to always give your Mac the same address.
Is my private IP address private and secure?
Your private IP is only visible to devices on your local network (your home Wi-Fi or office network), not to the internet. It's safe to share with someone helping you troubleshoot or with a printer manufacturer. Your public IP is visible to websites you visit, but that's normal and expected.
What if I see multiple IP addresses in Terminal?
Your Mac may have several network interfaces listed (en0, en1, en2, etc.), and each shows its own address. Usually en0 is your primary connection. If you're on Wi-Fi, look for the address under the Wi-Fi section. If you're unsure which one is active, System Settings shows only your current connection's address, which is simpler.
Can I change my IP address?
You can't change your private IP directly on your Mac — your router assigns it. You can unplug your router for 30 seconds and plug it back in to force a new address, or ask your router to assign a static IP to your Mac's hardware address (called MAC address, different from the computer name). Your public IP changes when your internet provider reassigns it, which happens periodically.