What a Wi-Fi Connection Error Means
A Wi-Fi connection error on a Mac is a common issue where the computer cannot establish a connection with a wireless network. Symptoms include:
- The network appears in the list, but the connection fails.
- A message like "Failed to join the network" or "No internet connection" appears.
- The Wi-Fi network doesn't appear in the list of available networks at all.
- The connection drops periodically.
This error does not have a single system code in macOS but may be accompanied by notifications in the console (e.g., kCFErrorDomainCFNetwork error -3905). The problem can affect any version of macOS and all Mac models, including Apple Silicon and Intel.
Common Causes
- Wi-Fi module disabled — Wi-Fi is turned off in System Settings or the hardware switch (on older models) is off.
- Router issues — The router is off, overloaded, has outdated firmware, or there is a channel conflict.
- Incorrect network settings — Wrong password, outdated network profile, IP address conflict.
- Conflicting applications — A firewall, antivirus, or network utility is blocking the connection.
- Corrupted network system files — Preference files in
/Library/Preferences/SystemConfigurationare damaged. - Outdated software — Old version of macOS or Wi-Fi drivers.
- Hardware failure — Damaged Wi-Fi module (rare, but possible after a drop or liquid exposure).
Method 1: Check Basic Settings and Restart
Start with simple steps that solve most problems:
- Ensure Wi-Fi is enabled:
- Open System Settings → Network.
- Select Wi-Fi in the left-hand list and check that the status is "On".
- Or click the Wi-Fi icon in the menu bar (top-right) and ensure the checkbox is ticked.
- Check the router:
- Make sure the router is powered on and its indicators show activity.
- Connect to the same network from another device (phone, laptop). If other devices also fail, the problem is with the router.
- Restart the router: unplug the power cable for 30 seconds, then plug it back in.
- Restart your Mac:
- Click the Apple menu → Restart.
- After restarting, try connecting again.
- Verify the password:
- If the network is hidden (SSID not displayed), ensure you are entering the correct network name and password.
- Confirm the password with your network administrator.
Method 2: Delete and Re-add the Network
Sometimes the saved network profile gets corrupted. Remove the network and add it again:
- Open System Settings → Network.
- Select Wi-Fi from the list on the left.
- In the "Network Name" section, click the arrow next to the current network name and select Remove This Network.
- Click Apply.
- Now click Add Network (the "+" button or "Add Network" at the bottom).
- Enter:
- Network Name (SSID) — the exact name of your Wi-Fi network.
- Security Type — select from the list (WPA2 Personal, WPA3, etc., as configured on your router).
- Password — enter the network key.
- Click Apply and try to connect.
Method 3: Reset Network Settings
If the previous steps didn't help, perform a full network settings reset. There are two options.
Option A: Via the Hidden Menu (Quick)
- Hold the Option (Alt) key and click the Wi-Fi icon in the menu bar (top-right).
- A Reset Network Settings option (may be labeled "Reset network settings") will appear in the dropdown menu.
- Select it. Your Mac will delete all saved networks and restart.
⚠️ Important: After the reset, you will need to reconnect to all Wi-Fi networks and re-enter passwords.
Option B: Via Terminal (More Reliable)
This method deletes system network preference files, which are often the source of corruption.
- Open Terminal (via Finder → Applications → Utilities or Spotlight search).
- Enter the following commands one by one, pressing Enter after each. You will need the administrator password:
sudo rm /Library/Preferences/SystemConfiguration/com.apple.network.eppc.plist
sudo rm /Library/Preferences/SystemConfiguration/com.apple.network.identification.plist
sudo rm /Library/Preferences/SystemConfiguration/com.apple.wifi.message-tracer.plist
sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
sudo rm /Library/Preferences/SystemConfiguration/preferences.plist
- After running all commands, restart your Mac:
sudo reboot
- After reboot, your Mac will automatically create new preference files. Reconnect to your Wi-Fi.
Method 4: Update Software
Outdated software often causes compatibility issues:
- Update macOS:
- Open System Settings → General → Software Update.
- Install all available updates. Even minor updates may contain fixes for network drivers.
- Update router firmware:
- Identify your router model (usually on a label on the bottom).
- Open a browser and go to your router's address (often
192.168.1.1or192.168.0.1). - Log in to the admin panel (default login/password is often
admin/adminor listed on the router). - Find the Firmware Update section and follow the instructions.
- Restart the router after updating.
Method 5: Safe Mode Diagnostics and NVRAM/SMC Reset
Safe Mode
Safe Mode boots macOS with a minimal set of drivers and extensions. If Wi-Fi works in Safe Mode, the problem is caused by third-party software.
For Apple Silicon Macs (M1/M2/M3):
- Shut down your Mac.
- Hold the Power button until startup options appear.
- Select your disk, hold Shift, and click Continue in Safe Mode.
- After booting, check Wi-Fi.
For Intel-based Macs:
- Shut down your Mac.
- Turn it on and immediately hold the Shift key. Release it when the login window appears.
- Log in (you may need to log in twice).
- Check Wi-Fi.
If Wi-Fi works in Safe Mode, uninstall any recently installed network utilities, antivirus software, or kernel extensions.
Reset NVRAM/PRAM and SMC (Intel Macs Only)
Reset NVRAM/PRAM:
- Shut down your Mac.
- Turn it on and immediately hold Option + Command + P + R.
- Hold for about 20 seconds (on Macs with T2, you can release after the second startup sound).
- Release and wait for boot.
Reset SMC (power management, for Intel):
- For MacBook with non-removable battery: shut down, connect power, hold Shift + Control + Option + Power for 10 seconds, release, and turn on.
- For Mac mini/iMac: shut down, unplug power cord for 15 seconds, plug back in, and turn on.
For Apple Silicon Macs, these procedures are not required — simply restart your Mac.
Method 6: Contact Apple Support
If none of the methods helped, there may be a hardware failure with the Wi-Fi module (especially on older or physically damaged devices). In this case:
- Bookmark an appointment at a Genius Bar (via the "Apple Store" app or Apple website).
- Or contact Apple Support by phone or chat.
- Before contacting, prepare:
- Your Mac's serial number (via Apple menu → About This Mac).
- Your macOS version.
- A list of troubleshooting steps you've already performed.
Prevention
To avoid recurring Wi-Fi issues:
- Regularly update macOS and router firmware — install updates as soon as they become available.
- Avoid installing untrusted network utilities — they may conflict with system drivers.
- Use strong Wi-Fi passwords (WPA2/WPA3) and avoid hidden networks unless necessary.
- When replacing your router, immediately update network settings on your Mac (delete the old network and add the new one).
- Periodically flush the DNS cache (run
sudo dscacheutil -flushcachein Terminal) if the internet is slow or pages won't load. - Avoid overloading your router — disconnect unused devices, especially if you have an older router.
Following these recommendations will minimize the risk of losing your Wi-Fi connection on your Mac.