The fastest way: System Settings
Open System Settings (the gear icon in your dock or Applications folder). Click Wi-Fi in the left sidebar, then click the network name you're connected to. Your IP address appears next to "IP Address" — it looks like four numbers separated by dots, such as 192.168.1.105.
If you're using Ethernet instead of Wi-Fi, click Network in the left sidebar, select Ethernet, and the IP address is listed there. This method works on any recent macOS version and takes about 10 seconds.
System Settings is the method most people should use because it requires no typing and shows the information clearly. You don't need to remember commands or navigate through technical output — the address is right where you'd expect to find it.
Key Takeaways
- System Settings shows your IP address in about 10 seconds and is the easiest method for most people.
- Terminal gives you both your local IP address and other network details if you need more information at once.
- Your IP address changes when you disconnect and reconnect to Wi-Fi, so write it down if you need it later.
- The four-number format (like 192.168.1.105) is your local IP address — the one your home network uses, not the one the internet sees.
- Your public IP address is different from your local IP and is what websites see when you browse.
Using Terminal for more detail
Open Terminal (search for it in Spotlight by pressing Command+Space, typing "terminal", and pressing Enter). Paste this command and press Enter:
ifconfig | grep "inet " | grep -v 127.0.0.1
Terminal shows your IP address and other network information. Look for the line that starts with "inet" — the number after it is your local IP address. This method is faster if you need to check your IP often, because you can press the up arrow to repeat the command without retyping it.
Terminal also displays additional details like your subnet mask and broadcast address, which you may need when configuring network devices or troubleshooting connection problems. Most people don't need this extra information, but it's there if you do.
Finding your public IP address
Your local IP address (the one above) is what your home network uses. Your public IP address is what the internet sees when you visit a website — it's assigned by your internet provider and is different from your local address.
To find your public IP, open any web browser and go to whatismyipaddress.com or ipchicken.com. The page displays your public IP immediately. You can also search "what is my IP" in Google and the answer appears at the top of the results.
Your public IP is the address that identifies your entire home network to the outside world. If someone needs to connect to your Mac from outside your home, or if you're troubleshooting an internet problem with your provider, they'll ask for this number, not your local IP.
Why your IP address changes
Your local IP address usually stays the same while you're connected to the same Wi-Fi network. When you disconnect and reconnect, your router may assign you a different one — this is normal and not a problem.
Your public IP address changes less often, usually only when you restart your modem or after several days of being offline. If you need a permanent public IP for remote access or hosting, contact your internet provider about a static IP option — this typically costs extra.
Most people don't need to worry about IP changes. They only matter if you're setting up a device that needs to reach your Mac at the same address every time, or if you're hosting something that others need to connect to consistently.
When you need your IP address
You need your local IP address when setting up printers, security cameras, or other devices on your home network. You need your public IP address if someone outside your home network needs to connect to your Mac remotely, or if you're troubleshooting internet problems with your provider.
Write down whichever address you need, because it may change the next time you restart your router or reconnect to Wi-Fi. If you're setting up a device that needs a permanent address, check whether your router has an option to assign a fixed local IP to your Mac — this is usually called "DHCP reservation" or "static IP assignment" in your router settings.
Keeping your IP address stable
If you find yourself looking up your IP address repeatedly, you can make it stay the same. Most home routers allow you to reserve a specific local IP for your Mac, so it gets the same address every time you connect.
Log into your router's settings (usually by typing your router's IP address into a browser — check your router's label for this address). Look for a section called DHCP Reservation, Static IP, or Address Reservation. Select your Mac from the list of devices and assign it a fixed local IP. From then on, your Mac will get that same address whenever it connects to that network.
Frequently Asked Questions
Is my local IP address the same as my public IP?
No. Your local IP (like 192.168.1.105) is what your home network uses. Your public IP is what the internet sees and is assigned by your internet provider. They are different numbers.
Why does my IP address keep changing?
When you disconnect and reconnect to Wi-Fi, your router may assign you a new local IP address. This is normal. If you need the same address every time, ask your router to assign your Mac a static IP, or contact your internet provider about a static public IP.
Can I find my IP address on an older Mac?
Yes. On older macOS versions, open System Preferences instead of System Settings, click Network, select your connection, and the IP address is listed. The Terminal method works on all Mac versions.
What if System Settings doesn't show an IP address?
Your Mac is not connected to the network. Check that Wi-Fi is on and you're connected to a network name. If Ethernet is plugged in, make sure the cable is fully inserted. Restart your Mac if the connection still doesn't work.
Do I need my IP address to use the internet normally?
No. Your Mac handles IP addresses automatically in the background. You only need to know your IP address if you're setting up a device, troubleshooting a problem, or allowing someone to connect to your Mac remotely.