Performance and Optimization

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

Introduction Mac computers are designed to remember every WiFi network you connect to, storing the network name, password, and security settings so you can rejoin automatically in the future. This convenience is helpful at home or in the office, but there are

HowToFixWiFi

Introduction

Mac computers are designed to remember every WiFi network you connect to, storing the network name, password, and security settings so you can rejoin automatically in the future. This convenience is helpful at home or in the office, but there are many situations where keeping a network saved creates more problems than it solves. If you have ever wondered How to Forget the Wifi Network on Mac?, you are not alone. Whether you are troubleshooting a stubborn connection, cleaning up a long list of saved networks, or preparing to sell your Mac, knowing how to remove a saved wireless network is an essential skill for every macOS user.

Forgetting a WiFi network is different from simply disconnecting. When you disconnect, your Mac stops using the network but remembers it for later. When you forget a network, macOS removes it from your list of preferred networks, deletes the saved password from your keychain in many cases, and stops your Mac from automatically joining that network again. This guide walks you through every method available, from the graphical interface in System Settings and System Preferences to advanced options using Keychain Access and Terminal. You will also learn what happens after you forget a network, how to troubleshoot common issues, and best practices for keeping your Mac’s WiFi list clean and secure.

Table of Contents

Why You Might Want to Forget a WiFi Network on Mac

There are several practical reasons to remove a saved wireless network from your Mac. Understanding these scenarios can help you decide when forgetting a network is the right move.

Changed Password or Network Settings

If the owner of a WiFi network changes the password or updates the security protocol, your Mac may keep trying to connect using the old credentials. This can result in repeated authentication failures, connection loops, or your Mac cycling between networks without ever establishing a stable connection. Forgetting the network clears the outdated information so you can enter the new password from scratch.

Public WiFi Security Concerns

Many people connect to public WiFi at coffee shops, airports, hotels, and libraries. These networks are often unsecured or use captive portals that require you to accept terms before browsing. If your Mac remembers a public network and attempts to auto-join it in the future, you might unknowingly transmit data over a network you no longer trust. Forgetting public networks after you leave reduces the risk of accidental connections.

Troubleshooting Connection Problems

When a Mac has trouble connecting to a specific network, one of the first troubleshooting steps is to forget the network and reconnect. This clears corrupted preference files, mismatched security settings, or cached errors that might be preventing a successful handshake between your Mac and the router.

Cleaning Up Saved Networks

Over time, your Mac accumulates a long list of networks from places you visited once and will never return to. This clutter can make it harder to find the network you actually want, especially in dense urban areas where dozens of networks are visible. Periodically removing old entries keeps your WiFi menu organized.

Preparing to Sell or Transfer Your Mac

If you plan to sell, donate, or give away your Mac, you should remove personal data and accounts. Forgetting saved WiFi networks ensures that the next user cannot automatically connect to your home or office network using credentials stored on your device.

Avoiding Auto-Join Annoyances

Some networks have weak signals or require you to log in through a web page every time. If your Mac keeps trying to auto-join these networks, you may experience interruptions or pop-up notifications that disrupt your work. Forgetting the network stops this behavior entirely.

What Happens When You Forget a WiFi Network

Before you proceed, it helps to understand exactly what occurs when you tell macOS to forget a wireless network. The effects are specific to your Mac and do not impact other devices on the same network.

  • The network is removed from your list of preferred or known networks.
  • Your Mac will no longer automatically join that network when it is in range.
  • The saved password is typically deleted from the Keychain, though this depends on the method you use.
  • Custom settings for that network, such as whether to auto-join or use a specific security type, are erased.
  • Other devices, such as your iPhone, iPad, or Windows laptop, are completely unaffected.
  • You can still reconnect to the network later by selecting it and entering the password again.

It is important to note that forgetting a network does not delete the network from the physical world. The router still broadcasts the signal, and nearby devices can still see and connect to it. Your Mac simply stops remembering how to get in without your help.

Method 1: Forget WiFi Network via System Settings (macOS Ventura and Later)

