Your Mac address is a unique identifier assigned to your device's network hardware

A Mac address (Media Access Control address) is a string of numbers and letters that identifies your device on a local network. It looks something like 00:1A:2B:3C:4D:5E and is burned into your device's network card when it's manufactured. Unlike your IP address, which changes depending on which network you connect to, your Mac address stays the same and only matters on the specific network you're currently using.

Your device has a Mac address for every network connection it has — one for Wi-Fi, one for Ethernet if you have a wired connection, and possibly others if you have multiple network adapters. The Mac address is how your router knows which device to send data to when you're on the same local network. It's also what allows your router to recognize your device when you reconnect, which is why your Wi-Fi password doesn't need to be re-entered every time.

Key Takeaways

  • Your Mac address is a hardware identifier unique to each network connection on your device, separate from your IP address.
  • You can find your Mac address in your device's network settings, and the exact location depends on whether you're using Windows, Mac, or Linux.
  • Your router uses your Mac address to recognize your device on the local network and can filter which devices are allowed to connect.
  • Changing your Mac address (called spoofing) is possible on most devices but is rarely necessary for normal use.

How to find your Mac address on Windows

On Windows 10 or 11, open Settings and go to Network & Internet, then select Wi-Fi or Ethernet depending on how you're connected. Click the network you're currently using, scroll down, and look for Physical address — that's your Mac address. If you're connected by Ethernet, the address will be under the Ethernet section instead.

If you prefer using the command line, you can also open Command Prompt (search for "cmd" in the Start menu) and type ipconfig /all, then press Enter. Look for the line labeled Physical Address under your active network connection. Both methods show the same information; use whichever feels more comfortable.

How to find your Mac address on a Mac

Click the Apple menu in the top-left corner and select System Settings (or System Preferences on older versions). Go to Network and select the connection type you want — Wi-Fi or Ethernet. Click Advanced, then go to the Hardware tab. Your Mac address appears as MAC Address in that window.

You can also find it through the terminal if you're comfortable with that. Open Terminal (search for it in Spotlight), type ifconfig, and press Enter. Look for the line that says ether — that's your Mac address for your current connection.

How to find your Mac address on Linux

Open a terminal window and type ip link show or ifconfig, then press Enter. Your Mac address appears next to link/ether or HWaddr depending on your Linux distribution. If you're using a graphical interface, the location varies by desktop environment, but it's usually under Network Settings in a similar place to Windows or Mac.

Most Linux users find the terminal method faster than hunting through menus, but both approaches work. If you're not sure which command to use, try ip link show first — it's the newer standard and works on most modern distributions.

Why you might need your Mac address

The most common reason to find your Mac address is Mac filtering on your router. Some routers let you create a whitelist of devices that are allowed to connect — you enter the Mac addresses of your devices, and only those devices can join the network. This adds a layer of security beyond your Wi-Fi password, though it's not a substitute for a strong password.

You might also need your Mac address if you're setting up a device on a network that requires registration, such as at a workplace, school, or public venue. Some networks track devices by Mac address to manage bandwidth or enforce usage policies. If you're troubleshooting a connection problem with technical support, they may ask for your Mac address to identify which device is having the issue.

What Mac address spoofing is and when it matters

Changing your Mac address is called spoofing, and most operating systems allow it through settings or command-line tools. On Windows, you can change it through your network adapter's advanced properties. On Mac and Linux, terminal commands can do it temporarily until you restart. However, spoofing is rarely necessary for everyday use and can actually cause problems if done incorrectly.

The main legitimate reason to spoof a Mac address is privacy — some people change it periodically to avoid being tracked across networks. However, your router still knows which device is which based on other identifiers, so this provides limited real-world privacy benefit. If you're considering spoofing for any reason, research the specific steps for your device first, because a mistake can disconnect you from your network entirely.

The difference between Mac address and IP address

Your Mac address and IP address are often confused because they both identify your device, but they work at different levels. Your Mac address is a local identifier — it only matters on the network you're physically connected to right now. Your IP address is a global identifier assigned by your internet service provider or router and is how devices on the internet find you.

When you move to a different Wi-Fi network, your Mac address stays the same, but your IP address changes. When you restart your router, your IP address might change, but your Mac address never does. Your router uses your Mac address to manage local traffic; the wider internet uses your IP address. Understanding the difference helps explain why your router can recognize your device even if your IP address has changed.

Frequently Asked Questions

Can someone use my Mac address to hack me?

Your Mac address alone is not enough to hack you — it only works on your local network. However, someone on the same network could use it to target your device with certain attacks. This is why using a strong Wi-Fi password and keeping your device's firewall enabled matters more than keeping your Mac address secret.

Will my Mac address change if I get a new network card?

Yes. Your Mac address is tied to the specific network hardware, so replacing your network card gives you a new Mac address. The old address becomes irrelevant once the hardware is gone. If you've set up Mac filtering on your router, you'll need to add the new address to the whitelist.

Do I need to know my Mac address for normal internet use?

No. Your Mac address is handled automatically by your device and router. You only need to find it if your router requires Mac filtering, if a network administrator asks for it, or if you're troubleshooting a specific connection problem.

Is my Mac address the same on Wi-Fi and Ethernet?

No. Each network connection on your device has its own Mac address. Your Wi-Fi adapter has one, your Ethernet port has a different one. When you check your settings, make sure you're looking at the right connection type.