Your Mac has two IP addresses, and which one you need depends on what you're trying to do
Your Mac connects to the internet through a local IP address (the one your home or office network assigns) and a public IP address (the one the outside world sees). Most of the time when someone asks for your Mac's IP address, they mean the local one — that's what you use to connect to printers, file servers, or other devices on your network. The public IP address is what your internet provider assigns to your router, and you rarely need it unless you're setting up remote access or troubleshooting with your ISP.
Finding either one takes less than a minute. The fastest method is System Settings, but you can also check from the Terminal or your router's admin page if you need to verify the information.
Key Takeaways
- Your local IP address appears in System Settings under Network, and it starts with 192.168 or 10.0 in most home networks.
- You can find your public IP address by searching "what is my IP" in any web browser, or by checking your router's admin page.
- The Terminal command ifconfig shows both addresses if you prefer the command line, though System Settings is faster for most people.
- If your Mac shows "Self-Assigned IP" instead of a real address, it means your router is not connecting properly and needs troubleshooting.
Finding your local IP address in System Settings
This is the fastest way for most people. Open System Settings (click the Apple menu in the top left, then System Settings). Click Network in the sidebar. You will see your connection type — either Wi-Fi or Ethernet — with a green dot next to it if you are connected.
Click the connection you are using. A details panel opens on the right. Look for the line that says "IP Address" — that is your local IP address. It will look something like 192.168.1.105 or 10.0.0.42. Write it down or take a screenshot if you need it for something else.
If you see "Self-Assigned IP" or no address at all, your Mac is not connected to the network properly. Disconnect from Wi-Fi and reconnect, or unplug and replug your Ethernet cable, then check System Settings again after 10 seconds.
Finding your public IP address through your browser
Your public IP address is what websites and remote services see when you connect to them. To find it, open any web browser and search for "what is my IP" or go directly to a site like whatismyipaddress.com. The page will display your public IP address immediately — usually a four-part number like 203.45.67.89.
This address changes periodically depending on your internet provider's setup. If you are setting up remote access to your Mac or need to give someone your IP for a video call service, this is usually not the one you need — use your local IP address instead. The public IP is mainly useful when troubleshooting with your ISP or setting up port forwarding on your router.
Using Terminal to check both addresses at once
If you are comfortable with the command line, Terminal shows both your local and public IP addresses. Open Terminal (search for it in Spotlight by pressing Command+Space, typing "Terminal", and pressing Enter). Type this command and press Enter:
ifconfig | grep "inet " | grep -v 127.0.0.1
This shows your local IP addresses. Look for the line that starts with "inet" — the address after it is your local IP. If you have both Wi-Fi and Ethernet connected, you will see two addresses; the one you are actively using is the one that matters.
To find your public IP from Terminal, type this command and press Enter:
curl ifconfig.me
Terminal will display your public IP address. This method is faster than opening a browser if you need to check multiple times, but System Settings is simpler if you only need the information once.
Checking your router's admin page
Your router keeps a record of every device connected to it, including your Mac's local IP address. Open a web browser and type your router's IP address into the address bar — this is usually 192.168.1.1 or 192.168.0.1, but check the sticker on the back of your router if neither works. You will be asked to log in; use the username and password printed on the router (often "admin" and "admin" or "admin" and the router's serial number).
Once logged in, look for a section called "Connected Devices," "DHCP Clients," or "Device List." Find your Mac in the list — it will be labeled with its computer name. The IP address shown next to it is your local IP address. This method is useful if you want to verify the address your Mac is actually using on the network, or if you need to find the address of another device on your network.
What to do if your Mac shows no IP address
If System Settings shows no IP address, or shows "Self-Assigned IP" with a number like 169.254.x.x, your Mac is not connecting to your network properly. First, check that you are connected to the right Wi-Fi network or that your Ethernet cable is plugged in firmly on both ends.
Restart your Mac. While it restarts, unplug your router's power cable for 10 seconds, then plug it back in. This resets the router and often fixes connection problems. Once your Mac restarts and the router finishes restarting (usually 1 to 2 minutes), check System Settings again. If you still see no address or a self-assigned one, restart your Mac one more time and wait a full minute before checking.
If the problem persists, try "forgetting" the Wi-Fi network: go to System Settings, click Wi-Fi, then click the three dots next to your network name and select "Forget This Network." Reconnect to it by selecting it from the Wi-Fi list and entering your password again. This forces your Mac to request a fresh address from the router.
Frequently Asked Questions
Why does my IP address keep changing?
Your router assigns local IP addresses temporarily — usually for 24 hours or longer. When that time expires, your Mac requests a new one, which is often different. This is normal and does not affect your connection. If you need your Mac to always have the same local IP address, you can set a static IP in System Settings under Network, though this is rarely necessary for everyday use.
Is my IP address the same as my Mac address?
No. Your IP address is a number your router assigns so devices can find each other on the network. Your Mac address (also called hardware address) is a unique identifier built into your network card. You need the IP address to connect to services; the Mac address is mainly used by network administrators and routers. You can find your Mac address in System Settings under Network by clicking Advanced and looking for the Hardware Address field.
Can someone find my location from my IP address?
Your public IP address can reveal your general location — usually your city or region — but not your exact address or home. Your local IP address (192.168.x.x or 10.0.x.x) is only visible to devices on your own network and cannot be seen by websites or remote services. If you are concerned about privacy, a VPN masks your public IP address from websites you visit.
What if I need to give someone my IP address for a video call or game?
Use your local IP address if you are both on the same network (same Wi-Fi or office network). Use your public IP address if you are in different locations. Most video call and gaming services handle this automatically, so you usually do not need to share your IP address at all — they find each other through the service itself. Only share your IP address if the service or person explicitly asks for it.