Problems connecting to Wi-Fi on MacBook or iMac can occur for various reasons: from bugs in macOS to conflicts with router settings. Often the most effective solution is reset network settings — a procedure that resets all wireless network settings to their default state. But how do you do it correctly to avoid losing important data and making the situation worse?
In this article you will find Three proven methods for resetting Wi-Fi on a Mac — from simply deleting saved networks to completely resetting the network configuration via Terminal. We'll also discuss when each method is applicable and warn against common mistakes users make when trying to fix their internet connection themselves. If your Mac If your network stubbornly refuses to connect, constantly asks for a password, or displays the error "Unable to connect to the network," these instructions will help you restore a stable connection.
When to reset Wi-Fi settings on a Mac
Before resorting to drastic measures, make sure that the problem really lies in the settings. Mac, not the router or ISP. Here are some signs that a reset is warranted:
- 🔄 Mac won't connect to Wi-Fi, although other devices (smartphone, tablet) work fine.
- 🔒 The system constantly asks for the password for a network that you have already saved previously.
- 📶 The network appears in the list, but when connecting, an error occurs:
Failed to obtain IP address». - 🐢 Internet speed on Mac significantly lower than on other gadgets on the same network.
- ⚠️ After the update macOS Access to previously working networks has been lost.
If you are familiar with any of these symptoms, a factory reset will likely help. However, don't rush to dump everything: Start with the most gentle method (removing a specific network) and only if that doesn't work, move on to more in-depth settings.
⚠️ Attention: If the problem appeared after changing the router settings (for example, changing the password or network name), first try simply update connection data manually. Reset to Mac in this case it is not required.
Method 1: Deleting a saved Wi-Fi network
The easiest and safest method is to remove the problematic network from your list of saved connections. This doesn't affect other settings. Mac, but often solves problems with authorization or connection.
How to do it:
- Open the menu Wi-Fi in the upper right corner of the screen (antenna icon).
- Select an item
Network settings...- a window will openSystem Preferences → Network. - In the left part of the window, select
Wi-Fi, then press the buttonAdditionally...in the lower right corner. - Go to the tab
Wi-Fi(if it is not active by default). - On the list
Preferred networksFind the problematic network, select it and click the "–» (minus) below the list. - Confirm deletion by clicking
Delete. - Click
OK, thenApplyto save the changes.
After this, try connecting to the network again, entering the password. If the network was successfully removed but the problem persists, proceed to the next method.
☑️ Preparing to delete a Wi-Fi network
Method 2: Reset Location Services and Network Settings
If deleting the network doesn't help, the next step is a reset location services And network settings via Terminal. This method is more in-depth: it clears the DNS cache, resets proxy settings, and restores network settings to factory defaults. Attention: After this procedure, you will have to re-enter passwords for all saved networks.
Instructions:
- Open
Terminal(can be found viaSpotlightby clickingCmd + Spaceand entering "Terminal"). - Enter the following commands one by one by pressing
Enterafter each:sudo ifconfig en0 downsudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
sudo rm /Library/Preferences/SystemConfiguration/preferences.plist
sudo rm ~/Library/Preferences/ByHost/com.apple.networkConnect*
sudo rm ~/Library/Preferences/com.apple.network.identification.plist
sudo killall -HUP mDNSResponder
sudo ifconfig en0 up - After entering each command, the system may ask for an administrator password - enter it (symbols will not be displayed as you enter).
- Reboot Mac.
After rebooting, all network settings will be reset. You will need to reconnect to Wi-Fi, entering the password as you did the first time.
⚠️ Attention: If you use VPN If you have any special proxy settings (for example, for work), write down their parameters in advance. After resetting, you'll have to reconfigure them!
What do these commands do?
ifconfig en0 down/up- temporarily disables and enables the network interfaceen0(Wi-Fi).rm /Library/Preferences/...— deletes network configuration files where connection settings are stored.killall -HUP mDNSResponder— restarts the DNS service, which is responsible for resolving domain names.
Method 3: Full reset of NVRAM/PRAM and SMC
If the previous two methods did not work, the problem may lie in non-volatile memory (NVRAM/PRAM) or system management controller (SMC)These components store low-level settings, including network parameters. Resetting them is a last resort, but sometimes it's the only solution for serious problems.
Reset NVRAM/PRAM:
- Turn it off Mac.
- Turn it on and immediately hold down the keys
Option (⌥) + Command (⌘) + P + R. - Hold them for about 20 seconds until Mac will not reboot (you will hear the startup sound a second time).
- Release the keys and let the system boot.
Reset SMC:
The procedure depends on the model. Mac:
- 💻 MacBook with non-removable battery (2018 and newer):
- Turn it off MacBook.
- Clamp
Control (⌃) + Option (⌥) + Shifton left side of the keyboard. - While holding them, press and hold the power button for 10 seconds.
- Release all keys, then turn on MacBook as usual.
- Turn it off Mac.
- Disconnect the power cable and wait 15 seconds.
- Reconnect the cable and turn on the device.
- 🔧 Update macOS: Go to
System Settings → Software Updateand install the latest updates. Sometimes network bugs are fixed in newer versions of the system. - 📡 Check your router: Reboot it (turn it off for 30 seconds), change the Wi-Fi channel in the settings (with
Autoon6or11), disable the functionWPS, if it is enabled. - 🛠️ Equipment diagnostics: Launch
Apple Diagnostics(on Mac with a processor Apple Silicon —Apple Silicon Diagnostics), holdingDwhen turned on. This will help identify hardware problems. - 🔄 Create a new user: Sometimes the problem lies in the user profile. Create a temporary account in
System Preferences → Users & Groupsand check the Wi-Fi underneath it.
After resetting the SMC/NVRAM, check your Wi-Fi connection. If the problem persists, it's possible there's a hardware issue (such as a faulty Wi-Fi module).
Table: Which reset method to choose
| Symptom | Recommended method | lead time | Is an administrator password required? |
|---|---|---|---|
| Mac asks for password for saved network | Removing a network (Method 1) | 1-2 minutes | No |
| Error "Failed to obtain IP address" | Reset network settings (Method 2) | 5-10 minutes | Yes |
| Wi-Fi won't turn on or won't detect any networks. | Resetting NVRAM + SMC (Method 3) | 10-15 minutes | No |
| Slow internet only on Mac | Reset network settings (Method 2) or delete the network (Method 1) | 2-10 minutes | Yes (for Method 2) |
What to do if resetting doesn't help
If after all the manipulations the Wi-Fi is on Mac Still not working, check the following:
If this doesn't help, it might be faulty. Wi-Fi module yours MacIn this case, please contact the service center. Apple or authorized repair. For MacBook If the module is older than 5 years, replacing it may be cheaper than buying a new device.
⚠️ Attention: On some models MacBook Pro (2016–2017) There is a known issue with the Wi-Fi module failing due to overheating. If your device is from this series, please check it. Apple's replacement program (even if the warranty has expired).
How to avoid Wi-Fi problems in the future
To minimize the risk of recurring failures, follow these guidelines:
- 🔄 Keep macOS up to date. Many network bugs are fixed in minor updates.
- 📶 Don't save public networks. Networks in cafes, airports, and hotels often change settings, leading to conflicts. Connect to them manually as needed.
- 🔒 Use a static IP (if necessary). If your router supports IP reservation by MAC address, configure it for Mac - this will prevent errors in obtaining the address.
- 🛡️ Disable automatic connection to unknown networks. In the Wi-Fi settings (
System Preferences → Network → Advanced) uncheckAutomatically join this networkfor unnecessary access points.
Also useful from time to time clear DNS cache manually. To do this, Terminal run the command:
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder
FAQ: Frequently asked questions about resetting Wi-Fi on a Mac
Is it possible to reset Wi-Fi settings for just one network without affecting others?
Yes, to do this you just need to remove a specific network from the list of preferred ones (see Method 1). Other saved networks and passwords will remain intact.
After resetting, my Mac can't see any Wi-Fi networks. What should I do?
Your network adapter settings may be corrupted. Try:
- Reboot Mac.
- Reset NVRAM/PRAM.
- Check if Wi-Fi is enabled in the status menu (antenna icon).
- If nothing helps, contact the service center (the module may be faulty).
Do I need to make a backup before resetting network settings?
A backup is not necessary, as the reset only affects network settings and not user data. However, if you are using VPN or proxy If you have manual settings, write down their parameters in advance - after the reset, you will have to enter them again.
How to reset Wi-Fi on a Mac with an M1/M2 chip?
The procedure is no different from Mac on processors IntelAll the described methods (removing the network, resetting via Terminal, NVRAM/PRAM) also work on Apple SiliconThe only difference is the reset. SMC not required on M1/M2 (they have a different power management architecture).
Why did Wi-Fi disappear after updating macOS?
This is a common problem when upgrading to a new OS version. The most common solution is:
- Deleting the network and reconnecting.
- Reset network settings via Terminal.
- Installing additional updates (sometimes Apple releases patches to fix network bugs).
If the problem persists, check the forums Apple (For example, Apple Support Communities), perhaps this is a widespread bug and there is already a solution.