Wifi Guide

How to Forget Wifi in Macbook? Remove on MacBook

Introduction If your MacBook keeps connecting to a network you no longer want, learning How to Forget Wifi in Macbook? can save you time and frustration. macOS stores wireless networks, passwords, and connection preferences so it can reconnect automatically. W

HowToFixWiFi

Introduction

If your MacBook keeps connecting to a network you no longer want, learning How to Forget Wifi in Macbook? can save you time and frustration. macOS stores wireless networks, passwords, and connection preferences so it can reconnect automatically. While that is convenient, it can also create problems when you move to a new office, change your router, or want to stop joining an old or insecure network. This guide explains every practical way to remove a saved Wi-Fi network from a MacBook, from the simple System Settings method to Keychain cleanup and Terminal commands.

Whether you use the latest macOS version or an older release, you will find step-by-step instructions below. You will also learn what happens after you forget a network, how to troubleshoot networks that keep reappearing, and how to manage wireless connections safely.

What Does “Forget Wi-Fi” Mean on a MacBook?

When you connect to a wireless network, macOS usually saves the network name, security type, and password in your preferred networks list. The next time that network is available, your MacBook may connect automatically. Choosing to forget a network removes it from that saved list. In most cases, macOS also removes the associated password from the network settings, although the password may still remain in Keychain Access depending on how it was saved.

Forgetting a network is not the same as turning off Wi-Fi. Turning off Wi-Fi temporarily disables wireless connections. Forgetting a network removes a specific saved connection. This is useful when a network has changed its password, when you no longer have permission to use it, or when your MacBook keeps choosing the wrong network.

Why You Might Want to Remove a Wi-Fi Network

There are several common reasons to remove a saved Wi-Fi network from your MacBook. You may have changed your home router and kept the same network name, but the old password is still stored. You may be leaving a job and no longer want your laptop to connect to the office network. You may be troubleshooting slow or unstable Wi-Fi and want to start fresh. You may also want to protect your privacy by removing networks from public places such as cafes, airports, hotels, and libraries.

Removing old networks can reduce automatic connections, prevent failed login attempts, and make your network list cleaner. It can also stop your MacBook from connecting to a weaker or less secure network when a better option is available.

How to Forget Wi-Fi in MacBook? Using System Settings

On modern macOS versions, such as macOS Ventura, Sonoma, and later, Wi-Fi settings are managed through System Settings. This is the recommended method for most users because it is visual, safe, and easy to reverse if needed.

  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. Make sure Wi-Fi is turned on.
  5. Look for the network you want to remove under Known Networks.
  6. Click the three dots or info button next to the network name, depending on your macOS version.
  7. Select Forget This Network.
  8. Confirm the action when prompted.

After you complete these steps, the network should disappear from your known networks list. If it is currently connected, your MacBook will disconnect from it. You can reconnect later by selecting the network again and entering the password.

If you do not see the network under Known Networks, try scrolling through the full list. Some older or hidden networks may appear lower in the list. You can also search for the network name if your version of macOS includes a search field.

How to Forget a Wi-Fi Network on Older macOS Versions

If you are using macOS Monterey, Big Sur, Catalina, or an earlier release, the steps are slightly different because settings are located in System Preferences rather than System Settings.

  1. Click the Apple menu.
  2. Select System Preferences.
  3. Click Network.
  4. Select Wi-Fi from the list on the left.
  5. Click Advanced.
  6. Under the Wi-Fi tab, you will see a list of preferred networks.
  7. Select the network you want to remove.
  8. Click the minus button below the list.
  9. Click OK, then click Apply.

This method removes the network from your preferred list. If the network is currently active, macOS may disconnect and then attempt to find another available network. If no other network is available, your MacBook will remain offline until you manually connect again.

How to Remove a Network from the Wi-Fi Menu

Some users expect to forget a network directly from the Wi-Fi icon in the menu bar. In most macOS versions, the menu bar is mainly for connecting and disconnecting, not for permanently removing saved networks. However, you can still use it to quickly disconnect from a network or open the full settings page.

  1. Click the Wi-Fi icon in the menu bar.
  2. If connected, click the active network to disconnect, or turn Wi-Fi off and back on.
  3. Click Wi-Fi Settings or Network Preferences, depending on your macOS version.
  4. Follow the System Settings or System Preferences steps above to remove the network permanently.

