Your Mac has two IP addresses you might need, and which one matters depends on what you're doing
Your IP address is a number that identifies your Mac on a network — like a mailing address for data. Most Macs have two: a local IP address (used only within your home or office network) and a public IP address (how the wider internet sees you). You'll find the local one far more often — it's what you need to connect a printer, access shared files, or troubleshoot network problems. Your public IP is what your internet service provider assigns and is harder to find because your Mac doesn't display it directly.
The fastest way to find your local IP is through System Settings. Open System Settings, click Network on the left, select your connection (Wi-Fi or Ethernet), and look for the IP address field — it's usually labeled "IPv4 Address" and looks like four numbers separated by dots, such as 192.168.1.5. That's the address you need for most everyday tasks.
Key Takeaways
- Your local IP address appears in System Settings under Network, in the details for whichever connection you're using (Wi-Fi or Ethernet).
- The Terminal app can show your IP address in one command if you prefer the command line, or confirm what System Settings shows.
- Your public IP address (what the internet sees) requires checking a website because your Mac doesn't store or display it directly.
- If you need to give someone remote access or set up port forwarding, you almost always need your local IP, not your public one.
Finding your local IP through System Settings
This is the method most people use because it requires no typing and works the same way on every Mac. Click the Apple menu in the top-left corner, then System Settings. On the left sidebar, click Network. You'll see a list of connection types — Wi-Fi is the most common, but if you're plugged in with an Ethernet cable, click that instead.
Once you've selected your connection, the right side of the window shows your connection details. Look for a field labeled "IPv4 Address" — the number next to it is your local IP address. It will be four numbers between 0 and 255, separated by dots. Write it down or take a screenshot if you need it for something else, like setting up a printer or accessing a shared folder.
Using Terminal to find your IP address
If you're comfortable with the command line, Terminal is faster once you know the command. Open Terminal (find it in Applications > Utilities, or press Command-Space and type "Terminal"). Type this command and press Enter: ifconfig | grep "inet " | grep -v 127.0.0.1
Terminal will show you a list of IP addresses. The one you're looking for starts with 192.168, 10., or 172.16 — those are the ranges reserved for local networks. Ignore anything that starts with 127.0.0.1 (that's your Mac talking to itself). If you have both Wi-Fi and Ethernet connected, you'll see both addresses; use whichever connection you're actually using.
Finding your public IP address
Your public IP is the address the outside internet sees when you connect to websites or services. Your Mac doesn't store this information — it comes from your internet service provider and can change. To find it, you need to ask a website what IP address you're coming from.
Open any web browser and go to whatismyipaddress.com or ipinfo.io. The page will immediately display your public IP address. These sites are read-only — they just show you information, they don't collect or store it. If you check again in a few minutes, the address might be the same or different depending on your internet service provider's setup.
When you need your local IP versus your public IP
Use your local IP (the 192.168 or 10.x address) when you're setting up devices on your own network: connecting a printer, accessing shared files on another Mac, setting up a security camera, or troubleshooting why something isn't working on your home network. This address only works within your network — someone outside your home can't use it to reach your Mac.
Use your public IP when you're setting up remote access from outside your network, configuring port forwarding on your router, or troubleshooting why an outside service can't reach you. If someone asks for your IP address to connect to your Mac from another location, they need your public IP, not your local one. However, giving out your public IP to strangers is a security risk — only share it with people you trust.
What to do if your IP address keeps changing
Your local IP address usually stays the same for weeks or months, but it can change if you restart your router or if your Mac reconnects to the network. If you need an address that never changes — for example, to always reach a printer at the same number — you can assign a static IP to your Mac through your router's settings.
Log into your router's admin page (usually 192.168.1.1 or 192.168.0.1 in a browser, with a password on the back of the router). Look for a section called DHCP, Reserved IPs, or Static IP Assignment. You'll need your Mac's MAC address (not the same as IP address — it's a hardware identifier). Find this in System Settings > Network, click Details or Advanced, and look for "MAC Address" or "Hardware Address." Your router's instructions will tell you how to reserve an IP for that MAC address.
Checking your IP address on different connection types
If your Mac switches between Wi-Fi and Ethernet, each connection gets its own local IP address. When you're on Wi-Fi, your IP might be 192.168.1.50. When you plug in Ethernet, it might be 192.168.1.100. Both are correct — they're just for different connections. To see all your addresses at once, open System Settings > Network and look at each connection type listed on the left. Click each one to see its IP.
If you're on a work network or a guest network, the process is the same, but the IP address range might be different. Work networks sometimes use 10.x.x.x addresses instead of 192.168.x.x. The method to find it stays identical: System Settings > Network, then look at the details for your active connection.
Frequently Asked Questions
Is my IP address the same as my MAC address?
No — they're completely different. Your IP address is a number that changes and identifies your Mac on a network right now. Your MAC address is a permanent hardware identifier that never changes. You need your IP address to connect to devices; you need your MAC address only when setting up static IPs or network security rules.
Why does my IP address start with 192.168 instead of something else?
Those ranges (192.168.x.x, 10.x.x.x, and 172.16.x.x) are reserved by the internet standards body for private networks only. Your router automatically assigns addresses from these ranges to devices on your home or office network. Public IP addresses, which the internet uses, come from different ranges and are assigned by your internet service provider.
Can someone hack me if they know my IP address?
Knowing your local IP address alone doesn't let someone outside your network reach you — it only works within your network. Your public IP is visible to websites you visit, but it's just one piece of information. Real security comes from your firewall, keeping software updated, and not opening ports unnecessarily. Sharing your public IP with a trusted person for remote access is usually safe if you use proper authentication.
What if I don't see an IP address in System Settings?
If the IP address field is blank or shows "Not Connected," your Mac isn't connected to the network. Check that Wi-Fi is on or that your Ethernet cable is plugged in. Wait a few seconds for the connection to establish, then check again. If it still doesn't appear, restart your Mac or restart your router.
Do I need to write down my IP address?
Only if you're setting up something specific — like giving a printer its address or configuring remote access. For most everyday tasks, you don't need to remember it. You can always look it up again in System Settings in under 10 seconds whenever you need it.