Networking
MAC Address vs IP Address
Networking · 4 min read · Updated October 20, 2026
Your MAC address and your IP address both identify your device, but in different ways. A MAC address is burned into your network card by the manufacturer and almost never changes. An IP address is assigned by your router or internet provider and can change at any time.
Think of it this way. The MAC address is like a car's VIN number, permanently stamped on the hardware. The IP address is like a license plate, tied to where the car is registered right now. One identifies the device, the other tells the network where to send data.
What a MAC address is
A MAC address (Media Access Control) is a 12-character hardware ID that looks like 3C:22:FB:9A:0D:71. Every network card gets one at the factory, and no two cards are supposed to have the same one. If your device has both Wi-Fi and an Ethernet port, it has a separate MAC address for each.
The first half of a MAC address identifies the manufacturer, so network admins can tell which company made the hardware just from the address. Your MAC address only travels inside your local network. When your data goes out to the internet, routers strip it off, so websites never see it.
What an IP address is
An IP address is a network address, like 192.168.1.5 on your home network or a public address like 74.125.20.113 that the internet sees. It is assigned to your device, not built into it. Your router hands out private IPs on your home network, and your internet provider assigns the public one.
IP addresses are designed to change. Restart your router or renew your connection and you may get a new one, which is why a public IP often looks different from day to day.
When each one actually matters
MAC addresses matter on your local network. Routers can filter which devices connect by MAC address, parental control tools identify devices by MAC, and some internet providers require you to register your modem's MAC before your connection works. Tech support may also ask for it when diagnosing connection problems.
IP addresses matter for everything beyond your home. They decide where traffic goes, they are what a VPN hides, and they are the approximate location signal websites use. If you are port forwarding or setting up remote access to a computer, the IP is the number you work with.
How to find your MAC address
On Windows, open Command Prompt and type ipconfig /all, then look for Physical Address. On a Mac, open System Settings, click Wi-Fi, click Details next to your network, and look for the Wi-Fi Address.
On iPhone, go to Settings, then General, then About, and look for Wi-Fi Address. On Android, open Settings, then About phone, and look for the Wi-Fi MAC address. Many phones now show a private, randomized MAC per network instead of the real one, as a privacy feature.
Frequently asked questions
Can two devices have the same MAC address?
Not normally. Every network card gets a unique MAC at the factory. Duplicates usually mean someone is spoofing a MAC on purpose, which can cause connection problems on the same network.
Can a website see my MAC address?
No. Your MAC address stays on your local network segment and is stripped off by the first router it passes through. Websites only see your [public IP address](/guides/public-vs-private-ip-address).
Does my MAC address change?
The hardware MAC does not change. But iPhones and Android phones now randomize the MAC address they share with each Wi-Fi network, a privacy feature that makes tracking harder. You can turn it off per network if a MAC-filtered router blocks you.
Can someone find my location from my MAC address?
Not directly the way an IP address can. Large Wi-Fi geolocation databases can map a MAC to an approximate location if the network was ever scanned, but a MAC alone tells a stranger nothing about you.
Do I need my MAC address to connect to Wi-Fi?
No, it is handled automatically. You only need it for special cases like registering a device on a network with MAC filtering, activating an ISP modem, or passing tech support a device ID.