How to Remove a WiFi Password on Mac OS: A Complete Guide

Changing your wireless network password, moving to a new office, or simply wanting to clear your list of saved connections are common scenarios faced by almost every Apple user. Sometimes macOS can "remember" a network you no longer connect to, or your login credentials can get corrupted, causing an endless loop of login attempts. In such situations, it becomes necessary to completely remove WiFi password from the memory of your laptop or computer.

The process of clearing network data in the macOS operating system has undergone significant changes in recent years, especially with the release of versions Ventura And SonomaWhile previously all access key management was handled through Keychain Access, Apple has now moved these functions directly into System Preferences, making the interface more user-friendly but less obvious for experienced users. In this article, we'll detail all the current methods for effectively managing access keys. forget the WiFi network and reset its parameters.

You shouldn't ignore the need to periodically clean the list of networks, as this not only frees up profile memory, but also improves overall safety your device. Deleting old or untrusted access points prevents automatic connections to them in the future, which is especially important when using public internet in cafes or airports. Let's look at step-by-step instructions for different operating system versions.

Removing a network from System Preferences in macOS Ventura and later

Starting with macOS 13 (Ventura), Apple has undergone a major interface redesign, bringing it closer to the structure familiar to iPad and iPhone users. Wi-Fi connection management has now been moved to a separate menu, where you can not only connect but also manage your connection history. remove WiFi password, you need to open System Preferences from the Apple menu or the Dock.

In the left column, select the "Wi-Fi" section, then click the "Advanced" button (or "Known Networks" depending on the minor update version) in the lower-right corner of the window. This will open a list of all networks your Mac has ever connected to. Find the desired network name in the list, click the three dots to the right of it, or highlight the line, and select "Forget this network."

After confirming the action, the system immediately deletes the saved access key and all associated configuration data. If you plan to connect to this access point again, you will be required to re-enter the password. This ensures that old settings, possibly modified by the network administrator, do not conflict with the new router settings.

⚠️ Note: When removing a network from the list of known networks in newer versions of macOS, data is erased synchronously across all your Apple devices if iCloud Keychain is enabled. Make sure you really want to remove access from all devices at once.

📊 What version of macOS are you using?
Monterey and older
Ventura
Sonoma
Sequoia and newer

The classic Keychain method for older macOS systems

For users who, for whatever reason, continue to use macOS Monterey, Big Sur, Catalina, or earlier, the steps will differ. On these systems, the primary storage for all passwords, including keys, WiFi networks, is the Keychain Access utility. You can find it using Spotlight search (Cmd + Space) and entering "Keychain Access" or "Keychain Access."

In the window that opens, select the "Passwords" category on the left. In the list on the right, sorted by name, find the name of your wireless network. Note that there may be multiple entries with the same name (SSID) if you've changed the security type or router settings. Select the desired line and press the Delete key on your keyboard or select the action from the "Edit" menu.

The system will ask you to confirm the deletion and may also require you to enter your administrator password or use Touch ID to authorize the changes. This is an important element. security, preventing accidental deletion of critical data. After deleting the entry, the next time you connect to that network, your Mac will prompt you to re-enter the password, just like the first time you connect to the router.

What to do if the network is not deleted?

If an error occurs when attempting to delete or the network reappears, try restarting your Mac in Safe Mode and repeating the Keychain deletion process. Also, check to see if iCloud syncing is enabled, as this could cause the deleted password to be restored.

Resetting network settings via Terminal

For advanced users who prefer the command line to the graphical interface, or in cases where standard methods do not work, there is the option to manage WiFi profiles via TerminalThis method allows you to not only remove a single network, but also completely clear the list of preferred networks, which often helps with software glitches.

Open the Terminal app via Finder or Spotlight. To delete a specific network, use the command networksetup with the appropriate arguments. However, a more radical and effective method is to completely reset the list. Enter the following command to view all saved networks:

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I

So that exactly remove WiFi password and forget the network, you can use the utility networksetupThe command to delete a specific network looks like this (replace "SSID" with the name of your network):

sudo networksetup -removenetwork"SSID" Wi-Fi

After entering the command, the system will prompt you for the administrator password. Enter it carefully; characters will not be displayed as you type. This method is especially useful if the graphical interface freezes or doesn't display hidden system profiles.

