Stop Your Mac Joining the Wrong Wi-Fi Network
In this article
To stop your Mac from connecting to the wrong Wi-Fi network, you need to remove that network from your saved list and then re-add the correct one with priority settings. The quickest fix is to forget the unwanted network in System Settings, then join your preferred network and set it as your primary choice. Below is the full step-by-step process, plus tips to prevent it from happening again.
What You'll Need
- Your Mac, with administrator access (you'll need to enter your password for some steps).
- Access to the Wi-Fi network you actually want to use (its name and password).
- If you're in a location with multiple networks (like a home with a router and extender), know which one is your main network.
Step-by-Step
- Open Wi-Fi settings. Click the Wi-Fi icon in the menu bar at the top of your screen, then select Wi-Fi Settings… (or go to System Settings > Wi-Fi). The exact wording may vary slightly depending on your macOS version.
- Find the wrong network in your known networks list. Scroll down to the section labeled Known Networks (or Preferred Networks on older macOS versions). This list shows all Wi-Fi networks your Mac remembers.
- Forget the unwanted network. Click the i (info) button next to the network you don't want to connect to. Then click Forget This Network and confirm. This removes it from your saved networks, so your Mac will no longer auto-join it.
- Join your preferred network. Click the Wi-Fi icon in the menu bar, select your correct network from the list, and enter its password if prompted. Your Mac will connect to it now.
- Set the preferred network as your primary (if needed). In Wi-Fi settings, under Known Networks, your Mac automatically prioritizes networks by the order they appear. To manually reorder, click the Edit button (pencil icon) at the bottom of the list, then drag your preferred network to the top. Click Done to save.
- Disable auto-join for other networks (optional). If you still see other networks in your Known Networks list that you don't want to connect to, click the i next to each one and toggle off Auto-Join. This keeps the network saved but prevents your Mac from connecting to it automatically.
Common Mistakes
- Forgetting the wrong network. Double-check the network name (SSID) before clicking "Forget." If you forget your actual home network, you'll have to re-enter its password.
- Not reordering the list. Even after forgetting the wrong network, if you have multiple saved networks, your Mac will still try to connect to the one at the top of the list. Make sure your preferred network is at the top.
- Ignoring the password prompt. If you join the correct network but enter the wrong password, your Mac may fall back to the wrong network. Always double-check the password.
- Assuming "Auto-Join" is off by default. It's on by default for every network you join. You must manually turn it off for networks you don't want.
Tips
- Use the same network name (SSID) for all your access points. If you have a router and a range extender, give them the same network name and password. Your Mac will then roam between them seamlessly without you needing to manage separate entries.
- Rename your networks clearly. If you have multiple networks, avoid similar names like "Home" and "Home_5G." Clear, distinct names reduce confusion.
- Turn off "Ask to Join Networks" for public networks. In Wi-Fi settings, under Ask to Join Networks, choose Off or Notify instead of "Ask." This prevents your Mac from prompting you to join random open networks.
- Restart your Mac after making changes. This ensures the new network priority is applied cleanly.
Troubleshooting
If your Mac still connects to the wrong network after following the steps:
- Check if the wrong network is still in your list. Go back to Wi-Fi settings and verify that you actually forgot it. If it's still there, repeat the forget step and make sure you click "Forget" in the confirmation dialog.
- Reboot your router and Mac. Sometimes a stale connection persists. Turn off your Mac and your router, wait 30 seconds, then turn them back on.
- Delete the wrong network from your Keychain. Open Keychain Access (in Applications > Utilities), search for the network name, and delete any entries related to it. This clears old saved passwords that might cause conflicts.
- Reset your Mac's network settings. Go to System Settings > General > Transfer or Reset > Reset, then choose Reset Network Settings. This clears all saved Wi-Fi networks and settings, so you'll need to rejoin your preferred network. This is a last resort because it removes all saved Wi-Fi passwords.
- Check for macOS updates. Sometimes Wi-Fi bugs are fixed in software updates. Go to System Settings > General > Software Update and install any available updates.
Frequently Asked Questions
Why does my Mac keep connecting to the wrong Wi-Fi even after I forget it?
If you forgot the network but it still appears, it may be saved in your iCloud Keychain. Go to System Settings > Apple ID > iCloud and make sure Keychain is enabled, then remove the network again. If that doesn't work, disable and re-enable iCloud Keychain to sync the removal.
Can I set a preferred network order on a Mac?
Yes. In Wi-Fi settings, under Known Networks, click the Edit button (pencil icon) and drag networks into your preferred order. The topmost network is the one your Mac will try first.
What does "Auto-Join" do?
Auto-Join makes your Mac connect to that network automatically whenever it's in range. Turning it off for a network means your Mac won't connect to it unless you manually select it.
Will forgetting a network delete its password?
Yes, forgetting a network removes the saved password from your Mac. You'll need to re-enter it if you ever want to join that network again.
Why does my Mac sometimes connect to a weaker signal instead of my strong one?
macOS uses a combination of signal strength and network priority. If the weaker network is higher in your Known Networks list, it will be tried first. Reorder your networks so your strong network is at the top.
Is there a way to stop my Mac from asking to join random networks?
Yes. In Wi-Fi settings, under Ask to Join Networks, select Off or Notify. "Off" means you'll never be prompted; "Notify" shows a notification but doesn't automatically connect.