Definition

What is a MAC address and how do I find it?

What is a MAC address (media access control address)?

A MAC address (media access control address) is a 12-digit hexadecimal number assigned to each device connected to the network. Primarily specified as a unique identifier during device manufacturing, the MAC address is often found on a device's network interface card (NIC). A MAC address is required when trying to locate a device or when performing diagnostics on a network device.

The MAC address belongs to the data link layer of the Open Systems Interconnection (OSI) model, which encapsulates the MAC address of the source and destination in the header of each data frame to ensure node-to-node communication.

Each network interface in a device is assigned a unique MAC address, so it's possible for a device to have more than one MAC address. For example, if a laptop has both an Ethernet cable port and built-in Wi-Fi, there will be two MAC addresses shown in the system configuration.

OSI model
The OSI model shows the MAC address is located at the data link layer.

How to find the MAC address

A MAC address is often required when configuring a network router for device filtering or during network troubleshooting.

While logged in to a device, a user can typically find a MAC address in the system settings, general information or network settings and status of the device. Commonly, the MAC address is affixed to the bottom of a device on a printed label. Sometimes, manufacturers identify a MAC address by other names, such as physical address, hardware ID, wireless ID or Wi-Fi address.

The following steps can be performed to find the MAC address on different devices.

Windows

For Windows-based machines, there are two ways to find the MAC address.

MAC address Windows machine
This screenshot shows how to find the MAC address of a Windows-based machine using the command prompt.

Method 1: Using the command prompt

  1. Type cmd or command prompt in the search box of the taskbar. For older versions of Windows, right-click on the Start button, and select command prompt from the menu.
  2. Once inside the command prompt, type ipconfig/all, and hit Enter. This displays the network.
  3. Scroll down to the network adapter, and look for a value description of the Physical Address field, which is the MAC address of the device.

Method 2: Without using the command prompt

  1. Search and click on View network status and tasks in the taskbar, or search and navigate to Control Panel > Network and Internet > Network and Sharing Center.
  2. Right-click the network device whose MAC address needs to be viewed, and click on Properties.
  3. Look for the MAC address listed there.

Mac

  1. Click on the Apple icon in the top-left corner of the screen, and select System Preferences.
  2. Select Network.
  3. Select from the list the interface that needs to be used, and click on Advanced.
  4. Click on the Hardware tab, and find the listed MAC address.

Linux

  1. Log in as a superuser or with appropriate permissions.
  2. Open a terminal or console window.
  3. Type ifconfig.
  4. The MAC address is listed as HWaddr in a format similar to 12:34:56:78:AB.

iPhone

  1. Go to the Settings app.
  2. Select General, and click on About.
  3. The wireless MAC address is listed next to the Wi-Fi Address.

Android

The specific instructions for finding the MAC address of an Android device might vary by manufacturer, but the following are general steps:

  1. Open the Settings app.
  2. Select About Phone/Tablet > Status.
  3. The MAC address appears under Wi-Fi MAC address.

PlayStation

For PlayStation 3

  1. Access the PlayStation 3 main menu, and select Settings > System Settings > System Information.
  2. The wireless and wired MAC address should be listed on the screen.

For PlayStation 4

  1. Go to the PlayStation 4 main menu, and select Settings > System > System Information.
  2. The wired address appears next to MAC Address (LAN Cable). The wireless MAC address appears next to MAC Address (Wi-Fi).

For PlayStation 5

  1. From the home screen, select the settings or the gear icon in the upper right.
  2. Select System.
  3. Select Console Information.
  4. The MAC address (Wi-Fi) displays at the bottom of the list.

Xbox

For Xbox 360

  1. Access the Xbox 360 main menu, and go to My Xbox > System Settings > Network Settings > Configure Network.
  2. Select the Additional Settings tab and then Alternate Mac Address.
  3. Find the wired and wireless MAC addresses at the bottom of this screen.

For Xbox One

Use the following directions if Xbox One has been previously set up:

  1. From the Xbox One home screen, select Settings.
  2. Under the Console tab, select Network.
  3. Click Advanced Settings to access the wired and wireless MAC addresses.

Types of MAC addresses

There are three types of MAC addresses:

  1. Unicast MAC address. A unicast address is attached to a specific NIC on the local network. Therefore, this address is only used when a frame is sent from a single transmitting device to a single destination device.
  2. Multicast MAC address. A source device can transmit a data frame to multiple devices by using a Multicast A multicast group IP address is assigned to devices belonging to the multicast group.
  3. Broadcast MAC address. This address represents every device on a given network. The purpose of a broadcast domain is to enable a source device to send data to every device on the network by using the broadcast address as the destination's MAC address.

What is the difference between a MAC address vs. IP address?

Both MAC addresses and IP addresses serve the same purpose, which is to identify a device on a network. While the MAC address identifies the physical address of a device on the same local network, the IP address identifies the device globally or through its internet address.

Differences between MAC and IP address
This table shows the main differences between a MAC address and an IP address.

The following list highlights the key differences between a MAC address and an IP address.

MAC address

  • is a unique hardware identifier that recognizes devices on a local scale;
  • is hardcoded into the device during manufacturing;
  • is sometimes called a physical address;
  • can be used by a device for sending data to all devices on the same network through the broadcast MAC address;
  • resides at Layer 2 of the OSI or TCP/IP reference model; and
  • is permanent and unchangeable.

IP address

  • helps identify a network connection;
  • is assigned by the network administrator or internet service provider;
  • describes how the devices on the internet communicate on a global scale;
  • can be used for broadcasting or multicasting;
  • resides at Layer 3, or the network layer, of the TCP/IP or OSI model;
  • can be changed at any time;
  • is sometimes referred to as the logical address; and
  • is assigned to devices through software configurations.

Despite an organization's best efforts to keep networks running seamlessly, network issues can sometimes arise. Here's a look at common network issues and tips to troubleshoot them.

This was last updated in October 2024

Continue Reading About What is a MAC address and how do I find it?

Dig Deeper on Network strategy and planning