Devices and Use Cases

How to Forget Wifi Network on Mac? Forget Wifi Network Mac

Introduction If you have ever connected to a Wi-Fi network on your Mac, macOS usually remembers it. That convenience is helpful at home or work, but it can become annoying when an old network, a public hotspot, or a misconfigured router keeps reconnecting auto

HowToFixWiFi

Introduction

If you have ever connected to a Wi-Fi network on your Mac, macOS usually remembers it. That convenience is helpful at home or work, but it can become annoying when an old network, a public hotspot, or a misconfigured router keeps reconnecting automatically. Learning How to Forget Wifi Network on Mac? gives you control over saved connections, improves privacy, and can solve many common Wi-Fi problems.

This guide explains several ways to remove a saved Wi-Fi network from a Mac. You will learn how to forget a network through modern System Settings, older System Preferences, the Wi-Fi menu, Keychain Access, and Terminal. You will also find troubleshooting advice, best practices, a comparison table, and answers to frequently asked questions.

Table of Contents

Why Forget a Wi-Fi Network on a Mac?

There are many reasons to remove a saved Wi-Fi network. Sometimes the network password has changed and your Mac keeps trying the old one. Sometimes you connected to a public network once and do not want your Mac to join it again automatically. In other cases, forgetting a network can help with slow connections, IP address problems, or repeated disconnections.

Forgetting a network is also useful for privacy. A Mac that remembers every hotel, airport, cafe, and office network can reveal where you have been. Removing networks you no longer use reduces that trail and prevents accidental connections to insecure hotspots.

It is important to understand what “forgetting” actually does. It removes the network from your Mac’s preferred network list and usually removes or ignores the associated saved password. It does not change the router, disable Wi-Fi, or delete your internet account. You can reconnect later by selecting the network and entering the password again.

Before You Start

Before removing a network, make sure you know the correct network name, also called the SSID. If you are currently connected to that network, your Mac may disconnect when you forget it. It is safest to connect to another network first or be prepared to reconnect manually.

You may also need administrator privileges. macOS protects network settings, so some changes require an administrator username and password. If you are using a work or school Mac, your organization may restrict network changes.

Also check whether iCloud Keychain is enabled. If it is, Wi-Fi passwords can sync across your Apple devices. Forgetting a network on one Mac may not permanently remove it if another device with the same Apple ID reconnects and syncs the password back.

Method 1: Forget a Network in System Settings

This method is the standard approach on newer macOS versions, including macOS Ventura, Sonoma, and later. Apple moved many settings into the redesigned System Settings app, so the steps may look slightly different from older macOS versions.

Step-by-step instructions

  1. Click the Apple menu in the top-left corner of your screen.
  2. Select System Settings.
  3. Click Wi-Fi in the sidebar.
  4. Find the network you want to remove. It may appear under known networks, saved networks, or as the currently connected network.
  5. Click the information icon or Details button next to the network name.
  6. Choose Forget This Network.
  7. Confirm the action when macOS asks.

If the network is currently connected, your Mac should disconnect immediately. If it does not, turn Wi-Fi off and back on, or choose another network from the Wi-Fi menu.

On some macOS versions, you may need to open System Settings > Network > Wi-Fi instead. Look for an Advanced button or a list of preferred networks. Select the network and click the minus button to remove it.

Method 2: Forget a Network in System Preferences

On older macOS versions, such as macOS Monterey and earlier, network settings are managed in System Preferences. This method is still common on older Macs and is often the clearest way to remove preferred networks.

Step-by-step instructions

  1. Click the Apple menu and select System Preferences.
  2. Click Network.
  3. Select Wi-Fi from the list on the left.
  4. Click the Advanced button.
  5. In the Preferred Networks list, select the network you want to forget.
  6. Click the minus (–) button below the list.
  7. Click OK.
  8. Click Apply to save the changes.

This method directly edits the preferred network list. It is especially helpful when a network keeps auto-joining even after you disconnect from it. Removing it from the preferred list tells macOS not to prioritize it in the future.

Method 3: Forget a Network from the Wi-Fi Menu

Depending on your macOS version, you may be able to start the process from the Wi-Fi icon in the menu bar. This is convenient because you do not need to open the full settings app first.

Step-by-step instructions

  1. Click the Wi-Fi icon in the menu bar.
  2. Select Wi-Fi Settings or Network Preferences, depending on your macOS version.
  3. Locate the saved network in the list.
  4. Open its details or information panel.
  5. Select Forget This Network and confirm.

If you do not see a forget option, use Method 1 or Method 2 instead. macOS sometimes hides advanced network actions behind the main settings window, especially for networks that are not currently connected.

Method 4: Remove the Saved Password from Keychain Access

Sometimes forgetting a network from Wi-Fi settings does not fully remove the saved password. If your Mac reconnects to the network or prompts you with an old password, removing the credential from Keychain Access can solve the problem.

Step-by-step instructions

  1. Open Finder.
  2. Go to Applications > Utilities.
  3. Open Keychain Access.
  4. Use the search box to search for the network name or AirPort.
  5. Look for an item related to the Wi-Fi network. It may be labeled as an AirPort network password or a Wi-Fi password.
  6. Select the item.
  7. Press the Delete key or choose Delete from the Edit menu.
  8. Enter your administrator password if prompted.

After deleting the keychain item, restart Wi-Fi or reboot your Mac. This helps ensure macOS does not keep using a cached password. If the network still appears, also remove it from the preferred network list using Method 1 or Method 2.

