What a Mac address is and why you need it
Your Mac address (Media Access Control address) is a unique identifier for your device's network card — not related to Apple computers, despite the name. It looks like six pairs of numbers and letters, such as 00:1A:2B:3C:4D:5E. Your router uses this address to recognize your specific device on your home network, separate from your IP address.
You need your Mac address when you're setting up a new router, connecting to a network that requires device registration, troubleshooting connection problems with your internet provider, or configuring advanced network settings. Some workplaces and schools require you to register your device's Mac address before it can connect to their Wi-Fi.
The steps to find it differ depending on whether you use Windows, Mac, or Linux. Each operating system stores this information in a different place, but it takes less than a minute to locate once you know where to look.
Key Takeaways
- Your Mac address is a unique identifier for your network card that your router uses to recognize your device on the network.
- On Windows, open Command Prompt and type ipconfig /all to find the "Physical Address" listed for your active connection.
- On Mac, go to System Settings, select Wi-Fi or Ethernet, click Details, and look for the MAC Address field.
- On Linux, open a terminal and type ip link show or ifconfig to see your Mac address next to "link/ether" or "HWaddr".
- If you have multiple network cards (Wi-Fi and Ethernet), you will see multiple Mac addresses — use the one for the connection you actually use.
Finding your Mac address on Windows
The fastest way on Windows is through Command Prompt. Press the Windows key, type cmd, and press Enter. A black window will open.
Type ipconfig /all and press Enter. You will see a list of all your network connections. Look for the one labeled "Wi-Fi" or "Ethernet" depending on how you connect to the internet. Under that section, find the line that says "Physical Address" — that is your Mac address. It will be formatted as six pairs of characters separated by hyphens, like A4-B2-C8-D1-E5-F9.
If you have both Wi-Fi and Ethernet connections listed, make sure you copy the Mac address from the one you actually use. If you are unsure which connection is active, look for the one with an IPv4 address listed (it will look like 192.168.x.x or similar).
Finding your Mac address on a Mac computer
On Apple computers, the process goes through System Settings. Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions).
In the sidebar, click Wi-Fi if you connect wirelessly, or Network if you use Ethernet. If you chose Wi-Fi, click the Details button on the right side. If you chose Network, select your Ethernet connection and click Details. A window will open showing your connection information.
Look for the field labeled "MAC Address" — it will be displayed as six pairs of characters separated by colons, like 00:1A:2B:3C:4D:5E. You can click the copy icon next to it to copy the address to your clipboard, or write it down.
Finding your Mac address on Linux
On Linux, open a terminal window. The keyboard shortcut is usually Ctrl+Alt+T, though this varies by distribution.
Type ip link show and press Enter. You will see a list of all your network interfaces. Look for the one you use — typically eth0 for Ethernet or wlan0 for Wi-Fi. Next to "link/ether" you will see your Mac address formatted as six pairs of characters separated by colons.
If ip link show does not work on your system, try ifconfig instead. Look for the line labeled "HWaddr" (hardware address) under your active connection — that is your Mac address. Some older Linux systems use this format instead.
What to do if you see multiple Mac addresses
If your device has both Wi-Fi and Ethernet connections, you will see two different Mac addresses — one for each network card. This is normal. You only need the Mac address for the connection type you actually use.
If you are registering your device with a network (like a school or workplace Wi-Fi), ask the network administrator which connection they need registered. Most of the time they want the Wi-Fi address, but some networks require Ethernet. If you are unsure, provide the address for whichever connection you plan to use to join that network.
Virtual machines and some software create additional virtual network adapters, which is why you might see more addresses than you expect. Ignore these unless you are specifically working with that software.
Copying and storing your Mac address safely
Once you find your Mac address, write it down or copy it to a text file you can access later. You will need it when you register your device with a network, set up port forwarding on your router, or troubleshoot connection issues with your internet provider.
Keep it in a safe place — your Mac address is not sensitive information like a password, but having it written down saves you time when you need it. Some people keep a note in their phone or a document on their computer with their device's Mac address, IP address, and router model number all in one place.
If you ever replace your network card or get a new device, the Mac address will change. The old address becomes useless, so you do not need to keep it after you upgrade.
Frequently Asked Questions
Is my Mac address the same as my IP address?
No. Your IP address is assigned by your router or internet provider and can change. Your Mac address is built into your network card and stays the same unless you replace the card. Your router uses your Mac address to identify you on the local network, while your IP address is used for internet communication.
Can someone use my Mac address to hack me?
Your Mac address only works on your local network — it cannot be used across the internet. Someone would need to be on the same Wi-Fi network as you to use it, and even then they would need other information to cause problems. It is not sensitive like a password, so sharing it with a network administrator is safe.
Why does my Mac address keep changing?
Some devices randomize their Mac address for privacy when connecting to new networks. This is called MAC randomization and is a security feature. If your address changes every time you connect, check your Wi-Fi settings for a "Private Address" or "MAC Randomization" option and turn it off if you need a stable address for network registration.
Do I need to find my Mac address for a home Wi-Fi network?
Usually not. Home routers automatically recognize new devices without requiring Mac address registration. You only need it if your router has MAC filtering turned on (which blocks devices not on an approved list) or if you are setting up advanced features like port forwarding or DHCP reservations.
What if I cannot find my Mac address using these steps?
Make sure you are looking at the correct connection — if you use Wi-Fi, do not look at the Ethernet section. If you are on Windows and the command does not work, try right-clicking Command Prompt and selecting "Run as administrator" before typing the command again. On Mac, make sure you clicked Details after selecting your connection type.