How to Delete a Wi-Fi Network on a MacBook: A Complete Guide

Apple laptop owners often encounter situations where they need to forget a specific wireless network. This may be due to the fact that connection configuration The password has changed, the password has been updated by the administrator, or the device simply no longer correctly identifies the access point. In such cases, macOS may attempt to connect automatically using saved, but now incorrect, credentials, resulting in endless authentication attempts.

The process of deleting a network isn't complicated, but the layout of the necessary settings has changed dramatically in recent versions of the operating system. If you're used to the classic interface, then macOS Ventura or Sonoma You may not find your usual tabs. It's important to understand that clearing the list of known networks often solves connection speed and internet stability issues.

In this article, we'll cover detailed troubleshooting steps for all current versions of the system. You'll learn not only how to delete specific profiles, but also how to completely reset network settings if the problem is more deeply rooted. Removing a network from the list of known ones will automatically terminate the current connection to it. This is a key point to consider before starting any manipulations.

Why do I need to delete saved Wi-Fi networks?

Accumulating a large number of connection profiles can negatively impact wireless performance. When a laptop scans the air, it compares available signals with its internal priority list. If the database contains dozens of entries, the process of selecting the optimal access point can take longer and, in some cases, result in connecting to a weak network with a similar name.

Deleting a profile is often necessary after replacing a router or changing security settings. For example, if you changed encryption from WPA2 to WPA3 or changed the network name (SSID), the old profile will conflict with the new one. The system will attempt to use the old encryption keys, resulting in an "Incorrect Password" error or a connection loop that can't be interrupted by simply turning off the Wi-Fi.

It's also worth remembering security. When you connect to public networks in cafes or airports, you save them to your device's memory. Attackers can create an access point with the same name, and yours MacBook will automatically connect to it, potentially putting your data at risk. Regularly cleaning the list is basic digital security hygiene.

⚠️ Important: Before deleting your home network, make sure you have a current password to re-enter. After clearing your profile, all saved data, including encryption keys, will be permanently lost.

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

Deleting a network in macOS Ventura, Sonoma, and Sequoia

Starting in 2022, Apple completely redesigned the System Preferences interface, making it similar to the menu on iPhone and iPad. All settings are now located in the System Preferences app, not System Preferences. To manage known networks, go to Wi-Fi in the sidebar.

On the right side of the window, find the "Advanced" button, usually located in the lower-right corner or next to the Wi-Fi switch. Clicking it will open a new window with a list of all known networks. Here, you can manage connection priority by dragging and dropping them or delete unnecessary ones.

To delete a specific entry, select it in the list and click the minus button or select "Remove" from the context menu. The system will ask you to confirm this action, as it is irreversible. Once confirmed, the network will disappear from the list and will no longer connect automatically.

☑️ Check before deletion

Completed: 0 / 4

New versions of macOS also offer the ability to remove networks directly from the Wi-Fi drop-down menu in the status bar. To do this, click the Wi-Fi icon, find the desired network in the "Known Networks" list, click the info button (the "i" in a circle) next to it, and select "Forget This Network." This method is faster, but not available for all connection types.

Instructions for macOS Monterey, Big Sur, and Catalina

In operating system versions released before 2021, the logic for working with network profiles remained the same. You'll need to open System Preferences from the Dock or the Apple menu. Next, go to the section Net (Network), which is represented by a globe icon.

In the left column, select your active Wi-Fi connection, then click the "Advanced" button in the lower right corner of the window. A window with several tabs will open, the first one we're interested in is "Wi-Fi." This is where the list of preferred networks to which the device has previously connected is stored.

Select the unnecessary network from the list and click on the minus button (-) below the list. This action will delete the profile. If you want to delete all saved networks at once, you can use the down arrow button below the list and select "Delete all networks." This will reset the network settings to the factory defaults for known access points.

macOS version Path to settings Action to remove Password required
macOS Sonoma System Preferences → Wi-Fi → Advanced The Delete button Touch ID / Passcode
macOS Ventura System Preferences → Wi-Fi → Advanced The Delete button Touch ID / Passcode
macOS Monterey System Preferences → Network → Wi-Fi → Advanced The "-" (minus) button Admin password
macOS Catalina System Preferences → Network → Wi-Fi → Advanced The "-" (minus) button Admin password

After completing these steps, be sure to click "OK" in the Advanced Settings window and "Apply" in the main Network Settings window. Without applying the changes, the system will retain the old data, and the deletion will not take effect. Restarting the computer after these steps is usually not necessary, but it may be helpful to flush the DNS cache.

Why does the network come back after being deleted?

