What these addresses do and why you need them
Your MAC address (Media Access Control address) is a unique identifier for your device's network card — the hardware that connects you to Wi-Fi or ethernet. Your IP address is the number your internet service provider assigns to your device so data can find its way to you. You need both when troubleshooting network problems, connecting to a new Wi-Fi network that requires registration, setting up port forwarding, or configuring a printer on your home network.
The MAC address never changes unless you replace your network hardware. The IP address can change — your router assigns a new one each time you restart, or your internet provider assigns a different one when you restart your modem. Knowing how to find both quickly saves time when something stops working.
Key Takeaways
- Your MAC address is a 48-character code (like AA:BB:CC:DD:EE:FF) that identifies your device's network hardware and stays the same unless you replace it.
- Your IP address is a four-part number (like 192.168.1.5) that your router assigns and may change when you restart your device or modem.
- On Mac, open System Settings, click Network, select your connection, and look for the MAC address in the Details section.
- On Windows, open Command Prompt and type ipconfig /all to see both your IP address and MAC address in one list.
- You can also find your IP address by searching "what is my IP" in any web browser.
Finding your MAC address on Mac
Open System Settings (the gear icon in your dock or Applications folder). Click Network in the left sidebar. Select the connection you use — Wi-Fi if you're wireless, Ethernet if you're plugged in. Click the Details button in the bottom right.
Look for the line labeled "MAC Address" or "Hardware Address". It will be a string of six pairs of letters and numbers separated by colons, like a4:5e:60:d1:2c:3f. Copy this exactly if you need to provide it to a network administrator or device manufacturer.
Finding your IP address on Mac
Use the same path: System Settings > Network > select your connection > Details. Look for the line labeled "IPv4 Address". This is the address your router assigned to your device on your local network. It usually starts with 192.168 or 10.0.
If you need your public IP address — the one your internet provider assigned to your whole household — open any web browser and search for "what is my IP". The first result will show it. This is different from your local IP address and is what websites see when you visit them.
Finding your MAC address on Windows
Right-click the Windows Start button and select Terminal (or Command Prompt on older Windows versions). Type ipconfig /all and press Enter. A list will appear with information about each network connection on your computer.
Find the section for the connection you use. Look for the line labeled "Physical Address" — that is your MAC address. It will look like AA-BB-CC-DD-EE-FF (Windows uses hyphens instead of colons). If you have both Wi-Fi and Ethernet, you will see two separate Physical Address entries; use the one for the connection you actually use.
Finding your IP address on Windows
In the same Terminal or Command Prompt window where you typed ipconfig /all, look for the line labeled "IPv4 Address" under your connection. This is your local IP address — the one your router assigned. It usually starts with 192.168 or 10.0.
For your public IP address, open any web browser and search "what is my IP". The result will show the address your internet provider assigned to your household connection.
When you have multiple network connections
If your computer has both Wi-Fi and Ethernet, or if you use a VPN, you will have multiple IP addresses and MAC addresses. Each physical network card has its own MAC address that never changes. Each active connection has its own IP address that may change.
When you need one of these addresses, use the one for the connection you are actually using right now. If you are on Wi-Fi, use the Wi-Fi MAC address and IP address. If you are plugged into ethernet, use the ethernet ones. If you are unsure which connection is active, check System Settings or Network Settings — it will show which one is currently connected.
What to do if the address looks wrong
If your IP address starts with 169.254, your device is not connected to the network properly. Restart your router (unplug it for 30 seconds, then plug it back in) and restart your computer. If the problem persists, restart your modem as well — the device your internet provider gave you that connects to the wall.
If you cannot find a MAC address at all, your network hardware may not be working. Try restarting your computer first. If that does not help, the network card itself may need replacement, and you should contact the device manufacturer or a local repair shop.
Frequently Asked Questions
Can someone use my MAC address to hack me?
Not directly — a MAC address only works on your local network (your home Wi-Fi or office network). Someone would need to be on the same network to see it. However, if a device is lost or stolen, someone could use its MAC address to impersonate it on a network. This is why some networks require MAC address registration.
Why does my IP address keep changing?
Your router assigns a new local IP address each time your device restarts or reconnects to Wi-Fi. This is normal and expected. Your public IP address (from your internet provider) changes less often — usually only when you restart your modem or after several days of inactivity.
Do I need to memorize these addresses?
No. Write them down or take a screenshot when you need them. You can look them up again anytime using the steps above. Most people only need them once or twice when setting up a new device or troubleshooting a problem.
Is it safe to share my IP address?
Your public IP address is visible to every website you visit — it is not secret. Sharing it with a tech support person or network administrator is safe. Never share your MAC address with someone you do not trust, since it could be used to impersonate your device on a network.