How to Find your Android MAC Address

David Ruddock
Try Esper for Free
Learn about Esper mobile device management software for Android and iOS

Android has multiple immutable identifiers you can use to track a device. They fall into one of two piles, and both options require that the Android (AOSP or GMS) device is configured with a device policy manager under your control if you want to pull this data remotely (i.e., from one more than one device). This makes them a bit more involved to access initially, but they provide far more reliability than your old school IP address.

Android Device Management

One of the most well-known options is the device's Wi-Fi MAC address, because it is reported at the network level, and can therefore be identified by anyone with sufficient permissions on the network. And unlike IP addresses, MAC addresses don't change — at least not usually. But on Android, MAC addresses can and do change, and every Android device has at least two at any given moment: the hardware MAC and the virtual MAC address.

Hardware MAC vs virtual MAC: What's the difference?

Like any device with a network stack, Android can report an immutable hardware MAC address — one that will survive factory resets, network changes, and anything else (short of replacing the physical system on a chip). As of Android 10, this hardware MAC address can only be accessed at the fleet level if you have a device owner set on the device, and if you have a tool like Esper’s console to manage your fleet, you can pull that ID in and apply policies and deploy software appropriately.

This hardware MAC is the one that never changes, but it’s not Android’s only MAC address, and it’s not the one your network is likely to report. On Android, a MAC address isn’t always the right MAC address to track – you also have virtual MACs.

As part of Android 10, Google introduced MAC address randomization to Android. This behavior ensures that, instead of the hardware MAC address of the device reporting to the network, a virtual address generated on the first connection to a Wi-Fi SSID is reported. This virtual MAC address is stored and permanently associated with that SSID on the Android device. A network has no way to know this is not the “real” MAC address or any way to force the device to expose that “real” hardware MAC.

(You may also hear the hardware MAC address referred to as a "hardware address," and a virtual MAC address referred to as a "software address.")

This Android virtual MAC address will also change under two circumstances:

  • The Wi-Fi SSID, Wi-Fi password, or Wi-Fi security type of a particular network change (even if it is the “same” network)
  • The device is factory reset (erased)

If either of these conditions is met, Android will generate a new virtual MAC for that SSID on the next connection. Each virtual MAC is unique to each saved Wi-Fi SSD on the device, meaning if you have multiple SSIDs on your network, you’ll create multiple MAC addresses for a single device if it needs to remember all of them. While a device that never needs to be erased and a network that never changes may be the ideal situation for your fleet, even we think that’s a little optimistic.

Further, in Android 12, Google introduced a new MAC randomization behavior that will make this virtual MAC address even less reliable as an identifier in the future, actively resetting the address daily (or even more often). While not enabled by default for most networks, it stands to reason Google may require it in later versions of Android, as it continues to invest in ways to make consumers harder to track without direct consent using things like device network identifiers.

Android offers a user-facing option to disable MAC randomization on a per-SSID basis, but enforcing this at fleet scale would be impractical, even using remote control. As such, to use the MAC address as a reliable, accessible hardware identifier, you need to ensure it is just not the “right” address, but that you have the right tools to obtain and meaningfully leverage it.

Android MAC address alternative: IMEI or serial number

Given its mobile heritage, even the earliest versions of Android shipped with a standardized hardware identifier (IMEI) for all cellular devices. Android also provides a standard serial number field that must be associated at the factory, which is what you’ll generally find on Wi-Fi-only devices like most Android tablets.

Either identifier is a good candidate for a permanent hardware asset ID. While device IMEI can technically be changed by a person with root access to a device, on cellular hardware, this is illegal in many countries. IMEI survives factory resets, firmware upgrades, and just about anything else.

The serial number is the most common way to identify an individual device on Android devices without a cellular modem. Like IMEI, serial numbers in Android are strictly defined as immutable and survive any kind of device state change, including a factory reset.

And just like the hardware MAC address, both the IMEI and serial number are inaccessible to applications without special permissions in Android. While a user can access these identifiers in the system UI, gathering and collating them systematically is something you’ll need help with.

Esper device management makes it easy to get your IMEI or serial number from a device, ensuring the correct policies are applied and the right software deployed. Set up a demo with us today, or try it out for yourself right now.

Android Device Management

More Android MDM Resources: 


What is a Wi-Fi MAC address on an Android device?

A MAC address (Media Access Control address) is a unique identifier assigned to every network interface on a device, including Wi-Fi and Bluetooth interfaces. It is a 12-digit hexadecimal number that is used to identify your device on a network.

How do I find the MAC address on my Android device?

To find the MAC address on your Android device, go to the "Settings" app, then tap on "Wi-Fi" or "About phone". From there, select "Advanced" and then "Hardware information" or "Status" and you should see the MAC address listed under the Wi-Fi or Bluetooth section.

Can I change the MAC address on my Android device?

Yes, it is possible to change the MAC address on your Android device, but it may not be supported on all devices. You will need to use third-party apps or custom ROMs to do so. However, changing the MAC address can violate the terms of service of some networks, so use it with caution.

Why would I need to know my Android device's MAC address?

You may need to know your Android device's MAC address for various reasons, such as for troubleshooting network connectivity issues or to restrict access to your device on a network. Additionally, some Wi-Fi networks or security systems may require you to enter your device's MAC address before allowing it to connect.

Is it safe to share my Android device's MAC address with others?

In general, sharing your Android device's MAC address is not considered a security risk, as it only identifies your device on a network and does not reveal any personal information. However, be cautious about sharing your MAC address with unknown or untrusted individuals or on unsecured networks.

No items found.

Keep Exploring

No items found.
David Ruddock
David Ruddock

David's tech experience runs deep. His tech agnostic approach and general love for technology fueled the 14 years he spent as a technology journalist, where David worked with major brands like Google, Samsung, Qualcomm, NVIDIA, Verizon, and Amazon, reviewed hundreds of products, and broke dozens of exclusive stories. Now he lends that same passion and expertise to Esper's marketing team.

David Ruddock
Learn about Esper mobile device management software for Android and iOS
Featured resource
Read more
Featured resource

Esper is Modern Device Management

For tablets, smartphones, kiosks, point of sale, IoT, and other business-critical edge devices.
MDM Software
Kiosk mode icon as a feature in mobile device management software

Kiosk mode

Hardened device lockdown for all devices (not just kiosks)
App management icon as a feature in mobile device management software

App management

Google Play, Apple App Store, private apps, or a mix of all three
Devices groups icon as a feature in mobile device management software

Device groups

Manage devices individually, in user-defined groups, or all at once
Remote tools icon as a feature in mobile device management software

Remote tools

Monitor, troubleshoot, and update devices without leaving your desk
Touchless provisioning as a feature in mobile device management software

Touchless provisioning

Turn it on and walk away — let your devices provision themselves
Reporting and alerts as a feature in mobile device management software

Reporting and alerts

Custom reports and granular device alerts for managing by exception