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

Modern devices Apple They're renowned for their ability to automatically connect to known networks, which can be convenient, but can sometimes turn into a real headache. When a laptop stubbornly tries to connect to an unstable or defunct router, it blocks internet access through other, more reliable sources. It's at times like these that the need arises to learn how to forget a Wi-Fi network on a MacBook to break this endless reconnection cycle.

The procedure for deleting a connection profile in the operating system macOS may vary significantly depending on the software version installed on your device. While everything was extremely transparent on older systems, new interfaces macOS Ventura And Sonoma These settings have been hidden deeper in the menu, confusing inexperienced users. Understanding the structure of system settings is key to quickly resolving the issue without having to reinstall drivers or reset the entire computer.

In this guide, we'll detail the steps for all current operating system versions, as well as cover hidden cache clearing methods via the terminal. You'll learn not only how to remove specific access points but also how to completely clear the priority list, which often helps resolve chronic connection errors. Follow the instructions carefully to restore stable operation of your laptop's wireless module.

Deleting a network in macOS Ventura, Sonoma, and later

Since the release of the operating system macOS Ventura, company Apple carried out a large-scale redesign of system settings, making them more similar to the interface iPadOSThis change also affected wireless connection management, moving functionality into logically separate sections. To forget a Wi-Fi network on a MacBook in these versions, you'll need to follow a sequence of steps that may seem counterintuitive at first.

First, open the Apple menu in the upper left corner of the screen and select System Preferences. In the left sidebar, find the section Wi-Fi and click on it. A list of available networks will open, along with the "Known Networks" section, where all previously used connection profiles are stored. This is where the delete function you're looking for is located.

Hover your mouse over the name of the network you want to delete and notice the button with three dots or the information icon that appears on the right. (i)By clicking on this element, you will see a drop-down menu or a separate properties window, where the option will be present Forget this network or DeleteAfter confirming the action, the system will immediately delete the saved password and security settings for this access point.

📊 What version of macOS are you using?
Ventura
Sonoma
Monterey
Older (Catalina and below)
Don't know

⚠️ Attention: If the delete button is grayed out or missing, make sure the Wi-Fi module is enabled. In some cases, the system requires the wireless adapter to be active to edit the list of known networks.

Instructions for macOS Monterey, Big Sur, and earlier versions

Users of more conservative versions of the operating system, such as Monterey, Big Sur or Catalina, you'll encounter the classic system preferences interface. Here, the network management logic remains the same, familiar to users. MacThe profile deletion process is faster here and requires fewer menu navigations.

Open System Preferences from the Apple menu or the Dock. Find the icon Net, which usually looks like a multi-colored ball. In the list of interfaces on the left, select Wi-Fi, and then click on the button Additionally... in the lower right corner of the window. This is where the complete list of all networks ever used is stored.

In the window that opens, go to the tab Wi-FiYou'll see a list of all saved profiles sorted by connection priority. Select the network you don't need by clicking it and clicking the button. Minus (-) below the list. After that, be sure to click OKto apply the changes and save the new configuration file.

☑️ Checklist before deleting a network

Completed: 0 / 4

It is worth noting that in older versions macOS Sometimes there was a bug where a deleted network would return to the list after a reboot. If you encounter this, try clicking Apply and only then close the settings window. This ensures that the changes are written to disk.

Reset all network settings via Terminal

For advanced users or when the graphical interface isn't working correctly, there's a powerful command-line tool. Terminal allows you to interact with system files directly, bypassing any interface bugs. This method is especially useful for forgetting a Wi-Fi network on a MacBook that isn't showing up in the list or is blocking the system.

Open the app Terminal via Spotlight search or in the Applications folder. To remove all saved networks at once, you can use the clear preferences command. However, be careful: this step will delete All known networks, not just one specific one.

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

After entering the command, the system will ask for the administrator password. Enter it (the characters will not be displayed as you type) and press Enter. The next step is to reboot the computer with the command sudo reboot or through the menu. After turning on, the laptop will be "cleaned" of any previous connections.

What does the sudo command do?

The sudo command grants temporary superuser (root) privileges to make system changes. Without these privileges, deleting system settings files is impossible, as they are protected from accidental modification by regular programs.

⚠️ Attention: Using the command line requires precision. A command syntax error can result in deleting the wrong files. Copy commands carefully or double-check each letter before pressing Enter.

Managing automatic connection priorities

Often the problem is not the need for a complete removal, but rather the incorrect prioritization of networks. macOS Automatically connects to the highest-priority network from the known list. If your laptop constantly switches to a weak signal from a neighbor's router instead of your own, simply change the order in the list.

In versions before Ventura This is done by dragging and dropping in the advanced network settings window. Simply long-press the name of your home network and drag it to the very top of the list. In newer versions, the system automatically tries to determine the best network based on your connection history, but manually resetting the priority by "forgetting" and reconnecting with the password often helps ensure the correct choice.

It is also worth considering that the function Auto-connection This feature may be disabled for specific networks. When you re-enter your password, the system may prompt you to select the "Connect automatically" checkbox. Make sure it's enabled for your trusted access points to avoid manually connecting each time.

Action macOS Ventura/Sonoma macOS Monterey and later
Enter settings System Preferences System Preferences
Wi-Fi section Left panel, Wi-Fi item Network icon -> Wi-Fi
Removing a network Button (i) -> Forget (-) button in the list
Preservation Automatically "OK" / "Apply" button

Troubleshooting when the network is not deleted

Sometimes users encounter a situation where a network cannot be forgotten: it either returns after being deleted, or the delete button simply does not respond. This can be caused by synchronization via iCloud Keychain (Keychain). Wi-Fi settings can be synced between your devices. Apple, and the network deleted on Mac can automatically return from iPhone or iPad.

To resolve this issue, disable Keychain syncing for Wi-Fi networks or delete the network on all devices simultaneously. Go to iCloud settings and ensure password syncing is enabled. In some corporate environments, network profiles are set by administrative policies and cannot be deleted by non-administrative users.

Another possible cause could be a corrupted system preference file. In this case, creating a new user on your Mac can help. Go to System Preferences -> Users and groups, create a new test user, and test Wi-Fi operation under their account. If the issue persists, your primary user's profile is corrupted.

Frequently Asked Questions (FAQ)

Will the network be removed from my other Apple devices?

No, unless you use iCloud Keychain syncing for Wi-Fi networks. Typically, deleting a network only occurs on the device where you performed the action. However, if syncing is enabled, changes may be propagated to other devices associated with the same Apple ID.

Is it possible to restore a deleted network?

Yes, to do this, simply find the network in the list of available networks and re-enter the password. The system will create a new connection profile with factory security settings. No special tools are required for recovery.

Why doesn't my MacBook see my network after deleting it?

If the network is hidden (not broadcasting its SSID), deleting the profile will prevent your MacBook from knowing to search for it. You'll have to connect to it manually by entering the exact network name and security type, or temporarily enable name broadcasting on your router.

Does deleting a network affect saved passwords in the browser?

No, deleting a Wi-Fi profile from System Preferences only affects the connection settings to the wireless hotspot. Website passwords saved in Safari or Chrome will remain safe and secure in your Keychain.

How to clear DNS cache after deleting a network?

To completely reset network settings, we recommend clearing the DNS cache. Open Terminal and enter the following command: sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponderThis will help avoid name resolution issues immediately after switching to a new network.