How to find your Mac’s MAC address

EthernetIconXThe MAC address for a system is its Media Access Control address, which is a unique string of hexadecimal characters that identifies your system’s physical port on the network. This address is used by routers on your local network to ensure proper assignment of IP addresses, and network information routing. It can also be used for special services like Wake On Lan, where you can send a datagram called a magic packet to a system to trigger it into an active mode from sleep or standby.

Because a MAC address is unique for a physical interface, your Mac may have several different MAC addresses. For instance, you will have one for your Wi-Fi adapter, and another for your Ethernet adapter. If you are configuring a router or other device that requires your MAC address, then you will need to differentiate between these to ensure proper communication with your device.

MAC address in OS X

The Mac address for the selected network port can be found here (click for larger view).

There are several ways to look up the MAC address in OS X:

The System Preferences

  1. Open the Network system preferences
  2. Select your desired network connection (usually the active one)
  3. Click the Advanced button
  4. Click the Hardware tab, where you will find the MAC address listed
MAC addresses in System Information

The MAC address for multiple interfaces may be listed, so be sure to differentiate them (click for larger view)

The System Information Utility

  1. Search for “System Information” in Spotlight and open the application (also in the Applications > Utilities folder)
  2. Select the Network category
  3. Select your Wi-Fi or Ethernet ports, and look up the respective MAC address

Note that you might see the MAC address listed for both Ethernet and Wi-Fi in the same pane, so be sure to differentiate between these by their labels.

MAC address lookup in the Terminal

This Mac does not have an Ethernet port, so the command returns an “invalid” error (click for larger view).

The Terminal

  1. Open the Terminal (in the Applications > Utilities folder)
  2. Run the following command, replacing “Wi-Fi” with “Ethernet” (or “Ethernet 2″, etc.) where appropriate:
networksetup -getmacaddress Wi-Fi

Note that in this command, if the port exists then you will get a MAC address returned, but if not then you will get an error stating the parameters are invalid.

One thought on “How to find your Mac’s MAC address

  1. MaX

    Is there a way to force-change the Mac’s MAC address? That is useful to renew the public IP address on cable networks, for instance, if for some reason the currently assigned public IP address does not allow to access some web servers. Thanks.

    Reply

Leave a Reply