Modern Apple devices are renowned for their ability to instantly and seamlessly connect to known networks, but sometimes this feature can work against the user. A situation where MacBook Air A persistent attempt to connect to a router that has changed ownership or security settings can be annoying. Often, the system automatically selects a network with a poor signal instead of using mobile internet or a stable hotspot from your phone.
The problem is resolved by completely deleting the network profile from the operating system's memory. This process, often referred to as "forgetting the network," forces macOS to erase saved credentials and configuration settings for a specific access point. In this article, we'll cover in detail all available methods for performing this operation in current versions of macOS, from the latest interfaces to classic terminal methods.
The need for such actions may arise not only when changing a password, but also when resolving IP address conflicts or network service failures. Understanding that How to delete a Wi-Fi network on your laptop is a basic skill for any Apple device owner, allowing you to quickly restore connection stability without going to a service center.
The System Preferences interface in new versions of macOS
Starting with macOS Ventura and the current Sonoma, Apple has undergone a major interface redesign, bringing it closer to the style of iPadOS. The network connection management menu has undergone significant changes, moving to a separate panel with side navigation. To get started, open the Apple menu in the upper left corner of the screen and select System Preferences.
In the window that opens, find the section Wi-Fi in the left column. A list of available networks and current connections will open. Find the network you want to delete in the list of known networks (usually located below or requiring you to click the "More" button or the information icon next to the current connection). Click the information icon (a round "i" in a blue circle) next to the name of the target network.
In the network details window that opens, scroll down. You'll find a button labeled "Forget This Network." Clicking this button will delete all saved encryption keys and proxy settings for this access point. After confirming, the system will no longer attempt to connect to this router automatically.
Removing networks from the Control Panel on older macOS versions
If you own an older model MacBook AirIf you're using a Mac that doesn't support the latest versions of the operating system, or simply prefer the classic interface of macOS Monterey and earlier versions, the procedure will differ. In these versions, the settings are split into multiple separate windows rather than consolidated into a single panel. To get started, open System Preferences via the Apple menu or Dock.
Select an icon Net (Network) in the row of icons. In the list of services on the left, select your Wi-Fi adapter. In the right part of the window, next to the name of the network you're connected to (or selected), click the minus button or gear icon (depending on your macOS version) to open an additional menu. If you're using macOS Catalina or Big Sur, the "Forget Network" button may be located directly in the main window after selecting the network.
In some cases, especially in very old versions like macOS High Sierra, you may need to go to the "Advanced" tab. This is where the full list of preferred networks is stored. Find the network you don't need in the list, select it, and click the minus button. - below the list. Be sure to click "OK" or "Apply" in the main network settings window for the changes to take effect.
⚠️ Attention: In older versions of macOS, changes are not applied immediately. If you don't click the "Apply" button in the lower-right corner of the Network preferences window, the system will ignore your profile deletion action after you close the window.
Using the terminal for advanced users
For those who prefer the command line or are faced with a situation where the graphical interface is frozen or doesn't display the desired network, there's a powerful tool: Terminal. This method allows you to manage network services at a deeper level. Open the application. Terminal via Spotlight (Command + Space) or in the Applications → Utilities folder.
The first step is to identify the exact Wi-Fi interface name and a list of saved networks. Enter the command to list all known networks. This will allow you to verify the correct spelling of the network name (SSID), as the command is case-sensitive and space-sensitive.
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -s
Once you know the exact network name, use the command to forcefully delete (forget) the network. This command requires administrator privileges, so the system will prompt you for a password. Enter the command, enclosing the network name in quotation marks if it contains spaces.
sudo /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -z
However, a more accurate method for specific versions of macOS is to use the utility networksetupFirst, get a list of all networks:
networksetup -listpreferredwirelessnetworks en0
Then remove the specific network with the command:
sudo networksetup -removepreferredwirelessnetwork en0 "NetworkName"
Here en0 — is the standard designation for a wireless interface on MacBook AirIf you have an external adapter connected or are using a specific configuration, the interface name may differ. Using the terminal ensures that the command will execute even if the graphical interface is buggy.
What should I do if the terminal says "command not found"?
This may mean that the path to the utility has changed in your version of macOS. Try using the command `which airport` to find the path or check for the utility in `/usr/bin/`.
Working with iCloud Keychain
One of the Apple ecosystem's features is Wi-Fi password syncing via iCloud. When you "forget" a network on one device, it can automatically be deleted on all other devices linked to the same Apple ID. However, sometimes this mechanism fails, and the password remains in an encrypted storage called Keychain.
If standard methods don't help, or the network keeps reappearing, you need to check your password vault. Open the app Bunch of keys (Keychain Access), which is located in the Applications → Utilities folder. Enter the name of the problematic Wi-Fi network in the search field.
Find the corresponding entry in the list (the entry type should be "AirPort network password"). Right-click it and select "Delete." You'll be prompted to confirm the action by entering your Mac account password or using Touch ID.
- 🔑 Removing the entry from the keychain ensures that the password will no longer be automatically filled in by the system when scanning the airwaves.
- 🔄 After clearing the keychain, it is recommended to reboot MacBook Air to reset the network services cache.
- 📱 Check your other devices (iPhone, iPad), as deleting on a Mac may not immediately sync back if there is a version conflict.
Reset network settings and diagnostics
In situations where removing one network does not solve the problem, or when Wi-Fi on a MacBook If your system is generally unstable, a more radical approach—resetting network settings—may be necessary. Unlike Android or iOS, macOS doesn't have a single "Reset Network" button, but there are effective workarounds.
The first method is to create a new network location. This is a virtual settings profile that allows for different configurations for home and office settings, but also serves as a great way to clear up any current errors. Go to System Preferences → NetAt the top of the window, find the "Location" drop-down menu and select "Edit Locations."
Add a new location, naming it something like "New" or "Clean," and click OK. The system will switch to this profile, which by default doesn't contain any saved networks or proxy settings. This is equivalent to a complete reset of the network configuration without reinstalling the system.
☑️ Checklist before resetting the network
The second method is to delete system preference files. This requires caution. In Finder, click Command + Shift + G and enter the path /Library/Preferences/SystemConfiguration/Find files that contain in the name com.apple.airport.preferences.plist, com.apple.network.identification.plist And com.apple.wifi.message-tracer.plistMove them to the Trash and restart your computer. macOS will automatically create new, clean versions of these files when you start up.
Common problems and their solutions
Even after completing all the steps, users may encounter nuances in the operation of wireless modules MacBook AirOften, the problem lies not with the laptop itself, but with the router settings or the interaction between security protocols.
One common problem is a "ghost" network that is removed from the list, only to reappear after a while. This can occur if there are multiple routers with the same name (SSID) in the same area, for example, in a large office or apartment complex sharing a single network. In this case, deleting one entry won't help, as the device sees a "new" access point with the same name.
It's also worth considering security standard compatibility. If your router is configured to use the legacy WEP protocol or mixed WPA/WPA2 mode, and your MacBook is configured to use WPA3 priority, reconnection loops may occur. In this case, deleting the network and re-entering the password with the correct security settings often resolves the issue.
| Symptom | Possible cause | Solution |
|---|---|---|
| The network cannot be deleted through settings. | System Preferences process crashed | Use Terminal or Keychain |
| The password is requested endlessly | Conflict in Keychain | Remove a password entry from Keychain Access |
| Wi-Fi is gray and won't turn on. | Driver or service error | Create a new network location |
| The network appears again after deletion. | iCloud Sync or Duplicate SSID | Disable key synchronization or rename the router |
⚠️ Attention: Operating system and router interfaces are constantly updated. Button locations and menu item names may vary slightly depending on the specific macOS version (for example, the difference between Ventura and Sonoma) or router model. Always consult official Apple documentation if the standard paths don't match your screen.
Frequently Asked Questions (FAQ)
Will the Wi-Fi network be deleted from my iPhone if I forget it on my MacBook?
Yes, if both devices have iCloud Keychain sync enabled and use the same Apple ID. macOS will send a command to remove the password to the cloud, and the iPhone will also stop automatically connecting to this network after receiving the update. However, if sync is disabled, the changes will only apply on the computer.
Is it possible to restore a deleted network without re-entering the password?
No, if you completely delete a network (forget it), macOS erases the saved password. You'll need to re-enter the password to reconnect. However, if you have another Apple device (such as an iPhone) already connected to this network, your MacBook may automatically prompt you to share the password when you try to connect, thanks to the key sharing feature.
Why doesn't my MacBook Air see the "Forget This Network" button?
In some versions of macOS, this button only appears when you're not currently connected to a network, or it's hidden in the overflow menu. Try disconnecting from Wi-Fi before opening Settings, or click the three dots/gear icon next to the network name in the list of known networks. In older versions of macOS, this feature is only found in the "Advanced" window.
Does deleting a network affect internet speed?
Clearing a network profile won't speed up your internet speed, but it can resolve issues with an unstable connection. If your MacBook has been struggling to connect to a network with a poor signal or incorrect security settings, clearing this profile will allow it to more quickly find and connect to an available network with a better signal, which will indirectly improve speed and stability.
Is it safe to use the terminal to delete networks?
Yes, using commands networksetup or airport It's safe if you follow the instructions. These commands are designed to manage system configuration. The only risk is if you start deleting system files manually through Finder without understanding their purpose. Terminal commands in this case simply provide an interface for performing standard system operations.