How to delete or forget a Wi-Fi network on a MacBook

During active use of Apple laptops macOS Users often encounter situations where their device automatically connects to an unnecessary or outdated signal source. This could be a neighbor's network with a weak signal, an old router at home, or a public hotspot at a cafe that's no longer relevant. The system remembers these access points for convenience, but over time, this list becomes a digital clutter, interfering with the stability of the wireless module. Understanding how to forget a Wi-Fi network on a MacBook is a key skill for maintaining order in your connection settings.

Ignoring accumulated profiles can lead to your MacBook It will constantly try to connect to an unavailable or slow router, ignoring a stronger signal. Clearing profiles is especially important for those who travel frequently or change jobs, as the network list can contain dozens of entries. In this article, we'll cover all the methods for deleting profiles in detail: from standard system settings to advanced terminal methods that will help you completely clear your connection history.

Some users mistakenly believe that simply disabling automatic connection is sufficient, but this is only a temporary solution. To completely delete the network record, including saved passwords and security configurations, you must "forget" the device. This action is irreversible for a specific profile, and the next time you want to connect, you will have to re-enter the password. passwordLet's look at how to properly manage this process in different versions of the operating system.

Managing networks in newer versions of macOS (Ventura, Sonoma, Sequoia)

Starting with macOS Ventura, Apple has completely redesigned the System Preferences interface, making it more like a menu in iOS And iPadOSIf you're using a current operating system, the process of deleting a network has become more intuitive, but the paths to the necessary functions have changed. You no longer need to search through complex tabs in deep menus, as the main wireless connection management functions have been consolidated into the main settings screen.

To get started, open the Apple menu in the upper left corner of your screen and select System PreferencesIn the sidebar, find and click on the section Wi-FiA list of known networks will be displayed, along with those you're currently connected to. Find the network you want to delete. Note that the list may be divided into categories, so carefully review all available options.

Next to the name of the unwanted network, you'll see an icon with three dots or a "More details" button. Clicking it will take you to the properties menu for that specific connection. In the window that opens, look for a button labeled "Forget this network" or "Delete." After confirming the action, the system will immediately delete the profile, and MacBook will stop trying to connect to this router automatically.

📊 How often do you change your Wi-Fi connection location?
Daily
Once a week
Rarely, I sit at home
I never change

It's important to note that in new versions of macOS, changes take effect immediately. If you delete a network but it still appears in the list of available networks, this simply means the router is within range, but your computer no longer has saved credentials for it. This is normal system behavior and indicates the clearing process was successful.

Deleting profiles in macOS Monterey, Big Sur, and earlier versions

In classic versions of the operating system, such as Catalina, Mojave And Big SurThe network management interface looked different and was tabbed. The key element here is the "More" button, which opens an expanded list of preferences. Many users miss this feature, trying to find the uninstall function on the main screen, where it simply isn't there.

To get to the desired menu, go to System Preferences and select a section NetIn the list on the left, make sure the interface is selected. Wi-Fi, then click the "Advanced" button in the lower right corner of the window. A table with tabs will open, with the first tab selected by default. Wi-FiThis is where the list of all networks known to your computer is stored.

In the "Preferred Networks" list, select the one you want to remove. To do this, click on it once to highlight its name. Then click the minus button. -, located below the list. After that, click OK to save changes and apply the new settings. The system may request an administrator password to confirm the action.

☑️ Network deletion algorithm in older macOS

Completed: 0 / 4

It's worth noting that in older versions of macOS, the list of networks is often sorted by frequency of use or last connection time. If you can't find the network you need right away, try scrolling to the bottom of the list or using the search feature, if available in your version of the interface. Deleting an entry from this list will erase all data associated with it.

Using Terminal to forcefully remove networks

For advanced users who prefer to work with the command line, or in cases where the graphical interface does not work correctly, there is a powerful tool - TerminalThis method allows you to not only delete a single network, but also completely clear the database of known networks, which is especially useful when troubleshooting complex connection issues.

Open the app Terminal via Spotlight or in the Utilities folder. To delete a specific network, use a command that requires the exact SSID. The command syntax is as follows:

networksetup -removenetwork"NetworkName" Wi-Fi

Instead of Network_Name Enter the exact name of your network, enclosed in quotation marks. If you want to remove all known networks at once, which is a drastic but effective method, you can use the command to clear the entire list. However, be careful: you'll have to re-enter the passwords for all your access points.

What to do if the command fails?

