Why Your Mac Loses Wi‑Fi After Waking from Sleep
Does your Wi‑Fi work perfectly – until you close the lid or let your Mac sit idle? After waking, you see the Wi‑Fi icon with an exclamation mark or no internet for 30‑60 seconds. Sometimes it reconnects on its own; other times you have to toggle Wi‑Fi off and on. This is a classic mac sleep settings issue.
Apple designed power management to save battery. The Wi‑Fi chip can be put into a low‑power state during sleep. However, upon waking, the chip sometimes fails to re‑initialize correctly. Additionally, features like Power Nap (which keeps some network activity during sleep) can confuse the connection state.
If your mac keeps disconnecting from wifi only after sleep (not during active use), adjusting sleep settings is your best bet. For general disconnects, see our pillar post. For older Intel Macs, also consider an SMC reset (cluster post #8).
Check Your Current Sleep Settings First
Before changing anything, see what your Mac is currently doing. Open System Settings > Battery (or Energy Saver on older macOS). Look for these options:
- Power Nap – allows your Mac to check email and calendars while asleep.
- Wake for network access – allows the Mac to wake from sleep for network activity (e.g., file sharing).
- Put hard disks to sleep when possible – not directly related to Wi‑Fi but can affect wake time.
On laptops, you will see separate settings for On Battery and Plugged In. Wi‑Fi wake issues often happen on battery power, because power management is more aggressive.
For a deeper look at power settings on Intel Macs, see our Intel Mac SMC reset guide (cluster post #8). For Apple Silicon Macs, sleep behavior is different but similar settings exist.
Fix 1: Disable Power Nap (The Most Common Culprit)
Power Nap allows your Mac to perform background tasks while asleep – checking email, calendar updates, iCloud sync. However, it can interfere with Wi‑Fi reconnection on wake. Disabling it often fixes the problem.
How to disable Power Nap:
- System Settings > Battery > Options (on macOS Ventura or later).
- Find Power Nap (may be under “Enable Power Nap while on battery” and “Enable Power Nap while plugged in”).
- Turn both to Off.
- Test by putting your Mac to sleep (Apple menu > Sleep) for a few minutes, then waking it.
On older macOS (Monterey and earlier), go to System Preferences > Energy Saver and uncheck Enable Power Nap.
After disabling Power Nap, your Mac will still sleep normally. It just will not perform background network tasks. Battery life may improve slightly. Test Wi‑Fi stability for a day.
For related energy settings, see our Mac sleep mode optimizer (this post) – you are already here.
Fix 2: Turn Off “Wake for Network Access”
This setting allows network activity (like shared printer access or file sharing) to wake your Mac from sleep. It can cause Wi‑Fi to wake improperly.
How to disable:
- System Settings > Battery > Options.
- Find Wake for network access. Set it to Never (or Off).
- If you have separate battery/power adapter options, disable both.
On older macOS: Energy Saver > Wake for Wi‑Fi network access – uncheck.
After this change, your Mac will not wake for network requests. You can still manually wake it normally. For most users, this setting is unnecessary. Disabling it often fixes mac sleep settings related to Wi‑Fi.
For more on network access, see our Mac VPN connection issues (cluster post #7) – VPNs can also be affected by wake settings.
Fix 3: Prevent Wi‑Fi from Sleeping with Terminal
You can force macOS to keep the Wi‑Fi interface active during sleep. This consumes slightly more battery but ensures a fast reconnection on wake.
Steps:
- Open Terminal (Applications > Utilities).
- Type the following command to prevent Wi‑Fi from sleeping:
sudo pmset -a womp 0
(This disables wake on wireless – it keeps the interface ready but not fully powered down.) - Press Return, enter your password (it will not show while typing), and press Return again.
- Restart your Mac.
To revert to default settings (allow Wi‑Fi to sleep):sudo pmset -a womp 1
Note: This command affects power management globally. Test for a few days. If battery life drops significantly, revert to the default.
For a full list of pmset commands, see our reset macOS network settings to default (internal link placeholder #19 from pillar).
Fix 4: Reset SMC (Intel Macs Only)
On Intel Macs, the System Management Controller (SMC) handles power and sleep behavior. A corrupted SMC can cause Wi‑Fi to fail after wake.
For Intel MacBooks (pre‑2018):
Shut down. Hold Shift + Control + Option + Power for 10 seconds. Release. Press Power normally.
For Intel MacBooks with T2 chip (2018‑2020):
Shut down. 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 need this.
After resetting SMC, test sleep/wake Wi‑Fi behavior. Many users report instant improvement.
Fix 5: Create a Wake Script to Reconnect Wi‑Fi Automatically
If your Mac consistently loses Wi‑Fi after wake, you can force a Wi‑Fi toggle automatically each time the Mac wakes. This script turns Wi‑Fi off and back on, forcing a fresh connection.
Steps to create the script:
- Open Script Editor (Applications > Utilities).
- Paste the following:
do shell script "networksetup -setairportpower en0 off && 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 Fix.”
- Save it to Applications folder.
Steps to make it run automatically on wake:
- Open Script Editor again. Create a new script:
do shell script "open /Applications/WiFi\\ Wake\\ Fix.app" - Save this as an application as well (e.g., “WakeTrigger”).
- Go to System Settings > General > Login Items (or Users & Groups).
- Add “WakeTrigger” to Open at Login. This ensures the script runs each time you log in, but you also need it to run on wake. For that, you can use a third‑party tool (but we avoid external links). Alternatively, use the
pmsetcommand to run a script on wake:sudo pmset -a wake /path/to/your/script.app– but this is complex.
Simpler alternative: Just disable Power Nap and wake for network access (Fix 1 and 2). That usually solves the problem without scripting.
For more automation tips, see our macOS network troubleshooting toolkit (internal link placeholder #20 from pillar).
Fix 6: Update macOS for Sleep Bug Fixes
Apple frequently patches sleep/wake bugs. For example, macOS 26.4.1 (April 2026) included fixes for Wi‑Fi reconnection after sleep on M5 MacBooks.
Check for updates:
- System Settings > General > Software Update.
- Install any available updates.
- Restart your Mac.
After updating, test sleep/wake again. Sometimes a simple update resolves months of frustration.
For update instructions, see our how to update macOS safely guide (internal link placeholder #7 from pillar).
Frequently Asked Questions
Q: Why does my Wi‑Fi take so long to reconnect after sleep?
By default, macOS prioritizes saving battery over speed. Disabling Power Nap (Fix 1) often speeds up reconnection.
Q: Will disabling Power Nap save battery?
Yes, slightly. Power Nap performs background tasks that consume some power. However, the difference is minor (maybe 5‑10% over a full day).
Q: My Mac loses Wi‑Fi only when on battery, not when plugged in.
That is normal. Power management is more aggressive on battery. Apply Fix 1 and Fix 2 to both battery and plugged‑in settings.
Q: I have an Apple Silicon Mac. Do these fixes apply?
Yes, except for the SMC reset (Fix 4). Apple Silicon Macs have no SMC. The other fixes work the same.
Q: I disabled Power Nap, but Wi‑Fi still drops after sleep. What next?
Try the Terminal command (Fix 3) to prevent Wi‑Fi from sleeping. If that fails, create the wake script (Fix 5) or update macOS (Fix 6).
Q: My Mac wakes instantly but Wi‑Fi takes 30 seconds. Is there a faster way?
Some routers take time to re‑authenticate. Ensure your router’s DTIM interval is set to 3 (see pillar post Fix 2). Also, disable Private Wi‑Fi Address (see pillar post Fix 3). Both improve wake reconnection speed.
