Wi-Fi disconnects when your computer sleeps because Windows and macOS automatically disable the network adapter to save power during sleep mode. This is intentional behavior, but you can prevent it by adjusting power management settings so the adapter stays active or wakes the system on network activity. No special tools are required—just access to your operating system’s settings.
What You'll Need
- A computer running Windows 10/11 or macOS
- Administrator or user-level permissions to change power and network settings
- Access to Device Manager (Windows) or System Settings (macOS)
Step-by-Step
- Open Power & Sleep Settings
- Windows: Press Windows + I to open Settings, then go to System > Power & battery > Power & sleep. On older versions, go to Settings > System > Power & sleep > Additional power settings.
- macOS: Click the Apple menu > System Settings (or System Preferences on older versions) > Lock Screen or Desktop & Dock, then scroll down to Battery or Power Adapter.
- Create or Edit a Custom Power Plan (Windows Only)
- In Additional power settings, click Create a power plan or select an existing plan (like High performance) and click Change plan settings > Change advanced power settings.
- In the Power Options window, expand Wireless Adapter Settings > Power Saving Mode. Set both On battery and Plugged in to Maximum Performance.
- Still under Wireless Adapter Settings, expand Connection Methodology and ensure Allow the computer to turn off this device to save power is disabled—but note this toggle appears later under Device Manager, not here.
- Disable Power Saving for the Wi-Fi Adapter (Windows)
- Press Windows + X and select Device Manager.
- Expand Network adapters, right-click your Wi-Fi adapter (e.g., Intel(R) Wi-Fi 6E AX211 or Realtek RTL8822CE Wireless LAN 802.11ac PCI-E NIC), and choose Properties.
- Go to the Power Management tab and uncheck Allow the computer to turn off this device to save power.
- Switch to the Advanced tab, find settings like Power Saving Mode, Deep Sleep, or Auto Power Save, and set them to Disabled or Off.
- Click OK to save.
- Enable Wake-on-LAN (Optional but Helpful)
- In the same Advanced tab of your Wi-Fi adapter’s properties, look for Wake on Magic Packet, Wake on Pattern Match, and Wake on Wireless LAN (or similar). Enable these if available—note that not all adapters support wireless wake, especially older ones.
- If you see Wake on LAN from S4/S5, enable it too.
- Adjust Sleep Settings to Prevent Early Sleep
- On Windows, return to Power & sleep and set Sleep to a longer duration (e.g., Never on desktops, or 30 minutes on laptops if you need some power saving).
- On macOS, under Battery or Power Adapter, set Turn display off after and Put hard disks to sleep when possible to a higher value, and ensure Prevent automatic sleeping on power adapter is checked if available (in Power Adapter section).
- Restart Your Computer
- After saving all changes, restart your computer to apply the new power settings. This ensures the adapter reinitializes with updated parameters.
- Test the Fix
- Leave your computer idle until it would normally go to sleep, but now with settings adjusted, it should stay connected or wake on network traffic if Wake-on-LAN is enabled.
- Try pinging your computer from another device while it’s in sleep mode—if it responds, the Wi-Fi adapter remained active.
Common Mistakes
- Editing only the default plan: Windows often uses a hidden plan (like Balanced), so always confirm you’re editing the correct one—check the plan name in Power Options.
- Missing the Power Management tab in Device Manager: If you don’t see the Power Management tab, your adapter may not support it, or drivers are outdated—update drivers first.
- Enabling only one setting: Power saving is controlled in multiple places (Power Options, Device Manager, BIOS/UEFI). Focus on the adapter settings in Device Manager as the most reliable fix.
- Confusing USB selective suspend with Wi-Fi power saving: Disabling USB selective suspend (USB Settings > USB selective suspend setting) does not affect Wi-Fi—this is a separate issue.
Tips
- Use a high-performance plan on desktops: Desktops rarely need aggressive power saving; switching to High performance avoids many Wi-Fi drops.
- Update Wi-Fi drivers before changing settings: Outdated drivers often ignore power-saving toggles. Download the latest from your laptop manufacturer or adapter chipset maker (Intel, Realtek, Qualcomm).
- Check BIOS/UEFI for Wi-Fi sleep controls: Some laptops disable Wake-on-LAN entirely in BIOS—reboot, enter BIOS (usually F2 or Del), and search for Wake on LAN, Wireless LAN, or S4/S5 settings.
- macOS users: Use pmset for advanced control: Open Terminal and run
sudo pmset -a womp 1to enable Wake on Magic Packet (requires admin password). Verify withpmset -g. - Disable fast startup (Windows): Go to Control Panel > Power Options > Choose what power buttons do > Change settings that are currently unavailable > uncheck Turn on fast startup. Fast startup can interfere with proper network reconnection after sleep.
Troubleshooting
If Wi-Fi still disconnects after following the steps above:
- Verify adapter support: Not all Wi-Fi adapters support staying active during sleep or waking the system. Check your adapter model online for specifications like Wake on Wireless LAN support.
- Check router settings: Some routers drop idle devices after a short time. Log into your router’s admin page (usually 192.168.1.1), and increase the DHCP lease time or disable AP Isolation or MFP (Multicast Forwarding Protection).
- Disable IPv6 temporarily: Go to your Wi-Fi adapter’s properties in Network Connections, uncheck Internet Protocol Version 6 (TCP/IPv6), then test. IPv6 misconfiguration can cause dropouts during sleep/wake cycles.
- Reset network stack (Windows): Open Command Prompt as Administrator and run:
netsh winsock reset,netsh int ip reset,ipconfig /release,ipconfig /renew, then restart. - Reinstall Wi-Fi drivers: In Device Manager, right-click your adapter > Uninstall device, check Attempt to remove the driver, restart, and let Windows reinstall or install the latest driver manually.
- Hardware or firmware issues: If the problem persists across operating systems (e.g., in Safe Mode or a different OS), the Wi-Fi card may be faulty. Try a USB Wi-Fi adapter as a test.
Frequently Asked Questions
Does turning off Wi-Fi power saving affect battery life?
Yes—on laptops, disabling power saving for the Wi-Fi adapter will reduce battery life slightly because the adapter remains active. However, the impact is usually minimal (5–10% less runtime) and often worth it for seamless connectivity.
Why does my Wi-Fi reconnect instantly after waking, but disconnect during sleep?
That’s expected behavior if Allow the computer to turn off this device to save power is enabled. The adapter powers down during sleep and only wakes when you press a key or open the lid—so it reconnects then, but drops during sleep itself.
Can I keep Wi-Fi on without the computer fully awake?
On Windows, no—not natively. Sleep mode powers down most components, including the Wi-Fi adapter. Some newer laptops with Modern Standby (S0 low-power state) can maintain connectivity, but this requires hardware support and may be disabled in BIOS.
Does this work on MacBooks?
Yes—macOS handles Wi-Fi during sleep differently. By default, it may stay connected briefly, but for reliable wake-on-network, use sudo pmset -a womp 1 in Terminal and ensure Wake for network access is enabled in System Settings > Battery > Options.
Why does my Ethernet connection stay active but Wi-Fi drops?
Ethernet adapters often have more robust power-saving controls by default, and many motherboards keep LAN powered in sleep (especially for Wake-on-LAN). Wi-Fi adapters are more power-sensitive and thus more likely to shut down—hence the need for manual adjustments in Device Manager.
Will disabling power saving damage my Wi-Fi card?
No. Modern Wi-Fi adapters are designed to run continuously. Disabling power saving only increases power consumption slightly and does not accelerate hardware wear under normal conditions.