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

Modern operating systems, including macOS, strive to make user interaction with network technologies as simple as possible. The device automatically remembers passwords and access point configurations to ensure instant connection when in a coverage area. However, this automation sometimes creates complications: for example, if you change your router or provider, your computer may continue to attempt to log in from old data, ignoring the new security parameters.

The need to delete a saved entry often arises when IP address conflicts arise or after resetting the router to factory settings. In such situations MacBook The device "clings" to the cached profile, preventing reconnection without manual intervention. Clearing the trusted network list is a standard diagnostic step and requires minimal technical knowledge.

In this article, we'll cover the steps in detail for different operating system versions, as interfaces may vary. You'll learn how to forcefully disconnect and prevent automatic reconnections in the future. We'll also cover hidden settings accessible through the terminal for advanced users.

Why delete saved Wi-Fi networks?

The main reason users look for a way to forget a network is because they've changed the access point configuration. If you've upgraded to a new router model but kept the same name (SSID), your computer may attempt to use old encryption keys. This leads to endless connection and disconnection cycles, making network browsing impossible.

Another important reason is safetyWhen visiting public places like cafes or airports, devices often keep open networks. If the device is later found within range of a fake access point with the same name, there's a risk of data interception. Deleting unnecessary profiles reduces the attack surface.

⚠️ Important: Before deleting a network, make sure you have the current password to re-enter if you plan to connect to the same access point in the future.

Clearing the list also helps resolve prioritization issues. macOS Always tries to connect to the network that was last used or has the highest priority in the list. If you have a home network and a neighbor's network with a similar name, the computer may mistakenly select the other's signal. Forcibly deleting the redundant profile solves this problem.

📊 How often do you change your router or provider?
Once a year
Once every 3-5 years
Only when moving
Never, I've been using one for years.

Deleting a network in macOS Ventura, Sonoma, and later

In modern versions of the operating system from Apple The System Preferences interface has undergone significant changes, becoming more similar to the iPadOS interface. Deleting profiles is now more intuitive, but requires understanding the new menu navigation logic.

To start, open System Preferences from the Apple menu or the Dock. You'll need to find the section for Wireless Connections. Unlike older versions, the settings are logically grouped, with Wi-Fi management in a separate category.

  • 📡 Click the Wi-Fi icon in the settings side menu.
  • 🗑️ Find the "Advanced" or "Known Networks" button in the lower right corner of the window.
  • ❌ Select the desired network from the list and click the minus or delete button.

After completing these steps, the system will ask for confirmation. Click "Delete" to erase the entry from memory. Changes will take effect immediately, and your computer will stop trying to connect to that access point automatically.

Instructions for macOS Monterey, Big Sur, and Catalina

In versions macOSFor devices released before 2022, the system settings interface looks more classic. Network profiles are managed through the "Network" panel, which displays all active and inactive interfaces.

To get started, go to System Preferences and select the "Network" icon. In the left column, you'll see a list of all available connections. Find Wi-Fi and click the "More" button, which is usually located in the lower-right corner of the window. This is where all connection history is stored.

A window with several tabs will open. The one you're interested in is the Wi-Fi tab. The "Preferred Networks" list displays all the access points the computer has previously connected to. Select the one you want to remove and click the minus button below the list.

☑️ Deletion Algorithm in Older macOS

Completed: 0 / 4

Don't forget to click the "OK" or "Apply" button to save your changes. If you don't, configuration will return to its previous state after a reboot. This is a common mistake users make when they forget to finalize an action.

Using the Terminal for Advanced Users

For those who prefer the command line to the graphical interface, macOS Provides powerful tools through the Terminal. This method is especially useful if the graphical interface is frozen or unresponsive.

To work with Wi-Fi settings, use the utility networksetupFirst, you need to get a list of all saved networks. Open Terminal via Spotlight or the Utilities folder and enter the command to list preferred networks for your wireless interface.

networksetup -listpreferredwirelessnetworks en0

In most cases, the interface name is en0, but on some models MacBook With two network cards, it may differ. After the list is displayed, find the exact network name (SSID) you want to delete. To delete, use the following command:

sudo networksetup -removenetworkpassword "NetworkName" en0
⚠️ Attention: When entering a command with a prefix sudo The system will prompt you for an administrator password. The characters you enter won't appear on the screen—this is a normal security measure. Simply enter it and press Enter.

This method allows you to delete networks in batches or using a script, making it convenient for system administrators. However, be careful: a mistake in the network name can result in deleting the wrong profile.

What to do if the command fails?

Make sure you're using the correct interface name. Check it using the ifconfig or networksetup -listallhardwareports command. Users often confuse en0 and en1.

Resetting network settings and NVRAM

Sometimes simply deleting a profile from the list isn't enough, as residual configuration files may remain in the system. In such cases, a more in-depth approach is required, including resetting network settings to factory defaults.

One effective method is to create a new network location. This creates a clean profile without saving connection history. Go to the network management menu, select the current location (e.g., "Automatic"), and create a new location with a unique name.

  • 🔄 Open System Preferences → Network.
  • 📍 In the Location menu, select Add Location.
  • 📝 Name it something like "New Network" and apply the changes.

After switching to the new location, all old Wi-Fi network records will disappear. The computer will behave as if you just bought it and never connected to the internet. This is guaranteed to solve any conflicting IP address issues.

Also worth mentioning is the reset NVRAM (non-volatile memory). This memory stores some network hardware settings. To reset it, shut down your Mac, turn it on, and immediately press and hold Option + Command + P + R for 20 seconds.

Table: Comparison of network removal methods

The choice of method depends on your operating system version and your comfort level with technical tools. Below is a comparison table to help you choose the best method.

Method Complexity macOS versions Efficiency
Via System Preferences Low All versions High
Via the Terminal Average All versions Maximum
Change of location Low All versions Full reset
Resetting NVRAM High Intel Mac Hardware level

Using the graphical interface is suitable for 95% of cases. The terminal and NVRAM reset are the "heavy artillery" tools for complex situations.

Common problems and their solutions

Users often encounter a situation where a network reappears after being deleted. This occurs if the "Auto-Connect" feature for guest networks is enabled in the system or if iCloud syncing returns a deleted password.

Check your iCloud Keychain settings. If you deleted a network on one device but it's still stored in the cloud, it may reappear the next time you sync. To avoid this, delete the network on all devices linked to your Apple ID.

Another issue is the inability to press the delete button (it's grayed out). This happens if you're trying to delete a network you're currently connected to. First, disconnect from Wi-Fi or switch to a wired connection, then repeat the deletion process.

⚠️ Note: Interfaces and menu item names may vary slightly depending on the specific macOS update version. Always consult the latest Apple documentation if the standard paths don't work.

Questions and Answers (FAQ)

Will the Wi-Fi password be deleted forever?

Yes, when you select "Forget Network" or delete a profile, the password is removed from your access keys. You'll need to re-enter it to reconnect.

Is it possible to restore a deleted network?

Automatically – no. However, if you have iCloud Keychain sync enabled, your password can be recovered from another Apple device where this network is saved.

Why doesn't my MacBook see the network after uninstalling?

It's possible your router is hiding the network name (SSID) or is too far away. Try restarting your router and computer, and make sure Wi-Fi is enabled on your laptop.

Does deleting a network affect internet speed?

Deleting networks per se isn't necessary. However, clearing the list of dead networks can speed up the initial connection process, as the system doesn't have to retry old profiles.

Do I need to restart my Mac after deleting?

This is usually not necessary; changes are applied immediately. However, a reboot is recommended if you experience strange connection errors.