Power Management Guide ยท 2025

Hibernation in Windows 10 & Windows 11
hiberfil.sys

How to enable, disable, configure, and troubleshoot hibernate mode โ€” a complete technical reference for home users and IT professionals.

๐Ÿ–ฅ Windows 10 (all editions) ๐ŸชŸ Windows 11 (all editions) โšก Power Settings ๐Ÿ’พ hiberfil.sys ๐Ÿ›  CMD & PowerShell

What Is Hibernation in Windows? A Clear Explanation

Hibernation is a power-saving state that saves the entire contents of your computer's RAM to a special file on your hard drive or SSD โ€” called hiberfil.sys โ€” and then completely powers off the machine. When you press the power button again, Windows reads that file and restores exactly where you left off: open apps, browser tabs, documents, and all.

Unlike Sleep mode, hibernation does not require any power to maintain the session. This makes it ideal for laptops on the go: close the lid for days or even weeks, and your work will still be there when you return โ€” even if the battery drains completely.

โ„น๏ธ
Good to know Hibernation is available on all editions of Windows 10 and Windows 11 (Home, Pro, Enterprise, Education) โ€” but it may be disabled by default, especially after a clean install or on devices with SSDs.

How Hibernation Works Technically

When you trigger hibernation, the Windows kernel writes a memory snapshot (compressed) to C:\hiberfil.sys. The BIOS/UEFI is instructed to enter the S4 ACPI power state โ€” a full power-off. On the next boot, the Windows Boot Manager detects a valid hibernate image, skips the normal boot process, and decompresses the snapshot back into RAM. The process is transparent to the user.

Sleep vs Hibernate vs Hybrid Sleep โ€” Key Differences

Windows 10 and 11 offer three power-saving modes. Understanding which one to use depends on how long you plan to leave your PC idle.

Feature Sleep Hibernate Hybrid Sleep
Power draw Low (~1โ€“3 W) None (0 W) Low (~1โ€“3 W)
Wake speed ~1โ€“3 seconds ~10โ€“30 seconds ~1โ€“3 seconds
Session preserved on power loss โŒ No โœ… Yes โœ… Yes
Uses hiberfil.sys No Yes Yes
Best for Short breaks (< 1 hr) Overnight / travel Desktop PCs
โš ๏ธ
Note on Hybrid Sleep Hybrid Sleep is enabled by default on many desktop PCs and disables the separate Hibernate option in the Power menu. If you want Hibernate in the Start menu, you may need to turn Hybrid Sleep off first (covered in Section 7).

What Is hiberfil.sys, Where Is It Located, and How Large Is It?

hiberfil.sys is a hidden, protected system file created by Windows when hibernation is enabled. It lives in the root of your system drive and is reserved by the OS to store the RAM snapshot. You cannot move or rename it โ€” it must always be at C:\hiberfil.sys.

By default, Windows reserves 75% of your total RAM for hiberfil.sys. On a machine with 16 GB RAM that means roughly 12 GB of disk space is permanently allocated โ€” even when not in hibernate. On a machine with 32 GB RAM, this jumps to 24 GB.

โœ…
Tip: Reduce to 50% You can shrink hiberfil.sys to 50% of RAM using a single command (see Section 8) without losing hibernation functionality โ€” Windows compresses the snapshot at save time anyway.

How to See hiberfil.sys in File Explorer

The file is hidden and protected by default. To view it in File Explorer, go to:

View โ€บ Show โ€บ Hidden items + View โ€บ Options โ€บ Uncheck "Hide protected operating system files"

Alternatively, you can check its current size from an elevated Command Prompt:

dir /a C:\hiberfil.sys

How to Enable Hibernation in Windows 10 โ€” 3 Methods

There are three reliable ways to turn on hibernation in Windows 10. All three achieve the same result; choose the one you're most comfortable with.

Method 1 โ€” Via Control Panel Power Options (Recommended for Beginners)

  1. Press Win + R, type control, and press Enter to open the Control Panel.
  2. Navigate to Hardware and Sound โ†’ Power Options.
  3. In the left sidebar, click "Choose what the power buttons do".
  4. Click "Change settings that are currently unavailable" (requires admin rights).
  5. Under Shutdown settings, check the box next to Hibernate.
  6. Click Save changes. Hibernate now appears in the Start menu Power options.
๐Ÿ’ก
Quick shortcut You can open Power Options directly by pressing Win + X and selecting Power Options from the quick-access menu.

Method 2 โ€” Via Command Prompt (Fast, One Command)

Open Command Prompt as Administrator (Win + X โ†’ Windows Terminal (Admin) or search for cmd โ†’ right-click โ†’ Run as administrator), then run:

