Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

PC Hibernation Settings: Turn It On or Off

· 6 min read · Home Tech

In this article
  1. Decide Whether You Need Hibernation
  2. Turn Hibernation On or Off in Windows
  3. Set Hibernation Timers for Automatic Use
  4. Where People Go Wrong with Hibernation Settings
  5. Check Your Hibernation Settings and Disk Space
  6. Hibernation for Desktops, Laptops, and Dual Boots
  7. Hibernation Not Working? Check These

Hibernation saves your open work and shuts the PC down completely, using zero power until you turn it back on. The most common mistake is confusing hibernation with sleep: sleep keeps RAM powered and drains the battery, while hibernation writes your session to the hard drive and powers off. You can turn hibernation on or off in Windows under Control Panel > Power Options > Choose what the power buttons do, but the option may be hidden until you click “Change settings that are currently unavailable.”

Decide Whether You Need Hibernation

Use hibernation when you will not use the PC for several hours or days and want to keep your programs open. It is also the right choice for laptops when the battery is critically low, because it prevents data loss when power runs out. If you mostly close the lid for short breaks, sleep is faster to resume and uses a small amount of power, so you do not need hibernation for those moments.

Hibernation is not available on every PC. It requires enough disk space to store the contents of your RAM, and some systems with “Modern Standby” may not show the option at all. Check your power settings first; if you do not see hibernation, your hardware or Windows edition may not support it.

Turn Hibernation On or Off in Windows

Windows hides the hibernation option by default in the power settings. To make it appear, you must first enable it in the Command Prompt as an administrator.

Enable Hibernation (Show the Option)

  1. Press Windows key, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Type powercfg /hibernate on and press Enter.
  3. Close the Command Prompt.

To disable hibernation entirely, use powercfg /hibernate off in the same way. Disabling also removes the hiberfil.sys file from your drive, freeing up space equal to about 40% of your RAM size.

Add Hibernation to Power Buttons and Start Menu

  1. Open Control Panel > Hardware and Sound > Power Options.
  2. Click Choose what the power buttons do (on the left).
  3. Click Change settings that are currently unavailable (requires administrator rights).
  4. Under Shutdown settings, check the box for Hibernate.
  5. Click Save changes.

Now you can choose Hibernate from the Power menu in the Start button, or set the power button or lid action to hibernate in the same settings page. The exact labels may differ slightly by Windows version, but the path is the same.

Set Hibernation Timers for Automatic Use

You can make your PC hibernate automatically after a period of inactivity. This is useful for laptops that you leave unattended, or for desktops you want to save power overnight.

  1. In Power Options, click Change plan settings next to your selected plan.
  2. Click Change advanced power settings.
  3. Expand Sleep and then Hibernate after.
  4. Set the time in minutes (for example, 120 for 2 hours). Use 0 to never hibernate automatically.
  5. Click OK.

Note that the timer only works if hibernation is enabled and the PC is not actively doing something that prevents sleep (like playing media or running a download). If you set both sleep and hibernate timers, the PC will sleep first, then hibernate after the hibernate timer if it stays asleep.

Where People Go Wrong with Hibernation Settings

The biggest mistake is trying to find the hibernate option in the Start menu before enabling it in the Command Prompt. Windows hides it by default, so the checkbox in Power Options is grayed out or missing until you run powercfg /hibernate on.

Another common error is disabling hibernation to save disk space without realizing it also disables Fast Startup. Fast Startup uses the hibernation file to boot Windows faster after a shutdown. If you turn hibernation off, you lose that speed boost. If you only want to free space, consider reducing the size of the hibernation file instead of turning it off.

People also confuse the Hibernate after timer with the Sleep after timer. If you set sleep to 30 minutes and hibernate to 60, the PC will sleep at 30 minutes and then hibernate at 60 minutes only if it remains asleep. If you set hibernate to 0, it will never hibernate automatically, even if you set a sleep timer.

Check Your Hibernation Settings and Disk Space

To see if hibernation is currently enabled, open Command Prompt and type powercfg /a. This lists all available sleep states and tells you if hibernation is enabled or not. The output will show something like “Hibernate: Enabled” or “Hibernate: Not Enabled.”

The hibernation file (hiberfil.sys) is hidden in the root of your system drive (usually C:). To check its size, open File Explorer, go to View > Options > Change folder and search options, then on the View tab, select Show hidden files, folders, and drives and uncheck Hide protected operating system files. You will see the file size in the drive’s properties. Typically, it is about 40% of your RAM size (e.g., 8 GB RAM gives a ~3.2 GB file).

If you want to reduce the file size without disabling hibernation, run powercfg /hibernate /size 50 as administrator to set it to 50% of RAM. The minimum is 40%, and you cannot set it lower while keeping Fast Startup fully functional.

Hibernation for Desktops, Laptops, and Dual Boots

ScenarioRecommended settingWhy
Laptop with low batteryHibernate when battery is criticalPrevents data loss when power runs out
Desktop left overnightHibernate after 2–4 hours of inactivitySaves power while keeping your session
Dual-boot with LinuxDisable hibernationHibernation can cause filesystem corruption when switching OSes
PC with SSD and plenty of diskKeep hibernation on for Fast StartupFaster boot times, minimal space cost

If you dual-boot Windows with another operating system, disable hibernation before using the other OS. The hibernation file stores the entire RAM state, and if you boot into the other OS and then return, Windows may not resume correctly. Use powercfg /hibernate off and shut down normally instead.

Hibernation Not Working? Check These

If you enabled hibernation but the option still does not appear in the Start menu, go back to Power Options > Choose what the power buttons do and click Change settings that are currently unavailable. The checkbox for Hibernate might be unchecked. Also, some laptops with “Modern Standby” (also called S0 low power idle) do not support traditional hibernation; the power settings will not show it even after enabling it in Command Prompt.

If hibernation does not work when you select it (the PC shuts down but does not resume), the most common cause is a driver that does not support hibernation, especially graphics or chipset drivers. Update your drivers from the manufacturer’s website, not just through Windows Update. Also, make sure your system drive has enough free space for the hibernation file to be written completely.

For laptops, check that the battery is not completely drained before hibernating. If the battery dies during hibernation, the session may be lost because the RAM contents are written to disk but the disk write might be interrupted. Always save your work before hibernating if the battery is below 5%.