What is a MAC Address? Full Form & How to Find It

⚡ Smart Summary

MAC address, short for Media Access Control address, is a unique 48-bit hardware identifier assigned to a network adapter, used to identify devices on a local network, trace senders and receivers, and control network access.

  • 🆔 Definition: A MAC address is a 48-bit hardware address assigned to a Network Interface Card during manufacturing.
  • 🏭 Structure: The first three octets form the OUI that identifies the vendor; the last three identify the specific adapter.
  • 🧭 Types: Universally Administered Addresses are factory-set, while Locally Administered Addresses can be reassigned by an administrator.
  • 🔍 Find it: On Windows, ipconfig /all or the network adapter Details window reveals the physical address.
  • 🔧 Change it: Device Manager or the Windows Registry can override the adapter’s MAC address value.
  • 🌐 MAC vs IP: A MAC address works at the data link layer; an IP address works at the network layer.

What is a MAC Address in Networking

What is a MAC Address?

A MAC address is a unique identifier assigned to a NIC (Network Interface Controller/Card). It is a 48-bit (or 64-bit) address, tied to the network adapter and usually written in hexadecimal. The full form of MAC address is Media Access Control address.

Why Use MAC Address?

A MAC address is a unique number used to track a device on a network. It provides a secure way to identify senders or receivers and prevent unwanted access. MAC addresses are also used on public Wi-Fi, such as at an airport, to identify a specific device.

Architecture of MAC

The figure below shows the architecture of a MAC address:

MAC address architecture showing the OUI vendor bits and the NIC-specific device bits

The MAC Address example above shows that the structure contains:

  • A MAC address made up of 6 octets (groups of eight bits).
  • The first three octets, which form the Organizationally Unique Identifier (OUI), a 24-bit number identifying the manufacturer or vendor.
  • The last three octets, which are specific to the device (the NIC-specific portion).
  • Each octet made up of 8 bits, for example a0 through a7.
  • Bit a0 (the least-significant bit of the first octet), which sets the transmission type: 0 for unicast (single destination), 1 for multicast.
  • Bit a1, which sets administration: 0 for a globally unique, OUI-enforced address, and 1 for a locally administered address.

Types of MAC Addresses

The two types of MAC addresses are:

Universally Administered Address

UAA is the most widely used type. It is given to the network adapter during manufacturing. The first three octets identify the organization or manufacturer that issued the identifier, and the remaining octets are assigned by that manufacturer.

Locally Administered Address

LAA is an address that changes the adapter’s MAC. A network administrator may assign it to a device, overriding the manufacturer’s address. An LAA does not contain an OUI (Organizationally Unique Identifier). The full form of LAA is Locally Administered Address.

How to find MAC address in Windows?

Below is a step-by-step process to find a MAC address in Windows, using two methods:

Finding the MAC address with the Command Prompt

Step 1) Click on the “Start” button.

Clicking the Windows Start button to begin finding the MAC address

Step 2) Type “command prompt” in the search box.

Searching for Command Prompt in the Windows search box

Step 3) In the Command Prompt, type ipconfig /all and press Enter.

Typing the ipconfig /all command in the Windows Command Prompt

Step 4) The command output is displayed.

ipconfig /all output listing the adapter physical address in Command Prompt

Scroll down to the value next to “Physical Address”; this value is your MAC address.

Finding MAC address from Network Connection Settings

Another way is to check your network adapter details in Windows.

Step 1) Click on the “Start” button.

Opening the Windows Start menu to reach network settings

Step 2) Type “view network status and tasks” in the search box.

Searching for View network status and tasks in Windows

Step 3) Click on your active network connection.

Selecting the Ethernet network connection in Windows Network and Sharing Center

Step 4) In the next screen, click on “Details”.

Clicking Details in the Windows connection status window

Step 5) Locate the “Physical Address” entry.

Physical Address value shown in the Windows Network Connection Details window

The value shown for the physical address is your MAC address. These steps cover Windows; for other systems, see the guide to finding and changing a MAC address on macOS and Linux.

How To Change The MAC Address in Windows

You can also change, or spoof, the MAC address Windows presents, using Device Manager or the Registry:

Using the Device Manager to change MAC address

Step 1) Click on the “Start” button.