Method 5: Use Terminal to Forget a Network

Advanced users can use Terminal to remove saved Wi-Fi networks. This method is useful for scripting, managing multiple Macs, or removing a network that does not appear correctly in the graphical interface.

Step-by-step instructions

  1. Open Terminal from Applications > Utilities.
  2. Find your Wi-Fi interface name by running: networksetup -listallhardwareports
  3. Look for the device associated with Wi-Fi. It is often en0, but it may be different on your Mac.
  4. Remove the network by running: networksetup -removepreferredwirelessnetwork en0 "YourNetworkName"
  5. Replace en0 with your actual Wi-Fi interface and YourNetworkName with the exact SSID.

To remove all preferred wireless networks at once, you can use:

networksetup -removeallpreferredwirelessnetworks en0

Be careful with this command because it removes every saved Wi-Fi network from the preferred list. You will need to re-enter passwords for networks you still use.

If you also want to remove the stored password from Keychain using Terminal, you can try:

security delete-generic-password -a "YourNetworkName" -s "AirPort"

This command may require administrator privileges and may vary depending on how macOS stored the credential. If it does not work, use Keychain Access instead.

Reset or Remove Multiple Saved Networks

If your Mac has accumulated dozens of old networks, removing them one by one can be tedious. You can clean up multiple networks more efficiently by using the preferred networks list or Terminal.

In System Preferences or System Settings, open the advanced Wi-Fi settings and review the preferred networks list. Remove networks you no longer recognize or use. If your version of macOS allows multiple selection, you can select several networks and remove them together. If not, remove them individually.

Terminal is often faster for bulk cleanup. After identifying the Wi-Fi interface, you can remove networks one by one or remove all preferred networks at once. Afterward, reconnect only to the networks you actually need.

Remember that removing networks does not reset your Mac’s hardware or router. It only changes which networks macOS remembers and prioritizes.

Troubleshooting Common Issues

Sometimes a forgotten network reappears. The most common cause is iCloud Keychain. If another Apple device using the same Apple ID still has the password, iCloud may sync it back to your Mac. To prevent this, remove the network from all devices or temporarily disable iCloud Keychain, remove the network, and then re-enable it.

Another common issue is that the network remains in Keychain Access. If macOS keeps using an old password, delete the corresponding keychain item. Then restart Wi-Fi or reboot the Mac.

If you cannot remove a network because the option is grayed out, check your user permissions. You may need an administrator account. On managed devices, your organization may enforce network settings through a configuration profile.

If Terminal commands fail, verify the interface name. Wi-Fi is not always en0. Use networksetup -listallhardwareports to confirm. Also make sure the network name is spelled exactly as shown, including capitalization and spaces.

If your Mac still auto-joins a network after forgetting it, turn off auto-join for nearby networks where possible, remove the password from Keychain, and check whether a VPN, MDM profile, or network utility is managing connections.

Tips and Best Practices

  • Forget public Wi-Fi networks after you finish using them, especially airports, hotels, and cafes.
  • Keep your home and work networks saved, but remove networks you no longer recognize.
  • Use strong, unique Wi-Fi passwords and avoid reusing passwords across networks.
  • Disable auto-join for networks you only use occasionally.
  • Review saved networks regularly, especially on laptops that travel frequently.
  • Remember that forgetting a network does not delete the router password or change router settings.
  • If you manage multiple Macs, document which networks should remain preferred.
  • After forgetting a network, reconnect manually to confirm the new password works.

Comparison of Methods

Method Best For Removes Saved Password Requires Admin Access Notes
System Settings Most users on newer macOS Usually yes Sometimes Easiest graphical method
System Preferences Older macOS versions Usually yes Sometimes Clear preferred network list
Wi-Fi Menu Quick access Depends on macOS version Sometimes May redirect to settings
Keychain Access Removing stubborn passwords Yes Yes Helpful when auto-reconnect persists
Terminal Advanced users and bulk cleanup Only with extra command Yes Fast but requires exact interface name

Frequently Asked Questions

Why does a forgotten Wi-Fi network come back?

It usually comes back because iCloud Keychain syncs the password from another Apple device. Remove it from all devices or manage iCloud Keychain to stop it from returning.

Does forgetting a network delete the password everywhere?

It removes or ignores the password on that Mac, but it may still exist in iCloud Keychain or on other devices. Check Keychain Access and your other Apple devices.

Can I forget the network I am currently using?

Yes, but your Mac will disconnect. Connect to another network first if you need continuous internet access.

What if the network does not appear in settings?

Search for it in Keychain Access or use Terminal. The network may be hidden, misspelled, or stored only as a password item.

Why am I asked for an administrator password?

macOS protects network and keychain changes. An administrator must approve removing saved credentials or changing preferred networks.

Can I reconnect after forgetting a network?

Yes. Select the network again and enter the password. macOS will save it again unless you choose not to remember it.

Is Terminal safe for forgetting networks?

Yes, if you use the correct commands and exact network name. Avoid removing all preferred networks unless you intend to clean up every saved connection.

Conclusion

Knowing How to Forget Wifi Network on Mac? is a simple but valuable skill. Whether you use System Settings, System Preferences, Keychain Access, or Terminal, removing old or unwanted networks can improve privacy, prevent unwanted auto-connections, and fix common Wi-Fi issues. Start with the graphical settings method, use Keychain Access if the password persists, and use Terminal when you need more control. Regularly reviewing saved networks keeps your Mac cleaner, safer, and easier to manage.