Modern operating systems, including macOS, strive to make network interaction as simple as possible. The mechanism for automatically connecting to previously used access points works flawlessly in most cases, instantly establishing a connection when a familiar signal appears. However, there are situations when this automation becomes a problem, requiring manual intervention and resetting saved settings.
Users often need to forcefully disconnect from a specific network so that their device stops trying to connect automatically. This could be due to changing the router password, moving to a new office, or simply wanting to clear the trusted connections list of unnecessary "digital junk." In this article, we'll take a detailed look at... How to forget Wi-Fi on a Mac in various ways, from standard settings to deep cleaning through system utilities.
Understanding the process of deleting network profiles is critical for diagnosing connection stability issues. Sometimes macOS retains incorrect configurations or old encryption keys that prevent proper internet operation. Removing a network from the list of known networks forces the system to request the data again, which often solves mysterious connection problems.
Why do I need to delete saved Wi-Fi networks?
Accumulating a large number of saved profiles can not only clutter the list of available connections but also cause priority conflicts. macOS stores information about every network you've ever connected to, including the SSID, security type, and password. Over time, this list can become overwhelming, especially if you frequently move between different locations, such as cafes, airports, and coworking spaces.
One of the main reasons to periodically clear this list is if your ISP or network administrator changes security settings. If your router's encryption protocol or password has changed, and your MacBook If the system continues to use the old credentials, the connection will be erratic or fail altogether. In such cases, the system may attempt to log in indefinitely, appearing to be working but failing to transmit any data.
Additionally, there are scenarios where forgetting a network is necessary for privacy reasons. Using public hotspots leaves traces in the device's memory. Deleting these profiles ensures that the next time you come within range of that network, your device won't automatically connect to it without your knowledge. This is especially true for open networks, which may be unsafe.
- 🔒 Change password: The network administrator has changed the access key, and the old saved data is blocking access.
- 📡 IP address conflict: Old DHCP settings may cause addressing conflicts on the local network.
- 🗑️ Clear_privacy: Removing traces of visits to public places and corporate networks.
- ⚙️ Reset settings: Need to reset network settings to factory defaults for diagnostic purposes.
⚠️ Attention: Before deleting corporate networks, make sure you have up-to-date credentials for re-authorization, as some organizations may restrict access by MAC address or require the installation of certificates.
It's important to note that deleting a network doesn't affect other system settings, such as proxy or DNS, unless they were specifically linked to this profile. However, if you use complex configurations for work, it's recommended to record the current settings before resetting. This will allow you to quickly restore functionality in the event of unexpected complications.
Removing a network through System Preferences in newer versions of macOS
In modern versions of the operating system, such as macOS Ventura, Sonoma and newer versions, the network management interface has undergone significant changes, becoming more similar to the iPhone or iPad interface. Wi-Fi management is now located in a separate menu, making the process of deleting profiles more intuitive, but it does require some getting used to.
First, you need to open System Preferences. You can do this by clicking the apple in the upper left corner of the screen and selecting the appropriate option, or simply clicking the Wi-Fi icon in the menu bar and going to Network settings. In the window that opens, find the section Wi-Fi in the sidebar. This displays the current connection status and a list of known networks.
On the right side of the window, next to the Wi-Fi switch, you'll see a button with three dots or a gear icon, along with a list of "Known Networks." Clicking "More" or "Other" next to the desired network will allow you to manage that profile. The system will offer the option to "Forget This Network." Confirming this will immediately delete all saved connection data.
If the network you want to delete is currently active, the system will first disconnect and then delete the profile. This is important, as simply turning off Wi-Fi won't work—the profile will remain in memory. Afterward, it's recommended to restart your computer to allow macOS network services to fully refresh their configuration cache.
In some cases, especially when using corporate profiles or configuration files, the delete option may be unavailable or hidden. This means the settings were imposed by an administrative profile. In this situation, deleting the network using standard methods will not work, and the configuration profile itself will need to be deleted through the "Privacy and Security" section.
Managing networks in macOS Monterey and earlier
Users of older but still supported versions of macOS, such as Catalina, Big Sur or Monterey, you'll encounter the classic system settings interface. The logic here is slightly different, and accessing the full list of networks requires going to advanced settings. This method is also useful if the new interface isn't working correctly for some reason.
Go to System Preferences and select a section Net. In the list on the left, select your Wi-Fi adapter, and then click the button Additionally... (Advanced) in the lower right corner of the window. A new dialog box with several tabs will open, and we're interested in the first tab— Wi-Fi.
At the top of this window is a list of "Preferred Networks." This is where all the profiles your Mac has previously connected to are stored. Select the network you don't need from the list and click the minus button. - below the list. The system will immediately delete the entry, and the next time you connect, the device will act as if it's seeing this network for the first time.
☑️ Check before deleting a network
It's worth paying attention to the order of networks in this list. macOS tries to connect to them sequentially, from top to bottom. If you don't want to delete a network entirely but want to change its priority, you can simply drag it up or down in the list. This is a useful feature for users who frequently move between home and office.
⚠️ Attention: The menu interface may vary slightly depending on your specific macOS version and locale. If you can't find the "Advanced" button, try searching for it in Settings (Command+F).
After making changes, don't forget to click the button OK, and then Apply in the main network settings window. Without this step, the changes will only remain in the dialog box and won't be applied to the system. This is a common mistake among beginners, who close the window, thinking the action is complete.
Using Keychain Access for a Deep Clean
Sometimes it happens that a network can't be removed using standard methods, or it continues to appear in the list of available networks even after being removed from the settings. In such cases, a system utility can help. Bunch of keys (Keychain Access). This is a password and certificate storage where macOS stores the most sensitive data, including Wi-Fi encryption keys.
You can launch the utility via Spotlight search (press Command+Space and type “Keychain”) or by finding it in the folder Programs → UtilitiesIn the program interface on the left, select the "System" or "Login" category, and in the list of objects, find the name of the network you want to delete. These networks typically have an antenna or lock icon.
Double-click the network name to open its properties. In the window that opens, check the "Show password" box. The system will prompt you to enter the administrator password or use Touch ID. While this action is primarily for viewing the password, the very act of opening the properties confirms the entry's existence. To completely delete the entry, simply select it from the list and click Delete or select Delete from the edit menu.
Why might a network return after being deleted?
The network may return if iCloud Keychain syncing is enabled on the device. In this case, the deleted recording will be restored from another Apple device linked to the same Apple ID. To prevent this, disable Wi-Fi key syncing in iCloud settings or delete the network on all devices simultaneously.
Using Keychain Access allows you to remove "dead souls"—network entries that no longer physically exist but continue to occupy space in the configuration. You can also clear the certificate cache if the connection issue is due to a server authentication error.
Use caution when using this utility. Deleting system certificates or keys unrelated to Wi-Fi may cause instability in other applications, banking clients, or corporate software. Only delete entries whose purpose you are completely sure of.
Resetting network settings via terminal
For advanced users who prefer the command line to the graphical interface, or in cases where the GUI is unresponsive, there is the option to manage network profiles via TerminalThis method gives full control over configuration files and allows for batch operations.
One way is to delete preference files. However, a safer and more correct way is to use a utility. networksetupThis built-in console utility allows you to manage virtually every aspect of macOS network settings. To see a list of all Wi-Fi networks, you can use the command, but to delete a specific network, it's easier to use a script or delete the preferences file.
Files storing network settings are located at the path /Library/Preferences/SystemConfiguration/We are interested in files that contain in the name com.apple.airport.preferences.plist And com.apple.network.eapuserconfiguration.plistDeleting or renaming these files (after backing them up) will reset all network settings upon reboot.
sudo cp /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist ~/Desktop/backup_airport.plist
sudo rm /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist
Running these commands requires administrator privileges, so the system will prompt you for a password. After deleting the files, you must restart your computer. macOS will detect the missing configuration files and create new ones with factory settings. All saved networks will be forgotten.
This method is the "nuclear" option, as it deletes all networks at once rather than selectively. Use it only if other methods have failed or if you want to completely wipe the device before selling or giving it to another user.
Comparison of removal methods and troubleshooting table
The method you choose to remove a network depends on your specific situation: whether you need to remove one network or all, whether you have access to a graphical interface, and what OS version you're using. Below is a table to help you determine the best approach for your situation.
| Situation | Recommended method | Complexity | Risk of data loss |
|---|---|---|---|
| Regular removal of one network | System Preferences (GUI) | Low | No |
| macOS Ventura and later | Settings → Wi-Fi → Known networks | Low | No |
| The network cannot be deleted through settings. | Keychain | Average | Short |
| Complete reset of all settings | Deleting plist files (Terminal) | High | Average |
| Corporate profile | Device Profiles / Terminal | High | No |
If the connection issue persists after deleting the network, it may not be the profile, but rather the DNS cache or TCP/IP settings. In such cases, it is also recommended to reset the DNS cache with the command sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder in the terminal. This often helps when a website won't load, but the internet seems to be working.
It's also worth checking whether the "Private Wi-Fi Address" feature is enabled in the settings for a specific network. In newer versions of macOS, this feature can conflict with routers that have strict MAC address filtering. Disabling this option for trusted networks may resolve the issue of constant disconnections.
Frequently Asked Questions (FAQ)
Will my Wi-Fi password be deleted if I forget the network?
Yes, when you select "Forget This Network," macOS removes the SSID and its associated password from your device's memory. The next time you connect to the same access point, the system will prompt you to enter the password again, just as it did the first time.
Is it possible to restore a deleted network?
There's no dedicated "Undo" button for deleting a network. However, if you use iCloud and Keychain sync, the network may automatically reappear on your device after a short period of time, copied from another Apple device (iPhone or iPad) where it was saved.
Why can't my Mac see the network after uninstalling?
If the network no longer appears in the list of available networks, check to see if its SSID is hidden. Hidden networks don't broadcast their identifier and require manual entry to connect. Also, make sure the router is working and within range.
Does removing the network affect other devices in the house?
No, deleting a Wi-Fi profile only occurs on the device you're deleting it on. The settings on other computers, phones, or tablets in your family or office will remain unchanged.
Do I need to restart my Mac after deleting a network?
In most cases, a reboot is not required; changes take effect immediately. However, if you used deep cleaning methods via the terminal or deleted system files, a reboot is required to properly initialize network services.