How to Forget a Wi-Fi Network on a MacBook: A Complete Guide to Clearing Profiles

Apple device owners often encounter situations where their device automatically connects to an unwanted or inoperative signal source. This can happen after changing the router, password, or moving to a new office where the old access point is no longer relevant. Operating system macOS By default, it strives to provide instant internet access while maintaining a history of all connections, which sometimes leads to priority conflicts.

The procedure for deleting a network profile not only eliminates constant automatic connection attempts, but also solves a number of problems with unstable connections. If your MacBook If your router is stuck on a weak signal or doesn't recognize a new router, clearing the list of known networks is the first step in troubleshooting. In this article, we'll detail the steps for different operating system versions, as the network management interface has undergone significant changes in recent updates.

Understanding how to manage saved connections gives you complete control over your laptop's network activity. You can customize priorities, remove public hotspots with unverified security, and speed up your home internet connection. Below are proven methods to help you forget an unnecessary Wi-Fi network on your device.

Why delete saved Wi-Fi networks on Mac

Accumulating a large number of wireless connection profiles can negatively impact the performance of network modules. When a laptop scans the air, it compares available signals with its internal database. If the list contains many entries, especially with identical names (SSIDs) from different providers or routers, the device may waste unnecessary time attempting authorization, which creates delays.

Furthermore, there are security risks associated with public networks. If you've ever connected to Wi-Fi at a cafe, airport, or hotel, your Mac has memorized that profile. When the same hotspot reappears, your device may attempt to connect automatically, which could compromise your data if attackers clone the network name (an Evil Twin attack). Deleting old profiles minimizes this risk.

It's also worth noting the situation with hardware changes. If you've updated your router but left the network name the same and changed the password, your computer will try to log in with the old encryption keys. This leads to endless connection loops and errors. In such cases, you'll need to force a reset. forget the networkto make macOS ask for new credentials.

⚠️ Note: Deleting a network profile does not delete your browser history or saved passwords in iCloud Keychain if they were synced. This action only affects network interface settings.

It's important to understand the difference between disabling and completely deleting. Simply turning off Wi-Fi or disconnecting does not clear the network memory. A complete reset requires deleting the profile from system settings, which we'll cover in the following sections.

📊 How often do you change your Wi-Fi passwords?
Once a month
Once every six months
Once a year
I never change

Deleting a Wi-Fi network in macOS Ventura, Sonoma, and Sequoia

In modern versions of Apple's operating system, such as Ventura (13.0), Sonoma (14.0) and later, the System Preferences interface has been completely redesigned and now resembles the iPad menu. The process for deleting networks is now more intuitive, but hidden in the new menu layout.

To get started, open the Apple menu in the upper left corner of your screen and select System PreferencesIn the left sidebar, find and click on the section Wi-FiHere you'll see a wireless status switch and a list of available networks. However, we don't need that; we need a button to manage known profiles.

To the right of the currently connected network name (or the power button if Wi-Fi is off), there is a button with three dots in a circle or a gear icon. Clicking it will display a drop-down menu. Select Managing known networks (Manage Known Networks). This will open a list of all saved profiles that have ever been used on this Mac.

  • 📡 Find the name of the network you want to delete in the list.
  • 🗑️ Click on the button with three dots to the right of the network name.
  • ❌ Select the “Forget This Network” option.
  • ✅ Confirm the action in the dialog box that appears.

After confirmation, the system will immediately delete the profile and password. If the network was synced via iCloud Keychain, it will also disappear from your other devices logged in with the same Apple ID. This is especially convenient for centralized access management.

How to forget a network in macOS Monterey, Big Sur, and earlier versions

In classic versions of macOS, whose interface is based on icon-based system preferences, the workflow is different. Here, network management is performed through advanced settings hidden deep within the menu. For users Monterey, Catalina and older versions should follow the following sequence.

Open System Preferences from the Apple menu or Dock. Go to the Net (Network). Select an interface from the list on the left. Wi-Fi, and then press the button Additionally... (Advanced) in the lower right corner of the window. This is where all connection history is stored.

In the window that opens, go to the tab Wi-FiYou'll see a table with Preferred Networks. Select the desired line with your mouse and click the minus button. - below the list. This action will remove the entry from memory.

It's important not to forget to save your changes. After deleting a line from the list, click the button OK, and then in the main network settings window - Apply (Apply). Only then will the changes take effect, and your Mac will stop trying to connect to the remote signal source.