Managing corporate and hidden network profiles

In corporate environments or when using complex configurations (such as hidden networks or networks with security certificates), simply removing the password may not be sufficient. Such connections are often managed through configuration profiles, which take precedence over user settings. You can check for their presence in "System Preferences" -> "Profiles" (or "Device Management").

If you see a profile set up by your organization or network administrator that contains WiFi settings, you won't be able to remove the password using the standard method. You'll need to either delete the entire profile (if allowed by your security policies) or contact your IT department. Bypassing such restrictions may violate your company's security policies.

Hidden networks, which don't broadcast their SSID, are also worth mentioning. To remove them in newer versions of macOS, you may need to manually enter the network name in the list of known networks and then click the "Forget" button. In older versions of macOS, they appear in Keychain Access as normal entries, but may require special care when removing them to avoid disrupting other services.

Removal method macOS version Complexity Efficiency
System Preferences Ventura, Sonoma, Sequoia Low High
Bunch of keys Monterey and older Average High
Terminal Commands All versions High Maximum
Deleting profiles Corporate networks Average Depends on the rights

Solving looping connection problems

Sometimes users encounter a situation where their Mac repeatedly tries to connect to a network, asks for a password, accepts it, but then returns an error. In this case, simply deleting the network may not be enough. A comprehensive network settings cleanup is necessary. The first step should always be network deletion from the list known by any of the methods described above.

Next, we recommend rebooting the router, as the issue may be caused by an overcrowded DHCP client table on the access point. After rebooting the router, try creating a new network with the same name on your Mac (if you're an administrator) to change the encryption settings, or completely reset the macOS network settings by deleting the configuration files in the library (this requires caution).

If the issue persists, check your security type. Your Mac may be conflicting with older encryption protocols (WEP, WPA-TKIP). In this case, you need to switch to [Unrelated] in your router settings. WPA2/WPA3 Personal and AES. This will solve most compatibility issues and cyclic password prompts.

☑️ Diagnosing WiFi problems

Completed: 0 / 5

How iCloud sync affects password removal

A key aspect of the Apple ecosystem is iCloud Keychain. It's designed to automatically sync your WiFi passwords across your iPhone, iPad, and Mac. While convenient, it does come with a caveat: if you Remove WiFi password on one device, it can be automatically deleted on all others where this function is enabled.

On the other hand, if you have a device running an older version of iOS or macOS that didn't receive the delete command, it may retrieve the old password from the cloud and return it to the list. Therefore, if you're changing your router password, make sure all your devices are online and have updated their data, or temporarily disable password syncing before making changes.

You can check the sync status in your Apple ID settings. Go to "iCloud" -> "Passwords & Keychain." If the slider is active, be aware that the changes are global. This is especially relevant in offices, where an employee's personal MacBook may broadcast network settings to their personal iPhone, creating confusion.

⚠️ Note: The System Preferences interface and feature layout may vary slightly depending on the specific minor update version (e.g., macOS 14.1 vs. 14.5). Always consult Apple's latest support materials if you cannot find the button described.

Frequently Asked Questions (FAQ)

Is it possible to delete all saved WiFi networks at once?

The standard macOS graphical interface doesn't offer this feature; you have to delete each network individually. However, you can use scripts in Terminal to bulk clear the list of preferred networks, but this requires caution to avoid deleting system-critical profiles.

What happens if I delete a network I'm currently connected to?

The connection will be lost immediately. Your Mac will stop transmitting data through this interface. To get online again, you'll need to reselect this network in the WiFi menu and enter the current password.

Where are WiFi passwords physically stored on Mac?

Technically, they are stored in an encrypted Keychain database file, usually located at ~/Library/Keychains/login.keychain-dbDirect editing of this file is prohibited and may result in system damage.

Why doesn't my Mac remember my new password after deleting the old one?

This could be due to a Keychain permissions error or a profile conflict. Try restarting your Mac, disabling and re-enabling WiFi, and ensuring there's enough disk space to write new system logs.

Does deleting a network affect internet speed?

Removing a network by itself doesn't speed up your internet connection. However, if your Mac stops automatically attempting to connect to a weak or congested network, it can more quickly find and use a stronger signal if there are multiple such networks within range.