Marcio Cunha

What is a MAC Address and How to Find It on Your Computer or Phone

Discover what a MAC address is, the unique physical identity of every network card, and learn step-by-step how to find it on Windows, macOS, Linux, Android, and iOS.

Marcio Cunha10 min
Also available in:EspañolPortuguês
Summary
  • The MAC address functions like the physical and immutable ID card of any network interface connected to a network.
  • Unlike an IP address which changes depending on location, the MAC stays with the hardware from the factory.
  • Command-line tools like ipconfig and ifconfig allow users to quickly locate this identifier on computers.
  • Modern mobile operating systems mask the MAC by default to protect user privacy on public Wi-Fi networks.
  • Corporate networks frequently use MAC filtering to authorize only trusted devices on the local infrastructure.

What is a MAC Address and What Is It Used For

When discussing computer networks, most people immediately think of the IP address, that numerical sequence that changes every time you connect to a different network, whether at a coffee shop, home, or office. However, beneath the surface, the hardware enabling your connection carries a permanent and immutable identity. This identifier is known as the MAC address, which stands for Media Access Control. In practice, the MAC address acts like a physical ID card or fingerprint for your network interface card, whether it communicates via Wi-Fi or Ethernet cables.

To understand the role of the MAC address in daily life, consider the traditional postal system. The IP address would be the street address with the house number and postal code, which changes if you move to another neighborhood. The MAC address, meanwhile, would be the full name and identification document of the person receiving the letter, ensuring that even if they temporarily change locations, their core identity remains unchanged. Within a local network, such as your home router, devices rely precisely on the MAC address to determine which specific appliance should receive data packets, ensuring your file arrives at your computer rather than your neighbor's smart television.

The Structure and Logic Behind the Physical Identifier

Technically speaking, a MAC address is a sequence of twelve alphanumeric characters grouped in pairs and separated by colons or hyphens, such as 12:34:56:78:9A:BC. These characters use the hexadecimal base, meaning they range from 0 through 9 and A through F. What many people do not realize is that this sequence conceals valuable information about the equipment's origin. The first six characters of a MAC address form the OUI, which stands for Organizationally Unique Identifier. In practice, this prefix reveals the manufacturing company that produced the network interface, whether it is Intel, Apple, Samsung, or Qualcomm.

The remaining six characters function as a unique serial number assigned by the manufacturer specifically for that individual network card unit. This combination ensures that, statistically, it is impossible to find two devices anywhere in the world with the exact same factory-assigned MAC address. Although temporary modification of this address via software—a technique known as MAC spoofing—is technically possible, standard immutability ensures reliability when identifying hardware within corporate or domestic network infrastructures.

How to Find the MAC Address on Windows

If you use a computer running the Windows operating system, finding your machine's MAC address is a straightforward process requiring only a few simple terminal commands. To begin, press the Windows logo key and the letter R on your keyboard to open the run dialog window. Type cmd and press Enter to open the Command Prompt, the text-based system utility. With the black window open, type the command ipconfig /all and press Enter again to list all active network connections on your computer.

The terminal will display a large amount of technical information. Look for the section corresponding to the network adapter you are currently using, such as Wireless LAN adapter for Wi-Fi connections or Ethernet adapter for wired connections. Within that section, locate the line labeled Physical Address. The sequence of numbers and letters displayed right next to it is the MAC address for that specific component. Note this information down if you need to register it in a router filter or a corporate security policy.

How to Locate the MAC Address on macOS

Apple computer users running macOS also have simple and fast methods to discover the physical address of their network interfaces. One of the most visual ways involves clicking the Apple icon in the upper-left corner of the screen, selecting System Settings or System Preferences, and navigating to the Network option. From there, simply click on your active connection, whether Wi-Fi or Ethernet, click Details, and scroll down to find the field labeled Wi-Fi Address or Hardware Address.

For those who prefer command-line efficiency, macOS provides the Terminal application, accessible via Spotlight search. With the terminal window open, type the command networksetup -listallhardwareports to view the list of physical ports and their respective names. Next, to view the specific MAC address of your wireless card, simply type ifconfig en0 or the identifier corresponding to your network interface. The system will display the ether field followed by the desired alphanumeric sequence.

The Procedure on Linux Systems

Within the Linux ecosystem, where administrative control and hardware visibility are native priorities, discovering the MAC address is a trivial task executed directly in the terminal. Open your favorite terminal emulator and type the classic command ip link or the traditional ifconfig, although the latter might require installing extra network packages on modern distributions. The command will output all network interfaces present on the machine, ranging from the internal loopback interface to physical and wireless cards.

Scan the list for common interface names such as eth0, enp3s0, or wlan0. Near these nomenclatures, you will find the word link/ether followed by the MAC address matching that specific card. This level of direct access allows system administrators to quickly audit connected hardware, troubleshoot connectivity problems, and configure advanced firewall rules based on physical addresses without relying on complex graphical interfaces.

How to Find the MAC Address on Android and iOS Mobile Devices

Finding the MAC address on smartphones and tablets requires navigating settings menus that vary slightly depending on the operating system version and manufacturer. On Android, open the Settings app, navigate to Connections or Network & internet, select Wi-Fi, and tap the gear icon or details button next to your connected network. Look for advanced information or device status, where the MAC address or Wi-Fi MAC address will be clearly listed.

On Apple devices running iOS, such as iPhones and iPads, the path is equally accessible. Open Settings, tap General, and select About. Scroll down until you find the field labeled Wi-Fi Address, which displays the twelve-character alphanumeric sequence. Notably, modern mobile operating systems implement a security feature called private or randomized MAC addresses, generating a fake identifier for each Wi-Fi network you join to protect your privacy against tracking in public spaces.

Security, Privacy, and Final Considerations

Understanding what a MAC address is and knowing how to locate it across different platforms is a fundamental skill for anyone wishing to manage networks efficiently or troubleshoot connectivity issues. Although MAC addresses do not travel across the public internet beyond your local router, they are widely used by corporate and home network administrators to enforce access control policies, ensuring only authorized devices connect to the physical medium.

At the same time, the evolution of mobile privacy technologies demonstrates that personal data protection has become a priority, resulting in the widespread adoption of randomized MAC addresses by default. Recognizing these technical nuances allows you to balance the convenience of network management with the security and privacy required in today's digital world, transforming a seemingly abstract hardware concept into a practical daily tool.