What a MAC address is and why you need it
A MAC address is a unique identifier assigned to your computer's network card — the hardware that connects you to the internet or a local network. It looks like six pairs of numbers and letters separated by colons or hyphens, such as `00:1A:2B:3C:4D:5E`. Every network device has one, and no two are identical.
You need your MAC address when you register a device on a network that uses MAC filtering, when your internet provider requires it to set up service, or when you are troubleshooting connection problems with your network administrator. Some routers also use MAC addresses to assign the same IP address to your computer every time you connect.
Finding your MAC address takes less than a minute and requires no special software. The steps differ slightly depending on whether you use Windows, macOS, or Linux.
Key Takeaways
- Your MAC address is a unique identifier for your network card and appears as six pairs of numbers and letters separated by colons or hyphens.
- In Windows, open Command Prompt and type ipconfig /all to find the Physical Address, which is your MAC address.
- On a Mac, go to System Settings, select Network, choose your connection, and click Details to see the MAC address listed as Wi-Fi Address or Ethernet Address.
- In Linux, open a terminal and type ip link show or ifconfig to display your MAC address next to the interface name.
- If you have multiple network cards, you will see multiple MAC addresses — one for each card.
Finding your MAC address in Windows
Open the Start menu and type Command Prompt into the search box. Click the Command Prompt app to open it. You do not need administrator rights for this step.
Type the following command and press Enter:
ipconfig /all
A list of network information will appear on your screen. Look for the section labeled with your network connection name — usually "Ethernet" if you are plugged in with a cable, or "Wireless LAN adapter" if you are using Wi-Fi. Under that section, find the line that says Physical Address. The value next to it is your MAC address. It will look similar to `AA-BB-CC-DD-EE-FF`, with hyphens instead of colons.
If you have both an Ethernet port and Wi-Fi, you will see two Physical Address entries — one for each network card. Write down the one that matches the connection you actually use, or note both if you switch between them.
Finding your MAC address on macOS
Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions). In the sidebar, click Network.
In the list of network connections on the left, select the one you use — either Wi-Fi or Ethernet. On the right side of the window, click the Details button.
A new window will open showing detailed network information. Look for the line labeled Wi-Fi Address (if you selected Wi-Fi) or Ethernet Address (if you selected Ethernet). The value shown is your MAC address, displayed with colons between each pair of characters, such as `00:1A:2B:3C:4D:5E`.
If you use both Wi-Fi and Ethernet at different times, repeat these steps for each connection to find both MAC addresses.
Finding your MAC address in Linux
Open a terminal window. In most Linux distributions, you can right-click on the desktop and select Open Terminal, or press Ctrl+Alt+T.
Type one of the following commands and press Enter:
ip link show
or
ifconfig
The output will list all network interfaces on your computer. Each interface name appears on the left — typically `eth0` for Ethernet or `wlan0` for Wi-Fi. Next to the interface name, look for the line that begins with link/ether (in `ip link show` output) or HWaddr (in `ifconfig` output). The string of characters following it is your MAC address, shown with colons between pairs.
If you have multiple network cards, you will see multiple interfaces listed. Note the MAC address for the interface you actually use to connect to the network.
What to do if you have multiple network cards
Laptops and desktop computers often have both Ethernet and Wi-Fi built in. When you run the commands above, you will see more than one network interface listed, each with its own MAC address. This is normal and expected.
If your network administrator or internet provider asks for your MAC address, ask them which connection they need — Ethernet or Wi-Fi. Most of the time they want the one you actually use to reach their network. If you are unsure, provide both and let them tell you which one to register.
Some devices also have virtual network adapters created by software like virtual machines or VPN clients. These will show up in the list as well, but you can ignore them unless someone specifically asks for a virtual adapter's MAC address.
Saving or sharing your MAC address
Once you have found your MAC address, write it down or take a screenshot so you have it available when you need it. Store it in a safe place — your MAC address is not sensitive information and does not need to be kept secret, but having it written down saves time if you need to provide it to your network administrator or internet service provider.
When you share your MAC address with someone, make sure you are giving them the correct one for the network connection they asked about. If they requested your Ethernet address and you give them your Wi-Fi address by mistake, their MAC filtering or registration will not work.
Frequently Asked Questions
Can I change my MAC address?
Yes, but it is rarely necessary. Most people never need to change it. If you do need to, the process differs by operating system — Windows and Linux allow it through software settings, while macOS makes it more difficult. Your network administrator can tell you if changing it is necessary for your situation.
Why does my MAC address look different each time I check?
It should not. If your MAC address changes between checks, your computer may be using MAC address randomization, a privacy feature in newer versions of Windows and macOS that generates a temporary address for each network you connect to. Your actual hardware MAC address stays the same — you are just seeing a temporary one. Check your network settings to see if randomization is turned on.
Do I need my MAC address to use the internet?
No. Your MAC address is only needed if your network uses MAC filtering, if your internet provider requires registration, or if you are setting up a device on a network that assigns addresses based on MAC. Most home networks and public Wi-Fi do not require it.
What if the command does not show any results?
Make sure you typed the command correctly and pressed Enter. If you are in Command Prompt on Windows, type `ipconfig /all` exactly as shown — the space and forward slash matter. If you are still seeing no results, your network card may not be recognized by the system, which is a hardware issue you should discuss with your computer manufacturer or a technician.
Is my MAC address the same as my IP address?
No. Your MAC address is a permanent identifier for your network card hardware. Your IP address is a temporary number assigned by your network or internet provider and changes when you connect to a different network or restart your router. They serve different purposes and look different — MAC addresses have letters and numbers, while IP addresses are usually four groups of numbers separated by periods.