Apple redesigned the settings interface starting with macOS Ventura. If you are running macOS Ventura, Sonoma, or a later version, you will use System Settings rather than the older System Preferences. Here is the step-by-step process for forgetting a network in the modern interface.

  1. Click the Apple menu in the top-left corner of your screen and select System Settings.
  2. In the sidebar, click WiFi. If you do not see WiFi immediately, scroll down or use the search field at the top of the sidebar.
  3. Make sure WiFi is turned on. You should see a list of available networks under Other Networks and a section for Known Networks.
  4. Locate the network you want to forget. If it is currently connected, it may appear at the top with a blue WiFi icon.
  5. Click the Details button or the three-dot menu (…) next to the network name, depending on your macOS version.
  6. Look for an option labeled Forget This Network or Remove from Known Networks.
  7. Click it and confirm your choice when prompted.

After confirming, the network disappears from your known networks list. If you were connected to it at the time, your Mac will disconnect immediately. You can verify the removal by checking the WiFi menu in the menu bar; the network should still appear if it is in range, but it will no longer be marked as a saved or preferred network.

Method 2: Forget WiFi Network via System Preferences (macOS Monterey and Earlier)

If your Mac is running macOS Monterey, Big Sur, Catalina, Mojave, or an earlier version, you will use System Preferences instead of System Settings. The layout is slightly different, but the process is straightforward.

  1. Click the Apple menu and choose System Preferences.
  2. Click the Network icon.
  3. In the left-hand list, select WiFi.
  4. Click the Advanced… button in the bottom-right corner of the window.
  5. A new sheet appears with several tabs. Make sure you are on the WiFi tab.
  6. You will see a list labeled Preferred Networks. This contains every wireless network your Mac has saved.
  7. Click the network you want to remove to highlight it.
  8. Click the minus (-) button below the list.
  9. Click Remove if a confirmation dialog appears.
  10. Click OK to close the Advanced sheet.
  11. Click Apply to save your changes.

Once you click Apply, the network is removed from your Mac’s memory. If you want to forget multiple networks, you can repeat the selection and removal process for each one before clicking OK and Apply.

Method 3: Remove WiFi Network Using Keychain Access

Sometimes forgetting a network through System Settings or System Preferences does not fully erase the password from your Mac. The credential may remain stored in Keychain Access, which is macOS’s password management system. If you want to be thorough, especially for security reasons, you can remove the network password directly from Keychain Access.

  1. Open Keychain Access. You can find it by pressing Command + Space, typing “Keychain Access,” and pressing Enter. It is also located in the Applications > Utilities folder.
  2. In the Keychain Access window, look at the top-left category list and select System or System Passwords, depending on your macOS version.
  3. Use the search field in the top-right corner to type the name of the WiFi network you want to forget.
  4. Look for entries that match the network name. These often have the word AirPort in the Kind column or show the network name as the account name.
  5. Select the entry or entries you want to delete.
  6. Press the Delete key or right-click and choose Delete.
  7. If prompted, enter your Mac administrator username and password to authorize the deletion.
  8. Close Keychain Access.

Deleting the keychain entry ensures that even if the network still appears in your WiFi list for some reason, your Mac will not automatically supply the password. This method is particularly useful when you are preparing to sell your Mac or when you suspect a saved password has been compromised.

Method 4: Forget WiFi Network Using Terminal

Advanced users and IT administrators often prefer using the command line for network management. macOS includes a powerful tool called networksetup that allows you to list and remove preferred wireless networks without using the graphical interface.

Step 1: Open Terminal

Press Command + Space, type Terminal, and press Enter. You can also find Terminal in Applications > Utilities.

Step 2: Identify Your WiFi Interface Name

Most Macs use en0 for the built-in WiFi card, but some models use en1. To confirm, run:

networksetup -listallhardwareports

Look for the entry labeled WiFi or AirPort and note the Device name, such as en0.

Step 3: List Preferred Wireless Networks

Run the following command, replacing en0 with your actual interface name if necessary:

networksetup -listpreferredwirelessnetworks en0

This displays every network your Mac has saved for that interface.

Step 4: Remove the Network

To forget a specific network, use:

networksetup -removepreferredwirelessnetwork en0 "NetworkName"

Replace NetworkName with the exact name of the WiFi network, including capitalization and spaces. If the network name contains spaces, keep the quotation marks.

You may be prompted to enter your administrator password. After you authenticate, the network is removed immediately.

Step 5: Verify Removal

Run the list command again to confirm the network no longer appears:

networksetup -listpreferredwirelessnetworks en0

Terminal is ideal for scripting, remote management, or situations where the graphical interface is unresponsive.

Comparison Table: Methods to Forget WiFi Network on Mac

The table below summarizes the differences between the four main methods so you can choose the one that fits your situation.

Method macOS Version Difficulty Removes Saved Password Best For
System Settings macOS Ventura and later Easy Yes Everyday users on modern Macs
System Preferences macOS Monterey and earlier Easy Yes Older Macs and legacy macOS versions
Keychain Access All macOS versions Moderate Yes, specifically password Security-conscious users and pre-sale cleanup
Terminal All macOS versions Advanced Yes IT administrators, scripting, and power users

Troubleshooting: Network Still Appears or Won’t Forget

Even after following the steps above, you might encounter situations where the network seems to stick around or refuses to be forgotten. Here are the most common issues and how to resolve them.

Network Still Shows in WiFi Menu

Seeing a network in your WiFi menu does not mean it is still saved. macOS displays all networks within range, whether they are remembered or not. A forgotten network will simply not have the auto-join behavior or saved password associated with it. If you want to confirm it is forgotten, try connecting to it. If your Mac asks for the password from scratch, the network has been successfully removed.

Remove Option Is Greyed Out

If the remove button or Forget option is greyed out, you may not have administrator privileges on the Mac. Network settings are protected, and only an admin user can modify preferred networks. Log in with an administrator account or ask the system administrator to make the change for you.

Network Returns After Restart

If you use iCloud Keychain, your saved WiFi passwords may sync across your Apple devices. Forgetting a network on your Mac might not remove it from your iPhone or iPad, and depending on your sync settings, it could theoretically reappear. To fully clear it, forget the network on all your Apple devices or disable iCloud Keychain syncing for passwords temporarily.

Wrong Interface Name in Terminal

Using en0 when your Mac actually uses en1 will cause the Terminal command to fail. Always verify your hardware port name with networksetup -listallhardwareports before running removal commands.

Network Requires Enterprise Authentication

Some office or school networks use WPA2 Enterprise or 802.1X authentication with usernames and certificates. Simply forgetting the network may not remove configuration profiles installed by your organization. In those cases, you may need to remove the configuration profile in System Settings > General > Profiles or contact your IT department.

How to Reconnect to a Forgotten WiFi Network

Forgetting a network is not permanent. You can reconnect at any time as long as you have the network password.

  1. Click the WiFi icon in the menu bar at the top-right of your screen.
  2. Select the network name from the list of available networks.
  3. If the network is secured, enter the password when prompted.
  4. Choose whether you want your Mac to remember this network and auto-join in the future.
  5. Click Join.

If you previously used Keychain Access to delete the password but did not forget the network through System Settings, your Mac may still attempt to connect but fail because it lacks the credential. In that case, use the graphical method to forget the network first, then reconnect fresh.

Tips and Best Practices for Managing WiFi Networks on Mac

Managing your saved networks proactively can improve both performance and security. Consider these best practices as part of your regular Mac maintenance routine.

Forget Public Networks After Use

Whenever you connect to a guest network at a hotel, airport, or coffee shop, forget it before you leave. This prevents your Mac from attempting to reconnect automatically if you pass by the same location in the future.

Review Your Network List Periodically

Every few months, open your WiFi settings and scroll through your preferred networks. Remove anything you no longer use. A shorter list reduces confusion and minimizes the chance of connecting to the wrong network with a similar name.

Write Down Passwords Before Forgetting

If you think you might need to reconnect later, make sure you know the password before you forget the network. Once it is removed from your Mac, you will need to obtain the password again from the network administrator or router settings.

Disable Auto-Join for Untrusted Networks

