Free tech learning for everyone, from basics to pro

Photo: Stephen Phillips - Hostreviews.co.uk on Unsplash

Tech FundamentalsBeginner

What is a MAC address and how is it different from an IP address?

In short: A MAC address is a hardware identifier given to a device's network connection, written as six pairs of characters such as 3C:22:FB:1A:9E:07. It is used to deliver data between devices on the same local network, while an IP address is used to reach devices on other networks. Many phones now use a random "private" MAC address on each Wi-Fi network to protect your privacy.

Animation: the main idea at a glance. It plays on a loop with no sound.

The short answer

A MAC address (Media Access Control address) is an identifier for the network part of a device, such as its Wi-Fi chip or its network port. It looks like this: 3C:22:FB:1A:9E:07 (six pairs of numbers and letters A to F).

Think of it like a serial number for the network connection. Your phone, laptop, printer, smart TV and router each have one.

MAC address vs IP address

MAC address vs IP addressMAC addressBuilt into the network cardWorks on the local networkLike a serial numberIP addressGiven by the networkWorks across the internetLike a postal address
Figure 1. Every connected device has both: a MAC address for the local network and an IP address for reaching other networks.

Your device has both, and they do different jobs:

  • The IP address is like a postal address. It can change when you move to a different network, and it is used to send data across the internet.
  • The MAC address is like the name on the door of a flat in a building. It is used for the last step: delivering data to the right device on your local network, such as your home Wi-Fi.

When data arrives at your home router from the internet, the router uses the IP address to know it is for your phone, then uses your phone's MAC address to hand it over on the Wi-Fi.

Where is the MAC address used?

  • Switches in offices learn which MAC address is connected to which port, so they can send data only where it needs to go.
  • Home routers show connected devices by MAC address, which helps you spot unknown devices.
  • Some networks use MAC filtering or reserve a fixed IP address for a known MAC address.

Why does my phone show a different MAC address?

Because a MAC address used to stay the same everywhere, shops and public Wi-Fi networks could use it to recognise your phone as you moved around. To protect privacy, modern iPhones, Android phones and Windows laptops can use a private (random) MAC address for each Wi-Fi network. This is normal and is usually best left switched on. If your home router needs a fixed address for parental controls, you can turn it off for that network only.

How to find your MAC address

DeviceWhere to look
WindowsOpen Command Prompt and type ipconfig /all; look for "Physical Address"
MacSystem Settings, Network, your connection, Details
iPhoneSettings, Wi-Fi, tap the (i) next to the network ("Wi-Fi Address")
AndroidSettings, Network or Wi-Fi, the network's details (wording varies by maker)

Is a MAC address a security feature?

Not really. A MAC address can be copied ("spoofed") easily, so MAC filtering alone does not keep people off a Wi-Fi network. A strong Wi-Fi password with WPA2 or WPA3 does a much better job (see WPA2 vs WPA3).

Want to go deeper? Read MAC addresses explained and see how switches use them in the MAC address table. You can also look up who made a device with our MAC address lookup tool.

Key takeaways

  • A MAC address identifies a device's network connection, for example 3C:22:FB:1A:9E:07.
  • MAC addresses deliver data on the local network; IP addresses reach other networks.
  • Phones and laptops often use a private, random MAC address on each Wi-Fi network for privacy.
  • MAC filtering is not real security; use a strong WPA2 or WPA3 password.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

© 2026 FM TecHub. Original content written for FM TecHub. Share the link freely; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: