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

Changing your home router password or moving to a new office often requires promptly updating connection settings on portable devices. MacBook Automatically attempts to connect to the old network with an invalid access key, which blocks internet access and irritates the user. MacOS is designed to prioritize connection history, attempting to reconnect to the most recently used access points.

The procedure for deleting a network profile depends on the version of the operating system installed on your computer. In the latest updates macOS Ventura And Sonoma Apple has significantly redesigned the system settings architecture, making the interface more mobile-like. iOS, which may confuse users accustomed to the classic menu. However, the essence of the process remains the same: you need to forcefully remove the network entry from the list of saved profiles so that the device stops attempting to log in with outdated credentials.

In this article, we'll detail the steps for all current versions of the operating system, as well as cover hidden methods for managing keys via the terminal. Deleting a network through Settings does not immediately remove it from memory if iCloud Keychain is active, so it may need to be verified again on linked devices.Understanding these nuances will help you avoid cyclic connection errors and ensure stable operation of the wireless module.

Deleting a Wi-Fi network in macOS Ventura and Sonoma

Owners of modern laptops running new versions of macOS should take note of the updated System Preferences interface. The familiar gear icon in the Dock has disappeared, and all controls have been moved to a single window with a sidebar. To begin the process, open the Apple menu in the upper left corner of the screen and select System PreferencesIn the window that opens, find the section Wi-Fi in the left column or on the main panel if the window is maximized to full screen.

After navigating to the Wireless Networks section, look at the list of known networks, usually located on the right side of the window or under the "Known Networks" heading. Hover your mouse over the name of the network you want to delete. A button with three dots or an information icon (the letter "i" in a circle) will appear to the right of the name. Clicking this will open a context menu or an additional window with options. Select the option Forget this network or Delete, after which the system will ask you to confirm the action.

📊 What version of macOS are you currently using?
macOS Sonoma
macOS Ventura
macOS Monterey
macOS Big Sur and later

It's important to note that if your Mac syncs passwords via iCloudDeleting a network on one device may automatically delete it on other devices linked to the same Apple ID. This is convenient for clearing out the list globally, but requires caution if you plan to connect to the same network later from another device. After confirming the deletion, your computer will terminate the current connection and will no longer attempt to connect to that access point automatically.

Managing networks in macOS Monterey and earlier

For users who haven't updated to the latest operating system versions or are using corporate MacBooks with update restrictions, the interface will look different. Here, settings are organized into classic tabs, and network management is handled through advanced options. Go to System Preferences and select a section NetIn the list on the left, make sure the adapter is selected. Wi-Fi, and then press the button Additionally in the lower right corner of the window.

A new window will open with several tabs, where we are interested in the first tab - Wi-FiHere you'll find a complete list of all networks your computer has ever connected to. Select the network you don't need from the list and click the minus button. [-], located below the list. The system will delete the profile, and the network will disappear from the list of priority connections. Don't forget to click OK And Apply in the main settings window for the changes to take effect.

☑️ Check before deleting a network

Completed: 0 / 4

Older versions of macOS also allowed you to manage the priority order of networks by dragging and dropping them in the list. While automatic removal is still available, manually changing the priority can be useful if you frequently move between your office and home. If a network doesn't remove itself through the standard process, it may be protected by a configuration profile set up by the administrator, which is common in corporate environments.

Using a Keychain for Deep Cleaning

Sometimes standard methods don't produce the desired result, especially if the system has accumulated errors or profile remnants. In such cases, a system utility comes to the rescue. Bunch of keys (Keychain Access), which stores all passwords and security certificates. You can find it through Spotlight search (by clicking Command + Space) or in a folder Programs → UtilitiesLaunch the app and select the "Passwords" category from the side menu.

Find the name of your Wi-Fi network in the list. Please note that there may be multiple entries if you connected to it using different security protocols or at different times. Double-click the found item to open its properties. In the window that opens, check the box. Show password, which will require you to enter your Mac user account password. After successful authentication, you can delete the entry by right-clicking and selecting Delete.

