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

Wireless networking in macOS often occurs automatically, but sometimes the system begins to behave erratically when attempting to reconnect. Users encounter a situation where the device attempts to connect to an old or changed network, creating an endless error loop. In such cases, deleting a network profile becomes the only correct solution to the problem.

operating system macOS Stores connection history in a dedicated system storage area, access to which may vary depending on the software version. This can create some confusion, as some menu items have been moved or renamed in newer interface versions. Understanding the storage architecture will help you find the menu item you need more quickly.

In this article, we'll cover in detail all the methods for clearing the list of known networks. We'll cover both standard graphical interfaces for different OS versions and advanced command-line methods. You'll learn how to fully manage the list of trusted access points on your device.

Why do I need to delete saved networks?

The main reason you might need to forget a Wi-Fi network on a MacBook is because your router settings have changed. If you've changed the password, encryption type, or broadcast channel, but your computer tries to use the old saved settings, connecting will be impossible. The system will persistently prompt for invalid credentials, blocking your internet access.

Another common reason is security. When connecting to public hotspots in cafes, airports, or hotels, your laptop stores data about that network. In the future, when in range of the same SSID, the device may attempt to connect automatically, creating the risk of data interception. Deleting such profiles minimizes the risks.

Removing the SSID also helps resolve software conflicts. Sometimes wireless module drivers can become stuck on a specific profile, ignoring other available networks. Forcefully resetting the configuration of a specific SSID allows you to refresh the handshake procedure and establish a stable connection.

  • 🔄 Resetting erroneous settings after changing the router password
  • 🛡️ Improving safety when using public spaces
  • 🔧 Troubleshooting connection priority software errors
  • 🧹 Clearing the list of unnecessary or temporary networks
📊 What problem do you encounter most often?
Incorrect password
Network not found
Infinite IP acquisition
Weak signal

Deleting a network in macOS Ventura, Sonoma, and later

In modern versions of Apple's operating system, the settings interface has undergone significant changes, becoming more similar to iOS on mobile devices. To forget a Wi-Fi network on a MacBook running the latest OS, you need to access System Preferences via the Apple menu. Here, the wireless connection management logic has been completely redesigned for user convenience.

Open the Apple menu in the upper left corner of the screen and select System PreferencesFind the section in the side menu Wi-FiA list of known networks will appear on the right side of the window. Find the desired network name in the "Known Networks" list and click the button with three dots or the information icon next to it.

In the context menu that opens, select the option "Forget this network"The system will ask you to confirm this action, as this will delete all saved passwords and settings for this SSID. After confirmation, the network will disappear from the list, and automatic connections to it will stop.

⚠️ Attention: Once you remove a network from the "Known" list, your MacBook will no longer see it as available for connection until you manually re-enter the password. Make sure you have up-to-date login information.

☑️ Algorithm of actions in the new macOS

Completed: 0 / 1

Instructions for macOS Monterey, Big Sur, and Catalina

In macOS versions prior to Ventura, network profiles were managed through the classic System Preferences panel. The interface is more detailed and divided into separate tabs. To delete a saved network, you'll need to access the advanced wireless settings.

Click on the apple in the menu and select System Preferences (or System Preferences (in older versions). Go to the section NetIn the list on the left, select the active connection. Wi-Fi, and then press the button Additionally... in the lower right corner of the window.

A window with several tabs will open. You need the first tab - Wi-FiThis displays a list of all networks your Mac has previously connected to. Select the network you don't need from the list and click the minus button. (-) below the list. Don't forget to click OK and then Applyfor the changes to take effect.

This method allows you to manage network priority. By dragging networks up or down in the list, you can tell the system which access point to connect to first when there are multiple signals. Deleting a network completely clears the authorization cache.

What to do if the minus button is inactive?

If the delete button is grayed out, the selected network may be the currently active one. Disconnect from Wi-Fi or select a different network from the list to unlock the delete function.

Deleting via Keychain Access

Sometimes the GUI doesn't show the network in the list of known networks, but the device continues to try to connect to it in the background. In such cases, you need to access the system password storage— KeychainThis is a deep level of configuration where all system authorization data is stored.

Open Spotlight search (Cmd + Space) and type "Keychain" or Keychain AccessLaunch the app. Select the "Passwords" category in the left column. Find the name of your Wi-Fi network in the list on the right. It may appear as "AirPort network password."

Right-click on the found element and select "Delete"The system will require confirmation by entering the administrator password or using Touch ID. This action will permanently delete the saved password from the computer's memory.

Parameter Description Meaning
Object type Category in Keychain Password
Name Network SSID Name of your network
Where Key location Login
Action Delete command Cmd + Delete or context menu

Using Keychain is especially effective when you need to delete multiple old profiles at once or when the Preferences interface isn't working properly. This method is universal for all versions of macOS.

Resetting network settings via Terminal

For experienced users and system administrators, the most reliable way to clear network settings is via the command line. The terminal allows you to run a command that forcibly deletes all Wi-Fi configuration files, returning the module to its "out-of-the-box" state.

Open the app Terminal (Terminal) via Spotlight or the Applications -> Utilities folder. To remove a specific network or reset all settings, use the following commands: networksetupHowever, the most effective way to perform a complete reset is to delete the preference files.

Enter the following command to delete the Wi-Fi settings file (administrator password required):

sudo rm /Library/Preferences/SystemConfiguration/com.apple.airport.preferences.plist

After running the command, you must restart your computer. Upon startup, the system will detect the missing configuration file and create a new one with factory settings. This is guaranteed to cause your MacBook to forget all previously known networks.

⚠️ Attention: Be extremely careful when working in the terminal. There was an error entering a command with a prefix. sudo rm This may result in deletion of system files. Copy the commands exactly as they are given in the instructions.

Troubleshooting if the network is not deleted

There are situations where standard methods don't work: a network disappears from the list but reappears a second later, or the delete button is grayed out. This is often due to iCloud Keychain syncing. If you delete a network on one device, it may automatically be restored from an iPad or iPhone connected to the same Apple ID.

To resolve this issue, temporarily disable Keychain syncing. Go to iCloud settings and uncheck "Keychain." Then, repeat the network deletion process on your MacBook. It's also worth checking if you're configured to automatically connect via an enterprise security profile.

If the problem is hardware-related or related to a frozen module, resetting the NVRAM/PRAM (on Intel Macs) or a hard restart (on Apple Silicon) will help. For Intel Macs, hold down the keys Option + Command + P + R immediately after switching on and hold for about 20 seconds.

  • 📱 Check your other Apple devices for password syncing
  • 🔌 Reboot your router to fix DHCP freezes
  • 🔄 Create a new macOS user to test the profile
  • 🔋 Perform an SMC reset (on models with an Intel processor)

Frequently Asked Questions (FAQ)

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

No, deleting a network on a MacBook will only affect that specific computer. However, if you have iCloud Keychain sync enabled, the change may take some time to be reflected on other devices, but it's best to check them separately.

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

No, if you forget the network, the password is deleted from memory. To reconnect, you'll need to re-enter the password. If you don't know the password, you can find it in the router settings or on another device that's already connected.

Why does my MacBook connect to an open network on its own?

In Wi-Fi settings, there's a feature called "Automatically Connect." If enabled, your Mac will search for known networks. The "Automatically Login" feature can also be enabled for networks with a captive portal (login page).

How many Wi-Fi networks can a MacBook remember?

There's no technical limit on the number of networks in the known list; the only limitation is the memory allocated to the keychain, which can be in the thousands of entries. However, an overcrowded list can slow down the network search process.