---
id: "mac_address"
kind: "datatype"
status: "stable"
is_pii: true
categories: ["internet", "identifiers", "pii"]
langs: ["common"]
aliases: ["eui48"]
quality: 100
url: "http://registry.apicrafter.io/datatype/mac_address"
---

# MAC address (Media Access Control) (`mac_address`)

48-bit hardware address (EUI-48) of a network interface in Ethernet, Wi-Fi, Bluetooth and other IEEE 802 networks, used to deliver frames within one network segment. The first three octets usually hold the OUI of the manufacturer; the second-lowest bit of the first octet marks a locally administered address, such as the random addresses that phones use on Wi-Fi. It is written as six pairs of hexadecimal digits separated by hyphens (IEEE style) or colons, or as three groups of four digits separated by dots (Cisco style). RFC 9542 reserves 00-00-5E-00-53-00 to 00-00-5E-00-53-FF for documentation. 64-bit identifiers are described by eui64.

- Personal data (PII): yes
- Categories: Internet (internet), Universal unique identifiers (identifiers), Personally identifiable information (pii)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier
- Former IDs: `eui48`

## Detection

Regular expression (Python `re`):

```
^(?:[0-9A-Fa-f]{2}(?:-[0-9A-Fa-f]{2}){5}|[0-9A-Fa-f]{2}(?::[0-9A-Fa-f]{2}){5}|[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4}\.[0-9A-Fa-f]{4})$
```

## Examples

- `00-00-5E-00-53-01` — Documentation address of RFC 9542, IEEE notation
- `00:00:5e:00:53:af` — Documentation address of RFC 9542 with colons
- `0000.5e00.5301` — Documentation address of RFC 9542 in dotted notation
- `00:00:5E-00-53:01` (invalid example) — Mixed separators
- `00-00-5E-00-53` (invalid example) — Five octets
- `00-00-5E-EF-10-00-00-01` (invalid example) — Eight octets: an EUI-64 identifier

## Mappings

- autotype: `mac`
- dpv: `pd:MACAddress`
- fhir: `http://hl7.org/fhir/sid/eui-48/ethernet`
- fta: `MACADDRESS`
- google_dlp: `MAC_ADDRESS`
- presidio: `MAC_ADDRESS`
- stdnum: `mac`

## Metacrafter rules

3 rules: 1 match the field name, 2 match values.

- `macaddressfield` (field, `common/internet.yaml`)
- `macaddressvalue` (data, `common/internet.yaml`)
- `eui48` (data, `ext/ext_internet.yaml`)

## Supported by tools

- `autotype`
- `awscomprehend`
- `awsglue`
- `collibra`
- `databricks`
- `dataprofiler`
- `fta`
- `googledlp`
- `greatexpectations`
- `ibmknowledgecatalog`
- `metacrafter`
- `metacrafterpro`
- `nightfall`
- `presidio`
- `pythonstdnum`
- `talend`

## Translations

- ru: MAC-адрес: 48-битный аппаратный адрес сетевого интерфейса (EUI-48): шесть пар шестнадцатеричных цифр через дефис или двоеточие.

## Sources

- wikipedia: <https://en.wikipedia.org/wiki/MAC_address>
- doc: <https://www.rfc-editor.org/rfc/rfc9542>
- doc: <https://standards.ieee.org/wp-content/uploads/import/documents/tutorials/eui.pdf>

## Quality

Score 100/100.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/mac_address.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/internet/mac_address.yaml>
