Opening your MacBook lid or tapping your external keyboard to wake your desktop Mac only to watch the Wi-Fi icon spend thirty to sixty seconds hunting for a network with an exclamation mark—or forcing you to toggle Wi-Fi off and on manually—is an exasperating disruption. A portable computer should reconnect to your home or office router the split second you wake the screen. When macOS consistently drops Wi-Fi upon waking, stale network configuration plists, DHCP IP assignment conflicts, or aggressive power nap sleep parameters are typically to blame.
Remove Corrupted System Wi-Fi Configuration Plist Files
Over years of macOS upgrades and connecting to various public hotspots, your Mac’s system-level network configuration files can accumulate invalid routing tables that cause the network stack to hang during sleep wake-ups.
- Click the Wi-Fi icon in the top menu bar and toggle Wi-Fi Off.
- Open Finder on your Mac.
- Click Go in the top menu bar, then choose Go to Folder… (or press Shift + Command + G).
- Paste the following directory path and press Return:
/Library/Preferences/SystemConfiguration/ - Locate and select the following specific files:
com.apple.airport.preferences.plistcom.apple.network.identification.plistcom.apple.wifi.message-tracer.plistNetworkInterfaces.plistpreferences.plist
- Drag these files to your Desktop as a temporary backup, then delete them from the SystemConfiguration folder (enter your administrator password when prompted).
- Restart your Mac from the Apple menu.
Upon restarting, macOS automatically regenerates clean, pristine default network files. Turn Wi-Fi back on and connect to your router to test wake stability.
Renew the DHCP Lease to Clear IP Conflicts
When your Mac enters deep sleep, your wireless router may assign your previous local IP address to another device in your home. Upon waking, your Mac attempts to reuse the expired lease, causing an IP collision that knocks Wi-Fi offline.
- Click the Apple menu and select System Settings.
- Click Wi-Fi in the left sidebar.
- Locate your connected Wi-Fi network and click Details… next to its name.
- In the network settings dialogue, click on the TCP/IP tab.
- Click the button labelled Renew DHCP Lease.
- Click OK to confirm.
Renewing the DHCP handshake forces your Mac and router to negotiate a fresh, conflict-free IP address immediately upon waking.
Reorder Network Service Priorities
If your Mac has Thunderbolt bridges, VPN tunnels, or virtual network adapters configured above physical Wi-Fi in the service priority list, macOS will query inactive ports first before attempting wireless authentication.
- Open System Settings > Network.
- Click the three dots icon at the bottom of the network service list (next to the Add Service button).
- Select Set Service Order….
- Click and drag Wi-Fi to the very top of the list so it occupies the number one priority slot.
- Click OK to save your changes.
Placing Wi-Fi at the top of the service queue guarantees the operating system checks your wireless connection before any other adapter.
Disable “Wake for Network Access” Disconnect Glitches
If your Mac is attempting to run background power naps over Wi-Fi, low-power network handshakes can cause the router to de-authenticate the client.
- In System Settings, navigate to Battery.
- Click the Options… button in the bottom-right corner.
- Locate the setting titled Wake for network access.
- Change the setting from Always to Only on Power Adapter or Never.
- Click Done.
Silencing low-power network polling ensures your Wi-Fi radio initiates a clean, full-power connection the moment you raise the laptop lid.