powercfg /hibernate on

That's it. The command will create hiberfil.sys and enable the hibernate option immediately. No restart required.

Method 3 โ€” Via Registry Editor (Advanced)

Open Registry Editor (Win + R โ†’ regedit) and navigate to:

HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Control \ Power

Find or create the DWORD value HibernateEnabled and set it to 1. Then find HibernateEnabledDefault and also set it to 1.

โš ๏ธ
Registry caution Always back up the registry before making changes. Incorrect edits can cause system instability. For most users, Method 1 or Method 2 are preferred.

How to Enable Hibernation in Windows 11 โ€” Step-by-Step Guide

Windows 11 redesigned the Settings app and moved some power options, but the underlying mechanism is identical to Windows 10. Here's how to enable hibernation on Windows 11.

Method 1 โ€” Via Settings App (Windows 11 Way)

  1. Open Settings with Win + I.
  2. Go to System โ†’ Power & battery (or System โ†’ Power & sleep on older builds).
  3. Scroll down and click "Additional power settings" โ€” this opens the classic Control Panel.
  4. In the left panel, select "Choose what the power buttons do".
  5. Click "Change settings that are currently unavailable".
  6. Tick Hibernate under Shutdown settings and click Save changes.

Method 2 โ€” Via Command Prompt or Windows Terminal (Fastest)

Right-click the Start button and open Terminal (Admin) or Command Prompt (Admin), then run:

powercfg /hibernate on
โœ…
Windows 11 note On Windows 11 builds 22H2 and later, the Hibernate option should appear in the Start menu under the Power icon after running the command above โ€” you may not need to visit Control Panel at all.

Verify That Hibernation Is Active

To confirm hibernation is enabled on any version of Windows, run the following in an elevated terminal:

powercfg /a

Look for "Hibernate" in the list of available sleep states. If it shows "Hibernate has not been enabled", re-run powercfg /hibernate on as administrator.

How to Disable Hibernation and Delete hiberfil.sys in Windows 10 / 11

You might want to disable hibernation to reclaim disk space โ€” especially on a small SSD. Disabling it will automatically delete hiberfil.sys and free up gigabytes.

๐Ÿšจ
Warning: Fast Startup may break Windows 10 and 11 use Fast Startup (a form of partial hibernation) to speed up cold boots. Disabling hibernation will automatically disable Fast Startup too. Your PC will boot slightly slower but will always perform a full, clean boot.

Disable via Command Prompt (Recommended)

Open Command Prompt or PowerShell as Administrator and run:

powercfg /hibernate off

Windows will immediately delete hiberfil.sys and free the disk space. No restart is needed.

Disable via Control Panel

  1. Open Control Panel โ†’ Hardware and Sound โ†’ Power Options.
  2. Click "Choose what the power buttons do".
  3. Click "Change settings that are currently unavailable".
  4. Uncheck Hibernate and click Save changes.
๐Ÿ’ก
Desktop users Desktop computers that are always plugged in rarely benefit from hibernation โ€” Sleep mode is sufficient and wakes much faster. Consider disabling hibernate on desktops to save SSD space.

How to Add Hibernate to the Start Menu and Power Button in Windows 10 / 11

Even after enabling hibernation via powercfg, the Hibernate option may not appear in the Start menu Power icon. Here's how to make it visible.

Step-by-Step: Add Hibernate to the Power Menu

  1. Open Control Panel (search for it in the Start menu).
  2. Go to Hardware and Sound โ†’ Power Options.
  3. In the left pane, click "Choose what the power buttons do".
  4. At the top of the page, click "Change settings that are currently unavailable". (This unlocks the checkboxes below.)
  5. Under the Shutdown settings section, enable the checkbox for Hibernate (Show in Power menu).
  6. Click Save changes.

The Hibernate option will now appear when you click the Power icon in the Start menu, alongside Shut down, Restart, and Sleep.

Hybrid Sleep Is Blocking Hibernate

If Hibernate is still not appearing, Hybrid Sleep might be enabled and overriding it. To disable Hybrid Sleep:

  1. Open Control Panel โ†’ Power Options.
  2. Click "Change plan settings" next to your active plan.
  3. Click "Change advanced power settings".
  4. Expand Sleep โ†’ Allow hybrid sleep and set it to Off for both On battery and Plugged in.
  5. Click OK and check the Power menu again.

Assign Hibernate to the Power or Sleep Button

You can also configure the physical power button or lid close action to trigger hibernation:

Go to Control Panel โ†’ Power Options โ†’ Choose what the power buttons do, then use the dropdown menus next to "When I press the power button" or "When I close the lid" to select Hibernate.

