Every network device in the world has a unique identifier that is assigned by the manufacturer at the factory and is called MAC addressThis 48-bit number is essential for the proper operation of the local network, as it's how the router recognizes your laptop among dozens of other devices. Without this address, data packet transmission would be impossible, as the router simply wouldn't know to whom exactly to send the requested web page or file.
Users often need to know this code when setting up MAC address filtering on a router to improve the security of their home network. Owners of modern laptops They can also look for this information to diagnose connection issues when the system reports an identification error or restricts network access. Knowing where to find your adapter's physical address is a basic skill for any advanced user.
There are many ways to obtain this information, ranging from simple graphical interfaces of the operating system to entering special commands into the console. Physical address (Physical Address) is the technical name you'll most often encounter in documentation and system utilities. We'll cover all the current methods for various operating systems so you can choose the one that best suits your situation.
Finding a MAC address using the Windows command line
The fastest and most reliable method that works on all versions of the operating system from Windows 7 to Windows 11The solution involves using the command line. This method doesn't require advanced programming knowledge; simply copy and paste a single command and press Enter. The result will be instant, even if the network adapter isn't currently connected to the internet.
First, you need to open the command line interface by pressing the key combination Win + R and entering cmd, or by searching for "Command Prompt" in the Start menu. After a black terminal window opens, enter the command ipconfig /all and wait for a list of all network interfaces on your computer to appear. In the resulting array of data, find the section corresponding to your wireless adapter, which is usually called "Wireless Network" or contains the words "Wireless" or "Wi-Fi" in the name.
- 🔍 Find the line "Physical Address" - this is the MAC address you are looking for.
- 📋 Copy the value, which consists of 12 characters (numbers and letters AF), separated into pairs separated by hyphens.
- ⚙️ Please note that virtual adapters (Hyper-V, VirtualBox) will have different addresses.
It is important to understand that ipconfig Provides information about all active and inactive interfaces at once. If your laptop has a Bluetooth module, it will also have its own unique address, which will differ from the WiFi address by one or more digits. Don't mix them up when entering data into the router settings, otherwise the device will simply not be able to log in to the network.
⚠️ Note: Modern versions of Windows may have the "Randomize MAC Addresses" feature enabled to protect your privacy. In this case, the system will generate a temporary address when connecting to public networks, hiding the real factory identifier.
Using PowerShell to Get Network Information
An alternative to the classic command line is a more powerful tool. PowerShell, which allows you to obtain more structured and detailed information about network components. This method is especially useful if the standard output ipconfig seems too cumbersome to you or if you need to get data in a specific format for the script.
Launch PowerShell as an administrator or in normal mode via Windows Search. To get a list of all network adapters with their physical addresses, use the cmdlet Get-NetAdapterThis command will output a table that will show the interface name, its status, connection speed and, of course, MacAddressYou can easily identify the required adapter by its name, which often corresponds to the chipset manufacturer, such as Intel, Realtek, or Qualcomm.
Get-NetAdapter | Select-Object Name, MacAddress, Status
If you want to see only the WiFi adapter's address, you can filter the output by adding a search condition by interface name. This is especially useful on laptops with multiple virtual network cards installed for emulators and VPN services. Knowing the exact interface name helps avoid errors when copying data.
☑️ Data Validation in PowerShell
Windows 10 and 11 Settings GUI
For those who prefer visual system management, operating systems Windows 10 And Windows 11 Provide convenient access to technical specifications via the settings menu. This method eliminates the risk of command syntax errors and is ideal for users who rarely use the console. The settings interface has become significantly more user-friendly in recent updates.
To find the required address, go to the Start menu and select "Settings" (the gear icon), then open "Network & Internet." On the left side of the window, select the "Wi-Fi" tab, then click "Properties" or "Configure hardware properties" under the name of your current network. In the list of characteristics that opens, scroll down to the "Physical Address (MAC)" field, where the required 12 characters will be displayed.
Here you can also manage the privacy feature that allows you to use random MAC addressIf this switch is enabled, the actual factory address will be hidden from the access point. This is useful in cafes and airports, but can create problems when setting up filtering on a home router. For a home network, it's best to disable this feature so that the router always sees your device as trusted.
| Parameter | Description | Where to find |
|---|---|---|
| Physical address | Unique adapter identifier | Wi-Fi Properties |
| IPv4 protocol | Logical address on the network | Wi-Fi Properties |
| SSID | Wireless network name | Main Wi-Fi window |
| Security mode | Encryption type (WPA2/WPA3) | Wi-Fi Properties |
Finding your MAC address on macOS and Linux
Computer users Apple MacBook and laptops with the operating system Linux (Ubuntu, Debian, Fedora) can also easily find the necessary information using built-in system utilities. The principles of data retrieval are similar to those in Windows, but the commands and settings paths differ due to the different kernel architectures and interfaces.
In macOS, open System Preferences and go to the Network section. Select your active Wi-Fi connection from the list on the left and click the Advanced button. In the window that opens, go to the Hardware tab, where the first line will show MAC-AddressIn Linux, the most common way to get information is through the terminal and the command ip link or outdated but still popular ifconfig.
- 🍏 On macOS, you can copy the address directly from the settings window by clicking on it.
- 🐧 In Linux, the command
ip link showwill list interfaces, where wlan0 is usually WiFi. - 🔌 Make sure the WiFi module is enabled, otherwise some systems may not show it in the list of active ones.
⚠️ Note: New versions of macOS and Linux distributions also feature MAC address randomization when scanning networks. Make sure you're looking at the interface address, not the temporary scan address.
What is MAC address randomization?
This is a security feature that changes the device ID when searching for networks to prevent trackers from tracking a user's movements using the unique ID of their network card.
Physical search and manufacturer documentation
If the operating system fails to load or the network driver is corrupted, you can find the MAC address by physically inspecting the device. On many laptops, especially enterprise-class or gaming models, the manufacturer places a special sticker on the bottom cover. This label contains the serial number, device model, and often MAC Address, designated as MAC ID or Ethernet ID.
This information may also be on the laptop box or in the warranty card. If the sticker is worn off or missing, you can try accessing the BIOS/UEFI. To do this, press the BIOS setup key (usually F2, Del, or F10) when turning on the laptop and look for the System Information or Network Configuration section. This section often displays basic hardware information, including network IDs.
It's worth noting that modern Ultrabooks may omit these stickers for aesthetic reasons, and the BIOS doesn't always display this information to the user. In this case, the only option is to boot a Linux distribution from a LiveCD or reinstall the network drivers to ensure the system recognizes the adapter again.
Viewing connected devices on the router
Another effective way to find your laptop's MAC address is to view it in the router's admin panel. Since the device must communicate its MAC address to the router to connect to the network, this information is guaranteed to be stored in the DHCP client table. This method is convenient because it doesn't require access to the laptop itself; any other device with network access is sufficient.
Log into your router's web interface (usually at 192.168.0.1 or 192.168.1.1) and enter your administrator login and password. Find the "Status," "Network Map," or "Client List" (DHCP Clients) section. In the table of connected devices, you'll see your laptop's name (Hostname), its IP address, and a column. MAC AddressThe device name is often the same as the computer name in Windows.
This method also allows you to check if someone else has connected to your network. If you see a device with an unfamiliar name or a MAC address that doesn't belong to your devices, it's time to change your WiFi password. Comparing the addresses on your laptop and router is a great diagnostic tool: if they match, the connection is established correctly.
Is it possible to change the MAC address programmatically?
Yes, many operating systems allow MAC address spoofing through Device Manager or specialized utilities. This can be done in the network adapter properties on the "Advanced" tab, where you can manually enter any value. However, this isn't necessary for standard router filtering and can cause network conflicts.
What to do if the MAC address consists of zeros?
If the system displays the address 00-00-00-00-00-00, this indicates a critical driver error or a faulty network module. In this case, you should reinstall the drivers from the laptop manufacturer's official website or check the device in Device Manager for errors (yellow exclamation mark).
Is the MAC address different between WiFi and Ethernet?
Yes, these are two different physical devices (even if they're implemented on the same chip), so they have different unique identifiers. When setting up filtering on a router, it's important to enter the wireless adapter's address if you want to control Wi-Fi access.