Modern Apple operating systems are renowned for their ease of use, but sometimes automated processes can create unnecessary complications. When you change your router or move to a new office, your MacBook It may persistently try to connect to an old network whose name is no longer relevant. This causes delays and confusion in the list of available connections. In such situations, the user needs to know how to delete a Wi-Fi network on a Mac to clear the connection history and restore a stable connection.
The process for deleting a saved profile may vary depending on the version of the operating system installed. In the latest macOS updates, Apple has radically changed the System Preferences interface, making it similar to the menu in iPhone or iPadIf you're accustomed to the classic window layout, the new options may seem confusing. However, regardless of the software version, the task remains solvable and doesn't require extensive technical knowledge.
In this article, we will look at all the current methods for clearing the list of networks for current versions of macOS, including Ventura And SonomaWe'll also cover older systems. You'll learn how to find hidden settings and what to do if standard methods don't work. This guide will help you keep your device's network settings organized.
Network management features in new versions of macOS
Starting with macOS 13 Ventura, Apple has abandoned the traditional System Preferences grid. Wi-Fi controls have now moved to the sidebar, requiring a new navigation approach. To delete a Wi-Fi network on a Mac in the new shell, first open the menu via the apple icon in the upper left corner of the screen. Then select System Preferences, which opens the main device management window.
In the left column you should find and click on the section Wi-FiThis displays the current connection status and a list of known networks. A unique feature of the new interface is that to manage each specific access point, tap the three-dot icon or gear icon next to the network name. Tapping this icon opens a context menu where you can select "Forget this network."
It's important to note that changes take effect immediately, but the system may require confirmation via the administrator password or Touch ID. This is a security measure to prevent accidental deletion of important profiles. If you manage a corporate laptop, permissions to change network settings may be restricted by profile administration.
⚠️ Note: After deleting a network, all saved passwords and certificates for this access point will be erased and cannot be restored through the settings interface.
Instructions for macOS Monterey, Big Sur, and earlier versions
For users who haven't yet updated to the latest version or are using older hardware, the process is different. In the classic interface, profile management is done through advanced settings. The first step is to go to the Apple menu and select System Preferences (or System Preferences (in very old versions). Next, click on the icon Net.
In the window that opens, select the Wi-Fi interface on the left, then click the "Advanced" button in the lower right corner. This is where you'll find a complete list of all networks you've ever used. Find the name you no longer need, highlight it, and click the minus sign at the bottom of the list. This will delete the profile from your device's memory.
Be sure to click "OK" or "Apply" in the main settings window to save your changes. If you don't, the system may ignore your actions the next time you restart. This method is the most reliable way to completely reset your connection settings.
☑️ Check before deletion
It's worth noting that in a corporate environment, settings can be locked remotely. In this case, the delete button may be grayed out. This means the profile is imposed by the organization, and deleting it will require contacting the IT department or using a terminal with superuser rights.
Using the Terminal for Advanced Users
For those who prefer the command line over a graphical interface, macOS provides powerful network management tools. You can open Terminal via Spotlight search (Cmd+Space) or by finding it in a folder. Programs → UtilitiesThis method is especially useful when the GUI freezes or does not display the desired list.
To get started, you need to enter a command to view all saved networks. This will help you confirm the exact name of the profile you're about to delete. Enter the following code and press Enter:
networksetup -listallpreferrednetworks Wi-Fi
After reviewing the list, use a command to delete a specific network, specifying the network name in quotation marks. This is a critical step, as case is important. The command looks like this:
sudo networksetup -removepreferredwirelessnetwork Wi-Fi "NetworkName"
The system will ask for an administrator password to confirm the operation. Enter it carefully; the characters you type won't appear on the screen. Once the command is successfully executed, the network will disappear from the list of preferred networks.
⚠️ Warning: Be extremely careful when entering commands in Terminal. Syntax or network name errors can result in deleting the wrong profile or causing system errors.
Reset network settings and delete system files
Sometimes standard methods fail due to corrupted system configuration files. In such cases, a manual reset by deleting preference files can help. This method is more drastic and requires careful attention. First, close all applications and go to Finder.
From the Finder menu, select Go → Go to Folder (or press Shift+Cmd+G). Enter the path /Library/Preferences/SystemConfiguration/In the folder that opens, you need to find files that contain the words in their names. com.apple.network.eapol or com.apple.wifiDeleting these files will force the system to recreate the configuration upon reboot.
After deleting the files, you need to restart your computer. When you turn it on, your Mac will prompt you again for passwords for known networks. This is a great way to resolve issues where your device is experiencing connection issues or fails to detect a network after changing your router.
| Method | Complexity | Risk of errors | Recommended macOS version |
|---|---|---|---|
| Via Settings (New) | Low | Minimum | Ventura, Sonoma |
| Via Settings (Classic) | Low | Minimum | Monterey and older |
| Terminal | Average | Average | Any |
| Deleting files | High | High | In case of system failures |
What to do if the network is not deleted?
If the network doesn't delete using standard methods, it may be blocked by a configuration profile (MDM). Check the "Profiles" section in system settings. If there's a corporate profile there, deleting networks may be prohibited by the organization's security policy. In this case, the only solution is to contact the administrator or completely wipe the device.
Troubleshooting connection issues after uninstallation
Sometimes, after deleting a profile, the router connection fails to re-establish automatically, even with the correct password. This could be due to DNS caching or an IP address conflict. First, try simply turning the Wi-Fi module off and on in the status bar menu.
If this doesn't help, it's time to refresh your DHCP settings. Go to Network Settings, select Wi-Fi, and click "Details" (or "Advanced"). In the TCP/IP tab, click "Renew DHCP Lease." This will request a new IP address from the router and often resolves internet access issues.
It's also worth checking if "Private Wi-Fi Address" is enabled, as this can block connections on some corporate networks or older routers. Disable this option in the specific network settings and try connecting again.
⚠️ Note: Interfaces and menu item names may differ slightly depending on the specific minor version of macOS (e.g., 14.1 vs. 14.5). Always refer to the current window layout on your screen.
Frequently Asked Questions (FAQ)
Can I delete a network if I'm currently connected to it?
Yes, you can delete a network profile even if you're currently actively using that connection. However, once you confirm the deletion, the connection will be disconnected, and you'll need to re-enter the password if you want to connect again.
Where are passwords for remote networks stored?
Once a network is removed from the preferred list, its password is also removed from the system. However, if you have iCloud Keychain sync enabled, the password may be saved in the cloud and automatically retrieved when you reconnect to the same access point.
Why does my Mac keep trying to connect to my old network?
This happens if the network profile hasn't been deleted, but only hidden or disabled. It could also be caused by a high priority network in the preferences list. Deleting the network through settings or Terminal completely resolves this issue.
How to clear the network list on all Apple devices at once?
There's no single button for this. Network deletion occurs locally on each device. However, if you use iCloud Keychain, deleting a password from the keychain on one device can sync, but it's best to delete the network profile manually on each device.
Is Terminal safe to use for a beginner?
Using Terminal is safe as long as you copy commands exactly from trusted sources. The main rule is to avoid entering commands you don't understand, especially those that begin with sudo or rm.