Sometimes a network may reappear if it's synced via iCloud Keychain from another Apple device. To stop this, disable key syncing or delete the network on all devices.

Uninstalling via Terminal: An Advanced Method

For users who prefer the command line, or in cases where the graphical interface does not work correctly, there is a way to delete networks via TerminalThis method requires precise command entry and caution, as syntax errors can cause unpredictable network stack behavior.

Open the Terminal application (you can find it through Spotlight by clicking Cmd + Space). To delete a specific network, use the command networksetupFirst, you need to find out the exact name of the network service, usually it’s “Wi-Fi.” Enter the command networksetup -listallnetworkservicesto make sure of this.

Then run the command to delete the profile. The syntax is as follows:

sudo networksetup -removenetworkpassword "NetworkName" "Wi-Fi"

The system will prompt you for the computer administrator password. After entering it (the characters won't be displayed on the screen) and pressing Enter, the profile will be deleted. This method is especially useful if the settings interface is frozen or unresponsive.

⚠️ Important: When working in Terminal, pay attention to the case and spaces in the network name. If the network name contains spaces, be sure to enclose it in quotation marks, as shown in the example above.

Reset network settings and access keys

If deleting a specific network doesn't resolve the connection issue, the Keychain file, which stores Wi-Fi passwords, may be corrupted. In this case, a more thorough cleaning is required. This will delete all saved Wi-Fi passwords but will not affect other system data.

Open the Keychain Access app using Spotlight search. In the left pane, select the "Passwords" category. In the list on the right, find the entries corresponding to the names of your Wi-Fi networks. They may be named "AirPort network password."

Select the desired entry or group of entries, right-click, and select "Delete." The system will again prompt for confirmation and an administrator password. After deleting entries from the keychain, it is recommended to restart your MacBook to allow network services to re-initialize with clear data.

There is also a hidden Wi-Fi diagnostics menu. Hold down the key Option (Alt) on your keyboard and click the Wi-Fi icon in the menu bar. The drop-down list will show "Open Wireless Diagnostics." Launch it, but don't rush to click "Continue." In the top menu, select Window → Scan or Reset settings, if such an option is available in your version of the utility.

Troubleshooting: Network won't delete or comes back

Sometimes users encounter a situation where a deleted network mysteriously returns to the list. This is most often due to the iCloud Keychain sync feature. If you have an iPhone or iPad connected to the same Apple ID, they can automatically transfer saved Wi-Fi passwords back to your MacBook.

To break this cycle, you need to delete the network on all devices in the Apple ecosystem. If this is not possible, temporarily disable Keychain syncing in iCloud settings. Go to System Preferences → [Your Name] → iCloud → Keychain and disable this option while cleaning profiles.

Another cause could be a corporate management profile (MDM), if the laptop belongs to an organization. In this case, network settings may be locked by the administrator and forced to be restored. Check for profiles in the section System Preferences → General → Profiles (or "Profiles and Device Management").

It's also worth checking to see if the network is hidden. Hidden networks don't broadcast their name (SSID), but they can automatically connect if a profile has already been created. Removing such profiles is especially important, as they can pose a security risk by automatically connecting to any access point that hides its name.

Frequently Asked Questions (FAQ)

Will the Wi-Fi password be removed from my other devices?

No, deleting a network on a MacBook only affects the local storage of that specific device. However, if iCloud Keychain syncing is enabled, the change may propagate to other devices, but only if you delete the entry directly from the Keychain app, not simply by forgetting the network in Wi-Fi preferences. In recent versions of macOS, deleting a network in Preferences also syncs.

Is it possible to delete the network I am currently connected to?

Yes, you can delete a network profile even if you're actively using it for internet access. Deleting it will break the connection, and your MacBook will stop transmitting data through that interface. You'll need to re-enter the password if you want to connect again.

What should I do if the Delete button is grayed out?

This may occur if the settings are locked by system restrictions or an MDM profile. Also, make sure you selected the network from the list, rather than simply opening the settings window. In some cases, unlocking the lock in the lower left corner of the Network preferences window may help (for older versions of macOS).

How to delete all Wi-Fi networks at once?

In macOS Monterey and newer, you can go to the Advanced Wi-Fi settings, click the menu button (three dots or an arrow), and select "Remove All Networks." In older versions of macOS, you'll have to remove them one by one by selecting each one and clicking the minus sign, or delete the network preferences file manually through Finder, which requires caution.

Does deleting a network affect saved passwords in the browser?

No, these are completely different storage locations. Deleting a Wi-Fi profile from system settings will not affect passwords saved in Safari, Chrome, or other browsers. Your website logins will remain safe and secure.