How to Forget a Wi-Fi Network on Mac: A Complete Guide

operating system macOS It's renowned for its ability to automatically connect to known wireless networks, making life much easier for users. However, this convenient feature can sometimes become a problem when a laptop persistently tries to connect to a network that's no longer working, has changed its password, or is simply a public access point with a poor signal. Understanding how to force a device to ignore certain connections is a basic administrative skill.

In this article, we will examine in detail the process of deleting network profiles in various versions of the operating system, since the interface System settings has undergone significant changes in recent updates. You'll learn how to not just disconnect from the router, but completely remove it from the trusted list, which will solve many auto-connection issues. This is especially relevant for those who frequently move between the office and home or test various network equipment.

The process of "forgetting" a network is not simply a matter of breaking the current connection, but rather clearing stored encryption keys and configurations. macOS Stores this information in a secure partition, and sometimes manual intervention is required for proper operation. We'll cover the standard methods via the graphical interface, as well as touch on deeper system settings for advanced users who require complete control over their device.

Why delete a Wi-Fi network profile on a MacBook?

Many users mistakenly believe that simply turning off Wi-Fi or ignoring the network is enough, but this isn't always effective. When you save your wireless network password, the system creates a permanent record of that connection. If the router changes security settings or broadcast channels, your MacBook It may become stuck trying to connect using the old parameters, ignoring the new data. Deleting the profile forces the system to request the latest data again.

Another common cause is a priority conflict. Operating system Apple Attempts to connect to networks in a specific order based on usage history and signal strength. If you have a new router with the same name (SSID) as your neighbor or an old router, your computer may constantly switch to the other router's access point. In this case, deleting the old profile is the only correct solution.

⚠️ Important: Before deleting a network, make sure you have the current Wi-Fi password on hand, as after deleting the profile, the system will forget it completely and will require you to enter it again the next time you connect.

It's also worth mentioning the problems with corporate networks or networks with password-based authentication (where you need to enter your login in a browser). Security certificates are often updated, but old ones stored in the system block access. In such cases, "forgetting" the network is the first step in diagnostics internet problems, which helps reset the network settings cache for a specific SSID.

📊 How often do you encounter Wi-Fi connection problems on your Mac?
Daily
Once a week
Only after updating macOS
Almost never

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

Since version macOS Ventura, company Apple System Preferences has radically updated its design and structure, making it more closely resemble the iPad interface. The process of deleting networks has become more intuitive, but familiar navigation paths have changed. All network controls are now centralized in the sidebar, which requires some getting used to for users of older versions.

To get started, open the Apple menu in the upper left corner of your screen and select System PreferencesIn the window that opens, find the section Wi-Fi in the list on the left. If the sidebar is hidden, click the menu icon or maximize the window. On the right side of the screen, you'll see the Wi-Fi switch and a list of available networks, as well as a "Known Networks" section.

Click on the button Details (or the "i" information icon in a circle) next to the name of the network you want to delete. In the window that opens, scroll down to the very bottom of the list. There you'll find the button Forget this networkThe system may ask you to confirm the action or enter an administrator password to make changes to system files.

☑️ Deletion algorithm in new macOS

Completed: 0 / 4

It is important to note that in new versions macOS A "Private Wi-Fi Address" feature has also been added, which generates a random MAC address for each network. If you delete a network, this virtual address is also reset. This is a useful feature for confidentiality, but it can cause problems on networks where access is only allowed by whitelisted MAC addresses.

Instructions for macOS Monterey, Big Sur, and earlier versions

In the classic interface System Preferences, which was used in macOS Catalina, Mojave, and earlier versions, operates differently. Here, settings are divided into separate panes, and network management is done through a priority list. This may seem less convenient, but it provides more granular control over the connection order.

To get to the desired menu, follow the path System Preferences → NetworkIn the left column, select Wi-Fi, then press the button Additionally... in the lower right corner. A window with several tabs will open; we are interested in the first one - Wi-FiThis is where the list of all networks ever used is stored.

