MAC or Media Access Control address is an essential element in establishing communication between devices. Most network interfaces on modern devices, be it smartphones, tablets, computers, or even routers, have a MAC address.

change mac address on mac and windows

Identified as a unique physical address/hardware address, a MAC address is burned-in/hard-coded to a device’s NIC (Network Interface Controller) during manufacturing. However, depending on the operating system and the NIC in use, it is possible to spoof (change) the MAC address of a device.

In this guide, we’ll go over the reasons why you might want to change MAC addresses, along with the steps to help you change the MAC address of your Mac or Windows computer.

Why Would You Want to Change Your Device’s MAC Address?

MAC addresses are utilized by home/office networking equipment to identify the devices that request information and serve them appropriately. To understand this better, consider an everyday internet use-case scenario where you use your mobile phone/computer to request access to a website to your ISP (Internet Service Provider).

In this case, the ISP uses your IP (Internet Protocol) address to determine the request’s origin and returns the website as a response. This response is routed only till your home network‘s router/modem, and moving forward, it’s the role of the MAC address (in conjunction with a private IP address) to help your router determine the device that requested the website and serve it with the same.

MAC spoofing is a process of changing the factory-assigned MAC address of a device’s NIC to a custom address. The motivation behind doing so extends far beyond. However, there are a few common reasons why you might want to change your device’s MAC address. These include:

1. Fulfilling software installation requirements:

Some software/applications are linked to particular devices using their MAC addresses. So, if you lose your linked device, you lose access to the software. Mac spoofing can help you in such situations by allowing you to spoof the MAC address of your new device with that of the linked device, so you can continue using the software on it.

2. Masking your identity:

Protecting your privacy is another common reason you might want to spoof MAC addresses. When you connect to a Wi-Fi or a Bluetooth connection, your device’s MAC address is sent out openly, which poses risks on privacy and security fronts. By changing your MAC address to some random MAC address, you can hide your device’s original MAC address and protect your privacy to some extent.

3. Bypassing MAC filtering:

Mac filtering is a method whereby the MAC address of a device is used to determine its access to the network. Airports, cafés, restaurants, and other public places use this to limit people’s access to their network. Spoofing MAC address is the most common practice to circumvent such MAC filtering restrictions on networks.

Now that you have an idea of the applications of MAC spoofing, let’s check out the steps to change a MAC address on Mac and Windows.

How to Change MAC Address on Mac

Changing the MAC address of a Mac running macOS is pretty straightforward, and all you need for this is the Terminal. Follow the steps below to learn how.

  1. Open Terminal.
  2. Enter the following command to know the MAC addresses currently assigned to your current network interfaces: ifconfig. Make sure to note the original MAC address down somewhere. en0 represents Ethernet, whereas en1 denotes wireless network (Wi-Fi).
  3. If you’ve already got a MAC address in mind to assign to your Mac, skip to the next step. However, if you don’t, use type the following command into the Terminal to generate one: openssl rand -hex 6 | sed ‘s/\(..\)/\1:/g; s/.$//’.
  4. Disconnect the network connection for which you want to change the MAC address.
  5. In the Terminal, enter sudo ifconfig en0 ether 21-A5-CE-DC-C2-33. Subsequently, enter your password and hit return. Replace the MAC address with the one you want to assign to your Mac. Similarly, replace en0 with en1 if you wish to change the MAC address for your Wi-Fi network.

Once that’s done, turn on your Mac’s Wi-Fi and type ifconfig to verify if the MAC address is changed successfully. Do note that the MAC address defaults back to the original MAC address upon every boot. As such, if you need to change your MAC address every time you use it, you can create a script that does it for you each time the system boots up.

How to Change MAC Address on Windows

Unlike macOS, changing a MAC address on Windows is possible from the system’s graphical interface (GUI). In fact, it’s even possible to do it in a few other ways, but for this guide, we’ll stick to the GUI method, which is the easiest to follow.

  1. Open Device Manager. On Windows 7, click Start and type Device Manager. On Windows 8 and Windows 10, press Windows + X keys to open the Quick Access menu and select Device Manager from the list.
  2. Click on Network adapters in the Device Manager window, right-click on the interface for which you want to change the MAC address, and select Properties.
  3. On the network adapter’s properties, go to the Advanced tab and select the Network Address property from the list.
  4. Select the Value option from the right-hand side and enter the MAC address you want to assign to it. If you don’t have a MAC address, you can use online tools like MiniWebtool to generate one.
    changing mac address on windows
  5. Click OK.
  6. Restart your Windows computer to apply your MAC changes.

To verify if the interface has a new MAC address, open Command Prompt (or PowerShell) and type ipconfig /all.

Easily Change MAC Address on Mac and Windows

The above methods involve a series of instructions that are easy to follow, so you can change the MAC address of your Mac or Windows computer easily. While there are also other ways to accomplish this, we advise you to refrain from using any untrusted third-party application since doing so may lead to networking issues in some instances.

Was this article helpful?