The short version: on macOS Ventura or later, go to System Settings → Wi-Fi → click Details next to the network → click Forget This Network → click Remove. On macOS Monterey and earlier, go to System Preferences → Network → Wi-Fi → Advanced → select the network → click the minus (–) button → click OK → click Apply. That last step — Apply — is the one most people skip, which is exactly why the network comes back after a restart.
If you’ve already done those steps and the network keeps reappearing, iCloud Keychain is almost certainly the reason. It syncs your saved Wi-Fi passwords across all your Apple devices. Delete the network on your Mac, and your iPhone or iPad quietly pushes it back. The fix is to forget the network on every device, or remove the password entry from Keychain Access directly. Both approaches are covered below, along with what to do when the “Forget This Network” button is grayed out or missing entirely.
According to Apple’s official support documentation (last updated December 5, 2025), the steps differ depending on your macOS version — and that split causes a lot of confusion. This guide covers both paths clearly, plus the troubleshooting scenarios that Apple’s page doesn’t fully address.
Who This Guide Is For
✅ Read On If You
- Changed a Wi-Fi password and your Mac keeps trying to connect with the old one
- Want to stop automatically connecting to a hotel, café, or old network
- Tried to forget a network and it keeps coming back after restart
- Are preparing to sell your Mac and want to clear saved credentials
- See the “Forget This Network” button grayed out and aren’t sure why
❌ This Won’t Help If You
- Are on a supervised or MDM-managed work Mac — your IT admin controls network settings
- Want to prevent the network from appearing in your available networks list — forgetting a network doesn’t hide SSIDs your Mac can physically detect
How to Forget a Wi-Fi Network on macOS Ventura, Sonoma, or Later
Apple redesigned System Preferences into System Settings with macOS Ventura (13.0), so the navigation path is different from older versions. The steps below apply to macOS Ventura, Sonoma, and Sequoia. Check our how-to guides for other macOS-related tips.
Forget the Network You’re Currently Connected To
- Click the Apple menu () in the top-left corner and choose System Settings.
- Click Wi-Fi in the sidebar.
- Click Details next to the network name you’re currently using.
- Click Forget This Network.
- Click Remove to confirm.
Your Mac disconnects immediately and removes the network from its known list.
Forget a Network You’re Not Currently Using
If you want to remove a saved network you’re not connected to right now:
- Open System Settings → Wi-Fi.
- Scroll down on the right side and click Advanced.
- Find the network in the list. Click the menu button (…) next to it.
- Choose Remove From List.
- Click Forget to confirm.
How to Forget a Wi-Fi Network on macOS Monterey, Big Sur, Catalina (and Earlier)
On macOS Monterey (12) and older, the settings live in System Preferences rather than System Settings. The path is a bit more buried — and there’s a gotcha at the end that trips up a lot of people.
- Click the Apple menu and choose System Preferences.
- Click Network.
- Select Wi-Fi in the left sidebar.
- Click the Advanced button (bottom right).
- In the Preferred Networks list, click the network you want to remove to select it.
- Click the minus (–) button below the list.
- Click OK to close the Advanced window.
- Click Apply in the main Network window.
Don’t skip Step 8. The Apply button is what actually saves the change. If you close the window without clicking it, the network reappears the next time you open Network preferences — or after a restart. This single missed step accounts for a huge portion of “why won’t my Mac forget this network” complaints.
Quick Reference: Which Steps Apply to Your macOS
| macOS Version | Settings App | Path to Wi-Fi List | Apply Required? |
|---|---|---|---|
| Sequoia (15), Sonoma (14), Ventura (13) | System Settings | Wi-Fi → Details or Advanced | No (auto-saves) |
| Monterey (12), Big Sur (11) | System Preferences | Network → Wi-Fi → Advanced | Yes — required |
| Catalina (10.15) and earlier | System Preferences | Network → Wi-Fi → Advanced | Yes — required |
Not sure which macOS you’re running? Click the Apple menu → About This Mac to check.
Why Your Mac Keeps Reconnecting After You Forget a Network
You followed the steps. You clicked Apply. You restarted. The network is back. Here’s what’s actually happening.
The iCloud Keychain Problem
iCloud Keychain stores your Wi-Fi passwords and syncs them across all your Apple devices. When you delete a network on your Mac, if your iPhone, iPad, or another Mac still has that network saved, iCloud Keychain can push it right back.
The fix: forget the network on every Apple device you own — Mac, iPhone, iPad, and any other Mac on the same Apple ID. On iPhone and iPad, go to Settings → Wi-Fi → tap the (i) icon next to the network → tap Forget This Network.
If you want to go deeper, you can remove the Wi-Fi password entry from Keychain Access directly on your Mac:
Remove the Wi-Fi Password from Keychain Access
- Open Keychain Access (find it in Applications → Utilities, or search with Spotlight).
- In the search bar, type the name of the Wi-Fi network (the SSID).
- Look for an entry with the kind “AirPort network password”.
- Right-click that entry and choose Delete, or select it and press the Delete key.
- Confirm when prompted.
This removes the stored password from your Mac’s local Keychain. If iCloud Keychain sync is enabled, you may need to do this on other devices too — or temporarily turn off iCloud Keychain sync during the cleanup.
For more Mac troubleshooting tips, browse the ChubbytIps how-to section.
The Apply Button (Older macOS)
On macOS Monterey and earlier, changes to the preferred networks list don’t save unless you click Apply in the main Network preferences window. It’s a separate step from clicking OK in the Advanced dialog. If you only clicked OK and closed the window, the change was never saved.
What to Do When “Forget This Network” Is Grayed Out or Missing
Three different situations can cause this — and the fix depends on which one applies to you:
1. Settings Are Locked (Admin Password Required)
On older macOS, network settings can be locked to prevent accidental changes. Look for a padlock icon in the bottom-left corner of the Network Preferences window. Click it, enter your Mac’s admin username and password, then click Unlock. The list should become editable. (Fing’s guide also covers this step if you want a visual walkthrough.)
2. Your Mac Is Managed by an Organization (MDM/Supervised)
Work Macs enrolled in mobile device management (MDM) may have Wi-Fi networks locked in place by your IT team. According to Apple, supervised devices may not have the option to forget certain networks. Contact your IT administrator — this isn’t something you can override yourself.
3. Your Mac Never Actually Joined the Network
You can only forget networks your Mac has previously connected to. If the network just appears in the available list but you’ve never joined it, the forget option won’t appear. Your Mac can detect the SSID but has no saved credentials to remove.
Alternative: Turn Off Auto-Join Instead of Forgetting
Sometimes you don’t want to forget a network entirely — you just want to stop your Mac from jumping on it automatically. Turning off Auto-Join keeps the saved password but puts you in control of when to connect.
macOS Ventura or Later
- Open System Settings → Wi-Fi.
- Click Details next to the network.
- Toggle off Auto-Join.
macOS Monterey and Earlier
- Open System Preferences → Network → Wi-Fi → Advanced.
- Select the network.
- Uncheck “Automatically join this network”.
- Click OK → Apply.
The practical difference: forgetting removes the network and its password from your Mac entirely. Turning off Auto-Join keeps the password on file — you just have to manually select the network when you want to connect. If security is your concern (like before selling your Mac), forget it. If you just find it annoying to auto-connect somewhere, turning off Auto-Join is enough.
Forget Networks Before Selling Your Mac
If you’re selling or giving away your Mac, forgetting saved Wi-Fi networks is part of the cleanup — but there’s a step most guides miss.
When you connect to Wi-Fi during macOS recovery mode, your Mac stores that network’s password in NVRAM (non-volatile RAM). Erasing your drive and reinstalling macOS doesn’t clear NVRAM, so a new owner could potentially access your home network from recovery mode.
On Intel Macs, you can clear NVRAM manually:
- Shut down your Mac completely.
- Press the power button.
- Immediately hold Command + Option + P + R simultaneously.
- Keep holding for about 20 seconds (you may hear the startup chime twice, or see the Apple logo appear and disappear).
- Release the keys and let the Mac start normally.
On Apple Silicon Macs (M1, M2, M3, M4 series), this manual reset isn’t necessary and doesn’t apply — Apple confirms that these Macs handle NVRAM differently and reset it automatically.
For a complete pre-sale checklist, Apple’s official guide covers what to do before you sell, give away, or trade in your Mac. More device-prep tips are available in the ChubbytIps how-to section.
Power User Method: Remove a Network via Terminal
If you’re comfortable with the command line, macOS includes a built-in tool called networksetup that can remove saved networks without touching the GUI. This is useful for bulk removal or when System Settings isn’t cooperating.
Open Terminal (Applications → Utilities) and run:
sudo networksetup -removepreferredwirelessnetwork en0 "YourNetworkName"
Replace "YourNetworkName" with the exact SSID of the network (it’s case-sensitive). The en0 refers to the Wi-Fi interface — on most Macs this is correct, but you can verify yours by running:
networksetup -listallhardwareports
Look for the entry labeled “Wi-Fi” and note the corresponding Device name (en0, en1, etc.). The sudo command will prompt for your admin password.
The networksetup utility has been part of macOS since OS X Leopard, so this command works on any supported Mac. See the full list of commands by running man networksetup in Terminal.
Frequently Asked Questions
Does forgetting a network delete the password from my Mac?
Forgetting a network removes it from your Mac’s list of known networks and should remove the associated password from your local Keychain. To be certain the password is gone, open Keychain Access, search for the network name, and delete any “AirPort network password” entry manually.
Will forgetting a network on my Mac also remove it from my iPhone and iPad?
Not automatically. If iCloud Keychain is enabled, your Apple devices share saved Wi-Fi networks, but forgetting one on your Mac doesn’t push that deletion to other devices. You’ll need to forget it on each device individually — iPhone, iPad, and any other Macs signed into the same Apple ID.
Can I forget a network I’m not currently connected to?
Yes. On macOS Ventura or later, go to System Settings → Wi-Fi → Advanced to see all saved networks, not just the one you’re on. On older macOS, the same list lives in System Preferences → Network → Wi-Fi → Advanced. From there you can select and remove any previously joined network.
How do I delete all saved Wi-Fi networks at once on a Mac?
There’s no single “clear all” button in the GUI. Your fastest option is Terminal: run sudo networksetup -removepreferredwirelessnetwork en0 "NetworkName" for each network, or use networksetup -listpreferredwirelessnetworks en0 first to see the full list. Alternatively, open Keychain Access and search for “AirPort network password” to find and bulk-delete all stored Wi-Fi passwords.
Why does the forgotten network still show up in my available networks list?
That’s expected behavior. According to Apple, forgetting a network doesn’t prevent your Mac from detecting it — it only stops your Mac from automatically connecting. The network’s SSID is broadcast by the router, not stored on your Mac, so it will always appear in range as long as the router is on.
How do I clear Wi-Fi info from a Mac I’m selling (including recovery mode)?
On Intel Macs, reset NVRAM by holding Command + Option + P + R at startup for 20 seconds. This clears Wi-Fi credentials stored in recovery mode. On Apple Silicon Macs (M1 and later), this step isn’t needed — NVRAM is handled differently. Also erase your drive and reinstall macOS as part of the full wipe process.
Does this work the same on MacBook Air, MacBook Pro, Mac mini, and iMac?
Yes. The steps are identical across all Mac models — what matters is the macOS version, not the hardware. All Macs running the same version of macOS use the same System Settings or System Preferences interface for Wi-Fi management.
What’s the difference between forgetting a network and turning off Wi-Fi?
Turning off Wi-Fi disconnects you from all networks temporarily — when you turn it back on, your Mac will try to rejoin known networks. Forgetting a network removes it from the saved list permanently, so your Mac won’t reconnect to it even when Wi-Fi is on. If you want a temporary disconnect, use the Wi-Fi toggle. If you want to prevent reconnection going forward, forget the network.
For more Mac how-to guides and tech tips, browse the ChubbytIps how-to section.

