How to change / spoof MAC Address from Terminal on MacOS | MAC Address Spoofing
1 min readNov 21, 2021
1. To begin with, open Macbook Terminal on your Macbook.
cmd(button) + space bar(button) => Search “Terminal”
2. We need to know what is our current MAC Address.
- Copy & Paste the following command and press enter.
ifconfig en0 | grep ether
- Ether value is your Mac Address value.
3. Now we can change Mac Address value.
- Copy & Paste your new Mac Address & press enter.
sudo ifconfig en0 ether "add here your new MAC address
BONUS: Apple Silicon
- If you have an Apple Silicon Macbook, You can also use the following steps to spoof your Macbook’s MAC Address.
1. Disconnect from the wifi:
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z
2. Change the ether:
sudo ifconfig en0 lladdr "add here your new MAC address"
3. Once you’re done, check the Mac Address again.
Check it again:
ifconfig en0 | grep ether
Congratulations.
You’ve just changed your Mac Address successfully.