
Quick Answer
To find your Mac’s network details:
- Open Apple menu > System Settings.
- Select Network in the sidebar.
- Choose your active connection, such as Wi-Fi or Ethernet.
- Click Details.
- Select TCP/IP to see your Mac’s IP address and router address.
- Select DNS to see the DNS servers configured for that connection.
On older macOS versions, open Apple menu > System Preferences > Network, select your connection, and click Advanced. The TCP/IP tab shows the IP address and router, while the DNS tab shows DNS servers.
What These Network Addresses Mean
Your Mac uses several network addresses to connect to websites, apps, and other devices. Although they can look like similar strings of numbers, each one has a different purpose.
- IP address: Identifies your Mac on the current network. A typical private IPv4 address looks like
192.168.1.25. - Router address: Identifies the router or gateway that connects your local network to the internet. It often looks like
192.168.1.1or10.0.0.1. - DNS server: Converts website names, such as
example.com, into IP addresses that computers can use. DNS servers may be provided by your router, internet provider, or a service you configured manually.
Your Mac can have different details for each network connection. For example, the values for Wi-Fi may not match the values for Ethernet. If you are troubleshooting a connection, check the interface you are actually using.
Find Your IP Address and Router Address in System Settings
This is the easiest method for most Mac users.
- Click the Apple menu in the upper-left corner of the screen.
- Select System Settings.
- Click Network in the sidebar.
- Select Wi-Fi if you are connected wirelessly, or select Ethernet if you are using a wired connection.
- Click Details next to the connected network.
A settings window will open with several categories.
- Select TCP/IP.
- Look for the following entries:
– IP address: Your Mac’s local address on this network.
– Router: The address of your network’s router or gateway.
– Configure IPv4: Usually set to Using DHCP on home networks.
If you also need the IPv6 address, look for the IPv6-related entries in the same area. IPv6 addresses are longer and contain letters and numbers separated by colons, such as fe80::....
If “Details” Is Not Available
You may not be connected to that network, or the connection may not be active. Return to Network, select the interface, and check its status. For Wi-Fi, make sure Wi-Fi is turned on and that a network is selected.
If your Mac is connected through a VPN, virtual machine, USB network adapter, or another network service, more than one interface may appear. Start with the connection showing that it is active or connected.
Find DNS Servers in System Settings
DNS information is listed separately from the IP address and router.
- Open Apple menu > System Settings.
- Select Network.
- Choose Wi-Fi or Ethernet, depending on your active connection.
- Click Details.
- Select DNS.
Under DNS Servers, you may see one or more addresses. Common entries include private router addresses, internet provider addresses, or public DNS addresses.
The list may be empty even when your Mac can browse the web. In that situation, your Mac may be receiving DNS information automatically through DHCP, with the router providing the actual DNS server details. You can also check the router’s configuration if you need to know which upstream DNS service it uses.
Avoid changing DNS entries unless you have a specific reason. Incorrect DNS settings can prevent websites and services from loading even when your Wi-Fi connection appears to work.
Find These Details on Older macOS Versions
Some Macs use System Preferences instead of System Settings. The labels and layout are different, but the information is in the same general location.
Find the IP Address and Router
- Click Apple menu > System Preferences.
- Select Network.
- Choose Wi-Fi or Ethernet from the left side.
- Click Advanced.
- Select the TCP/IP tab.
You should see:
- IPv4 Address: Your Mac’s local IPv4 address.
- Router: Your network’s router address.
- IPv6 Address: Your local IPv6 address, if available.
- Configure IPv4: The method used to assign the address.
Click Cancel if you only wanted to view the information. This prevents accidental changes.
Find DNS Servers
- Return to the network connection’s Advanced window.
- Select the DNS tab.
- Review the entries under DNS Servers.
The entries may be listed automatically or manually. Do not remove them unless you know why they were added and have a replacement available.
Find Your Mac’s IP Address with a Network Report
macOS also provides a report that can help identify connection details and hardware information.
- Hold the Option key on your keyboard.
- Click the Wi-Fi icon in the menu bar.
- Review the information shown in the Wi-Fi menu.
Depending on your macOS version and connection, this menu may show technical details such as the network name, channel, signal information, transmission rate, and router address. It is useful for a quick check, but System Settings > Network > Details is the more complete location for reviewing IP and DNS settings.
If the Wi-Fi icon is not visible, open Control Center from the menu bar and select Wi-Fi. You can also add Wi-Fi to the menu bar through System Settings > Control Center, depending on the options available on your Mac.
Find Network Details in Terminal
Terminal can display the same information without opening System Settings. This is useful when a graphical setting is difficult to access or when you are collecting information for technical support.
Open Applications > Utilities > Terminal, then use the commands below.
Display the Current IP Address
For Wi-Fi, which is commonly assigned the interface name en0, enter:
ipconfig getifaddr en0
For Ethernet, the interface may be en1 or another name. To identify available interfaces, enter:
networksetup -listallhardwareports
Look for the line labeled Device beneath Wi-Fi or Ethernet, then substitute that device name into the ipconfig command. For example:
ipconfig getifaddr en1
This command only displays information. It does not change your network configuration.
Display the Router Address
To show the default route and router address, enter:
route -n get default | grep gateway
The result typically includes a line similar to:
gateway: 192.168.1.1
The address after gateway: is the router or default gateway currently being used.
Display DNS Configuration
To view the DNS settings macOS is currently using, enter:
scutil --dns
This produces more output than the other commands. Look for lines containing nameserver, such as:
nameserver[0] : 192.168.1.1
You may see several resolvers, including separate entries for different network services, IPv4, IPv6, VPNs, or other software. This output reflects the active resolver configuration, which may not be identical to the entries shown for one specific interface in Network settings.
These Terminal commands only read network information. They do not alter settings and do not require a reversal method.
Public IP Address vs. Local IP Address
The IP address shown in System Settings > Network is normally your Mac’s private, local IP address. It identifies your Mac inside your home, office, school, or other local network.
It is different from your public IP address, which identifies your internet connection to websites and online services. A router usually shares one public IP address among multiple devices on the local network.
If a service specifically asks for your public IP address, do not provide the local address shown in Network settings. Instead, use a trusted website or check your router’s status page. Be cautious when sharing a public IP address because it identifies your internet connection, even though it does not normally reveal your exact physical location by itself.
Troubleshooting Missing or Incorrect Network Information
Your Mac Has an IP Address but No Internet Access
A local IP address only confirms that your Mac joined the network. It does not guarantee that the router has internet access.
Check the following:
- Confirm that the Router field contains an address.
- Open a browser and try more than one website.
- Disconnect and reconnect to Wi-Fi.
- Restart the router if other devices also cannot access the internet.
- Temporarily disconnect from a VPN or security app if it may be filtering traffic.
If other devices work normally but your Mac does not, the issue may be specific to the Mac’s network configuration.
The IP Address Starts with 169.254
An address beginning with 169.254 is a self-assigned address. It generally means your Mac could not obtain a normal address from the network’s DHCP service.
Try these steps:
- Turn Wi-Fi off, wait a few seconds, and turn it back on.
- Select the network again and reconnect.
- Restart the Mac.
- Restart the router if you manage it.
- Check whether another device can connect to the same network.
If the problem continues, the router’s DHCP service may be unavailable, the network may require a login, or the signal may be unreliable.
DNS Servers Are Missing or Websites Will Not Load
If the IP address and router are present but domain names do not load, DNS may be the problem.
- Confirm that the issue affects multiple websites.
- Disconnect from any VPN temporarily.
- Review Network > [connection] > Details > DNS.
- If your organization manages the Mac, contact its administrator before changing DNS.
- Restart the Mac or reconnect to the network.
Do not replace DNS servers as a first step unless you understand why the change is needed. A VPN, workplace network, parental-control service, or security tool may intentionally provide its own DNS settings.
The Router Address Is Not What You Expected
The router address depends on the network. Different networks can use different private address ranges, and a VPN or virtual network may show a different gateway from your physical Wi-Fi router.
Make sure you are checking the active connection rather than an inactive Ethernet, VPN, or virtual interface. If you are connected through a managed office or school network, the network administrator may control these values.
Your Mac Shows Several DNS Servers
Multiple DNS servers are normal. macOS may list primary and backup servers, IPv4 and IPv6 resolvers, or entries supplied by different network services.
If a VPN is active, it may add its own DNS servers. When troubleshooting, compare the DNS list with and without the VPN only if your organization’s policies allow it.
Frequently Asked Questions
What is the difference between my Mac’s IP address and the router address?
Your Mac’s IP address identifies the Mac on the local network. The router address identifies the device that forwards traffic between the local network and other networks, including the internet.
Is the router address the same as the gateway?
Usually, yes. In macOS network settings, Router generally refers to the default gateway used to send traffic outside the local network.
Can I find my IP address without using System Settings?
Yes. You can hold Option while clicking the Wi-Fi icon for a quick view, or use Terminal commands such as ipconfig getifaddr en0. System Settings provides the clearest complete view for most users.
Why does my IP address change?
Most networks assign IP addresses automatically through DHCP. The address can change after reconnecting, restarting the router, switching networks, or allowing a lease to expire.
Does my local IP address identify me on the internet?
No. A private local IP address identifies your Mac within its current network. Websites generally see the network’s public IP address instead.
Should I change my DNS servers?
Usually not unless you have a specific troubleshooting, privacy, performance, or network-configuration reason. Changing DNS can affect website access and may conflict with VPN, workplace, school, or security settings.
Final Thoughts
The most reliable path is Apple menu > System Settings > Network > Wi-Fi or Ethernet > Details. Open TCP/IP for your Mac’s IP address and router address, then open DNS for the configured DNS servers. Remember to check the active connection, since each network interface can have different settings.