Opening the Windows Start menu to launch Device Manager

Step 2) Type “device manager” in the search box.

Searching for Device Manager in the Windows search box

Step 3) Click on “Network Adapters” to expand the tree.

Expanding the Network Adapters branch in Windows Device Manager

Step 4) Right-click the network adapter and click on “Properties”.

Opening the Properties dialog for a network adapter in Device Manager

Step 5) In the next screen, click on the “Advanced” tab.

Selecting the Advanced tab in the network adapter Properties dialog

Step 6) Under “Property”, select “Network Address”.

Choosing the Network Address property in the Advanced tab

Step 7) In the “Value” field, type the MAC address you want.

Entering a new MAC address in the Value field of the Network Address property

Step 8) Restart your PC to enable the change.

Restarting the Windows PC to apply the new MAC address

Step 9) Verify by typing ipconfig/all in the Command Prompt.

Confirming the updated physical address with ipconfig /all after a Device Manager change

Using Registry to change MAC address

Step 1) Click on the “Start” button.

Opening the Windows Start menu to reach the Run dialog

Step 2) Type “run” in the search box.

Launching the Windows Run dialog from search

Step 3) Type REGEDIT and press “OK”.

Entering REGEDIT in the Run dialog to open the Registry Editor

Step 4) Navigate to this registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\<network adapter>\Parameters

Navigating to the network adapter Parameters key in the Windows Registry Editor

Step 5) Right-click and choose “New” -> “String Value”.

Creating a new String Value under the adapter registry key

Step 6) Name the value “NetworkAddress” and press Enter.

Naming the new registry string value NetworkAddress

Step 7) Double-click the new value and enter the adapter’s new MAC value.

Editing the NetworkAddress value to set a new MAC address

Step 8) Press “OK” to save the new value.

Saving the new MAC address value in the Registry Editor

Step 9) Restart your PC to enable the changes.

Restarting the Windows PC to apply the registry MAC address change

Step 10) Verify by typing ipconfig/all in the Command Prompt.

Confirming the updated physical address with ipconfig /all after a registry change

Difference between MAC address and IP address

The following table shows key differences between a MAC address and an IP address:

MAC Address IP Address
The MAC address stands for Media Access Control Address. The IP address stands for Internet Protocol Address.
It consists of a 48-bit address. It consists of a 32-bit (IPv4) address.
A MAC address works at the data link layer of the OSI model. An IP address works at the network layer of the OSI model.
It is referred to as a physical address. It is referred to as a logical address.
You can retrieve the MAC address of a device from its IP address using the ARP protocol. You can retrieve the IP address of a device from its MAC address using the RARP protocol.
Classes are not used in MAC addresses. In IP, IPv4 uses A, B, C, D, and E classes.

FAQs

A MAC address is 48 bits shown as twelve hexadecimal digits in six colon- or hyphen-separated pairs, such as 00:1A:2B:3C:4D:5E. The first half is the vendor OUI; the last identifies the adapter.

MAC address randomization makes a phone present a temporary, random MAC while scanning for Wi-Fi. Apple iOS and Android use it to prevent tracking by a device’s permanent hardware address.

Because each adapter has a unique MAC, networks can log it to recognize a returning device. Randomization limits casual tracking, but actually joining a network still reveals your real address to it.

Changing your own device’s MAC is generally legal and useful for testing, privacy, or troubleshooting. Using a spoofed MAC to bypass controls, impersonate a device, or commit fraud is illegal in most places.

MAC filtering lets a router allow or block specific MACs from joining Wi-Fi. It adds a light access-control layer, but attackers can spoof an approved MAC, so it should supplement, not replace, encryption.

Every adapter should have a globally unique MAC, but duplicates occur through manufacturing errors, cloning, or spoofing. Two identical MACs on one LAN cause conflicts, dropped frames, and connectivity problems until one changes.

Machine-learning models, such as random-forest classifiers, learn each device’s normal signal and traffic patterns, then flag frames whose MAC does not match, exposing spoofed or rogue adapters faster than static rules.

GitHub Copilot drafts Python or shell scripts for tasks such as reading adapter MACs, parsing ipconfig or ip link output, and auditing network devices. Review and test the generated commands before running them.

Summarize this post with: