Wifi Guide

How to Delete Wifi in Macbook? Forget Wifi on macOS

Introduction If you have ever connected your Mac to a WiFi network that you no longer use, you probably know how annoying it can be when your computer keeps trying to join that network automatically. Whether it is a public hotspot, an old router, or a neighbor

HowToFixWiFi

Introduction

If you have ever connected your Mac to a WiFi network that you no longer use, you probably know how annoying it can be when your computer keeps trying to join that network automatically. Whether it is a public hotspot, an old router, or a neighbor’s network you accidentally saved, learning How to Delete Wifi in Macbook? is an essential skill for every macOS user. Forgetting a WiFi network not only declutters your saved networks list but also improves your privacy and security.

In this comprehensive guide, we will walk you through every method available to forget or delete WiFi networks on your MacBook. We will cover modern macOS versions like Ventura and Sonoma, as well as older releases such as Monterey and Big Sur. You will also learn how to remove WiFi passwords from your Keychain, reset network settings, and troubleshoot stubborn networks that keep reappearing. By the end of this article, you will have a complete understanding of how to manage your WiFi connections like a pro.

Table of Contents

What Does “Delete WiFi” Mean on a Mac?

When people search for How to Delete Wifi in Macbook?, they are usually referring to the process of “forgetting” a saved WiFi network. On macOS, there is no literal “delete” button for WiFi networks in the traditional sense. Instead, Apple uses the term “Forget This Network.” When you forget a network, your Mac removes the saved password, SSID, and connection preferences for that particular WiFi network from its list of known networks.

This means your MacBook will no longer automatically connect to that network, and you will need to re-enter the password if you ever want to join it again. Forgetting a network is different from simply turning WiFi off or disconnecting from a current session. It is a permanent removal (until you manually re-add it) of that network’s credentials from your system.

Understanding this distinction is important because many users confuse “disconnecting” with “forgetting.” Disconnecting only ends the current session, while forgetting removes the network entirely from your saved list. If you want to stop your Mac from auto-joining a specific network, forgetting is the correct approach.

Why You Might Want to Forget a WiFi Network

There are several legitimate reasons why you might want to forget a WiFi network on your MacBook. Understanding these reasons can help you decide when it is the right time to clean up your saved networks list.

Privacy and Security Concerns

Every time you save a WiFi network, your Mac stores its password in the Keychain. If you connect to public WiFi networks in cafes, airports, or hotels, those networks remain saved on your device. This poses a privacy risk because your Mac might automatically connect to a malicious hotspot with the same name. By forgetting these networks, you reduce the chance of your device automatically joining an untrusted connection.

Troubleshooting Connection Issues

Sometimes a WiFi network develops connection problems due to changed router settings, updated passwords, or IP conflicts. Forgetting the network and reconnecting with fresh credentials often resolves these issues. It is one of the first troubleshooting steps recommended by Apple Support when you experience persistent WiFi problems.

Decluttering Your Saved Networks

Over time, your Mac accumulates a long list of saved WiFi networks. Many of these may be outdated, from places you no longer visit, or from temporary hotspots. A cluttered list can slow down the WiFi connection process as your Mac tries to match available networks against its saved list. Removing unused networks keeps things tidy and efficient.

Switching to a New Router

If you have upgraded your home router and kept the same network name, your Mac might still be using old connection settings. Forgetting the old network entry and reconnecting fresh ensures you are using the new router’s settings properly.

How to Delete WiFi in MacBook? Step-by-Step Methods

Now let us get to the core of this guide. There are multiple ways to forget WiFi networks on a MacBook, depending on your macOS version. We will cover each method in detail so you can choose the one that works best for you.

Method 1: Using System Settings (macOS Ventura, Sonoma, and Later)

If you are running macOS Ventura (13) or later, including macOS Sonoma (14) and macOS Sequoia (15), the interface has changed significantly. Here is how to forget a WiFi network using the new System Settings app.

  1. Click the Apple menu in the top-left corner of your screen and select System Settings.
  2. In the sidebar, click on WiFi.
  3. Make sure WiFi is turned on.
  4. Click the Details button (the “i” icon) next to the network you are currently connected to, or scroll down to find the network under “Known Networks.”
  5. If the network is not currently connected, click on Advanced at the bottom of the WiFi panel. You will see a list of all saved networks.
  6. Select the network you want to delete from the list.
  7. Click the minus (-) button below the list.
  8. Confirm by clicking Remove in the dialog that appears.
  9. If prompted, enter your administrator password or use Touch ID to authorize the change.