How to Reduce the Size of hiberfil.sys Without Disabling Hibernation

If you want to keep hibernation enabled but reclaim some disk space, you can shrink hiberfil.sys to 50% of RAM instead of the default 75%. Windows will use higher compression when saving the sleep image, which works fine for most hardware.

โš ๏ธ
Compatibility note Reducing hiberfil.sys to 50% disables Hybrid Sleep but keeps full hibernation functional. If you rely on Hybrid Sleep, do not use the reduced size option.

Command to Set hiberfil.sys to 50%

Run the following in an elevated Command Prompt or PowerShell:

powercfg /h /type reduced

Revert to Default Size (75%)

powercfg /h /type full

On a 16 GB system, switching from full to reduced saves 4 GB of SSD space. On a 32 GB system, the saving is 8 GB.

Hibernate Commands: Full Reference for CMD and PowerShell

All hibernate management is done through the built-in powercfg utility. Below is a complete cheat-sheet of the most useful commands โ€” all require an elevated (admin) terminal.

Task Command
Enable hibernation powercfg /hibernate on
Disable hibernation (deletes hiberfil.sys) powercfg /hibernate off
Check if hibernation is available powercfg /a
Set hiberfil.sys to 50% of RAM (reduced) powercfg /h /type reduced
Set hiberfil.sys to 75% of RAM (full) powercfg /h /type full
Set hibernate file to a custom % of RAM powercfg /h /size 60
Trigger hibernation immediately shutdown /h
Generate a full power report (HTML) powercfg /energy
Check Fast Startup / boot performance powercfg /sleepstudy

Set a Custom Hibernate File Size

You can set hiberfil.sys to any percentage between 40% and 100% of your RAM. For example, to reserve exactly 60%:

powercfg /h /size 60

PowerShell: Trigger Hibernate Programmatically

You can also trigger hibernation from a PowerShell script, useful for automation or scheduled tasks:

Add-Type -AssemblyName System.Windows.Forms
[System.Windows.Forms.Application]::SetSuspendState("Hibernate", $false, $false)

Troubleshooting: Hibernate Option Missing, Grayed Out, or Not Working

Below are the most common reasons why the Hibernate option is missing or disabled, along with their solutions.

Problem 1: Hibernate Not in Power Menu After Running powercfg /hibernate on

Cause: The option may be enabled but not shown in the Power menu. It must be explicitly added via Control Panel.

Fix: Go to Control Panel โ†’ Power Options โ†’ Choose what the power buttons do โ†’ Change settings that are currently unavailable โ†’ Check Hibernate โ†’ Save changes. (Full steps in Section 7.)

Problem 2: Hibernate Is Grayed Out in Control Panel

Cause: Hybrid Sleep is enabled, which conflicts with Hibernate being shown as a separate option.

Fix: Open Power Options โ†’ Change plan settings โ†’ Change advanced power settings โ†’ Sleep โ†’ Allow hybrid sleep โ†’ Off. Then revisit the Power menu settings.

Problem 3: "Hibernate has not been enabled" in powercfg /a

This message appears when hibernation is disabled. Simply run:

powercfg /hibernate on

Problem 4: Hibernate Fails โ€” PC Restarts Instead of Hibernating

Common causes: outdated or incompatible drivers (especially GPU or chipset), corrupted hiberfil.sys, or third-party security software blocking disk writes.

Fix steps:

  1. Update all drivers via Device Manager or your manufacturer's website โ€” GPU drivers are the most common culprit.
  2. Run sfc /scannow in an elevated CMD to check for corrupted system files.
  3. Temporarily disable third-party antivirus and try hibernating again to isolate the issue.
  4. Reset the hibernate file: run powercfg /h off, restart, then powercfg /h on.

Problem 5: Hibernate Option Missing on Tablets and Surface Devices

Cause: Microsoft disables hibernation by default on devices using Connected Standby (also called Modern Standby / S0 Low Power Idle). These devices cannot use traditional S4 hibernation.

๐Ÿšจ
Connected Standby Devices If powercfg /a shows "The following sleep states are not available on this system: Hibernate โ€” System firmware does not support hibernation", the hardware does not support S4 hibernation and it cannot be enabled. This is by design on ARM-based and many modern thin-and-light devices.

Problem 6: hiberfil.sys Not Deleted After Disabling Hibernation

The file should be deleted automatically by powercfg /h off. If it persists, reboot and check again. Alternatively, run:

powercfg /hibernate off
shutdown /r /t 0

After the reboot, the file will be gone.

Pros and Cons of Using Hibernation in Windows 10 and 11

Whether hibernation is right for you depends on your workflow, hardware, and how much disk space you can spare.

