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

Modern Apple operating systems are renowned for their ability to remember user preferences, automatically connecting to known wireless networks. This is a convenient feature that eliminates the need to enter passwords every time you enter the router's coverage area. However, in certain situations, this automation can become a problem, especially if network security settings have changed or you're trying to connect a device to a guest Wi-Fi network using web-based authentication.

It often happens that a laptop attempts to reconnect with outdated or incorrect data, blocking the ability to enter a new password. In such cases, it's necessary to forcefully delete the saved connection profile from the system memory. The process for forgetting a Wi-Fi network on a MacBook may vary depending on the operating system version installed, as Apple periodically changes the settings interface.

In this article, we'll cover all the current methods for deleting networks for macOS Ventura, Sonoma, and earlier versions. You'll learn how to clear the list of known networks, reset network interface settings, and resolve issues with constant reconnections. It is important to understand, that deleting a network does not affect other system settings, but requires you to re-enter the password to reconnect.

Why do I need to delete saved Wi-Fi networks?

The main reason users are looking for a way to forget a Wi-Fi network on a MacBook is because they've changed their router configuration. If you've changed the password, encryption type, or access point name (SSID), and your MacBook If the system continues to attempt to connect with the old credentials, the connection will be constantly disconnected. The system will endlessly attempt to log in, which interferes with normal operation and drains battery life.

Another common situation is using public networks in cafes, airports, or hotels. These hotspots often require re-authorization through a browser (captive portal). If the device remembers it's already "connected," it may not reopen the login window, leaving you without internet access. In this case, deleting your profile is the only solution.

⚠️ Important: Before deleting your home network, make sure you have access to your router or have written down a new password, as it will be impossible to restore the connection without this information.

Deleting networks also helps diagnose problems. If your computer is behaving strangely when connecting to the internet, clearing the list of known networks can help eliminate profile conflicts. Sometimes, dozens of old entries accumulate in memory, and the system can become confused about connection priorities, especially if you've moved to a new area with similar network names.

📊 What problem are you facing?
The network does not connect
Constantly asks for a password
The authorization page does not open
Other

Deleting a network in macOS Ventura and Sonoma

In recent versions of Apple's operating system, the settings interface has undergone significant changes, becoming more similar to the menu in iPadOS And iOSIf you're using macOS 13 (Ventura) or later, the process of deleting a network has become more logical and accessible through the main Settings menu. You no longer need to search for hidden utilities or use Terminal for basic operations.

To get started, open the Apple menu in the upper left corner of your screen and select System PreferencesIn the window that opens, find the section Wi-Fi in the sidebar. Here you'll see the wireless switch and a list of available networks. However, we don't just want to disconnect, we want to actually forget the network, so look for the button Additionally or the button with three dots next to the name of the current network, depending on the minor version of the update.

After accessing the advanced settings, you'll see a list of "Known Networks." This is a list of all the access points your laptop has ever connected to. Find the desired network name in the list. To the right of the name, you'll see a button with three dots or an information icon (i). Clicking it will allow you to select an action. Forget this networkConfirm the action, and the profile will be deleted instantly.

☑️ Check for network deletion

Completed: 0 / 1

It's worth noting that in new versions of macOS, Apple has implemented password syncing via iCloud Keychain. If you forget a network on one device, it may be automatically removed from your other devices linked to the same Apple ID. This ensures consistent settings across all devices, but requires caution if you plan to use the same network on another device in the future.

Instructions for macOS Monterey, Big Sur, and Catalina

Owners of laptops who, for whatever reason, have not updated to the latest OS versions or whose hardware does not support new ones macOS, you'll encounter the classic "System Preferences" interface. The logic here is different: network management is located in a separate window, reminiscent of the Connection Manager. Forgetting a Wi-Fi network on a MacBook in these versions requires a few more steps.

Click on the apple in the menu and select System PreferencesIn the window that opens, find the icon Net (usually looks like a ball with connecting lines). In the list of services on the left, select Wi-Fi, and then press the button Additionally.. in the lower right corner. This is where all the power of network settings is hidden.

