Your Mac has two IP addresses, and you probably need the local one
Your Mac has an IP address — a number that identifies it on your home network so other devices can find it. When you're setting up a find home network, you'll often need this number to log into your router, check which devices are connected, or troubleshoot why something isn't working.
The address you need is almost always your local IP address (the one that starts with 192.168 or 10.0). This is different from your public IP address, which your internet provider assigns and which the outside internet sees. The local one is what matters for home network setup.
You can find your Mac's local IP address in about 30 seconds using System Settings. If you need it right now, jump to the "System Settings method" section below — that's the fastest way.
Key Takeaways
- Your Mac's local IP address starts with 192.168 or 10.0 and is what you need for home network setup and router login.
- The quickest method is opening System Settings, clicking Network, selecting your connection, and reading the IP address field.
- The Terminal method (typing ifconfig) shows the same information but requires typing a command — use it only if System Settings isn't working.
- Your IP address can change if your router reassigns it, so write it down or set a static IP if you need it to stay the same.
- If you see 169.254 as your IP address, your Mac isn't connected to the network properly and needs troubleshooting.
Finding your IP address through System Settings
Open System Settings (the gear icon in your dock or Applications folder). Click Network in the left sidebar — it's usually near the top.
You'll see a list of connection types on the left: Wi-Fi, Ethernet, or both. Click whichever one your Mac is actually using right now. If you're on Wi-Fi, click Wi-Fi. If you're plugged in with a cable, click Ethernet.
On the right side, you'll see connection details. Look for the field labeled IP Address. The number there — something like 192.168.1.105 — is your local IP address. Write it down or take a screenshot if you need to use it elsewhere.
If you don't see an IP Address field, or if the field shows 169.254.x.x, your Mac isn't properly connected to the network. Close System Settings and reconnect to your Wi-Fi network, then check again.
Using Terminal if System Settings doesn't show the address
If System Settings isn't displaying your IP address clearly, you can use Terminal to see it. Open Terminal (search for it in Spotlight by pressing Command-Space, typing "Terminal", and pressing Enter).
Type this command exactly and press Enter:
ifconfig | grep "inet " | grep -v 127.0.0.1
Terminal will show you several lines. Look for the line that starts with inet followed by a number like 192.168.1.105 or 10.0.0.50. That number is your IP address. Ignore any line showing 127.0.0.1 — that's your Mac talking to itself, not your network address.
If you see multiple inet lines, the one you want is usually the first one that isn't 127.0.0.1. If you're unsure which connection you're using, go back to System Settings and check whether you're on Wi-Fi or Ethernet, then use Terminal's output that matches that connection type.
Why your IP address might change, and when to worry
Your router automatically assigns IP addresses to devices on your network. Most routers are set to hand out new addresses periodically or when a device reconnects. This means your Mac's IP address might be different tomorrow than it is today.
For most home network tasks — like logging into your router or checking connected devices — this doesn't matter. You just look up the current address when you need it. But if you're setting up port forwarding, remote access, or other features that depend on a specific device always having the same address, you'll want to set a static IP address instead.
Setting a static IP is a router setting, not a Mac setting. Log into your router's admin page (usually 192.168.1.1 or 192.168.0.1 in your browser), find the DHCP or IP reservation section, and tell it to always give your Mac the same address. Your router's manual will have the exact steps, since every brand is different.
What to do if your Mac shows 169.254 as the IP address
If your IP address starts with 169.254, your Mac has connected to the network hardware but hasn't received an address from your router. This usually means your router isn't working properly, or your Mac isn't actually connected despite appearing to be.
First, forget the Wi-Fi network and reconnect. Click the Wi-Fi icon in the menu bar, select "Wi-Fi Settings", find your network in the list, click the info icon next to it, and choose "Forget This Network". Then reconnect by selecting the network again and entering your password.
If that doesn't work, restart your router by unplugging it for 30 seconds, plugging it back in, and waiting two minutes for it to fully boot. Then check your Mac's IP address again. If you still see 169.254, your router may need troubleshooting beyond this guide — contact your internet provider or router manufacturer.
Finding another device's IP address on your network
If you need to find the IP address of a different device — a printer, phone, or another computer — you can see all connected devices through your router. Log into your router's admin page (the address is usually printed on the router itself or in its manual), look for a section called "Connected Devices", "DHCP Clients", or "Device List", and you'll see every device on your network with its IP address.
Some routers also let you see this information through their phone app. Check your router's documentation to see if yours does.
If you need a device's IP address for network troubleshooting or setup, this router view is usually faster and more reliable than looking it up on the device itself.
Frequently Asked Questions
Is my IP address the same as my Wi-Fi password?
No. Your IP address is a number that identifies your device on the network (like 192.168.1.105). Your Wi-Fi password is what you type to connect to the network. They're completely separate. You need the password to connect; you need the IP address to manage the device once it's connected.
Can someone hack me if they know my IP address?
Your local IP address (192.168.x.x or 10.0.x.x) is only visible to devices already on your home network, so it's not a security risk by itself. Your public IP address is visible to the internet, but it's not enough to hack you — your router's firewall blocks incoming connections by default. If you're concerned about network security, focus on using a strong Wi-Fi password and keeping your router's firmware updated.
Why does my IP address keep changing?
Your router assigns addresses automatically and may reassign them when you restart your Mac, reconnect to Wi-Fi, or after a set period of time. If you need the address to stay the same, set a static IP address through your router's settings (not on your Mac). This tells your router to always give that device the same number.
What's the difference between my local IP and public IP?
Your local IP (192.168.x.x) is what devices on your home network use to find your Mac. Your public IP is what the internet sees and is assigned by your internet provider. You need the local IP for home network setup; your public IP matters only if you're setting up remote access from outside your home.
Do I need to write down my IP address?
Only if you're doing something that requires it to stay the same — like port forwarding or setting up a home server. For most tasks, you can just look it up again when you need it. It takes 30 seconds to find, so there's no need to memorize it.