Modern Apple operating systems such as macOS, are renowned for their ability to automatically manage network connections, but sometimes this automation brings more problems than convenience. Users often encounter a situation where a laptop stubbornly tries to connect to an old, outdated, or faulty access point, ignoring more stable signals. This can happen after changing the router password, moving to a new office, or when using public networks at a cafe where the authentication conditions have changed.
The process of deleting a saved connection profile seems simple, but in different versions of the operating system Mac OS X and modern macOS The steps vary significantly. If you don't know how to properly perform this procedure, your device may endlessly try to reconnect, draining your battery and causing internet interruptions. In this article, we'll cover all possible solutions, from classic methods to hidden security settings.
It's important to understand that removing a network from the list of known ones isn't just clearing its history; it's resetting cryptographic keys and IP settings that may have accumulated errors. Deleting the network profile entirely is often the only way to force your Mac to re-run the DHCP process and obtain the correct IP address. We'll explore the nuances of using a key fob, as it stores sensitive data about your connections, and explain why simply "forgetting" a network isn't always enough to ensure stable operation.
Why do I need to delete saved Wi-Fi networks?
The main reason to periodically review your list of known networks is connection priorities. Operating system macOS By default, it prioritizes previously used networks, even if their signal is weaker than that of neighboring access points. This can lead to unstable internet performance when the laptop "climbs" to the echo of the old router instead of switching to the strong signal of the main router or mobile hotspot.
The second aspect concerns data security and privacy. When connecting to public networks at airports or hotels, your computer stores certain identifiers and certificates. Over time, many of these records can accumulate, and some may pose a potential risk if the encryption protocols on these networks are outdated. Regularly cleaning this list reduces the attack surface and prevents automatic connections to potentially unsafe nodes without your knowledge.
⚠️ Attention: Before deleting corporate networks, make sure you have up-to-date re-authorization data (login, password, certificates), as it may not be possible to restore settings automatically without the help of a system administrator.
Deleting a profile is also necessary when changing hardware. If you purchased a new router with the same name (SSID) as your old one but with different security settings, your Mac may attempt to use the old encryption keys, resulting in connection errors. In such cases, the system often displays "Unable to connect to the network," and the only solution is to completely erase the old access point data from the device's memory.
Instructions for macOS Sonoma, Ventura, and Sequoia
In the latest versions of Apple's operating system, the Settings interface has undergone significant changes, becoming more similar to iPadOS. The Wi-Fi menu is no longer buried deep in system settings and is more easily accessible, but the logic for deleting networks has become less clear for those accustomed to the classic view. First, open System Preferences by clicking the apple in the upper-left corner of the screen and selecting the appropriate menu item.
In the window that opens, find the section Wi-Fi in the sidebar. Here you'll see the wireless switch and a list of available networks. However, to see the list of saved profiles, you need to click the button Details (Details) next to the name of the network you're currently connected to, or find the Known Networks button, which may be located in the lower-right corner of the window or accessible through the Actions menu. In newer versions of macOS, Apple often hides the "Known Networks" list in the "advanced" subsection or requires clicking the information icon.
☑️ Network deletion algorithm in new macOS
Once you've found the list of known networks, select the one you want to delete. A button with three dots or a minus sign will appear on the right or bottom. Clicking on it will reveal the option Forget this network (Forget This Network). The system will ask for confirmation, warning that all data about this network will be deleted. After confirmation, the Mac will immediately terminate the connection if one was active and remove the password from the access keys.
It's worth noting that in some beta versions or specific corporate profile configurations, the delete button may be grayed out. This means network management is blocked by a configuration profile set by the organization's administrator. In this case, deleting the network using standard methods won't work; you'll need to remove the restrictions through the device management profile.
Deleting Networks in macOS Monterey, Big Sur, and Catalina
For users who haven't yet updated to the latest OS versions or are running older but supported hardware, the interface will look classic. Here, network management is handled through the preferences panel, which has a familiar icon-based layout. To get started, click the apple icon in the menu and select System Preferences (System Preferences).
In the settings window, find the icon Net (Network) and click on it. In the left column, select the interface Wi-FiNext, you need to click on the button Additionally (Advanced), which is usually located in the lower-right corner of the window. This is where you'll find a complete list of all networks ever used, sorted by connection priority.
In the window that opens, go to the tab Wi-FiYou'll see a list of networks. To delete an unnecessary one, select it with a mouse click. You can also use the minus button to delete it. - below the list or just press the key Delete on the keyboard. After deleting the list of networks, press OK, and then Apply (Apply) in the main network settings window for the changes to take effect.
⚠️ Attention: In older versions of macOS, removing a network from this list doesn't always immediately clear the DNS cache. If connection issues persist with the same network, we recommend flushing the DNS cache via Terminal.
The priority order is important. In this window, you can drag and drop networks to change their order. The system will attempt to connect to them from top to bottom. If you have a home network and a neighbor's network with a similar name, make sure yours is listed first, or simply delete the neighbor's network to avoid confusion.
Working with access keys and key fobs
Sometimes a network is removed from the list of known networks, but the Mac still remembers the password or tries to use old certificates. This happens because the data is stored in the system keystore— Keychain (Keychain Access). If you're experiencing cyclical connection errors or the system keeps asking for a password you've already entered, you should check this section.
To access the storage, open Finder, go to the folder Programs (Applications), then Utilities (Utilities) and run A bunch of keysIn the key search, enter your Wi-Fi network name (SSID). If you find an entry like "AirPort network password," double-click it. In the properties window that opens, you can view the saved password (you'll need your Mac administrator password) or delete the entry entirely by clicking the delete button at the bottom of the window.
Why does Keychain store passwords?
Keychain is an encrypted macOS database designed to store sensitive information, such as passwords, keys, certificates, and notes. It syncs between Apple devices via iCloud, allowing for automatic Wi-Fi password entry on new devices. However, this syncing process can sometimes result in a network deleted on one device or a password changed interfering with the security of another device if syncing is not performed correctly.
Deleting an entry from Keychain is a drastic but effective method. After this, when attempting to connect to the network, the system will behave as if it were seeing it for the first time: it will prompt you for the password again and create a new, clean entry without any old errors or security protocol version conflicts (WPA2/WPA3).
Be careful when working with system keys. Don't delete entries whose purpose you're unsure of, especially if they're labeled system or related to other Apple services. Only delete those that are clearly marked as such. AirPort network password and correspond to the names of your Wi-Fi networks.
Using the Terminal for Advanced Users
For those who prefer the command line to the graphical interface, or in situations where the GUI doesn't respond correctly, macOS provides powerful tools through TerminalThis method not only allows you to delete networks but also diagnose the interface's status. Commands are executed as the current user, but may require administrator privileges.
One of the useful utilities is networksetupIt can be used to display a list of all Wi-Fi preferences. The command to view all saved networks is as follows:
networksetup -listpreferredwirelessnetworks en0
Here en0 — This is the default name for the wireless interface on most Macs. If you have multiple networks (for example, an older Mac Pro), the name may differ. To remove a specific network from the preferences list, use the command:
networksetup -removepreferredwirelessnetwork en0"NetworkName"
Instead of Network_Name Enter the exact name of your Wi-Fi access point, keeping the quotation marks if the name contains spaces. This method is good because it works at the system preferences level, bypassing graphical interface bugs. However, it doesn't always clear the password from Keychain, so for full effectiveness, it's recommended to combine this method with a manual Keychain check.
You can also completely reset your network settings through the Terminal, which is sometimes required in case of critical failures. Command sudo ifconfig en0 down will disable the interface, and sudo ifconfig en0 up will turn it on again, which is equivalent to turning Wi-Fi off and on in the menu, but often works more reliably when the driver freezes.
Comparing Methods and Troubleshooting
Different methods for deleting networks have their advantages and disadvantages depending on the situation. The graphical interface is convenient for one-time actions, the Terminal is indispensable for automation or remote control, and using Keychain solves password issues. Below is a table to help you choose the right approach.
| Method | Complexity | Efficiency | When to use |
|---|---|---|---|
| System Preferences (GUI) | Low | Average | For routine removal of old networks |
| Bunch of keys | Average | High | In case of password errors and connection loops |
| Terminal (networksetup) | High | High | For scripts and spot deletion |
| Resetting NVRAM/PRAM | High | Maximum | In case of complete failure of the network module |
If none of these methods help, and your Mac continues to see the network as "unsupported" or can't connect, the problem may be deeper. In such cases, creating a new Network Location can help. Go to Network preferences, select "Location" from the "Location" menu, and then New location, name it something like "Test," and configure Wi-Fi again. This will create a clean settings profile without inheriting old errors.
⚠️ Attention: Interfaces and menu item names may vary slightly depending on the exact macOS version (e.g., 13.1 vs. 13.5) and the system's language locale. If you can't find a menu item, check if it's hidden behind the "Show All Settings" button.
It is also worth considering that on computers with processors Apple Silicon (M1, M2, M3) and Intel network module architectures may operate differently. In particular, security features like "Private Wi-Fi Address" may affect how the router perceives your Mac after reconnecting. If the router has blocked the device by MAC address, simply deleting the network on the Mac won't help—you'll need to unblock the device on the router.
Why doesn't my Mac show the 'Forget this network' button?
This often happens if you're currently connected to this network. You'll first need to disconnect from Wi-Fi or switch to another network (or Ethernet) for the delete button to become active. The button may also be missing if the network is managed by a corporate profile.
Is it possible to delete all Wi-Fi networks at once?
You can't delete all networks with a single click using the built-in graphical interface; you'll have to delete them one by one. However, you can use the Terminal to write a script that will clear the entire preferences list, but this requires caution to avoid deleting system settings.
Will a network disappear from the list on iPhone if I delete it on Mac?
Yes, if you have iCloud Keychain sync enabled. Deleting a network on one Apple ID device often results in its deletion on all trusted devices, as the list of known networks is synced.
What should I do if the network reappears on its own after deletion?
This can happen if there's a nearby device (such as an iPhone or iPad) with the same Apple ID that automatically broadcasts saved Wi-Fi passwords. The network may also be re-added if you accidentally tap it in the list of available networks and enter the password.