Go to the tab Wi-Fi (It may have a different name in some versions, but it's usually the first tab.) You'll see a table with Preferred Networks. Select the desired network from the list and click the minus button. - below the list. After that, don't forget to click OK and then Apply in the main settings window, otherwise the changes will not be saved.

What should I do if the "Apply" button is inactive?

If the "Apply" button is grayed out and unclickable, it means you haven't made any changes the system deems significant, or you don't have administrator rights. Try clicking the lock in the lower left corner and entering your account password. If that doesn't help, try deleting the network, closing the settings window without applying it, then reopening it and repeating the process.

Sometimes the system may attempt to reconnect if the signal is very strong. In such cases, it is recommended to immediately turn the Wi-Fi module off and on after deleting the network to reset the current connection state.

Resetting network settings via Terminal

For advanced users or in cases where the graphical interface does not work correctly, there is a way to forget the Wi-Fi network on a MacBook via the command line. Terminal Allows you to perform deep system commands that may not be accessible through the standard menu. This method is especially useful if the settings interface is frozen or doesn't display the full list of networks.

Open the app Terminal (can be found via Spotlight by clicking Cmd + Space). To delete all saved Wi-Fi networks, you can use the delete preferences command. However, be careful: this method will affect all networks at once. The command looks like this:

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

The system will prompt you for an administrator password to confirm the action. After entering the password (the characters won't be displayed on the screen), press Enter. The file storing your network preferences will be deleted. You will then need to restart your computer. When you restart, macOS will create a new file with an empty list of networks.

⚠️ Warning: Using commands in Terminal requires precision. A syntax error can result in deleting the wrong files. Copy commands carefully and check them before running.

There's also a more gentle method that allows you to simply disconnect and clear the DNS cache, which often helps if the problem lies not with your profile but with cached data. To do this, enter the DNS flush command in Terminal:

sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

This method won't remove the password from the keys, but it will update the network tables. If your goal is to completely reset your profile to change the password, it's better to use the graphical interface or delete the plist file, as described above. The terminal provides a powerful tool, but requires an understanding of the implications of the actions.

Troubleshooting connection and sync issues

Sometimes, even after you've forgotten a Wi-Fi network on your MacBook, problems persist. This could be due to the iCloud Keychain feature. If you have other Apple devices (iPhone, iPad), they may sync Wi-Fi passwords. After deleting a network on your Mac, you may find that it reappears within a minute because your iPhone has shared the saved profile.

To break this cycle, you need to delete the network on all devices or temporarily disable key syncing. Go to System Preferences -> Apple ID (or iCloud) -> Bunch of keys and check your settings. It's also worth checking if the "Auto-connect" feature is enabled for this network, if it appears in the list of available networks.

Another common problem is an IP address conflict. If the router assigned an address that's already taken, or the TCP/IP settings are corrupted, simply forgetting the network may not help. In this case, in the network settings (TCP/IP tab), click the button Renew DHCP lease or select a configuration Use DHCP.

The table below lists common symptoms and their corresponding solutions for various Wi-Fi situations on macOS:

Symptom Possible cause Solution
The network keeps asking for a password. Incorrect password in keychain Forget the network and re-enter the password
Wi-Fi is gray and won't turn on. Bluetooth/Wi-Fi module failure Resetting NVRAM and SMC
The network disappears from the list Problems with drivers or router Restarting the router and MacBook
There is no internet, but there is a connection DNS or proxy error DNS flush and proxy check

Diagnostics via access keys and key fob

Deep within the system, macOS stores not only a list of networks, but also encrypted passwords for them. Bunch of keys Keychain Access allows you to manage this data manually. If standard methods for forgetting a Wi-Fi network on a MacBook don't work, you can try deleting the password entry directly.

Open A bunch of keys Using Spotlight search. In the "System" or "Login" category, search for your wireless network by name. Double-clicking on the entry will open the properties window, where you can check the "Show password" box (the account password will be required). Deleting this entry will force the system to prompt for the password again the next time you try to connect, effectively resetting the "remembered" status.

This method is especially useful if you've changed the password on your router, but the old one remains on your MacBook, and the system won't let you change it, claiming the connection is active. Deleting the entry from Keychain breaks this logical connection.

Be careful when working with Keychain: deleting the wrong entries can cause problems accessing other services whose passwords are stored there. Always check the entry name and object type before deleting.

Frequently Asked Questions (FAQ)

Will forgetting a Wi-Fi network on my Mac remove it from all my Apple devices?

Yes, if you have iCloud Keychain sync enabled. macOS will send a command to delete this profile on your other devices (iPhone, iPad) to maintain consistent security settings.

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

No, if you forget a network, the system deletes the saved password. You'll have to re-enter the password to reconnect. However, if you have another Apple device that remembers the network, it can automatically transfer the password to your Mac when you try to connect.

Why can't my MacBook see the Wi-Fi network, even though other devices do?

This could be related to the frequency range. If your router only broadcasts 5 GHz and your Mac is older (or vice versa), they may not be able to see each other. You can also try resetting your Wi-Fi module by turning it off and on again, or restarting your computer.

How to forget all Wi-Fi networks at once on a MacBook?

In macOS Ventura and later, you can delete networks one by one from the list of known networks. For bulk deletion, the easiest way is to use Terminal and delete the preferences file, or create a new user, copy the data, and delete the old profile.

Does deleting a network affect other internet settings, such as VPN or Proxy?

Typically, no. Proxy and VPN settings are stored separately in configuration profiles or network settings. However, if a proxy was configured specifically for this Wi-Fi interface, it may stop working after deleting the network and will require reconfiguration.