Sleep and hibernate are two power-saving states in Windows that differ in how they preserve your session and use energy; sleep keeps your work in RAM for fast resume while using minimal power, whereas hibernate saves your session to the hard drive and uses no power, making it better for longer breaks when you don’t want to lose your open apps or documents.
What You'll Need
- A Windows 10 or Windows 11 PC (steps may vary slightly by version)
- Administrator access to change power settings (optional for some user-level changes)
- Administrative Command Prompt or PowerShell (if modifying advanced power plan settings via command line)
Step-by-Step
- Open the Start menu and type "Power & sleep settings" in the search bar, then select the result to open the Settings app directly to the power section.
- Under "Screen" and "Sleep", adjust the timers for when your PC goes to sleep on battery and when plugged in — for example, set "On battery power, put my device to sleep after" to 15 minutes and "When plugged in, put my device to sleep after" to 30 minutes.
- Click "Additional power settings" on the right side of the window to open the classic Control Panel Power Options.
- In the Power Options window, locate your currently selected power plan (usually "Balanced") and click "Change plan settings" next to it.
- Click "Change advanced power settings" to open a detailed configuration dialog.
- In the Advanced Settings window, expand the "Sleep" section, then expand "Allow wake timers" and set it to "Disable" if you want to prevent apps or scheduled tasks from waking your PC.
- Still under "Sleep", expand "Hibernate after" and set the number of minutes after which the system should hibernate instead of staying in sleep — for example, set it to 120 minutes (2 hours) so that after two hours of sleep, the system transitions to hibernate to save more power.
- Expand the "Power buttons and lid" section, then expand "Lid close action" and set what happens when you close the laptop lid — choose "Sleep" or "Hibernate" for both "On battery" and "Plugged in" as desired.
- Click "Apply", then "OK" to save your changes, and close the Power Options window.
- To test, close your laptop lid or press the power button (if configured to sleep) and wait — observe whether the system enters sleep (lights may pulse or stay on low) or hibernate (complete power-off state, no lights, faster resume from disk).
- If you want to hibernate immediately, open the Start menu, click the Power button, and hold the Shift key while clicking "Shut down or sign out" — then select "Hibernate" from the menu (if enabled).
- To enable or disable the hibernate option in the Power menu, open Command Prompt as administrator and run
powercfg /hibernate onto enable it orpowercfg /hibernate offto disable it — note that disabling hibernate also removes the hiberfil.sys file, freeing disk space equal to your RAM size.
Common Mistakes
- Assuming sleep and hibernate use the same amount of power — sleep uses a small but continuous amount of power to maintain RAM, while hibernate uses none.
- Setting hibernate to activate too soon (e.g., 5 minutes), which causes unnecessary disk writes and delays when resuming, defeating the purpose of sleep for short breaks.
- Disabling hibernate to save space without realizing it removes the ability to use fast startup or resume from a powered-off state, which may slow boot times.
- Confusing "Sleep" with "Hibernate" in the Power menu — if hibernate doesn’t appear, it’s likely disabled via command line or group policy.
- Not checking that "Allow wake timers" is enabled if you rely on scheduled tasks (like backups) to wake the PC — otherwise, they may fail to run.
Tips
- Use sleep for short breaks (under an hour) and hibernate for longer periods (several hours or overnight) when you want to preserve your session without power draw.
- Enable hibernate only if you have sufficient disk space — the hiberfil.sys file will be roughly the size of your installed RAM, so 16GB of RAM means ~16GB used.
- On laptops, consider setting lid close to sleep on battery and hibernate when plugged in — this balances convenience and power savings based on your power source.
- If your PC doesn’t resume properly from sleep or hibernate, update your chipset, graphics, and BIOS/UEFI firmware — outdated drivers are a common cause of resume failures.
- Use the
powercfg /acommand in Command Prompt to see which sleep states are available on your system — some hardware may not support hibernate due to driver or firmware limitations. - For desktops that rarely move, consider using hibernate instead of sleep overnight to eliminate phantom power draw while still preserving your session.
Troubleshooting
- If the PC doesn’t go to sleep or hibernate when expected, check for active processes preventing sleep — open Command Prompt as administrator and run
powercfg /requeststo see which apps or drivers are blocking sleep. - If the system wakes up immediately after sleeping, run
powercfg /lastwaketo identify what caused the wake event — common culprits include network adapters, USB devices, or scheduled tasks. - If hibernate is missing from the Power menu, verify it’s enabled with
powercfg /h on— if it returns an error, your system may not support hibernate due to legacy hardware or disabled firmware settings. - If the PC enters hibernate but fails to resume (stays on a black screen or restarts), disable hibernate temporarily, update drivers, then re-enable it — corrupt hiberfil.sys can cause resume failures.
- If sleep mode uses too much power (e.g., laptop battery drains quickly), check that "Allow wake timers" is disabled and that no peripherals (like RGB keyboards or mice) are drawing power in sleep — some devices ignore sleep signals.
- After Windows updates, power settings may reset — recheck your preferred sleep and hibernate timers if behavior changes unexpectedly.
Frequently Asked Questions
Does hibernate use more disk space than sleep?
Yes, hibernate requires a file (hiberfil.sys) equal to your RAM size to save the session, while sleep uses virtually no disk space — only power to maintain RAM.
Can I use both sleep and hibernate on the same PC?
Yes, Windows allows you to configure sleep for short intervals and hibernate to activate after a longer sleep period using the "Hibernate after" setting in advanced power options.
Is it safe to disable hibernate to save space?
Yes, if you don’t need to preserve your session when powered off — disabling hibernate removes hiberfil.sys and prevents hybrid sleep or fast startup from working.
Why does my PC wake up by itself at night?
Scheduled tasks, wake timers, or network activity (like Wake-on-LAN) can trigger wake-ups — use powercfg /lastwake to diagnose and disable unwanted wake sources in Device Manager or Task Scheduler.
Does hibernate wear out my SSD?
Modern SSDs handle the write load of hibernation easily — the occasional write of hiberfil.sys is negligible compared to normal use and won’t meaningfully affect lifespan.
Can I hibernate a desktop PC?
Yes, desktops support hibernate just like laptops — it’s useful for saving power when the PC is idle for hours while keeping your session intact.