You'll see a table titled "Preferred Networks." Select the desired connection from the list and click the minus button. - below the list. After that, be sure to click the button OK to save the changes. If you simply close the window, the settings will not be applied and the network will remain in memory.

macOS version Path to settings Action Preservation
Ventura / Sonoma System Preferences → Wi-Fi → Details Forget button Automatically
Monterey / Big Sur System Preferences → Network → Wi-Fi → Advanced Minus button (-) OK button
Catalina and older System Preferences → Network → Wi-Fi → Advanced Minus button (-) OK button

⚠️ Note: In older versions of macOS, editing the network list requires administrator privileges. If the "OK" button is grayed out or the system prevents you from deleting a network, check whether the MDM process is running in the corporate environment.

Deleting Networks via Terminal for Advanced Users

For those who prefer the command line to the graphical interface, or in cases where the graphical interface does not work correctly, there is a powerful tool - Terminal. Team networksetup Allows you to manage virtually all network settings in macOS. This method is especially useful for deleting hidden networks or bulk deleting profiles.

First, you need to get a list of all saved networks. Enter the following command and press Enter:

networksetup -listpreferredwirelessnetworks en0

In response, the system will display a list of SSIDs associated with the interface. en0 (standard designation for a Wi-Fi module on a Mac). If you have a dual-band router and see networks with the "5G" prefix, you'll also need to delete them separately. To delete a specific network, use the command:

networksetup -removepreferredwirelessnetwork en0"NetworkName"

Please note that the network name must be enclosed in quotation marks if it contains spaces. After executing the command, the system will not display a confirmation message, but the network will disappear from the list. You can run the listing command again to verify the operation was successful. This is a reliable method. cleaning connection cache.

What should I do if the terminal displays "Permission denied"? If you receive an access error when attempting to delete a network through the terminal, try adding the sudo command before networksetup. The system will prompt for an administrator password. Also, make sure you are using the correct interface name (en0, en1), which you can check with the ifconfig command.

Resetting network settings and troubleshooting problems

Sometimes simply deleting a profile isn't enough, especially if the system has accumulated configuration errors or IP address conflicts. In such cases, a deeper reset is recommended. In newer versions macOS There is no single "Reset Network" button like in iOS, so you have to resort to creating a new location.

Go to System Preferences → NetworkFind the "Locations" drop-down menu and select "Edit Locations." Create a new location, name it something like "New," and apply the changes. Then return to the main menu and reconfigure your Wi-Fi. This creates a clean network settings profile, ignoring any old errors.

It's also worth checking the file preferences.plist, which stores network settings. It can be found at /Library/Preferences/SystemConfiguration/. Deleting files starting with com.apple.airport.preferences And com.apple.network.eapclient, forces the system to recreate them from scratch. This action requires a restart of your computer and will temporarily disable all network adapters.

  • 🔄 Restart your router and modem before resetting your Mac to avoid problems with your ISP.
  • 📡 Make sure the date and time on your device are set correctly, as time errors can block connections to secure networks.
  • 🔒 Check if "Block incoming connections" mode is enabled in your firewall settings.

Frequently Asked Questions (FAQ)

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

No, deleting a network only occurs on the device where you perform this operation. However, if you have iCloud (Keychain) key syncing enabled, the password may be saved in the cloud, but the "forget network" action itself is not automatically transferred to your iPhone or iPad. You will need to repeat the process on each device separately.

Is it possible to restore a deleted network?

There's no direct way to "undo" a network deletion in macOS. To reconnect, you'll need to find the network in the list of available networks and re-enter the password, just as you did the first time. The system will treat it as a new network.

Why doesn't my MacBook see the "Forget This Network" button?

The button may be unavailable if you're in a guest user profile or if the network settings are locked by the organization's administrator (on corporate MacBooks). Also, make sure you're clicking "Details" and not simply toggling the Wi-Fi switch.

Does deleting a network affect saved passwords in Keychain?

Yes, when you remove a network from your preferred list, macOS also removes the corresponding password from Keychain Access. This is done for security purposes, so that if you sell or give away your computer, the new owner won't be able to automatically connect to your networks.

-->