If the terminal returns an error, check the accuracy of the network name. It must match. Also, make sure you're using the correct interface name (usually "Wi-Fi," but it can also be "en0").

Using the command line gives you complete control over the configuration. You can first list all known networks with the command networksetup -listpreferredwirelessnetworks Wi-Fito ensure the names are correct before deleting. This is especially important for networks with hidden SSIDs or characters in the name.

Resetting network settings through hidden menus and configuration files

Sometimes standard methods fail due to corrupted configuration files or errors in system caches. In such cases, a more in-depth approach is required, including working with system files or using hidden diagnostic menus. This is the "heavy artillery" that helps when MacBook behaves unpredictably.

One effective way is to create a new network location. Go to System Preferences -> NetIn the "Location" menu, select "New Location..." and give it a name, such as "Clean." This will create a completely clean settings profile, devoid of any saved networks. Switching to this location will restore your device to its factory network settings.

Another method involves deleting preference files. In Finder, click Cmd + Shift + G and enter the path /Library/Preferences/SystemConfiguration/Find files that contain in the name com.apple.network.eapol or com.apple.wifi, and delete them. After rebooting, the system will create new, clean configuration files.

⚠️ Warning: Deleting system configuration files may reset all network settings, including static IP addresses and DNS. Make sure you know your network settings for manual configuration if required.

After completing these steps, it's recommended to restart your computer. This will allow the system to reinitialize network services from scratch. This step often resolves issues that have persisted for months, restoring a stable wireless connection.

Comparison of removal methods and their impact on the system

The choice of network removal method depends on your goal: whether you want to simply remove a single intrusive access point or conduct a complete overhaul of your network settings. Each of the methods discussed has its own characteristics, advantages, and potential risks. Understanding these differences will help you proceed more effectively.

Method Complexity Impact on data Recommended use
Via Settings (macOS 13+) Low Deleting one profile Daily use, removal of old networks
Via Settings (macOS 12-) Average Deleting one profile Works on older MacBooks, classic interface
Terminal (CLI) High Spot or complete removal Automation, remote control, scripts
New location Average Complete reset Resolving critical connection issues

As the table shows, for most users, standard graphical interfaces remain the best option. They are safe and intuitive. However, if you encounter a software failure, methods using the terminal or creating a new profile become indispensable diagnostic tools.

Don't be afraid to experiment with settings if you understand the consequences of your actions. macOS has a fairly robust security system that will prevent critical errors, but a backup via Time Machine Before major changes it will never be superfluous.

Common problems after deleting networks and their solutions

After you've forgotten a Wi-Fi network on your MacBook, the system may behave strangely. For example, the computer may stop detecting any networks, or the connection process may take an inordinate amount of time. This is often due to DNS caching or network discovery errors.

If you can't connect to any networks after deleting the profile, try renewing the DHCP lease. To do this, go to the TCP/IP settings in the network properties and click "Renew DHCP Lease." This will force the router to assign a new IP address to your device and update the network settings.

Another common issue is desynchronization of passwords in the keychain. If you've deleted a network but the password remains in memory, the system may be attempting to use old, incorrect data. In this case, it's helpful to open the app. Bunch of keys (Keychain Access), find the name of the remote network there and delete the entry from there manually.

⚠️ Note: Interfaces and menu item names may vary slightly depending on your specific macOS version and regional settings. If you don't find an exact match, search for synonyms or related topics.

Regularly cleaning your network list is a good habit that maintains your device's digital hygiene. This not only speeds up your connection but also improves security by eliminating the risk of automatically connecting to fake access points disguised as familiar names.

Questions and Answers (FAQ)

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

No, deleting a network on a MacBook will only affect that specific device. However, if you have iCloud Keychain sync enabled, the password may be removed from the shared database, but the network profile may remain on other devices if they have previously connected.

Is it possible to restore a deleted network without re-entering the password?

No, if you use the "Forget Network" feature, all data, including the password, is permanently deleted. The next time you connect, the system will ask for the password again, as it considers this a new connection.

Why does my MacBook continue to see the remote network as available?

Deleting a profile simply means your computer no longer has access to that network. It will still appear in the list of available networks if the router is working and within range, but your Mac won't attempt to connect automatically.

How do I delete a network if the delete button is grayed out?

This may occur if you're in guest mode or don't have administrator rights. Also, check if your settings are locked by a corporate security profile. Try logging out of your current user account and logging in as an administrator.