This approach is helpful when you are troubleshooting a connection and want to reconnect manually. It is also useful when you are in a public location and want to avoid automatically joining a nearby network.

How to Delete a Saved Wi-Fi Password from Keychain Access

Even after you forget a network, the password may remain in Keychain Access. Keychain is macOS’s secure storage system for passwords, certificates, and other credentials. Removing the password is especially important if you are giving away your MacBook, selling it, or cleaning up credentials for a network you no longer trust.

  1. Open Finder.
  2. Go to Applications, then Utilities.
  3. Open Keychain Access.
  4. In the search field, type the name of the Wi-Fi network.
  5. Look for an entry related to the network, often listed under AirPort or application password.
  6. Select the entry.
  7. Press Delete or right-click and choose Delete.
  8. Confirm the deletion.

Be careful when deleting Keychain items. Only delete entries that clearly match the Wi-Fi network name. If you delete the wrong item, you may need to re-enter passwords for apps or services. If you are unsure, you can leave the entry in Keychain; it will not automatically reconnect your MacBook unless the network is also in your preferred Wi-Fi list.

How to Forget Wi-Fi Using Terminal on Mac

Advanced users and IT administrators sometimes prefer Terminal because it can be faster and easier to script. Terminal commands allow you to remove a preferred wireless network without opening System Settings. You should use this method carefully and only if you are comfortable with command-line tools.

First, identify your Wi-Fi interface. On many MacBooks, the Wi-Fi interface is named en0, but it can vary. You can list available interfaces with this command:

networksetup -listallhardwareports

Then list your saved preferred networks with this command, replacing en0 if needed:

networksetup -listpreferredwirelessnetworks en0

To remove one network, use this command, replacing the interface name and network name:

networksetup -removepreferredwirelessnetwork en0 "YourNetworkName"

The network name must match exactly, including spaces and capitalization. If the command succeeds, Terminal will confirm that the network was removed. If it fails, check the interface name and network spelling.

To remove the password from Keychain through Terminal, you can try a command such as:

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

This command may vary depending on how macOS stored the password. If it does not work, use Keychain Access instead. Terminal changes are immediate, so there is no separate Apply button.

How to Remove All Saved Wi-Fi Networks at Once

macOS does not provide a simple one-click button to delete every saved Wi-Fi network at once. This is intentional because removing all networks could disconnect you from every saved connection, including your home and work networks. If you want a clean slate, you can remove networks one by one using System Settings or Terminal.

A safe approach is to first list all saved networks:

networksetup -listpreferredwirelessnetworks en0

Then remove each network individually:

networksetup -removepreferredwirelessnetwork en0 "NetworkOne"
networksetup -removepreferredwirelessnetwork en0 "NetworkTwo"

If you are preparing a MacBook for sale, the best method is not to remove networks one by one. Instead, erase all content and settings or reinstall macOS. This ensures that Wi-Fi passwords, Keychain items, browser data, and personal files are fully removed. For a personal cleanup, removing networks individually is usually safer and more controlled.

Comparison of Methods to Forget Wi-Fi on a MacBook

Method Best For Difficulty Removes Password Notes
System Settings Most users Easy Usually from Wi-Fi list Recommended for modern macOS
System Preferences Older macOS versions Easy Usually from preferred list Used on Monterey and earlier
Keychain Access Removing stored passwords Moderate Yes Use carefully
Terminal Advanced users and IT Advanced Sometimes Requires exact interface and network names
Erase All Content and Settings Selling or giving away a Mac Advanced Yes, fully Resets the entire Mac

What Happens After You Forget a Wi-Fi Network?

After you forget a network, your MacBook no longer treats it as a preferred connection. It will not automatically join that network again unless you manually select it and enter the password. If you were connected to the network at the time, macOS will disconnect. Your MacBook may then search for another known network or remain disconnected.

Your internet-dependent apps may temporarily lose connection. Cloud sync, messaging apps, email, and browser tabs may pause until a new connection is established. This is normal. Once you connect to another network, everything should resume.

