What a MAC address is and why you need it

A MAC address (Media Access Control address) is a unique identifier assigned to your laptop's network card. It looks like six pairs of numbers and letters separated by colons or hyphens — for example, 00:1A:2B:3C:4D:5E. Every device that connects to a network has one, and it never changes unless you deliberately alter it.

You need your MAC address when setting up a find home network because it lets your router recognize your laptop specifically. You can use it to restrict which devices connect to your WiFi, assign a fixed local IP address to your laptop so it always gets the same address on your network, or monitor which devices are currently connected. If you're troubleshooting network problems, your internet provider or router support may also ask for it.

Key Takeaways

  • Your MAC address is a unique identifier for your laptop's network card, shown as six pairs of characters like 00:1A:2B:3C:4D:5E.
  • Windows users can find it by opening Command Prompt and typing ipconfig /all, then looking for "Physical Address" next to your active network adapter.
  • Mac users can open System Preferences, go to Network, select your connection, and click Advanced to see the MAC address labeled "Ethernet ID" or "WiFi Address".
  • Linux users can open a terminal and type ip link show or ifconfig to display the MAC address next to "link/ether" or "HWaddr".
  • If your laptop has both WiFi and Ethernet, each connection has its own MAC address — find the one for the network you actually use.

Finding your MAC address on Windows

Open the Start menu and type cmd to launch Command Prompt. Right-click it and select "Run as administrator" if the program asks for permission. Type the command ipconfig /all and press Enter. A list of network adapters will appear on your screen.

Look for the adapter you use to connect — usually "Ethernet" if you plug in a cable, or "Wireless LAN adapter" or "WiFi" if you use WiFi. Under that adapter's name, find the line that says "Physical Address". The string of characters next to it is your MAC address. Copy it exactly as shown, including the hyphens.

If you have multiple network adapters listed, make sure you're copying the address for the one you actually use. If you're unsure which one is active, look for the adapter that shows an "IPv4 Address" — that's the one currently connected to your network.

Finding your MAC address on Mac

Click the Apple menu in the top-left corner and select "System Preferences" (or "System Settings" on newer versions). Click "Network" in the left sidebar. Select the network connection you use — either "WiFi" if you're wireless, or "Ethernet" if you're plugged in with a cable.

Click the "Advanced" button in the bottom-right corner of the window. A new window opens with several tabs at the top. Click the "Hardware" tab. Your MAC address appears in the field labeled "MAC Address" (on WiFi) or "Ethernet ID" (on Ethernet). It will look like 00:1A:2B:3C:4D:5E. Copy it exactly as displayed.

If you're connected wirelessly but want the MAC address for your Ethernet port instead (or vice versa), go back to the Network list and select the other connection type, then repeat the process. Each port has its own unique MAC address.

Finding your MAC address on Linux

Open a terminal window. Type the command ip link show and press Enter. Your network adapters will list with their names and MAC addresses. Look for the adapter you use — usually eth0 or enp0s3 for Ethernet, or wlan0 or wlp2s0 for WiFi. The MAC address appears on the line that starts with "link/ether" and looks like 00:1a:2b:3c:4d:5e.

If ip link show doesn't work on your system, try the older command ifconfig instead. The MAC address will appear next to "HWaddr" (hardware address). Copy the address exactly as shown, including the colons.

Telling the difference between WiFi and Ethernet MAC addresses

If your laptop has both a WiFi card and an Ethernet port, each one has its own separate MAC address. When you set up your router or configure network access, you need the MAC address for whichever connection you actually plan to use.

If you primarily use WiFi, find and record your WiFi MAC address. If you plug in an Ethernet cable, use the Ethernet MAC address instead. Some people record both and label them clearly — for example, "WiFi: 00:1A:2B:3C:4D:5E" and "Ethernet: 00:1A:2B:3C:4D:5F" — so they don't mix them up later when configuring their router.

To check which connection is currently active, look at your network settings. In Windows, the active adapter shows an "IPv4 Address". On Mac, the active connection shows a green dot next to its name. On Linux, the active adapter shows "state UP" in the output.

Using your MAC address to find your network

Once you have your MAC address, you can use it in your router's settings to control which devices connect. Most routers have a feature called MAC filtering or MAC address filtering, usually found in the WiFi or Security settings. You add your laptop's MAC address to an "allowed" list, which means only devices on that list can connect to your network.

You can also assign a static local IP address to your laptop using its MAC address. This means your laptop always gets the same address on your home network (like 192.168.1.50), which makes it easier to find if you need to access it remotely or set up port forwarding. This setting is usually in your router's DHCP or Local Network settings.

Keep your MAC address handy if you call your internet provider for support. They may ask for it to check your connection or troubleshoot problems. Write it down or take a screenshot so you have it available.

Frequently Asked Questions

Can someone use my MAC address to hack my network?

A MAC address alone is not enough to connect to a secured network — your WiFi password is what actually protects you. However, if someone is physically close enough to see your MAC address, they could potentially spoof it (copy it) to bypass MAC filtering. MAC filtering adds a layer of security but should not be your only protection. Always use a strong WiFi password as well.

Does my MAC address change if I restart my laptop?

No. Your MAC address is permanently assigned to your network card and does not change when you restart. It only changes if you replace the network card itself or deliberately modify it using special software. For normal use, you can treat it as a permanent identifier.

Why do I see two different MAC addresses on my laptop?

If your laptop has both WiFi and Ethernet, each connection has its own MAC address. You may also see a virtual MAC address if you're using a virtual machine or network virtualization software. For your home network, use the MAC address of the physical connection you actually use — WiFi or Ethernet, not both.

What if I can't find the MAC address in my network settings?

Make sure you're looking in the right place for your operating system. On Windows, the command must be ipconfig /all (with the space and forward slash). On Mac, you need to click Advanced after selecting your connection. On Linux, try both ip link show and ifconfig. If neither works, your network adapter may not be recognized by the system, which usually means a driver is missing.