The fastest way to find your Mac's IP address
Open System Settings, click Network in the sidebar, then select your active connection — Wi-Fi or Ethernet. Your IP address appears next to "IP Address" on the right side of the screen. This is the address your Mac uses on your current network, and it changes each time you connect to a different Wi-Fi network or restart your router.
If you need the address right now and System Settings feels slow, you can also open Terminal (search for it in Spotlight by pressing Command-Space) and type ifconfig, then press Enter. Look for the line that says "inet" under either "en0" (Ethernet) or "en1" (Wi-Fi) — that's your IP address. It will look like four numbers separated by periods, such as 192.168.1.105.
Key Takeaways
- Your Mac's IP address appears in System Settings under Network, next to "IP Address" on the right panel.
- Terminal shows the same information when you type ifconfig and look for the "inet" line under your active connection.
- Your IP address changes when you switch networks or restart your router, so check it fresh each time you need it.
- The address you see locally (like 192.168.1.x) is different from your public IP, which is what websites see when you browse.
Finding your IP address through System Settings
System Settings is the most straightforward route for most people. Click the Apple menu in the top-left corner, select System Settings, then click Network in the sidebar on the left. You'll see a list of connection types — Wi-Fi, Ethernet, VPN, and others.
Click whichever connection is currently active (it will have a green dot next to it). On the right side of the window, you'll see several details about that connection. Your IP address is listed there clearly, along with your subnet mask, router address, and DNS servers. If you're on Wi-Fi, you'll also see the network name and signal strength.
This method works on any recent macOS version and doesn't require typing anything. If you need to share this address with someone else or write it down, you can simply read it from the screen or take a screenshot.
Using Terminal to check your IP address
Terminal gives you more detail than System Settings and runs faster on older Macs. Press Command-Space to open Spotlight, type "Terminal," and press Enter. A black window will open.
Type ifconfig and press Enter. You'll see a long list of network information. Find the section labeled "en0" (for Ethernet) or "en1" (for Wi-Fi) — whichever one you're using. Look for the line that starts with "inet" followed by a space. The numbers after that are your IP address.
You can also type ifconfig | grep inet to see only the IP addresses without all the extra information. This filters the output to show just the lines you need. If you want to copy the address, you can highlight it in Terminal and press Command-C.
The difference between local and public IP addresses
The address you find in System Settings or Terminal is your local IP address — the one your Mac uses to talk to other devices on your home or office network. It usually starts with 192.168 or 10.0, and it's only visible to devices connected to the same router.
Your public IP address is different. It's the address that websites and internet services see when you browse. Your router assigns this address to you, and it changes periodically. You can find your public IP by visiting a site like whatismyipaddress.com in your web browser, but you don't need Terminal or System Settings for that.
Most of the time, when someone asks for your IP address, they mean the local one. If you're troubleshooting a network problem or setting up a printer, you'll use the local address. If you're checking your privacy or seeing what the internet knows about you, you'll want the public one.
When you need to find your IP address
You might need your Mac's IP address to connect a printer to your network, access your Mac remotely from another computer, or troubleshoot a network problem. Some games and applications also ask for it when you're setting up a local connection with other players.
If you're setting up port forwarding on your router or giving tech support to someone, having your IP address handy saves time. Write it down or take a screenshot so you don't have to look it up again in the next few minutes — though remember that it can change if you restart your router or switch networks.
IP addresses that don't change vs. ones that do
By default, your Mac gets a new local IP address each time you connect to a network. Your router hands out these addresses automatically through a system called DHCP. This is fine for most people, but if you're running a server or need your Mac to stay at the same address, you can set a static IP instead.
To assign a static IP, go back to System Settings, click Network, select your connection, then click Details. Look for the TCP/IP tab and change the Configure IPv4 dropdown from "Automatic" to "Manual." You can then type in an IP address that won't change. Make sure the address you choose isn't already in use by another device on your network, and keep it within the range your router uses (usually 192.168.1.1 through 192.168.1.254).
Most people don't need to do this. A static IP is mainly useful if you're running a web server, hosting a game, or need your Mac to be at a specific address for remote access software.
Frequently Asked Questions
Why does my IP address keep changing?
Your router assigns IP addresses automatically through DHCP, and they expire and renew regularly. This is normal and happens to most devices. If you need the address to stay the same, you can set a static IP in System Settings under Network Details, TCP/IP tab.
Is my local IP address the same as my public IP?
No. Your local IP (like 192.168.1.105) is only visible on your home network. Your public IP is what websites see, and you can find it by visiting whatismyipaddress.com. Your router translates between the two.
Can I find my IP address on an older Mac?
Yes. On older macOS versions, go to System Preferences instead of System Settings, click Network, and your IP address will be listed there. Terminal's ifconfig command works on all Mac versions.
What if I don't see an IP address in System Settings?
Your Mac isn't connected to the network. Check that Wi-Fi is turned on, or plug in an Ethernet cable. If you're connected but still don't see an address, restart your Mac and try again.
Do I need my IP address to use the internet normally?
Your Mac gets and uses an IP address automatically — you don't need to do anything. You only need to find it if you're troubleshooting, setting up a device, or giving it to someone else for a specific reason.