Forgetting a network does not delete the network itself, change the router, or affect other devices. It only changes the connection behavior on your MacBook.

Troubleshooting: Wi-Fi Network Keeps Reappearing

Sometimes a network returns even after you remove it. This can happen because the password is still stored, because another Apple device shares the network through iCloud Keychain, or because the network is broadcast with the same name. The following tips can help.

Network Reconnects Automatically

If your MacBook reconnects automatically, check whether the network is still listed in System Settings under Known Networks. If it is, remove it again. Also check Keychain Access for a saved password. If iCloud Keychain is enabled, the password may sync back from another Apple device. In that case, remove the network and password from all connected devices, or temporarily disable iCloud Keychain syncing.

Password Is Still Saved

If macOS asks whether you want to use a saved password, the credential is likely still in Keychain. Open Keychain Access, search for the network, and delete the matching entry. Restart your MacBook if the password continues to appear. A restart can clear cached network credentials and refresh the Wi-Fi service.

Network Does Not Appear in the List

If the network does not appear in Known Networks but your MacBook still connects, it may be using a configuration profile, enterprise network settings, or a saved password without a visible preferred network entry. Check for configuration profiles in System Settings under Privacy and Security or General, depending on your macOS version. Remove any network profile you no longer need. For managed work or school MacBooks, contact your IT administrator before changing profiles.

Best Practices for Managing Wi-Fi Networks on macOS

Good Wi-Fi management keeps your MacBook faster, safer, and easier to use. Review your saved networks every few months. Remove networks from places you no longer visit. Keep your home and work networks at the top of your preferred list if your macOS version allows ordering. Avoid connecting to open networks unless necessary. When you do connect to a public network, consider using a trusted VPN for additional protection.

Use clear and unique passwords for your own router. If you change your home Wi-Fi password, forget the old network on your MacBook before reconnecting. This prevents macOS from trying an outdated password repeatedly. If you manage multiple Apple devices, update or remove the network on each device to keep iCloud Keychain consistent.

Security and Privacy Benefits of Removing Old Wi-Fi Networks

Old Wi-Fi networks can expose more information than many users realize. A saved network name can reveal places you have visited, including hotels, airports, and workplaces. Some networks may also be insecure or use outdated encryption. Removing them reduces the chance that your MacBook will automatically connect to a rogue access point with the same name.

Forgetting unused networks is especially important on laptops that travel frequently. A MacBook that automatically joins any remembered network may connect to a malicious hotspot in a public place. By keeping only trusted networks saved, you reduce that risk. This simple habit supports better digital hygiene and complements other security practices such as software updates, strong passwords, and disk encryption.

Frequently Asked Questions

Can I forget a Wi-Fi network without knowing its password?

Yes. You do not need the password to remove a network from your MacBook. You only need the password if you want to reconnect later.

Does forgetting a network delete it from my router?

No. Forgetting a network only changes settings on your MacBook. The router and its network remain unchanged.

Why does my MacBook still remember the password after I forget the network?

The password may remain in Keychain Access. Remove it there if you want complete cleanup.

Can I recover a forgotten Wi-Fi network?

Yes. You can reconnect by selecting the network from the Wi-Fi menu and entering the password again. Forgetting does not permanently block the network.

Is it safe to use Terminal to remove Wi-Fi networks?

It is safe if you use the correct commands and interface name. However, Terminal is less forgiving than System Settings, so double-check each command before pressing Return.

Should I forget all networks before selling my MacBook?

Forgetting networks is a good step, but it is not enough by itself. Use Erase All Content and Settings or reinstall macOS to fully remove personal data and credentials.

Conclusion

Learning How to Forget Wifi in Macbook? is a small task that can make a big difference in your daily experience. Whether you use System Settings, older System Preferences, Keychain Access, or Terminal, the goal is the same: remove unwanted saved networks and keep your MacBook connecting only to the networks you trust. Start with the built-in settings method, use Keychain cleanup for stored passwords, and use Terminal only when you need more control. With a clean network list, your MacBook will be more reliable, more secure, and easier to manage.