How to completely reset Wi-Fi settings on a Mac: from deleting networks to a factory reset

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.
📊 What caused your Mac's Wi-Fi to reset?
Doesn't connect to the network
Constantly asks for a password
Slow internet
Error after updating macOS
Another reason

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:

  1. Open the menu Wi-Fi in the upper right corner of the screen (antenna icon).
  2. Select an item Network settings... - a window will open System Preferences → Network.
  3. In the left part of the window, select Wi-Fi, then press the button Additionally... in the lower right corner.
  4. Go to the tab Wi-Fi (if it is not active by default).
  5. On the list Preferred networks Find the problematic network, select it and click the "» (minus) below the list.
  6. Confirm deletion by clicking Delete.
  7. Click OK, then Applyto 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

Completed: 0 / 4

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:

  1. Open Terminal (can be found via Spotlightby clicking Cmd + Space and entering "Terminal").
  2. Enter the following commands one by one by pressing Enter after each:
    sudo ifconfig en0 down
    

    sudo 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

  3. After entering each command, the system may ask for an administrator password - enter it (symbols will not be displayed as you enter).
  4. 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 interface en0 (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:

  1. Turn it off Mac.
  2. Turn it on and immediately hold down the keys Option (⌥) + Command (⌘) + P + R.
  3. Hold them for about 20 seconds until Mac will not reboot (you will hear the startup sound a second time).
  4. 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):
    1. Turn it off MacBook.
    2. Clamp Control (⌃) + Option (⌥) + Shift on left side of the keyboard.
    3. While holding them, press and hold the power button for 10 seconds.
    4. Release all keys, then turn on MacBook as usual.
  • 🖥️ iMac, Mac mini, Mac Pro:
    1. Turn it off Mac.
    2. Disconnect the power cable and wait 15 seconds.
    3. Reconnect the cable and turn on the device.
    4. 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:

      • 🔧 Update macOS: Go to System Settings → Software Update and 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 Auto on 6 or 11), disable the function WPS, if it is enabled.
      • 🛠️ Equipment diagnostics: Launch Apple Diagnostics (on Mac with a processor Apple SiliconApple Silicon Diagnostics), holding D when 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 & Groups and check the Wi-Fi underneath it.

    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) uncheck Automatically join this network for 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:

      1. Reboot Mac.
      2. Reset NVRAM/PRAM.
      3. Check if Wi-Fi is enabled in the status menu (antenna icon).
      4. 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:

      1. Deleting the network and reconnecting.
      2. Reset network settings via Terminal.
      3. 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.