Your IPv4 address:
Operating system:

What is a MAC address?

You usually meet a MAC address in a router’s list of connected devices or in your phone’s Wi-Fi settings. It is the identifier a network interface uses on its local link. Ethernet and Wi-Fi commonly use 48-bit addresses, written as six pairs of hexadecimal digits such as 00:1A:2B:3C:4D:5E. It is not an IP address, and it does not travel with your traffic across the internet.

Where a MAC address is actually used

Data on a local Ethernet or Wi-Fi segment moves in frames, and switches and access points use link-layer addresses to deliver each frame to the right interface. That is the whole job of a MAC address. When a frame reaches a router, the router removes the incoming link-layer frame and builds a new one for the next link, with different addresses.

Because of this, a website on the public internet does not normally receive your MAC address through an ordinary web request. The site sees network-level information instead, such as the source IP of the connection. A MAC address also tells you nothing about the path across the internet.

How a device finds the MAC address it needs

Applications work with IP addresses, so the device has to translate. On a local IPv4 link, ARP maps the IP address of the next hop to a link-layer address. IPv6 uses Neighbor Discovery over ICMPv6 instead. Both are local-link mechanisms and offer no global way to locate a device by its MAC. The article on ARP and Neighbor Discovery follows the exchange step by step.

How a MAC address differs from an IP address

A MAC address belongs to a particular interface, physical or virtual, at the link layer. An IP address is assigned for communication at the network layer, across networks. Both may change. A home router often hands out local IP addresses dynamically, while one public IP may be shared by many devices through NAT. Neither identifier, on its own, proves who is using the device.

One device can have several MAC addresses, because each network interface has its own: a laptop has one for Ethernet and another for Wi-Fi. Virtual adapters and containers may have addresses too. Manufacturers historically assigned many addresses from a registered prefix, but the prefix is not a reliable way to identify the person using a device or where the device is now.

Why your phone shows a different address on each Wi-Fi network

Phones and laptops may use randomised, or private, Wi-Fi addresses, especially while scanning for networks or when joining an individual network. This makes it harder to track a device passively from one network to the next. The address used for a saved network may stay the same for a time so that the network can still recognise the device. Behaviour varies by device and settings, so do not assume that an address you observe is permanently tied to a factory-assigned interface.

This is also the usual reason a router’s address reservation stops working after a privacy setting changes: to the router, a new MAC address is a new device.

Why a MAC allowlist is weak protection

Some networks only admit listed MAC addresses. An address can be observed on the local link and imitated, so an allowlist is a convenience control and not strong authentication. For real access control, use current Wi-Fi encryption and a suitable access policy.

Finding the address when you troubleshoot

Look in the operating system’s network settings or use a trusted command-line tool. Note which interface is connected and whether a randomised address is enabled for that network. Compare with the router’s lease table only if you have permission to view it, and remember that names and addresses there may be stale.

MAC addresses earn their place when you diagnose local connectivity, pick out a device in an access point’s client list or work out why a reservation broke. For a problem beyond your own network, examine DNS, IP addressing and routing separately.