When you connect your laptop to Wi-Fi, your device uses two completely different types of addresses to communicate. One you probably know about — the IP address — and one that works silently in the background: the MAC address. Understanding the difference between them clears up a lot of confusion about how networks actually work.
What Is a MAC Address?
A MAC address (Media Access Control address) is a unique hardware identifier permanently assigned to a network interface card (NIC) by its manufacturer. Every Wi-Fi card, ethernet adapter, and Bluetooth chip has one.
A MAC address looks like this: 00:1A:2B:3C:4D:5E — six pairs of hexadecimal digits separated by colons (or sometimes dashes). That’s 48 bits total, giving about 281 trillion possible unique addresses.
The first three pairs (00:1A:2B in the example) identify the manufacturer — this is called the OUI (Organizationally Unique Identifier). The last three pairs are assigned by the manufacturer to uniquely identify that specific device. Apple, Intel, Samsung, Broadcom — every hardware company has registered OUI codes.
What Is an IP Address?
An IP address is a logical address assigned to a device by a network. Unlike a MAC address, IP addresses can change — your router assigns them via DHCP, and they can be different every time you connect. IP addresses are used to route packets across networks and the internet.
The key difference: MAC addresses are physical and local; IP addresses are logical and global.
MAC vs IP: Side-by-Side Comparison
- Layer: MAC operates at Layer 2 (Data Link). IP operates at Layer 3 (Network).
- Scope: MAC addresses only work within the same local network segment. IP addresses route across the internet.
- Assignment: MAC is burned into hardware by the manufacturer. IP is assigned dynamically by a router or manually by a network admin.
- Format: MAC is 48 bits in hex (00:1A:2B:3C:4D:5E). IPv4 is 32 bits in decimal (192.168.1.100). IPv6 is 128 bits.
- Changeability: MAC addresses are fixed in hardware but can be spoofed in software. IP addresses change freely.
How MAC and IP Addresses Work Together
When your laptop sends data to a website, the journey involves both:
- Your laptop knows the destination IP (from DNS). It wraps the data in an IP packet addressed to that IP.
- To actually transmit that packet on your local network, it needs to know the MAC address of your router (the next hop). It finds this using ARP (Address Resolution Protocol).
- Your router receives the packet, strips the Ethernet frame (which had MAC addresses), and forwards the IP packet to the next router on the path.
- At each hop, MAC addresses are updated for the local link, while the IP addresses stay the same end-to-end.
MAC addresses never appear outside your local network — they get replaced at every router hop. The destination website only ever sees your public IP address, never your MAC address.
Can Someone Track You with Your MAC Address?
Within your local network, yes — your router logs which MAC addresses have connected. Your ISP can see your router’s MAC address (or the MAC of whatever device connects directly to the modem) but cannot see the MAC addresses of individual devices behind your router.
However, Wi-Fi MAC tracking is a real privacy concern in public spaces. Before you connect to a network, your device broadcasts its MAC address to probe for known networks. Retailers, airports, and advertisers have used this to track how long you spend in different areas of a store. This is why modern operating systems (iOS 14+, Android 10+, Windows 10+) now use randomized MAC addresses for Wi-Fi scanning.
What Is MAC Address Randomization?
Modern devices randomize their MAC address before associating with a new network, replacing the real hardware MAC with a random one. This prevents location tracking by passive Wi-Fi sniffers. You can see this on your phone: each new network you connect to may show a different MAC address in the router’s client list.
Once connected to a trusted network, some OSes switch back to using the real MAC for consistency, or use a persistent random MAC for that specific network.
How to Find Your MAC Address
Windows: Open Command Prompt and run ipconfig /all. Look for “Physical Address” under your network adapter.
Mac: System Settings → Network → select your interface → Details → Hardware tab.
iPhone: Settings → Wi-Fi → tap your network → “Wi-Fi Address”.
Android: Settings → About phone → Status → Wi-Fi MAC address (or similar depending on manufacturer).
MAC Spoofing: What It Is and Why People Do It
MAC spoofing means changing your device’s advertised MAC address to a different value. This is completely legal and has legitimate uses:
- Privacy: Prevents device fingerprinting on local networks
- Bypass MAC filters: Some networks restrict access by MAC address; spoofing lets you use an allowed address
- Testing: Network engineers use it to simulate different devices
- Replacing hardware: Some ISPs tie your account to a specific router MAC; spoofing the new router’s MAC to match the old one avoids calling customer support
Unlike IP address changes (which a VPN handles), MAC spoofing is done at the OS or driver level. Your real IP address is still visible — if you want to hide that, you need a VPN or proxy.
Your IP address is visible to every website you visit — your MAC address is not.
To hide your IP address, use a VPN: PureVPN or IPVanish. Check your current visible IP at tools.examineip.com.
Frequently Asked Questions
Can a website see my MAC address?
No. MAC addresses never leave your local network. By the time your packets reach the internet, they only contain IP addresses. Websites can see your public IP address, but not your MAC address or any details about your local network hardware.
Is a MAC address the same across all my devices?
No. Each network interface has its own MAC address. Your laptop’s Wi-Fi card has a different MAC from its ethernet port. Your phone has a different MAC from your laptop.
Can two devices have the same MAC address?
Manufacturers guarantee uniqueness globally, but MAC spoofing means in practice two devices on the same local network could have the same MAC — which would cause serious connectivity problems. On different networks, duplicate MACs cause no issues.