Why Your Mac Loses Wi‑Fi After Waking from Sleep
You close your MacBook lid or walk away. When you come back and open it, the Wi‑Fi icon shows a search loop or an exclamation mark. It takes 30‑60 seconds to reconnect – or never does until you manually toggle Wi‑Fi off and on. This is the mac wifi not connecting after sleep problem. It is extremely common across all MacBook models and even some desktop Macs that go to sleep.
The root causes include:
- Power Nap – keeps network activity during sleep but can confuse the Wi‑Fi driver upon wake.
- Wake for network access – allows the Mac to wake for sharing services; sometimes fails to reinitialize Wi‑Fi.
- SMC corruption (Intel Macs) – power management glitch that affects Wi‑Fi on wake.
- Router DHCP timeout – the router may have released your Mac’s IP address during sleep.
- macOS bugs – some versions have known wake‑from‑sleep Wi‑Fi issues.
If your mac keeps disconnecting from wifi during active use (not just after sleep), see our pillar post. This guide is specifically for when the problem occurs only after waking from sleep.
For sleep‑related settings on Intel Macs, see our Intel Mac SMC reset guide (cluster post #8). For general sleep optimization, see our Mac sleep settings guide (cluster post #9).
Quick Test: Is It a Sleep Issue or Something Else?
Before applying fixes, confirm the pattern.
- Put your Mac to sleep (Apple menu > Sleep). Wait 1 minute.
- Wake it (press any key or open the lid).
- Time how long Wi‑Fi takes to reconnect. If it takes more than 10 seconds or never reconnects without manual help, proceed.
- Test a full shutdown and restart. Shut down, wait 30 seconds, then turn on. If Wi‑Fi connects immediately, the issue is sleep‑specific.
If Wi‑Fi reconnects fine after a full restart but fails after sleep, follow the fixes below.
Fix 1: Disable Power Nap (The Most Common Fix)
Power Nap allows your Mac to check email, calendars, and iCloud updates while asleep. However, it can interfere with Wi‑Fi reinitialization on wake. Disabling it often resolves mac wifi not connecting after sleep.
How to disable Power Nap:
- System Settings > Battery > Options (on macOS Ventura or later).
- Find Power Nap. Turn it Off for both “On battery” and “Plugged in.”
- On older macOS: System Preferences > Energy Saver > uncheck Enable Power Nap.
After disabling, put your Mac to sleep and wake it again. Test if Wi‑Fi reconnects faster. For more on Power Nap, see our Mac sleep settings guide (cluster post #9).
Fix 2: Turn Off “Wake for Network Access”
This setting allows your Mac to wake for shared printers, file sharing, or remote access. It can cause Wi‑Fi to wake improperly.
How to disable:
- System Settings > Battery > Options.
- Set Wake for network access to Never.
- On older macOS: Energy Saver > uncheck Wake for Wi‑Fi network access.
After changing, test sleep/wake again. This often complements Power Nap disabling.
For more on network access, see our Mac Wi‑Fi vs Ethernet guide (cluster post #4).
Fix 3: Reset SMC on Intel Macs
On Intel Macs, the System Management Controller (SMC) handles sleep, power, and Wi‑Fi reinitialization. A corrupted SMC can cause mac wifi not connecting after sleep.
For Intel MacBooks (pre‑2018):
Shut down. Press and hold Shift + Control + Option + Power for 10 seconds. Release. Press Power normally.
For Intel MacBooks with T2 chip (2018‑2020):
Shut down. Press and hold Control + Option + Shift (right side) for 7 seconds, then also hold Power for another 7 seconds. Release. Press Power.
For Intel desktop Macs (iMac, Mac mini):
Shut down. Unplug power cord for 15 seconds. Plug back in, wait 5 seconds, then power on.
For detailed steps, see our Intel Mac SMC reset guide (cluster post #8). Apple Silicon Macs do not have SMC; skip this fix.
Fix 4: Create a Wake Script to Reconnect Automatically
If your Mac consistently fails to reconnect after sleep, you can force a Wi‑Fi toggle each time the Mac wakes. This script turns Wi‑Fi off and back on automatically.
Steps to create the script:
- Open Script Editor (Applications > Utilities).
- Paste the following:
do shell script "networksetup -setairportpower en0 off && sleep 2 && networksetup -setairportpower en0 on" with administrator privileges
Note: Replaceen0with your Wi‑Fi interface name if different. To find it, runnetworksetup -listallhardwareportsin Terminal and look for Wi‑Fi. - Save the script as an Application (File > Export > File Format: Application). Name it “WiFi Wake Reset.”
- Save it to your Applications folder.
To run the script automatically on wake:
- Open Script Editor again. Create a new script:
do shell script "open /Applications/WiFi\\ Wake\\ Reset.app" - Save as an application (e.g., “WakeTrigger”).
- Go to System Settings > General > Login Items.
- Add “WakeTrigger” to Open at Login. This runs the trigger each login, but you also need it on wake. Alternatively, use a third‑party tool (not recommended). A simpler approach: just run the script manually when needed, or use the other fixes above.
For most users, Fix 1 and Fix 2 are sufficient. Use this script only if other fixes fail.
For more automation, see our reset macOS network settings guide (cluster post #10).
Fix 5: Reset Network Configuration Files
If your Mac still fails to reconnect after sleep despite the above fixes, network configuration files may be corrupted. This is a last resort.
Steps:
- Quit System Settings.
- Open Terminal.
- Type the following commands one by one:textcd /Library/Preferences/SystemConfiguration/ sudo rm com.apple.airport.preferences.plist sudo rm NetworkInterfaces.plist sudo rm com.apple.network.identification.plist
- Enter your password when prompted.
- Restart your Mac.
After restart, reconnect to your Wi‑Fi network (you will need to re‑enter passwords). Then test sleep/wake behavior. For a detailed walkthrough, see our reset macOS network settings guide (cluster post #10).
Frequently Asked Questions
Q: Why does my Mac reconnect to Wi‑Fi immediately after sleep on some days but not others?
Intermittent issues often point to Power Nap or router DHCP lease timing. Check if the problem happens after long sleeps (hours) vs short sleeps (minutes). Long sleeps may cause DHCP lease expiration.
Q: Does this happen on Apple Silicon Macs too?
Yes. Apple Silicon Macs can also have wake‑from‑sleep Wi‑Fi issues. The fixes (Power Nap, wake for network access) apply. SMC reset does not apply.
Q: My Mac is a desktop (iMac). It doesn’t sleep often, but when it does, Wi‑Fi is slow to reconnect.
Same fixes apply. Disable Power Nap and wake for network access in Energy Saver settings.
Q: I disabled Power Nap, but Wi‑Fi still doesn’t reconnect after sleep. What’s next?
Try the wake script (Fix 4) or reset network configuration (Fix 5). Also, ensure your router’s DHCP lease time is not set to a very short duration (e.g., 1 hour). Set it to 1 day or more.
Q: Will resetting network configuration (Fix 5) delete my saved Wi‑Fi passwords?
Yes. Write them down before proceeding. This is a last resort.
Q: My MacBook takes 30 seconds to reconnect after sleep. Is that normal?
It is common but not ideal. With Power Nap disabled, reconnection should take 5‑10 seconds. If it takes longer, something else is wrong. Try the other fixes.