โœ“ Advantages of Hibernate

  • Zero power consumption โ€” safe to leave for days or weeks.
  • Full session restored after power loss or battery drain.
  • Great for laptop users who travel frequently.
  • Resumes faster than a cold boot (no need to reopen apps).
  • No need to save every file before shutting down.
  • Useful for large workloads (VMs, heavy IDEs, many browser tabs).

โœ— Disadvantages of Hibernate

  • Consumes large disk space (up to 75% of RAM by default).
  • Slower resume than Sleep mode (10โ€“30 seconds vs ~2 seconds).
  • Disabling it removes Fast Startup, slightly slowing cold boots.
  • Not available on Connected Standby / Modern Standby devices.
  • Occasional compatibility issues with older drivers or BIOS.
  • Memory leaks in long-running apps may persist across hibernations.
๐Ÿ’ก
Recommendation Laptop users: Enable hibernation and set it to trigger automatically after ~3 hours of Sleep (configurable in Advanced Power Settings โ†’ Sleep โ†’ Hibernate after). Desktop users: Consider disabling it to save SSD space unless you frequently leave complex sessions running overnight.

Frequently Asked Questions About Windows Hibernation

Q Is it safe to use hibernation on an SSD? โ–ผ
Yes, modern SSDs handle hibernation without any meaningful wear. The concern about write endurance was valid with early SSDs and older systems, but today's drives have TBW (terabytes written) ratings far beyond what even frequent hibernation would cause over years of use. Hibernate away without worry.
Q Does hibernation count as "shutting down" for Windows Updates? โ–ผ
No. When you hibernate, Windows resumes to the exact saved state โ€” pending updates will not be applied until you perform a proper Restart or Shut down. If Windows Update is waiting, you may see a prompt asking you to restart before hibernating. Always restart periodically to apply updates.
Q Why is my PC slow after waking from hibernation? โ–ผ
This is normal for the first 30โ€“60 seconds after waking from hibernation. Windows is decompressing and reloading RAM contents from disk while also re-initializing hardware drivers. On an NVMe SSD the slowness is minimal; on a hard disk (HDD) it can take 1โ€“2 minutes. If the PC remains slow after several minutes, consider checking for driver updates or running sfc /scannow.
Q Can I put Windows 11 to hibernate with a keyboard shortcut? โ–ผ
There is no built-in keyboard shortcut for hibernate. However, you can: (1) assign the physical power button to trigger hibernation via Power Options, (2) create a desktop shortcut with the command shutdown /h and assign a hotkey to it, or (3) use the Start menu Power icon and click Hibernate. The quickest software method is pressing Win, then โป (Power icon), then H using keyboard navigation.
Q Will disabling hibernation make my PC boot faster? โ–ผ
Paradoxically, no. Windows 10 and 11 use Fast Startup, which is a form of partial hibernation โ€” it saves kernel session data to disk on shutdown to speed up the next boot. Disabling hibernation also disables Fast Startup, which means your PC will actually boot slightly slower (performing a full cold boot instead). The difference is typically just a few seconds on an SSD, but it is worth knowing.
Q How do I automatically hibernate after a set time in Windows 10 / 11? โ–ผ
Go to Control Panel โ†’ Power Options โ†’ Change plan settings โ†’ Change advanced power settings. Expand Sleep, then find "Hibernate after" and set the number of minutes of inactivity before the system hibernates. Alternatively, you can set "Hibernate after" to trigger after your Sleep timer, so the PC first sleeps, then hibernates if not woken within your chosen time.
Q Does hibernation work on PCs with 64 GB or more RAM? โ–ผ
Yes, hibernation works regardless of RAM size โ€” but the disk space requirement grows proportionally. A system with 64 GB RAM will need at least 32 GB (reduced mode) to 48 GB (full mode) of free disk space just for hiberfil.sys. On workstations with very large RAM (128 GB+), hibernate may become impractical and is often disabled in favor of Sleep mode.

Summary: Hibernate in Windows 10 and 11 โ€” Quick Reference

Here's everything you need in one place:

โšก Final Verdict

For laptop users, hibernation is one of the most useful Windows power features โ€” it lets you truly power off while preserving your full work session, even surviving complete battery drain. Enable it, add it to the Power menu, and set it to auto-trigger after a few hours of Sleep.

For desktop users, the tradeoff is simpler: Sleep mode is faster to resume and hibernation mainly wastes SSD space. Unless you leave large sessions running overnight, powercfg /hibernate off is a reasonable choice to reclaim disk space and simplify your power workflow.

In both cases, a single admin command-line instruction is all it takes to flip the switch โ€” no third-party software, no complex configuration. Windows makes this one easy.