Where to find your Mac address on Windows, Mac, and Linux
Your MAC address (Media Access Control address) is a unique identifier assigned to your network card — the hardware that connects your device to the internet. It looks like six pairs of numbers and letters, such as `00:1A:2B:3C:4D:5E`. You need it when connecting to certain networks, setting up a router, or troubleshooting connection problems.
The steps to find it differ by operating system. On Windows, you use the Command Prompt. On Mac, you open System Settings. On Linux, you use the terminal. Each method takes less than a minute once you know where to look.
Key Takeaways
- Your MAC address is a hardware identifier that looks like six pairs of letters and numbers separated by colons or hyphens.
- On Windows, open Command Prompt and type `ipconfig /all` to see your MAC address listed as "Physical Address".
- On Mac, go to System Settings, select Network, choose your connection, and click Details to find the MAC address.
- On Linux, open a terminal and type `ip link show` or `ifconfig` to display your MAC address.
- You may need your MAC address to register a device on a network, set up MAC filtering on a router, or troubleshoot connection issues.
Finding your MAC address on Windows
Open the Command Prompt by pressing the Windows key, typing `cmd`, and pressing Enter. A black window will open with a blinking cursor.
Type `ipconfig /all` and press Enter. The system will display a list of network adapters. Look for the line labeled "Physical Address" — that is your MAC address. If you have multiple network adapters (for example, both Ethernet and Wi-Fi), you will see a Physical Address for each one. Write down the one that matches the connection type you are using.
If you prefer a graphical method, you can also right-click the network icon in the system tray, select "Network and internet settings", click "Advanced network options", then "More network adapter options". Right-click your active connection and select Properties. The MAC address may be visible in the Details tab, though the Command Prompt method is usually faster.
Finding your MAC address on Mac
Click the Apple menu in the top-left corner and select "System Settings". In the sidebar, click "Network".
Select the connection you want to check — either Wi-Fi or Ethernet, depending on how you are connected. Click the "Details" button. A new window opens showing connection information. Look for the line labeled "MAC Address" — that is what you need. Copy it if you plan to use it elsewhere.
If you are connected via Wi-Fi, you can also find this information faster by holding Option and clicking the Wi-Fi icon in the menu bar, then looking for "BSSID" (which is different from your device's MAC address) or opening System Settings as described above.
Finding your MAC address on Linux
Open a terminal window. Type `ip link show` and press Enter. The output will list all network interfaces on your system. Look for your active connection — usually `eth0` for Ethernet or `wlan0` for Wi-Fi — and find the line starting with "link/ether". The address that follows is your MAC address.
An older alternative command is `ifconfig`. Type it and press Enter to see similar information. The MAC address appears on the line labeled "HWaddr" or "ether", depending on your Linux distribution. Both commands show the same information; use whichever one works on your system.
Why you might need your MAC address
Network administrators use MAC addresses to identify devices on a local network. If you are connecting to a corporate or school network for the first time, the IT department may ask for your MAC address to register your device before you can access the internet.
Some routers use MAC filtering — a security feature that only allows devices with specific MAC addresses to connect. If you are setting up this feature or adding a new device to a filtered network, you will need to provide the MAC address.
MAC addresses also help when troubleshooting connection problems. If a device keeps dropping from the network or refuses to connect, knowing the MAC address lets you check the router's logs to see whether the device is being recognized at all.
Difference between MAC address and IP address
A MAC address identifies your device on a local network — the devices physically connected to your router or switch. An IP address identifies your device on the broader internet. Think of the MAC address as your home address on your street, and the IP address as your mailing address that works worldwide.
When you move to a different network, your MAC address stays the same (it is built into your network card), but your IP address changes. This is why MAC filtering works only on networks you are directly connected to, not across the internet.
What to do if you cannot find your MAC address
If the commands above do not show a MAC address, check that you are looking at the correct network adapter. Devices with multiple network cards (such as a laptop with both Wi-Fi and Ethernet) will show a MAC address for each one. Make sure you are checking the adapter you actually use to connect.
If a network adapter is disabled or not installed, it may not appear in the output. Check your device manager (Windows), System Report (Mac), or `lspci` (Linux) to see all network hardware, whether active or not. If you still cannot find it, the network card may be faulty and may need replacement.
Frequently Asked Questions
Can I change my MAC address?
Yes, most operating systems allow you to change the MAC address in software, a process called "MAC spoofing". However, the physical MAC address on your network card cannot be changed. Any change you make will reset if you restart your device or disable and re-enable the network adapter. Some networks detect spoofing and block it.
Is my MAC address private or public?
Your MAC address is visible only to devices on your local network — your router, other computers on the same Wi-Fi, and devices connected to the same switch. It does not travel across the internet, so websites and internet services cannot see it. However, anyone physically near your network can see it if they monitor network traffic.
Why does my MAC address look different in different places?
You may see your MAC address written with colons (`00:1A:2B:3C:4D:5E`), hyphens (`00-1A-2B-3C-4D-5E`), or no separators at all (`001A2B3C4D5E`). These are all the same address in different formats. Some systems display it one way, others display it another way. When you need to enter it manually, use whichever format the network or device asks for.
Do I need my MAC address to connect to public Wi-Fi?
No. Public Wi-Fi networks do not require MAC addresses. Your device connects automatically using standard Wi-Fi protocols. MAC addresses are used only on networks where an administrator has set up registration or filtering — typically corporate, school, or home networks with specific security rules.