operating system macOS Although renowned for its stability and ease of use, even in such a smooth environment, issues with wireless connections sometimes occur. Users often encounter a situation where their laptop refuses to connect to the router, displaying an authorization error or endlessly attempting to obtain an IP address. In most cases, this is due to conflicting old profiles or incorrectly saved passwords, which the system continues to use by default.
Removing a forgotten or problematic network is the first and most effective solution to try before undertaking a complex hardware reconfiguration. Reset configuration A connection failure forces the computer to re-request login credentials, ignoring old, possibly corrupted entries. This is especially true after changing the router password or upgrading to new ISP equipment, when old security settings are no longer relevant.
In this article, we'll cover in detail all available methods for clearing the network list, from standard system settings to advanced terminal methods. You'll learn how to manage connection priorities and what to do if standard methods fail to restore internet access. Understanding these processes will allow you to troubleshoot most network issues yourself in minutes.
Standard removal via system settings
Since version macOS Ventura and in newer versions such as Sonoma And Sequoia, the system settings interface has undergone significant changes, becoming more similar to the menu in iOSTo delete a network in these versions, you need to open the Apple menu in the upper left corner of the screen and select System PreferencesIn the sidebar you should find the section Wi-Fi, where the current connection status and a list of known networks will be displayed.
At the bottom of the Wi-Fi settings window you will see a button Additionally or the "Known Networks" list, depending on the specific update version. Clicking this button will take you to the expanded management menu, which displays all previously saved access points. To delete a network, select the desired network in the list and click the minus button or select "Forget this network" from the context menu.
After performing the action, the system will ask for confirmation, as this action is irreversible for the current session without re-entering the password. Saving changes This happens automatically, and your computer will immediately stop attempting to automatically connect to the remote profile. If you plan to connect to the same network again, you'll need to re-enter the password.
⚠️ Attention: If you are deleting a corporate network or a network with special security certificates, make sure you have up-to-date credentials for re-authorization, as old access tokens will be destroyed.
In older versions of the operating system, such as Catalina or Mojave, the path to the settings looks different. You need to go to System Preferences, select a module Net, and then select the interface from the left list Wi-FiNext you need to click the button Additionally in the lower right corner of the window, where a tab will open with a list of preferred networks.
Managing networks in older versions of macOS
For computer owners who, for whatever reason, have not updated to the latest versions of the operating system, the algorithm of actions will be different. Interface Panther, Leopard or High Sierra requires switching to the classic network settings window. Here, profile management is carried out through the tab Wi-Fi and the button Additionally, which opens a dialog box with a list of all saved connections.
In the window that opens, you'll see a table with networks sorted by usage priority. To delete a specific entry, select it with your mouse and click the minus symbol. - below the list. After that, be sure to click the button OK in the main settings window to apply the changes and close the dialog. Without this step, the changes may not take effect.
This method also allows you to change the priority order by dragging networks up or down the list. Connection priority Determines which access point the computer will attempt to connect to first when multiple known signals are detected. Removing old or weak networks from the top of the list can speed up the connection to the main router.
Sometimes it happens that after deleting a network, it immediately returns to the list. This may mean that it is saved in another user's profile on the same Mac or is synced via iCloud KeychainIn this case, you should check the settings on all devices linked to your Apple ID or temporarily disable key syncing.
Using a Keychain for Deep Cleaning
If standard deletion via network settings does not work, or if the system continues to automatically connect to a forgotten network, you need to access the password vault. Bunch of keys (Keychain Access) is a system utility macOS, where all your saved passwords, certificates, and secure notes are stored, including Wi-Fi data.
To get started, open the program Bunch of keysYou can find it through Spotlight by pressing the combination Command + Space and entering the utility's name. In the left column, select the "System" or "Login" category, then find the "Passwords" section in the list on the left. In the list that appears on the right, sort the entries by name to quickly find the desired network.
Once you find your wireless network name in the list, right-click it and select "Delete." The system will ask you to confirm the action by entering your administrator password or using Touch ID. After deleting the entry from Keychain, it is recommended to also delete the network profile using the default settings to ensure a complete cleanup.
☑️ Check for network deletion
⚠️ Attention: Use extreme caution when working with keychains. Deleting system certificates or passwords for other applications may result in program instability or loss of access to protected resources.
This method is especially effective when the problem lies not in the connection profile itself, but in the cached password that the system automatically inserts. Keychain Access Allows you to see even hidden parameters that aren't visible in the regular settings interface. Sometimes you might find duplicate entries with the same name but different creation dates, which can cause conflicts.
Resetting network settings via terminal
For advanced users who aren't afraid of the command line, there's a more radical and effective way to clear network configurations. The terminal allows you to directly interact with system preferences files, removing any traces of previous connections that might be hidden from the graphical interface. This method is often referred to as "kernel" because it affects deep system settings.
Before you begin, you must close all programs and save open documents. Open the application Terminal via folder Programs → Utilities or via Spotlight search. You'll need administrator rights to delete network profiles, so the system will prompt you for a password when entering commands.
The basic command to reset the Wi-Fi interface settings is as follows:
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z
However, to completely remove saved networks, it is better to use the clear preferences command:
sudo defaults delete /Library/Preferences/SystemConfiguration/com.apple.airport.preferences
After entering the command and confirming the password, you must restart your computer. Upon startup, the system will create a new preference file with factory settings, and the list of known networks will be completely cleared. Reset preferences It can also help solve problems with DNS and obtaining an IP address.
What should I do if the Terminal doesn't provide access?
If you receive an access error message when entering commands, make sure you are using an account with administrator privileges. On corporate networks, privileges may be restricted by IT security policies.
It's important to understand that this method will delete all saved networks at once, not just one specific one. You'll have to re-enter passwords for all Wi-Fi hotspots you use at home and in the office. This is the price you pay for a guaranteed clean network stack configuration.
Comparison of network removal methods
The method for deleting a network depends on your purpose and operating system version. Standard settings are suitable for everyday use, when you simply need to forget a specific access point. Using a keychain is necessary for authorization issues, while the terminal is used for in-depth diagnostics and a complete reset.
| Method | Complexity | Efficiency | Risk of data loss |
|---|---|---|---|
| System Preferences | Low | Average | No |
| Bunch of keys | Average | High | Minimum |
| Terminal (CLI) | High | Maximum | High (all networks) |
| Safe mode | Average | High | No |
As the table shows, the safest method for beginners is using the graphical interface. However, if the problem is systemic, a combination of methods yields the best results. An integrated approach allows you to eliminate software errors that have accumulated over a long period of computer use.
Troubleshooting iCloud sync issues
One of the common reasons why a remote network comes back is the Keychain Sync feature via iCloudIf you delete a network on one device but it's still there on another (such as an iPhone or iPad), the system can automatically restore it on your Mac the next time you connect to the internet. This is part of the Apple ecosystem, designed to make life easier, but it can sometimes cause inconvenience.
To break this cycle, you need to check the iCloud settings on all your devices. Go to System Preferences, click on your name at the top of the list and select iCloudMake sure your Keychain status is up to date. Sometimes, temporarily disabling Keychain sync, manually deleting the network on all devices, and then re-enabling sync can help.
It's also worth checking whether the network is a guest network or a corporate network deployed via a configuration profile (MDM). In such cases, the administrator may block the removal, and the network will be forced to re-enable. Management profiles You can check this in the Profiles section of your system settings if it is available on your device.
⚠️ Attention: On organization-owned devices, network deletion may be prohibited by security policies. Attempting to circumvent these restrictions may violate the terms of use of corporate equipment.
If you've changed your router password, but devices continue to try to connect with the old one, it's best to forget the network on all devices at once. This will prevent constant login attempts, which can overload the router and create the appearance of network instability to other users.
Diagnostics and Frequently Asked Questions
After completing all the network removal procedures, it is recommended to run a connection diagnostic. Click the Wi-Fi icon in the menu bar while holding down the key. Optionto view detailed information about your current connection. This will help ensure your computer is seeing the network correctly and receiving the correct settings.
Users often ask questions about the security and consequences of deleting networks. Below are answers to the most frequently asked questions to help you better understand the processes occurring within the system.
Does deleting a network affect internet speed?
Deleting old profiles alone won't speed up your internet, but it can eliminate lag caused by repeated, unsuccessful attempts to connect to weak or unavailable networks.
Is it safe to delete networks through the terminal?
Yes, it's safe if you follow the instructions exactly. However, the command deletes all saved networks immediately, so be prepared to re-enter passwords. Syntax errors in the commands can cause unpredictable system behavior.
Why does the network come back after being deleted?
This most often occurs due to iCloud Keychain syncing from another device or the presence of a configuration profile. It's also possible that you deleted the shortcut but not the profile itself.
Do I need to restart my Mac after deleting?
A reboot isn't always necessary, but it's highly recommended. It ensures that all network services restart and pick up the new settings without cached data.
Is it possible to restore a deleted network?
Automatically – no. You'll need to find the network in the list of available networks and re-enter the password. If you deleted the password from your keychain without a backup, you won't be able to restore it unless you know it by heart.
Proper network connection management is an essential skill for any user. MacRegularly clearing your network list helps keep your system clean and ensures a stable internet connection. We hope these methods will help you resolve your connection issue quickly and effectively.