macOS users often encounter situations where their device stops connecting to the internet correctly or continually tries to connect to a network whose signal has long been lost. In such cases, it becomes necessary to completely delete saved connection data so the system can recreate it. This action is often confused with simply disabling a module, but in reality, it involves a more thorough cleaning of configuration files and profiles.
Clearing Wi-Fi on a MacBook may be necessary when changing providers, purchasing a new router, or troubleshooting software issues. Simply "forgetting" the network through the menu often doesn't resolve the issue if conflicting records or corrupted DNS settings remain in the system. Knowing how to properly clear this data will save you hours of troubleshooting.
In this guide, we'll cover all methods: from simply deleting the preferred networks list to completely resetting network settings via the terminal. It's important to follow the steps in order, as incorrect intervention In system files, this can lead to the loss of other saved passwords. Below are proven methods for various operating system versions.
Removing networks using macOS System Preferences
The safest and first step is to remove specific networks from the list of saved networks. Depending on your operating system version, the interface may differ, but the logic remains the same. Find the location where your connection history is stored and forcefully delete any unnecessary entries.
In modern versions of macOS, such as Ventura and Sonoma, Apple has changed the menu structure, moving network management to a separate section. The user should go to System Preferences, then select a section Wi-FiA list of known networks is displayed here. To delete a specific access point, click the "More details" button next to the Wi-Fi switch or find the list at the bottom of the window, select the network you want to remove, and click the delete button (usually a minus icon or a "Delete" button).
If you have an older version of macOS (Monterey and below), the path will look different: System Preferences → Net → select Wi-Fi → button AdditionallyIn the window that opens, in the "Wi-Fi" tab, you'll see a list of preferred networks. Select the one you want to remove and click the minus sign at the bottom of the list. After that, be sure to click OK And Applyfor the changes to take effect.
It's worth noting that simply removing a connection from the list doesn't always guarantee a complete cleanup if the system has cached connection data. However, for most cases where you simply want to stop connecting to a neighbor's router or an old access point, this is sufficient. Reboot computer after this operation will help the system update its configuration.
Resetting the Wi-Fi module via the hidden menu
macOS has a hidden diagnostics menu that allows you to quickly perform actions on the network module. This method is useful when the settings interface is unresponsive or frozen. It allows you to reset the adapter without extensive file manipulation.
To access this menu you need to hold down the key Option (Alt) on your keyboard and simultaneously click the Wi-Fi icon in the menu bar (in the upper-right corner of the screen). The context menu that opens will reveal additional options that are hidden during normal use. We're interested in the option that allows you to reset settings or disable the module at a deeper level.
Select an item Open wireless diagnostics or Reset the Wi-Fi module (the name may vary. In some versions of macOS, it is enough to select Create a report, which will force a restart of network services. This action is equivalent to removing and reinserting the network card in a desktop PC. After running the command, the Wi-Fi icon may disappear and reappear after a few seconds.
What does a hidden reset provide?
This operation clears the temporary driver cache and forces the module to reconnect to the hardware, which often solves the problem of "gray" Wi-Fi icons.
Using this method is safe for your personal data, as it doesn't affect [the password]. However, it doesn't delete saved passwords from the keys; it merely restarts the connection management process itself. This is a good intermediate step before more drastic measures.
Clearing saved passwords in Keychain
Often, the problem lies not in the network settings, but in saved passwords, which may have become corrupted or changed. macOS stores all Wi-Fi passwords in a special secure vault— Keychain (Keychain Access). If the entry there contains an error, the system will endlessly attempt to connect using incorrect data.
To clear this data, open Spotlight search (Cmd + Space) and type "Keychain Access." In the app that opens, select "System" or "Sign-in" from the list on the left. In the list of all saved passwords, find your network name (SSID). There may be multiple SSIDs if you connected to it with different security settings.
Select the found records and press the key Delete Or select "Edit" → "Delete" from the menu. The system will ask for confirmation and possibly the user account password. After deleting these entries, macOS will prompt you for the password again the next time you connect, creating a fresh, correct entry.
☑️ Check Keychain
It's important to be careful when deleting entries in Keychain. Delete only those related to Wi-Fi networks to avoid accidentally erasing passwords for websites or apps. Duplicate entries is often the cause of cyclic connection errors.
Removing configuration profiles and corporate networks
If your Mac is used in a corporate environment or you previously set up special profiles for accessing secure networks (such as at universities or offices), simply deleting the network may not work. Such connections are managed in the profiles section.
Go to System Preferences and find the section Profiles (or "Profiles and Device Management"). If this section is missing, it means there are no management profiles installed on your computer. If this section is present, you may find configurations related to network settings, security certificates, or Wi-Fi policies.
Select a suspicious or unnecessary profile and click the minus button to delete it. The system will ask for the administrator password. After deleting a profile, the settings it dictated will be reset. This is especially important for networks with authentication via 802.1x or corporate gateways.
⚠️ Note: Removing corporate profiles may prevent you from accessing internal company resources or work email. Ensure your device no longer requires these settings.
In some cases, profiles can block the user from changing network settings. Therefore, clearing this section is critical when selling or transferring a computer to another owner.
Full reset of network settings via Terminal
If the graphical interface doesn't help, you can use the command line to forcefully delete configuration files. This method is the most radical and effective. It allows you to directly delete the files that store network preferences.
Open the app Terminal (via Spotlight or in the Applications → Utilities folder). Administrator privileges are required to perform these operations. We'll be deleting preference files located in the system folder. Enter the following commands one by one, confirming the action with a password (the password characters are not displayed as you type):
sudo rm /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plistsudo rm /Library/Preferences/SystemConfiguration/com.apple.network.eapolclient.configuration.plist
sudo rm /Library/Preferences/SystemConfiguration/com.apple.wifi.message-tracer.plist
sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
sudo rm /Library/Preferences/SystemConfiguration/preferences.plist
After running these commands, be sure to restart your computer. Upon startup, macOS will detect missing configuration files and create new, default ones. All saved networks will be deleted, and settings will be reset to factory defaults.
Using the command line gives you full control over the system. However, it's important to remember that resetting Wi-Fi networks may also reset other network settings, such as static IP addresses or DNS settings, if they were configured manually.
Comparison of methods and troubleshooting
The method you choose depends on your purpose and macOS version. Simply deleting from the list is suitable for general use, while resetting via Terminal is necessary for serious errors. Below is a table to help you choose the right approach.
| Method | Complexity | Efficiency | Risk of data loss |
|---|---|---|---|
| Via System Preferences | Low | Average | No |
| Reset module (Option+Click) | Low | Low (temporary effect) | No |
| Cleaning Keychain | Average | High (for password problems) | Minimum |
| Terminal (sudo rm) | High | Maximum | Reset all networks |
If Wi-Fi still doesn't work after all these steps, there may be a hardware issue. Check if the adapter is visible in the "System Report" section. If the card isn't detected, the module may need repair or replacement. It's also worth making sure that MAC address filtering isn't enabled on your router, which could be blocking your device.
⚠️ Note: macOS interfaces are updated regularly. Button locations and menu item names may differ in new versions (for example, in macOS Sequoia). Always consult the latest Apple support materials if the default paths don't work.
Keep in mind that removing Wi-Fi from a Mac is a process that often requires a comprehensive approach. Sometimes, simply forgetting the network is enough, while in other cases, a complete configuration reset is required. Monitor the system's behavior after each step.
Frequently Asked Questions (FAQ)
Will my Wi-Fi password be deleted forever?
Yes, if you delete a network through Settings and clear the entry in Keychain, the password will be removed from your device's memory. However, if you use iCloud and iCloud Keychain, the password may sync across your other Apple devices. To remove it completely, you need to delete the entry on all synced devices.
Is it possible to uninstall Wi-Fi driver on Mac?
No, you can't uninstall a Wi-Fi driver on macOS in the traditional sense, like in Windows. Drivers are built into the operating system kernel and protected by System Integrity Protection. You can only reset their settings or configuration files, but not the software module itself.
What should I do if the Wi-Fi icon disappears after a reset?
If the icon disappears and doesn't reappear after rebooting, check the module in the "System Report." If the module shows as "None" or is missing, the antenna may be physically disconnected (this is especially true after repairs) or there may be a firmware error. Try creating a new user on your Mac and check if the network is present in their profile.
Does removing networks affect internet speed?
The network list itself doesn't affect speed. However, if the priority network list contains "dead" networks with similar names, the computer may waste time trying to connect to them, causing delays. Clearing the list helps the device find a relevant network faster.