Why delete entries from Keychain?

Deleting entries from Keychain is necessary when the system caches old credentials and refuses to accept new ones, even after deleting the network in the main settings. This often happens after changing the encryption type on the router (for example, from WPA2 to WPA3).

This method is more radical and affects the system level of data storage. Bunch of keys Since it syncs across devices, deleting the password here may remove it from your iPhone or iPad. Only use this method if the usual settings don't resolve connection issues or persistent password requests.

Resetting network settings via Terminal

For advanced users who prefer the command line over a graphical interface, macOS provides powerful tools for managing network configurations. Terminal allows you to not only delete networks but also completely reset network settings, which can be useful for diagnosing complex issues. Open the application. Terminal via Spotlight search or in the Utilities folder.

To remove a specific network, you can use the command networksetupFirst, you need to find out the exact name of the network service by running the command:

networksetup -listallnetworkservices

Find the name of your Wi-Fi adapter in the list (usually "Wi-Fi" or "AirPort"). Then use the following command to delete the network:

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

Enter your administrator password when prompted. This method ensures that the password entry is removed from system settings. However, if you want to completely reset all network settings, including DNS and proxy, you can delete the network preference files, but this requires a reboot and may temporarily disrupt other network interfaces.

Common problems and their solutions

Even after completing all the steps, users may encounter a problem with their MacBook still "remembering" the network or failing to connect with a new password. This is often due to DNS caching or IP address conflicts. The table below lists common symptoms and solutions.

Symptom Possible cause Solution
The password request appears cyclically Security protocol conflict Delete a network in Keychain
The status is "Connected", but there is no Internet Incorrect DNS settings Flush the DNS cache with the command sudo dscacheutil -flushcache
The network is not removed from the list MDM configuration profile Check the Profiles section in Settings
Automatic connection to a weak network High network priority Change the order of networks in advanced settings

Another common issue is the presence of configuration profiles, especially on work laptops. If the "Forget Network" option is grayed out, network management is likely blocked by the administrator. In this case, you should contact your organization's IT department to make changes.

⚠️ Attention: If you're using a corporate MacBook, attempting to delete system profiles or change network settings through Terminal may violate your company's security policy and result in your device being locked by a remote administrator.

Preventing connection problems

To avoid frequently forgetting networks and re-entering passwords, it's recommended to follow a few simple rules. First, avoid using open networks unnecessarily, as they frequently change their gateway settings. Second, update macOS regularly, as Apple is constantly improving its wireless networking algorithms and fixing bugs in Wi-Fi module drivers.

It's also a good idea to periodically check your list of known networks and delete those you no longer use. This will not only speed up the connection process to relevant hotspots but also improve security by preventing automatic connections to potentially dangerous networks with similar names (the Evil Twin method). Clean list of networks — the guarantee of stable operation of your MacBook in any conditions.

In conclusion, it's worth noting that managing network connections on a Mac is an intuitive process, but it requires attention to detail across different OS versions. Knowing hidden features, such as using Keychain Access or Terminal, gives you complete control over how and where your laptop connects to the internet.

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

If the button is missing or inactive, it may mean you're in the wrong menu (check if you're in the full Wi-Fi settings) or the network is managed by a corporate profile. Also, make sure the Wi-Fi module is enabled.

Will a network be deleted from my iPhone if I forget it on my Mac?

Yes, as long as iCloud Keychain syncing is enabled on both devices. Otherwise, you'll need to delete the network on each device separately.

Is it possible to restore a deleted network?

Yes, to do this, simply find the network in the list of available networks and re-enter the password. The system will create a new profile with the current settings.

How do I know which version of macOS I have?

Click the apple in the upper-left corner of the screen and select "About This Mac." The window that opens will display the operating system version and build number.