After completing these steps, the WiFi network will be removed from your Mac’s saved list. Your Mac will no longer auto-connect to it.

Method 2: Using System Preferences (macOS Monterey and Earlier)

If you are using an older version of macOS such as Monterey, Big Sur, Catalina, or Mojave, the process uses the classic System Preferences interface.

  1. Click the Apple menu and select System Preferences.
  2. Click on Network.
  3. Select WiFi from the list on the left side.
  4. Click the Advanced button at the bottom right.
  5. In the WiFi tab, you will see a list of “Preferred Networks.” These are all the WiFi networks your Mac remembers.
  6. Select the network you want to delete.
  7. Click the minus (-) button below the list.
  8. Click OK to confirm.
  9. Click Apply to save the changes.

This method works reliably across all older macOS versions and is the most common way users have historically managed their WiFi networks.

Method 3: Using Terminal

For advanced users who prefer command-line tools, macOS provides a way to manage WiFi networks through Terminal. This method is particularly useful when the graphical interface is not working or when you want to script the process.

  1. Open Terminal from Applications > Utilities or by using Spotlight search (Cmd + Space, then type “Terminal”).
  2. To list all saved WiFi networks, type the following command and press Enter:
networksetup -listpreferredwirelessnetworks en0

This will display all networks saved on your primary WiFi interface. Note that “en0” is typically your WiFi interface, but it could be “en1” on some Macs.

  1. To remove a specific network, type:
sudo networksetup -removepreferredwirelessnetwork en0 "NetworkName"

Replace “NetworkName” with the exact name of the WiFi network you want to delete. You will be prompted to enter your administrator password.

  1. Press Enter and the network will be removed.

This Terminal method is powerful and can be used to remove multiple networks quickly by running the command for each one.

Comparison Table: Methods to Forget WiFi on macOS

Here is a quick comparison to help you choose the best method for your situation.

Method macOS Version Difficulty Best For
System Settings Ventura, Sonoma, Sequoia Easy Most users on modern macOS
System Preferences Monterey and earlier Easy Users on older macOS versions
Terminal All versions Advanced Power users, scripting, troubleshooting
Keychain Access All versions Intermediate Removing stored passwords manually
Network Reset All versions Intermediate When multiple networks need removal

How to Delete WiFi Networks Automatically

If you want your Mac to stop saving WiFi networks automatically, you can change this behavior in your settings. By default, macOS asks whether to remember a network, but you can disable this prompt entirely.

On macOS Ventura and later, go to System Settings > WiFi and click the Advanced button. Look for the option that says “Remember networks this computer has joined” or similar, and toggle it off. On older macOS versions, go to System Preferences > Network > WiFi > Advanced and uncheck “Remember networks this computer has joined.”

With this setting disabled, your Mac will still connect to networks you explicitly choose, but it will not save them for future automatic connections. This is a great way to prevent your saved networks list from growing unnecessarily.

How to Reset Network Settings on Mac

Sometimes you need to go beyond forgetting individual networks and reset your entire network configuration. This can help when you are experiencing persistent connectivity issues or when you want to start fresh.

Unlike iOS, macOS does not have a single “Reset Network Settings” button. However, you can achieve a similar result by removing all saved WiFi networks and resetting your network preferences.

  1. Open Terminal.
  2. Run the following command to remove all preferred networks:
for net in $(networksetup -listpreferredwirelessnetworks en0 | tail -n +2); do sudo networksetup -removepreferredwirelessnetwork en0 "$net"; done

This loop removes every saved WiFi network from your Mac. You will need to enter your password.

  1. To reset network preferences more thoroughly, you can delete the network configuration plist files. Navigate to /Library/Preferences/SystemConfiguration/ and remove files like com.apple.airport.preferences.plist and NetworkInterfaces.plist. Then restart your Mac.

Warning: Resetting network settings will remove all saved WiFi networks, VPN configurations, and custom network settings. Only do this if you are comfortable reconfiguring your network afterward.

How to Remove WiFi from Keychain

Even after forgetting a WiFi network, its password may still be stored in your Mac’s Keychain. If you want to completely remove all traces of a network, you should also delete it from Keychain Access.

  1. Open Keychain Access from Applications > Utilities.
  2. In the search bar, type the name of the WiFi network.
  3. Look for entries of type “AirPort network password” or “Internet password.”
  4. Select the entry and press Delete.
  5. Confirm the deletion.

