A MAC address, or a Media Access Control address, is a unique identifier that is assigned to the network interface of a machine. On your Mac, this is the unique hardware identifier for the WiFi or Ethernet card inside it. Every device has a unique MAC address because if more than one device on the same network has the same MAC address, the network won’t be able to distinguish between the two devices, causing quite a lot of problems.
here is how to change MAC address on Mac:
- Go to System Preferences -> Network
- Click on “Advanced”
- Switch over to the “Hardware” tab > You’ll be able to see the MAC Address of your Mac. Note this down somewhere, just in case you need to switch back to it.
To change the MAC address on your Mac, you’ll have to use the Terminal. The commands are simple, and you can just follow the steps given below:
- Launch the Terminal, and type the following command:
openssl rand -hex 6 | sed ‘s/\(..\)/\1:/g; s/.$//’
This will give you a new random hex number that you can use as a MAC address
- Disconnect from your WiFi network, by holding down “option” and clicking on the WiFi icon in the menu bar, and clicking on “disconnect” under your WiFi name.
- Now, type “sudo ifconfig en0 ether <generated mac address>“.
- You will now have successfully changed your MAC address on Mac.
You can reconnect to your WiFi network, and check your MAC address again to verify that it has changed.