Instead of forgetting a network entirely, you can sometimes keep it saved but disable auto-join. This allows you to connect manually when needed without your Mac joining automatically in the background.

Use Strong, Unique Passwords

For networks you control, such as your home WiFi, use a strong password and update it periodically. When you change the router password, remember to forget the old network on your Mac and reconnect with the new credentials.

Managing Known Networks and Auto-Join Settings

Not every unwanted connection requires complete removal. macOS gives you granular control over how your Mac interacts with known networks.

Turn Off Auto-Join

In the WiFi settings, look for an Auto-Join checkbox next to individual networks. Unchecking this stops your Mac from joining the network automatically while keeping the password saved for manual use. This is ideal for networks you visit occasionally but do not want prioritized.

Reorder Preferred Networks

On older versions of macOS, you can drag networks in the Preferred Networks list to change the order. Your Mac attempts to join networks in the order they appear, so placing your most-used network at the top ensures faster connections in areas with multiple saved signals.

Remove Outdated Enterprise Profiles

If your Mac was previously connected to a corporate or school network, there may be configuration profiles managing certificates and proxy settings. These profiles can persist even after you forget the network. Check System Settings > General > Profiles (or System Preferences > Profiles on older macOS) and remove any profiles you no longer need.

Security Considerations When Forgetting Networks

Saved WiFi passwords are stored in your Mac’s Keychain, which is encrypted and tied to your user account. However, anyone with physical access to your Mac and your login password could potentially view saved credentials. Forgetting networks reduces this attack surface.

If you are handing your Mac to someone else, even temporarily, consider forgetting sensitive networks such as your home WiFi, office network, or any network that uses personal credentials. Combine this with logging out of iCloud and other accounts for maximum privacy.

For public networks, remember that forgetting the network on your Mac does not encrypt past traffic or erase browsing history. It only stops future automatic connections. For sensitive activities on public WiFi, use a reputable virtual private network (VPN) in addition to good network hygiene.

Frequently Asked Questions

Will forgetting a network remove the password from iCloud Keychain?

Forgetting a network on your Mac typically removes it from that device. If you use iCloud Keychain, the password may still exist on other Apple devices signed into the same Apple ID. To remove it everywhere, forget the network on each device or manage iCloud Keychain settings.

Can I forget a network I am not currently connected to?

Yes. You do not need to be connected to a network to forget it. As long as the network appears in your list of preferred or known networks, you can remove it using any of the methods described in this guide.

What is the difference between disconnecting and forgetting a network?

Disconnecting ends your current session but saves the network and password for future automatic connections. Forgetting removes the network from your Mac’s memory entirely, so you must re-enter the password to connect again.

Will forgetting a network on Mac affect my iPhone or iPad?

No, unless you are relying on iCloud Keychain syncing. Each device maintains its own list of known networks. Forgetting a network on your Mac has no direct impact on your iPhone, iPad, or other non-Apple devices.

Can I recover a forgotten WiFi password from my Mac?

If you deleted the entry from Keychain Access, it is generally not recoverable from your Mac. You would need to obtain the password again from the router, the network administrator, or another device that is still connected.

How many WiFi networks can a Mac save?

macOS does not publish a strict limit, but practical performance can degrade if you save hundreds of networks. Keeping the list manageable is better for both organization and connection speed.

Does forgetting WiFi networks improve internet speed?

Forgetting networks does not directly increase your internet speed. However, it can prevent your Mac from wasting time attempting to connect to weak or outdated signals, which may make your overall WiFi experience feel more responsive.

Conclusion

Learning How to Forget the Wifi Network on Mac? is a simple but valuable skill that helps you maintain control over your device’s connections, protect your privacy, and troubleshoot common wireless problems. Whether you prefer the visual approach of System Settings and System Preferences, the thoroughness of Keychain Access, or the precision of Terminal, macOS gives you multiple ways to remove saved networks.

By regularly reviewing your preferred networks, forgetting public and outdated connections, and understanding what happens when you remove a network, you can keep your Mac running smoothly and securely. And because forgetting is never permanent, you can always reconnect later whenever you need to.