This ensures that no password remnants remain on your system. It is especially important if you are selling or giving away your Mac, or if you suspect a security breach.

How to Delete WiFi Profiles on Mac

If your Mac is managed by an organization (school, workplace) or you have installed configuration profiles, WiFi settings might be controlled by a profile rather than your personal preferences.

  1. Go to System Settings > General > Device Management (or Profiles on older macOS).
  2. Look for any WiFi-related configuration profiles.
  3. Select the profile and click the minus (-) button to remove it.
  4. Enter your administrator password if prompted.

Removing a profile will delete all WiFi networks and settings configured by that profile. Note that some profiles may be locked by your organization and cannot be removed without administrator privileges.

Troubleshooting: WiFi Network Keeps Reappearing

Sometimes, even after forgetting a network, it keeps showing up again. This can be frustrating. Here are common causes and solutions.

iCloud Keychain Sync

If you use iCloud Keychain, your saved WiFi networks sync across all your Apple devices. Forgetting a network on one Mac might not remove it from iCloud, and it could reappear if another device still has it saved. To fix this, forget the network on all your Apple devices, or disable iCloud Keychain temporarily.

Network Not Fully Removed

Sometimes the graphical interface does not fully remove the network. Try using the Terminal method to ensure complete removal. Also check Keychain Access to delete any remaining password entries.

Router Still Broadcasting

If your router is still broadcasting the network, your Mac might detect it and, if auto-join is enabled, try to connect. Make sure auto-join is disabled for that network and that the network is fully removed from your saved list.

macOS Software Bug

Occasionally, macOS bugs can cause networks to reappear. Make sure your Mac is updated to the latest version. Restarting your Mac after forgetting a network can also help clear any cached data.

Tips and Best Practices

Here are some best practices to keep your WiFi connections secure and organized.

  • Regularly audit your saved networks. Once a month, review your list of preferred WiFi networks and remove any you no longer use.
  • Avoid saving public WiFi networks. When connecting to public hotspots, choose “Don’t Remember” or forget them immediately after use.
  • Use a VPN on public networks. If you must use public WiFi, always use a VPN to encrypt your traffic.
  • Keep macOS updated. Apple regularly releases security patches that improve WiFi handling.
  • Use strong WiFi passwords. Ensure your home network uses WPA3 or at least WPA2 encryption with a strong password.
  • Disable auto-join for sensitive networks. For networks you rarely use, disable auto-join so your Mac does not connect without your explicit permission.
  • Back up before resetting. If you plan to reset all network settings, make sure you have your WiFi passwords saved somewhere secure.

Frequently Asked Questions

What is the difference between “Forget This Network” and “Disconnect”?

Disconnecting ends your current WiFi session but keeps the network saved for future use. Forgetting removes the network entirely from your saved list, including its password. You will need to re-enter credentials to reconnect.

Why is the “Forget This Network” option not showing?

This can happen if the network is currently connected. Disconnect first, then try again. It can also occur if the network is managed by a configuration profile or if you lack administrator privileges.

Can I delete all WiFi networks at once?

macOS does not offer a one-click “delete all” button in the GUI. However, you can use the Terminal loop command shown earlier to remove all saved networks at once.

Does forgetting a network delete its password from Keychain?

In most cases, yes. macOS automatically removes the password from Keychain when you forget a network. However, in some cases, residual entries may remain, which is why checking Keychain Access is recommended for complete removal.

Why does a forgotten network keep reappearing?

This is usually due to iCloud Keychain sync, a managed profile, or the network still being saved on another Apple device. Forget it on all devices and check for configuration profiles.

Is it safe to use Terminal to delete WiFi networks?

Yes, as long as you type the commands correctly. The networksetup command is an official Apple tool. Always double-check the network name before running the removal command.

Conclusion

Learning How to Delete Wifi in Macbook? is a simple yet important skill that helps you maintain privacy, security, and a clutter-free network list. Whether you use the modern System Settings interface, the classic System Preferences, or the powerful Terminal, macOS gives you multiple ways to forget unwanted WiFi networks. Remember to also clean up your Keychain and check for configuration profiles if a network stubbornly reappears. By following the tips and best practices in this guide, you can keep your MacBook’s WiFi connections organized and secure. If you found this article helpful, consider bookmarking it for future reference, and do not hesitate to revisit the FAQ section whenever you encounter WiFi management questions.