Over time, your settings change MacBook or iMac A multitude of wireless network profiles accumulate. You might have connected to Wi-Fi at a cafe, a friend's house, or a temporary work location, and the system automatically remembers this data for easy access in the future. However, when the list becomes too long, it can cause confusion or even conflicts when trying to connect to your home router.
Users often encounter a situation where their laptop persistently tries to connect to an old, inactive access point, ignoring a stable connection. In such cases, the only reliable solution is to manually clear the preferences list. Removing unnecessary profiles is a simple yet effective procedure that helps restore normal network operation.
In this article we will examine in detail all the methods that allow forget the network on various versions of macOS. You'll learn how to navigate the graphical interface in new versions of the operating system and how to use Terminal for deeper cleaning of settings. This guide will help you keep your network connections organized.
Why do I need to delete old Wi-Fi profiles?
The main reason why it's important to periodically check your list of saved networks is because of the connection priority mechanism. macOS tries to automatically connect to the known network with the highest priority in the list. If you've moved or changed providers, but the network name (SSID) remains the same, your computer may try to use the old one. security parameters, which will result in an authorization error.
Furthermore, accumulating dozens of profiles can have a minor, but not insignificant, impact on the speed of scanning available frequency bands when Wi-Fi is turned on. The system spends resources checking for familiar access points in the air. Clearing the list eliminates this Wireless module from unnecessary load and potential IP address conflicts that sometimes arise when switching between different local networks.
There's also a security aspect. If you've connected to open or untrusted networks in public places, deleting those profiles prevents you from automatically connecting to them in the future. This reduces the risk of your Mac will connect to a fake attacker access point that has the same name as the legitimate network without you noticing.
Deleting a network in macOS Ventura, Sonoma, and Sequoia
In the latest versions of the operating system, Apple has completely redesigned the System Preferences interface, making it similar to the menu on iPhone and iPad. The process of deleting a network is now more intuitive, but the layout of the elements has changed compared to previous generations of macOS. You don't need to use complex commands; everything is done through a graphical menu.
To get started, open the Apple menu in the upper left corner of your screen and select System PreferencesIn the sidebar, find the section Wi-FiHere you'll see a wireless switch and a list of known networks. Please note that in newer versions of macOS, the list of known networks is hidden within the detailed control menu.
Click on the button Details (or the icon with three dots) located next to the name of the network you want to delete. In the window that opens, find the button Forget this network or DeleteConfirm the action, and the profile will be immediately deleted from the device's memory. If you want to delete a network you're not currently connected to, find the section Well-known networks at the bottom of the Wi-Fi settings window.
☑️ Check before deletion
⚠️ Attention: After deleting a network, all saved passwords and proxy settings for this access point will be erased and cannot be restored through the interface. If you don't remember the password, write it down before deleting the profile.
Instructions for macOS Monterey, Big Sur, and Catalina
In macOS versions prior to Ventura, the Preferences interface looked different, resembling the classic system tray windows. Here, network profiles are managed through an expanded menu, hidden from the average user by default. This is done to prevent accidental deletion of critical system settings.
To access profile management, click on the Apple icon and select System Preferences (or System Preferences (in older versions). Go to the section NetSelect your interface from the list on the left. Wi-Fi, and then press the button Additionally... in the lower right corner of the window. This is where the key functionality is located.
A new window will open with several tabs. You need the tab Wi-Fi. In the list Preferred networks All access points you've ever connected to are displayed. Select the network you don't need and click the minus icon. (-) below the list. After that, click OK to save changes.
What to do if the minus button is inactive?
If the minus icon is gray and unclickable, this means the profile is protected by system restrictions or is managed by a corporate profile. Try signing out and signing back in, or contact your administrator if this is a work computer.
It's important to note that in these versions of macOS, the order of networks in the list matters. The system attempts to connect to the first network in the list that is within range. By deleting old entries, you automatically prioritize the remaining networks, speeding up the connection process at home or in the office.
Using Terminal to Delete Networks
For advanced users or in cases where the graphical interface isn't working correctly, it's possible to delete profiles via the command line. This method requires careful attention, as a syntax error can result in deleting the wrong profile. The terminal provides direct access to system security keys.
Open the app Terminal through Spotlight (Cmd+Space) or in a folder Programs → UtilitiesTo delete a network, you'll need to run the command with administrator privileges. The basic syntax is as follows:
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I
However, a more effective way to directly delete a specific network is to use the utility networksetupFirst, you can list all saved networks with the command:
sudo networksetup -listallwirelessnetworks
Then, to remove a specific network, use the command:
sudo networksetup -removenetwork "NetworkName" Wi-Fi
⚠️ Attention: When entering commands in Terminal, the system may prompt you for an administrator password. The password won't appear on the screen as you type—this is normal macOS security behavior. Just type the password and press Enter.
Using the terminal is especially useful when you need to delete multiple networks at once or automate the process with a script. However, for one-off operations, the graphical interface is usually more convenient and safer for inexperienced users.
Reset network settings and delete system files
Sometimes simply removing a profile from the preferences list isn't enough, especially if persistent connection errors are observed. In such cases, a more thorough cleanup may be required, including deleting the system configuration files that store network preference data. This effectively resets the macOS network stack to factory settings.
To perform this operation, you need to go to the hidden library folder. Open Finder, click in the menu Transition and hold down the key Option (Alt). In the list that appears, select Library. Then follow the path: Preferences → SystemConfiguration.
In this folder you are interested in files that contain the words in their names com.apple.airport.preferences.plist, com.apple.network.eapolclient.configuration.plist And com.apple.wifi.message-tracer.plistBefore deleting, it is recommended to back up these files by moving them to your desktop.
After deleting or moving files, you must restart your computer. Upon startup, the system will not detect old configuration files and will create new, clean versions with factory settings. You will have to re-enter passwords for all Wi-Fi networks, but this will ensure that any network-related software errors are removed.
Typical problems and solutions
Even after deleting a network, users may still encounter macOS "seeing" it or attempting to connect. This could be due to DNS caching or location services that remember network locations. The issue could also be rooted in a malfunctioning router.
Below is a table describing common symptoms and how to treat them:
| Symptom | Possible cause | Solution |
|---|---|---|
| The network returns to the list | Synchronization via iCloud | Disable iCloud Keychain or remove the network on all devices. |
| Error: "Failed to connect" | Invalid security type | Delete the network and add it again, selecting the correct encryption type. |
| Wi-Fi has turned grey and won't turn on. | Module failure after reset | Perform a NVRAM/PRAM and SMC reset (on Intel Macs) |
| The network is not deleted | Configuration profile (MDM) | Check the "Profiles" section in system settings. |
One common cause of problems is a security protocol conflict. If your router is configured for mixed mode (for example, WPA2/WPA3), and your Mac is attempting to use only one of them, you may experience connection errors in loops. In this case, deleting the network and logging back in with the correct settings helps.
It's also worth mentioning the "Private Wi-Fi Address" feature, which was introduced in newer versions of macOS. It generates a random MAC address for each network. If you've deleted a network but the problem persists, try disabling this feature for the specific access point in the connection details, as some routers can block devices with changing identifiers.
Questions and Answers (FAQ)
Will my Wi-Fi password be removed from my other Apple devices?
If you have iCloud Keychain sync enabled, deleting a network on one device may delete it on all devices linked to the same Apple ID. However, if you simply ignore a network on one device, it may remain active on others.
Is it possible to restore a deleted network without re-entering the password?
You can't restore a deleted profile from the system yourself. However, if the password is saved in iCloud Keychain, macOS can automatically fill it in when the network is detected again. If the password is also deleted from Keychain, you will be prompted to enter it.
Why is my home network called "Unnamed" after deleting it?
This can happen if the SSID (network name) is hidden in the router settings. In this case, the Mac sees the network as "Hidden Network" or "Unnamed." To properly connect, you need to know the exact network name and enter it manually when adding a new network.
Does removing networks affect internet speed?
This doesn't directly affect data transfer speed. However, clearing the preference list can speed up the initial connection and search for available networks, as the system doesn't have to sift through a long list of known profiles.
How to delete all Wi-Fi networks at once?
There's no one-click "Delete All" button. The fastest way is to use the reset configuration files method. /Library/Preferences/SystemConfiguration, described above. This will delete all saved networks and settings at once.