What is a MAC address?
A MAC (media access control) address, is a unique series of letters and numbers (for example, A1-B2-CD-34-5E-6F) that identifies a computer when connecting to a network. Each device (laptop, phone, smart watch, printer) is assigned a MAC address when it is manufactured.
Laptops usually have two, one that is visible when it connects to WiFi, and another when you plug in an Ethernet cable. If you sit down at a cafe with your laptop and you have WiFi enabled, the laptop will broadcast its MAC address as it searches for a WiFi network.
Windows
- Press the Windows key + X simultaneously.
- Click on Device Manager.
- Find Network adapters and expand the menu.
- Look for your Ethernet or Wireless adapter and double-click to open its properties.
- Click on the Advanced tab.
- Under Property, scroll down the list and click on Network Address or Locally Administered Address.
- Enter a new random MAC address under Value using the numbers 0-9 and characters A-F. The new address needs to contain 12 symbols and start with 00 (two zeros), otherwise it may not work.
- Restart your computer.
- Verify that the MAC address has changed: open a Command Prompt, use the command ipconfig /all and examine the Physical Address listed under the network adapter that you made the change on.
macOS
To find out your current MAC address (in case you ever want to change it back):
1. Click on the Wi-Fi icon in the menu bar.
2. Click on Open Network Preferences.
3. Click on the Advanced button located in the bottom right corner of the window.
4. Click on Hardware. Your MAC address is listed here.
To change your MAC address:
1. Hold down the Option key and click the Wi-Fi icon in the top menu bar.
2. Next to “Interface Name”, make note of whether you see en0 or en1.
3. Turn off your Wi-Fi.
Navigate to Applications > Utilities, then open Terminal.
4. In the terminal window, type in the following command using either en0 or en1, and replace the Xs and Ys with any combination of the numbers 0-9 and characters A-F: sudo ifconfig en0 ether XY:XY:XY:XY:XY:XY
5. Hit Enter. You will need to enter your password to make the change.
6. Type your password, then hit Enter again.
Android
In Android 10, MAC randomisation is enabled by default.
In Android 9, you can enable a developer option that causes the device to use a randomized MAC address when connecting to a Wi-Fi network. Here’s how to activate it:
-
Enable the developer option by going to Settings > About phone or About tablet.
-
Find the Build Number and tap it 7 times. If prompted, enter your device's unlock code.
-
Open Settings > Developer Options.
- Enable Connected MAC Randomization under the Networking section. Note: This option is not available on all Android 9 phones and tablets.
In Android 8.0, Android devices use randomized MAC addresses only when probing for new networks. iOS
MAC randomization is enabled by default (since iOS 8) when the device is passively scanning for Wi-Fi networks. New: iOS 14, iPadOS 14 and watchOS 7 use a different unique static MAC address for each Wi-Fi network. Ubuntu, Debian
Use macchanger, a utility program that can automatically change your MAC address each time you attach an Ethernet cable or re-enable Wi-Fi.
To install macchanger, run the command sudo apt-get install macchanger.
During installation, you will be prompted with a screen asking if you'd like to automatically change your MAC address every time your network interface is brought up or down. Choose Yes and you're set!