Skip to content
Follow
Windows

How to Enable or Disable Hibernate in Windows 11

Richard
Written by
Richard
Updated 5 min read
How to Enable or Disable Hibernate in Windows 11
How to Enable or Disable Hibernate in Windows 11
Before you start
  • 2 ways to do it
  • Needs administrator rights
  • Group Policy needs Windows 11 Pro, Enterprise or Education
  • Includes a restart or sign-out

Hibernate in Windows 11 saves your computer’s current state to your hard drive, letting you resume exactly where you left off without using power. Your open apps and documents are still there when you turn the PC back on.

Advertisement

This power-saving feature completely shuts down your PC, unlike Sleep mode which keeps your RAM active. It’s great for when you won’t use your computer for a while, such as overnight travel or a long weekend away from the desk.

The hibernation file, called hiberfil.sys, can take up significant disk space, sometimes several gigabytes. Disabling hibernate can help you reclaim this space. This tutorial shows you how to turn hibernate on or off, and what to check if the option is missing.

⚡ Quick Answer

Open Windows Terminal as Administrator, type powercfg -h on and press Enter. Restart your computer. Hibernate now appears in your Power menu and Windows creates the hiberfil.sys file on your drive.

Advertisement

What is Hibernate?

Hibernate saves your open files and programs to your hard drive, then completely turns off your PC, using very little power. When you press the power button again, Windows reads that saved state back into memory and puts you where you were.

Hibernate is especially useful if you won’t use your laptop or tablet for a long time and won’t have a chance to charge it. Sleep slowly drains the battery because it keeps RAM powered. Hibernate does not.

Advertisement

Things to Know About Hibernate

⚠️WarningHibernate in Windows 11 saves your open apps and documents to the 📁C:\hiberfil.sys file on your hard drive before turning off your computer completely.

This mode uses zero power while letting you resume your work much faster than a normal boot, though the system file can take up a lot of storage space.

Before you change anything, here is what happens when you switch hibernate on or off:

  • Windows saves hibernate info in a hidden file called C:\hiberfil.sys. This file usually takes up about 40% of your computer’s RAM size. On a PC with 16 GB of RAM, that is several gigabytes on your system drive.
  • If you turn off hibernate, Windows will delete this file to free up space on your hard drive. You get the space back right away, and you can turn hibernate on again later to recreate the file.
  • Turning off hibernate also disables a feature called fast startup, which helps your PC start faster after shutdown. Fast startup relies on the same file, so if you care about quick boots, think twice before turning hibernate off.
  • When hibernate is off, you won’t see it as an option when you click the Power menu. If hibernate is on but the option is still missing, open Control Panel, go to Power Options, click Choose what the power buttons do, then Change settings that are currently unavailable, and tick the Hibernate box under shutdown settings.

How to Turn Hibernate On or Off

Method 1Using Commands

  1. ⚙️ Requires Admin Privileges: Right-click the Start button and choose Windows Terminal (Admin) or Command Prompt (Admin). If Windows asks whether you want to allow the app to make changes, click Yes. A terminal window opens with a prompt. Make sure it is the administrator one, because the commands fail with an access error in a normal window. This works the same on Home and Pro.
  2. To turn on hibernate, type this command and press Enter:

    powercfg -h on

    The command normally prints nothing when it works. The prompt simply returns, and Windows creates the hibernation file.
  3. To turn off hibernate, type this command and press Enter:

    powercfg -h off

    Again, expect no message. Windows deletes the hibernation file, and fast startup is disabled with it. Use only one of these two commands. To undo your change, run the other one.
  4. Close the terminal window when done. Restart your computer so the change is fully applied, then check the Power menu to confirm Hibernate appears or is gone, depending on which command you ran.

Method 2Use Local Group Policy Editor

  1. ⚙️ Requires Admin Privileges: Open the Local Group Policy Editor, then navigate to Computer Configuration\Administrative Templates\System\Power Management\Sleep Settings. This editor is only included in Windows 11 Pro, Enterprise and Education. On Windows 11 Home it is not available, so use the command method above instead.
  2. Select Specify the system hibernate timeout (plugged in/on battery). Double-click it to open its settings window.
  3. Set it to Enabled and enter 0, then click Apply and OK. A timeout of 0 means Windows never hibernates automatically. Note that this policy does not delete the hibernation file, so it will not free disk space. To undo it, set the policy back to Not Configured. Restart your PC afterward.
Advertisement

Extra Tip: What if Hibernate Option is Missing?

Modern Standby (a power state that keeps your PC connected to the network while asleep) turns off the hibernate function by default on many newer computers. If you cannot find the hibernate option in your power settings, you need to change your system power configuration to bring it back.

The usual fix is to run the turn-on command from the Command Prompt section above in an administrator terminal, then restart. After that, check the Power menu. If Hibernate is still not listed, tick the Hibernate box in Power Options as described earlier. On some hardware the manufacturer blocks hibernate entirely, and you may need a BIOS or firmware update.

Summary

⚠️WarningTurning on hibernate in Windows 11 lets you save all your open work and shut down your computer completely without draining your battery.

Choosing to turn on hibernate windows 11 gives you a fast way to resume your exact workflow, while turning it off frees up valuable disk space on your hard drive.

The main points to remember:

  • Hibernate saves your work and turns off your PC using very little power.
  • It's great if you won't use your device for a while and can't charge it.
  • Turning off hibernate frees up disk space but disables fast startup.
  • You can turn hibernate on or off easily using commands, from an administrator terminal. Run the opposite command any time to undo it.
  • Remember to restart your computer after changing these settings.
  • For more details from Microsoft, see their official guide: Disable and Re-enable Hibernation - Microsoft

Have a question about this guide?

Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.

Tags: #Windows 11

Did this guide fix your problem?

Richard

About the Author

Richard

Tech Writer, IT Professional

Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.

Advertisement

No comments yet — be the first to share your thoughts!

Leave a Comment

Your email address will not be published. Required fields are marked *