How to Activate Hibernate Mode: Step-by-Step Guide
In this article
Hibernate mode is a power-saving state that saves your entire session—open apps, documents, and windows—to your hard drive and then powers the computer off completely. Unlike sleep, which keeps data in RAM and draws a small amount of power, hibernation uses zero power and lets you resume exactly where you left off, even after hours or days. It is ideal for laptops you carry around or desktops you don't want to leave in sleep. Before you start, note that hibernation requires free disk space roughly equal to your installed RAM (plus a small overhead), and it must be supported by your hardware and enabled in your operating system. The steps below cover Windows 10 and 11, the most common place people look for this feature; Macs use a similar safe-sleep mechanism automatically and do not expose a separate hibernate toggle in the same way.
What You'll Need
- A computer running Windows 10 or Windows 11 (steps differ slightly for other systems).
- Administrator rights to open a command prompt as administrator and change power settings.
- Free disk space on your system drive at least equal to your installed RAM (e.g., 8 GB RAM needs about 8 GB free).
- Optional: a laptop with a working battery; hibernation is especially useful when the battery is low.
Step-by-Step
- Check if hibernation is already enabled. Open Command Prompt as administrator (search “cmd”, right-click, choose “Run as administrator”). Type
powercfg /aand press Enter. The output lists available sleep states. If “Hibernate” appears as available, you can skip to step 4. If it says “Hibernation has not been enabled”, continue to step 2. - Enable hibernation via Command Prompt. In the same administrator Command Prompt, type
powercfg /hibernate onand press Enter. This creates the hiberfil.sys file on your system drive and turns the feature on. You should see no error message; if you do, note it for troubleshooting. - Verify the change. Run
powercfg /aagain. “Hibernate” should now be listed as an available sleep state. If it still is not, your hardware or a policy may block it—see Troubleshooting. - Add Hibernate to the Start menu power button (optional but recommended). Open Control Panel > Hardware and Sound > Power Options > Choose what the power buttons do. Click “Change settings that are currently unavailable” (requires admin). Under “Shutdown settings”, tick “Hibernate” and click Save changes. Now Hibernate appears in the power menu when you click Start > Power.
- Use Hibernate. Click Start > Power > Hibernate. The screen will go dark after saving your session; the PC is now fully off. To resume, press the power button as normal—your desktop and open programs return.
- Adjust hibernation file size (advanced, optional). By default the hiberfil.sys is sized to hold your RAM contents. If disk space is tight, you can reduce it with
powercfg /hibernate /size 75(values 50–100; 100 is default). A smaller file may not support full hibernation on all systems—test resume before relying on it. - Set automatic hibernation (optional). In Control Panel > Power Options > Change plan settings > Change advanced power settings, expand “Sleep” and set “Hibernate after” to a time (e.g., 180 minutes) for battery or plugged-in. This makes the PC hibernate automatically after sleeping for that long, saving power.
Common Mistakes
- Confusing sleep with hibernate. Sleep keeps RAM powered and loses data if power is cut; hibernate writes to disk and loses nothing. Use hibernate for long breaks or travel.
- Not running Command Prompt as administrator. The
powercfg /hibernate oncommand fails silently or with an “access denied” error without elevation. - Ignoring disk space. Enabling hibernation creates a file roughly the size of your RAM. On small SSDs this can be significant; check free space first.
- Expecting hibernate on every device. Some systems (especially certain tablets or systems with InstantGo/Modern Standby) do not support traditional hibernate;
powercfg /awill tell you. - Forgetting to save work before testing. Although hibernate saves your session, always save important documents before changing power settings, in case a resume fails.
Tips
- Hibernate is great for laptops with aging batteries: it draws zero power, so the battery won't drain while the lid is closed for days.
- If you dual-boot with Linux, be aware that hibernating Windows and then mounting the same disk from Linux can cause filesystem issues; shut down fully instead.
- On desktops, hibernate can replace shutdown if you like keeping apps open, but a full restart occasionally is still good for updates.
- Use
powercfg /hibernate offto disable and delete the hiberfil.sys file if you need to reclaim disk space. - Check that Fast Startup (a related feature) is not causing confusion: Fast Startup uses hibernation technology for shutdown, but it is not the same as user-initiated hibernate.
Troubleshooting
- “Hibernation has not been enabled” persists after running the command. Ensure you used an administrator prompt. If it still fails, your firmware may not support S4 (hibernate). Check BIOS/UEFI settings for a “Hibernate” or “S4” option and enable it.
- Hibernate option missing from Start menu. Repeat step 4; the “Change settings that are currently unavailable” link must be clicked, and the checkbox must be ticked and saved.
- PC wakes immediately or fails to resume. Update your chipset and graphics drivers, and check for BIOS updates. Disconnect unnecessary USB devices before hibernating.
- “Insufficient system resources” error when hibernating. The hiberfil.sys may be too small (if you manually reduced it) or disk space is low. Set size back to 100 with
powercfg /hibernate /size 100and free disk space. - Hibernate not available on a Modern Standby device. Some newer laptops use Modern Standby (S0ix) and do not offer traditional hibernate.
powercfg /awill list “Hibernate” as not available; there is no supported workaround beyond using sleep or shutdown.
Frequently Asked Questions
Does hibernate use battery?
No. Hibernate writes your session to disk and powers off completely, so it draws no power. Sleep, by contrast, uses a small amount to keep RAM alive.
Is hibernate the same as shutdown?
No. Shutdown closes all programs and does not save your open windows. Hibernate saves your session so you can resume exactly where you left off.
Can I hibernate a desktop PC?
Yes, if the hardware and Windows support it. The steps above work on desktops as well as laptops; just ensure the motherboard firmware allows S4 sleep state.
Why is hibernate missing from my power menu?
Either hibernation is disabled (run powercfg /hibernate on as administrator) or the option is hidden in the power button settings (see step 4). On some devices, hardware simply does not support it.
Does hibernate delete my open files?
No. It saves them to the hiberfil.sys file and restores them on resume. However, always save important work before any power-state change as a precaution.
How much disk space does hibernate need?
Roughly the size of your installed RAM, sometimes a little more. For example, 16 GB RAM typically needs about 16 GB free on the system drive for the hibernation file.