Computer owners Apple Often encounter a situation where a device persistently tries to connect to an old or malfunctioning access point. This can happen when changing the router password, moving to a new office, or simply due to accumulated errors in the system profile. Operating system macOS has the ability to remember all networks ever used, which is convenient for automation, but sometimes becomes a source of problems.
The process for deleting a saved connection profile depends on the version of the operating system installed. Interfaces System Preferences And System Settings These vary significantly, so it's important to understand which version of the software you have. In this article, we'll cover the steps for different macOS versions in detail, as well as advanced methods using the Terminal.
Failure to follow this procedure may result in constant connection drops or the inability to connect to the Internet even if you have the correct password. Removing the problematic network is often the only working solution if a standard reconnection does not help. Let's figure out how to effectively clear the list of known networks.
Why delete saved Wi-Fi networks?
The main reason users have to manually manage the network list is connection priorities. macOS automatically selects the highest-priority network within range. If you've changed your router at home but the name (SSID) remains the same, your computer may try to use old, outdated security settings.
Deleting is also necessary for security reasons. When connecting to public hotspots in cafes or airports, you leave a trace in your device's memory. Attackers can use SSID cloning techniques, forcing your MacBook automatically connect to a fake network, which opens the way for data interception.
⚠️ Important: Before deleting corporate networks, make sure you have current certificates or re-authorization data, as some profiles require complex configuration.
Furthermore, accumulating a large number of profiles could theoretically slow down the initial airtime scan, although on modern models this impact is minimal. However, maintaining a clean list of known networks is a good practice for any operating system.
Instructions for macOS Ventura, Sonoma, and later
Starting with macOS 13 (Ventura), Apple radically changed the structure of the settings menu, making it more similar to the interface iPadOSAll network management features are now located in a separate sidebar, making the uninstall process more logical but a bit unusual for those who used older versions.
First, you need to open System Preferences. You can do this via the Apple menu in the upper left corner of the screen or by finding the corresponding icon in LaunchpadGo to the "Wi-Fi" section in the left column. Here you'll see the wireless switch and a list of available networks.
☑️ Network deletion algorithm
To see a full list of saved profiles, look for the "Details" button next to the Wi-Fi switch or at the bottom of the window, depending on the specific minor update version. A list of all known networks will open. Find the one you want, click the three dots to the right of the name, and select "Forget this network." Confirm the action, and the profile will be deleted instantly.
If the network is hidden or doesn't appear in the list of known networks, try temporarily disabling Wi-Fi and then re-enabling it to refresh the list. In some cases, you may need to reboot your router to stop broadcasting the SSID you want to remove from your Mac's memory.
Deleting a network in macOS Monterey, Big Sur, and Catalina
In versions of the operating system prior to macOS 13, the interface looked different. It used the classic icon-based view, and network profile management was hidden deep within the advanced settings. iMac And MacBook Pro For these years of production, you need to be careful when looking for the right buttons.
Open System Preferences and select the Network section. Select your Wi-Fi adapter in the left column. Next, click the Advanced button in the lower right corner of the window. This is where your device's entire connection history is stored.
In the window that opens, go to the "Wi-Fi" tab. You'll see a list of preferred networks. Select the one you want to remove and click the minus (-) sign below the list. Afterward, be sure to click "OK" in the lower right corner to apply the changes, otherwise the system won't save the new configuration file.
⚠️ Note: In older versions of macOS, changes only take effect after clicking "Apply" or "OK." If you simply close the window, the network will remain in memory.
This method also allows you to change the network priority. By dragging them up or down in the list, you can tell the system which access point to connect to first when multiple known signals are detected simultaneously.
Why does the network come back after being deleted?
If the network reappears automatically, it's synced via iCloud Keychain from another device. Disable Wi-Fi key syncing in iCloud settings or delete the network on all devices at once.
Using the Terminal for Advanced Users
For those who prefer the command line to the graphical interface, or in cases where the GUI (graphical interface) does not work correctly, there is a powerful tool - TerminalThis method allows you to manage network profiles with high precision and is suitable for all versions of macOS.
Open Terminal via Spotlight (Cmd+Space) and enter the command to view all known networks. This will help you accurately determine the profile name, which may differ from the visible SSID if special characters were used.
/usr/sbin/networksetup -listallpreferrednetworks Wi-Fi
Once you've found the exact network name, use the delete command. You'll be prompted to enter your administrator password to confirm the action. Please note that the network name must be entered exactly, including capitalization and spaces.
sudo /usr/sbin/networksetup -removepreferredwirelessnetwork Wi-Fi "NetworkName"
This method is especially useful for deleting hidden networks or profiles with incorrect name encoding, which may not appear in the graphical interface. It's also a great way to quickly clear the network list on multiple computers via remote control.
Resetting network settings via keychains
Sometimes a standard wipe isn't enough, as the connection data may be corrupted or conflict with current security settings. In such cases, a deeper cleanup is required via Keychain Access, where passwords and certificates are stored.
Open the Keychain app (you can find it using Spotlight search). On the left, select "System" or "Login," then under "Passwords," find the name of your Wi-Fi network. Double-clicking an entry will reveal its details, but to delete it, simply select it and press Delete.
After deleting the entry from your keychain, repeat the "Forget Network" procedure in your main Wi-Fi settings. This ensures that no cached files will interfere with a new, clean connection using the current password.
| Method | Complexity | Efficiency | Risk of error |
|---|---|---|---|
| System Preferences | Low | Average | Minimum |
| Terminal | Average | High | Average |
| Bunch of keys | High | Maximum | High |
Troubleshooting iCloud sync issues
One of the most common reasons why a deleted network reappears is the iCloud Key Sync feature. If you have iPhone or iPad, connected to the same account, they can automatically restore profiles deleted on Mac.
To break this cycle, you need to either delete the network on all devices simultaneously or temporarily disable password syncing. Go to iCloud settings on each device and ensure the list of networks is up-to-date. This is especially important after changing the router password.
If you're selling or giving away a computer, simply "forgetting" the network isn't enough. We recommend performing a full NVRAM/PRAM reset to clear the non-volatile memory, which may store remnants of network settings and boot disk parameters.
Frequently Asked Questions (FAQ)
Is it possible to delete all saved Wi-Fi networks at once?
You can't delete all networks at once with a single click using macOS's built-in tools. However, you can use Terminal for scripted deletion, or manually navigate through the list in the "Advanced" section. A complete wipe is often required when transferring a device to a new owner.
What should I do if the "Forget this network" button is inactive?
This may happen if you're trying to delete a network you're currently connected to. First, disconnect from Wi-Fi or connect to a different network (for example, via a USB modem or phone), and the button will become active.
Does deleting a network affect other accounts on this Mac?
Network settings in macOS are tied to the entire system, not a specific user (in most cases). Therefore, deleting a network will affect all users of the computer. However, passwords in the keychain can only be accessed by the user who entered them.
Do I need to restart my Mac after deleting a network?
Typically, a reboot isn't required; changes are applied immediately. However, if you're experiencing strange network module behavior or problems obtaining an IP address, a reboot will help reinitialize the network stack.