Last updated on November 17th, 2026 at 02:57 pm
Closing the laptop overnight, for a flight or for a long unplugged weekend? Choose Hibernate over Sleep. Sleep keeps memory powered and slowly uses the battery; Hibernate saves your open apps to the drive and switches the PC off. On Windows 11 (24H2 and later), run powercfg /hibernate on in Command Prompt as administrator, then tick Hibernate in Control Panel’s shutdown settings.
Sleep, Hibernate or shut down: decide by how long you’ll be away
When a PC hibernates, Windows copies everything in memory to a hidden file on the system drive (hiberfil.sys) and powers down. Microsoft describes Hibernate’s power use as “almost the same as power off,” because memory no longer needs to be kept alive. The cost is time: resuming reads that file back, so it’s slower than waking from Sleep.
| Your situation | Best choice | Why |
|---|---|---|
| Lunch break or a short meeting | Sleep | Wakes almost instantly; the battery cost over an hour is small |
| Laptop in a bag overnight, unplugged | Hibernate | Open apps survive and the battery stays close to where you left it |
| Flight, train or long weekend | Hibernate | No drain while closed, nothing to reopen from scratch |
| Installing updates or ending a project | Shut down or Restart | Updates need a full restart anyway |
| Desktop that stays plugged in | Sleep, or hybrid sleep where offered | Battery isn’t a concern; hybrid sleep also writes a hibernation file in case power is cut |
Priya closes her laptop on Friday evening with a half-finished spreadsheet and a dozen research tabs. On Sleep, it can lose a noticeable share of its charge by Monday. On Hibernate, it is effectively off all weekend, and the spreadsheet and tabs come back on Monday. If you want the opposite, a PC that never dozes off while you work, see how to stop your Windows 11 computer from sleeping.
Switch hibernation on and read what Windows reports
The hibernation feature has to be enabled before any Hibernate button can appear. Microsoft’s article on disabling and re-enabling hibernation uses the powercfg tool.
- Select Start, type cmd, right-click Command Prompt and choose Run as administrator. Approve the User Account Control prompt. (Other ways are in running Command Prompt as administrator.)
- Type
powercfg /hibernate onand press Enter. Success prints nothing, which is normal. - Type
powercfg /a(short for/availablesleepstates) and press Enter. - Look for Hibernate in the first list, the states available on this system. If it’s there, continue to the next section.
If Hibernate appears in the second list, the states that aren’t available, Windows prints a reason under it, as Microsoft’s powercfg command reference explains. That reason tells you which fix applies; match it in the section on missing Hibernate below.
Enabling the feature doesn’t add it to the Power menu. That’s a separate check box, described in Microsoft’s guide to shutting down, sleeping or hibernating your PC.
- Select the search box on the taskbar, type control panel and open Control Panel.
- Select System and Security.
- In the Power Options section, select Choose what the power buttons do.
- Select Change settings that are currently unavailable and approve the prompt if one appears. The check boxes at the bottom become active.
- Under Shutdown settings, tick Hibernate.
- Select Save changes, then open Start > Power. Hibernate now sits beside Sleep, Shut down and Restart.
No Hibernate check box at all usually means hibernation is still off, or the PC doesn’t support it. Run the command above, check powercfg /a, then close and reopen this page; it doesn’t refresh on its own.
Ways to hibernate once it’s on
- Start menu: Start > Power > Hibernate.
- Keyboard: press Windows logo key + X, then Shut down or sign out > Hibernate.
- Shortcut: Microsoft’s shutdown command reference says
shutdown /hhibernates the PC if hibernation is enabled. Right-click the desktop, choose New > Shortcut, entershutdown /hand name it Hibernate. Skip the/fswitch, which force-closes apps. - Waking: press the power button. Windows runs its normal startup checks, then restores your windows.
For a laptop that goes straight into a bag, making the power button hibernate is the most dependable habit. Control Panel handles this on every Windows 11 PC:
- Open Control Panel > System and Security > Choose what the power buttons do.
- Next to When I press the power button, pick Hibernate under On battery, and under Plugged in if you want it on the charger too.
- On a laptop, set When I close the lid the same way if you want the lid to hibernate.
- Select Save changes.
A balanced setup is lid on Sleep for short breaks and power button on Hibernate for the trip home. On some Windows 11 PCs, Settings > System > Power & battery also lists lid and power button choices. For every lid option, including external-monitor setups, see changing what happens when you close the laptop lid.
Example: Hibernate Is Offered, but Not as a Timeout
On a Windows 11 Home laptop (version 25H2), Settings > System > Power & battery > Lid, power & sleep button controls offered Do Nothing, Sleep, Hibernate and Shutdown for the power button. All three controls were set to Sleep, and I left them that way.