⚠️ Note: On older versions of macOS, removing a network from the Preferred list may not immediately clear the DNS cache. If connection issues persist, we recommend resetting the DNS cache separately using Terminal.

If you're having trouble finding the network you need in the list, you can sort them by name. Note that hidden networks may also appear here if you've ever manually entered their SSIDs. You can also delete such entries using the minus button.

Resetting network settings via Terminal

For advanced users or in cases where the graphical interface is not working correctly, it's possible to delete profiles via the command line. This method is the most reliable, as it allows you to clear even "dead" entries that can't be deleted through the settings menu.

Open the app Terminal (Terminal) via Spotlight or the Applications → Utilities folder. Administrator privileges are required to work with system network settings files. We'll use the utility networksetup, which is the standard macOS tool for network management.

To see a list of all saved networks, enter the command:

networksetup -listpreferredwirelessnetworks en0

Here en0 — This is the standard designation for the wireless interface on a MacBook. If you have a desktop Mac with a separate Wi-Fi module, the identifier may be different (for example, en1), but in 99% of cases on laptops it is en0.

To delete a specific network, use the command:

sudo networksetup -removepreferredwirelessnetwork en0 "NetworkName"

The system will prompt you for an administrator password. Enter it (the characters will not be displayed) and press Enter. If the network name contains spaces, be sure to enclose it in quotation marks, as shown in the example.

Using the command line allows you to automate the process if you need to clean up a list of dozens of networks. You can create a script that will sequentially delete all unnecessary profiles, which is especially useful for system administrators configuring a fleet of equipment.

Comparison of Wi-Fi profile deletion methods

The choice of network deletion method depends on your macOS version, your comfort level with technical tools, and your specific situation. The graphical interface is convenient for one-time actions, while Terminal offers more control. Below is a table comparing the main features of the methods.

Parameter System Preferences (GUI) Terminal (CLI) Third-party utilities
Complexity Low Medium/High Low
Speed ​​of work Average High Depends on the software
Availability In all versions of macOS In all versions of macOS Requires installation
Risk of error Minimum Average (syntax) Depends on the developer

Using third-party system cleaning utilities such as CleanMyMac or AppCleaner may also include the ability to manage Wi-Fi profiles. However, experts cybersecurity We recommend using the system's built-in tools to avoid granting unnecessary rights to third-party software.

If you're using a corporate Mac, permissions to change network settings may be restricted by a configuration profile (MDM). In this case, attempts to delete the network via Terminal with sudo privileges may be blocked by your organization's security policy.

Problems after deleting the network and their solutions

Sometimes, after deleting a profile, the network continues to appear in the list of available networks or connect automatically. This may be due to iCloud syncing. If this network is saved on your iPhone or iPad and Keychain is enabled, macOS may automatically retrieve the profile.

To resolve this issue, check the settings on all devices connected to your Apple ID. Disable Wi-Fi password syncing or delete the network on all devices simultaneously. It's also worth checking whether the "Automatically Connect" feature is enabled for guest networks.

Another cause could be DNS or DHCP caching. In this case, a complete reset of the network stack helps. To do this, you can create a new location in the network settings: go to NetLocationEdit locations → add a new one (for example, "Home_New") and apply the changes.

⚠️ Note: Changing your location in network settings resets all IP addresses and DNS servers. Make sure you know your ISP's settings if they differ from the automatic ones.

If nothing helps, the problem may lie in the system preference files. Deleting the files com.apple.airport.preferences.plist And com.apple.network.eapclient.configuration.plist from the folder /Library/Preferences/SystemConfiguration/ (requires reboot) allows you to reset the network settings to factory defaults, but this is a last resort.

Frequently Asked Questions (FAQ)

Will this remove the Wi-Fi network from all my Apple devices?

Yes, if you have iCloud Keychain sync enabled. When you delete a network on one device with Apple ID confirmation, the profile will be deleted on all devices using the same account.

Is it possible to restore a deleted network?

It's impossible to restore a deleted profile from the system. You'll have to find the network in the list of available networks and re-enter the password, just as you did the first time you connected. Time Machine backups can preserve these settings, but restoring them for just one network isn't practical.

Why can't my Mac see my network after deleting it?

The router may have hidden the SSID (network name) or operates in the 5 GHz band, which the old adapter may not support. Also, check whether the router has blocked your device by MAC address after multiple failed login attempts.

Does deleting a network affect internet speed?

The mere presence of entries in the list doesn't have a significant impact on speed, but clearing the list of hundreds of profiles can slightly speed up the initial scan of the airspace when Wi-Fi is turned on.