On the same page, Screen, sleep, & hibernate timeouts listed only screen-off and sleep times for plugged in and on battery, with no hibernate row. So on this laptop Hibernate could be assigned to a button but not to an idle timer from Settings.
Hibernate automatically after the laptop sleeps
Windows can move a sleeping PC into Hibernate by itself. Microsoft’s hibernate idle timeout documentation counts the time “after sleep,” so the timer starts when the PC goes to sleep, not when you stop typing.
- Open Control Panel > System and Security > Power Options.
- Next to your plan, select Change plan settings, then Change advanced power settings.
- Expand Sleep, then Hibernate after.
- Set times for On battery and Plugged in, then select OK.
To stop automatic hibernation, set both values back to Never.
Example: Jordan’s laptop sleeps after 15 minutes on battery and has Hibernate after set to 120 minutes. Left alone, it sleeps at 15 minutes and hibernates about two hours later, so a forgotten laptop never drains overnight.
The sleep timer itself is in Settings > System > Power & battery > Screen, sleep, & hibernate timeouts (see Microsoft’s power settings in Windows 11; despite the name, Microsoft’s page lists only the screen and sleep timers there), alongside the display timer explained in changing the screen timeout in Windows 11. If something keeps the PC from sleeping, the hibernate timer never starts.
Why Hibernate is missing or won’t turn on
Start with the reason powercfg /a printed.
Hibernation hasn’t been enabled
Run powercfg /hibernate on. “Access denied” means the window wasn’t opened with Run as administrator.
The hibernation file is the reduced type
A reduced file supports only Fast Startup, so Hibernate disappears. Run powercfg /hibernate /type full. A custom size set earlier with /size already counts as a full file, so Hibernate should reappear after the command.
The PC uses a different standby design
Microsoft notes Hibernate was designed for laptops and isn’t on every PC, giving PCs with InstantGo as an example. Many newer laptops use Modern Standby, which replaces the older sleep states; some still offer Hibernate and some don’t, so trust powercfg /a. If it blames the firmware, check your PC maker’s site for an update, though the option may not exist on that model.
The check boxes are greyed out, or it’s a work PC
Select Change settings that are currently unavailable first; an administrator account must approve it. On a work or school PC, power settings can be managed centrally, so if Hibernate keeps switching back off, ask IT rather than fighting the policy.
It vanished after a big update
Run powercfg /a again and recheck the Control Panel box. Both settings need to be on.
What hiberfil.sys costs in disk space
The hibernation file sits hidden in the root of the Windows drive, usually C:. Microsoft’s system power states documentation sets the defaults: a full file is 40% of physical memory and supports Hibernate, hybrid sleep and Fast Startup; a reduced file is 20% and supports Fast Startup only.
| Installed RAM | Full file (about 40%) | Reduced file (about 20%) |
|---|---|---|
| 8 GB | About 3.2 GB | About 1.6 GB |
| 16 GB | About 6.4 GB | About 3.2 GB |
| 32 GB | About 12.8 GB | About 6.4 GB |
Switching to the reduced type is often suggested as a space saver, but it saves space by removing Hibernate, so only do it if you never hibernate. For a smaller full file, powercfg /hibernate /size plus a percentage works; the reference says it can’t go below 50 and also turns hibernation on. Never delete hiberfil.sys by hand. The hibernation file is counted under System & reserved, along with the page file, when you check what’s taking up space in Windows 11.
Hibernate on a laptop that leaves the house
- Check it’s off before it goes in the bag. Wait for the screen and power light to go dark. A laptop that slept instead, or is still writing the file, can get warm in a closed bag.
- The saved session sits on the drive. Open documents, saved or not, are in hiberfil.sys until you resume. On a laptop that travels, encrypting the system drive covers that file along with everything else; see turning on BitLocker in Windows 11.
- Save anyway. A failed resume or an update restart can still close apps.
- Devices may need a nudge. If a monitor, dock or printer misbehaves after resuming, reconnect it or restart, and keep its drivers current.
If the battery drains fast even with Hibernate, checking battery health in Windows 11 shows whether the battery itself is wearing out.
Turn hibernation off without breaking anything else
- Hide the menu entry only: clear the Hibernate box under Shutdown settings and save. Timers and Fast Startup keep working.
- Disable the feature: run
powercfg /hibernate offas administrator. Hibernate, hybrid sleep and Fast Startup all stop working.
Disabling also stops Fast Startup, which uses the same file; if Fast Startup is all you want gone, disable Fast Startup in Windows 11 by itself. Microsoft also warns that turning hibernation off while hybrid sleep is on can lose data if power fails during sleep. To undo, run powercfg /hibernate on and tick the box again.
Questions people ask before they rely on Hibernate
Does hibernating every day wear out an SSD?
Each hibernation writes up to the size of the hibernation file, a few gigabytes on a typical laptop. Microsoft doesn’t publish a wear figure for this. If you want fewer writes, use Sleep for short breaks and keep Hibernate for long ones.
What if the battery runs flat while the PC is hibernating?
Nothing is lost. The session is stored on the drive, not in memory, so it doesn’t need power. Charge the laptop and press the power button.
Are the steps the same on Windows 10?
The commands are, but menus differ. Use turning Hibernate on or off in Windows 10 for that PC.
Before your next trip, hibernate once at home, press the power button and check your apps come back.

Matt Jacobs writes and maintains the guides on Support Your Tech, which he started in 2017. He spent most of his career keeping small-business PCs running and still takes the occasional consulting job, so the steps here come from fixing the same problems on other people’s computers. Each guide follows Microsoft, Apple and Google’s own documentation and is updated when the steps change. Screenshots marked “Recreated” are illustrations of the real screens.