Hibernation saves your session to disk, then powers down completely — but you can disable it if you don't use it

Hibernation in Windows 11 writes everything in your computer's memory to a file on your hard drive, then shuts down. When you power on again, Windows restores that file and you're back where you left off. The tradeoff is that hibernation uses disk space (typically 25 to 40 percent of your RAM) and can slow down shutdown if your system has a lot of data to write. If you rarely use hibernation or need that disk space back, you can turn it off through Settings, Command Prompt, or Control Panel — each method takes under five minutes.

Key Takeaways

  • Hibernation reserves disk space equal to your installed RAM, which you can reclaim by disabling it.
  • The Settings app is the simplest way to turn off hibernation if you have a standard user account.
  • Command Prompt with administrator rights is faster if you're comfortable typing commands.
  • Disabling hibernation does not affect sleep mode, which still works and uses far less power.
  • You can re-enable hibernation later using the same methods if you change your mind.

Disable hibernation through Settings

Open Settings by pressing Windows key + I. Go to System in the left sidebar, then select Power & battery. Scroll down and click Power and sleep (or Sleep and hibernation depending on your Windows version). Under the Hibernation section, you'll see a dropdown menu next to Hibernation — click it and select Never.

Windows will ask for confirmation. Click Yes to confirm. The hibernation file will be deleted from your drive over the next few minutes, freeing up the space it occupied. You can verify it's gone by checking your C: drive's free space before and after — the increase should match your installed RAM.

Disable hibernation using Command Prompt

Right-click the Start button and select Terminal (Admin) or Command Prompt (Admin). If you see a User Account Control prompt, click Yes. Type the following command exactly and press Enter:

powercfg /hibernate off

The command runs silently — no confirmation message appears. Close the terminal window. Hibernation is now disabled and the hibernation file will be removed. If you ever need to turn it back on, open Command Prompt as admin again and type powercfg /hibernate on, then press Enter.

Disable hibernation through Control Panel

Press Windows key + R to open the Run dialog. Type powercfg.cpl and press Enter. The Power Options window opens. Click Choose what the power button does in the left sidebar. Click Change settings that are currently unavailable near the top — you may need admin permission.

Scroll down to the Shutdown settings section. Uncheck the box next to Turn on fast startup if it's checked (this is optional but recommended when disabling hibernation). Look for Hibernate in the list — if it appears as an option, uncheck it. Click Save changes at the bottom, then close the window.

The difference between hibernation and sleep mode

Sleep mode keeps your RAM powered and running, so your computer wakes almost instantly. Hibernation writes RAM to disk and powers everything down, so it uses almost no electricity but takes longer to wake. Windows 11 defaults to a hybrid approach: after 20 minutes of sleep, it automatically hibernates to save power. Disabling hibernation means your computer will stay in sleep mode indefinitely instead.

If you're on a laptop and concerned about battery drain, sleep mode is usually sufficient — modern laptops lose only 1 to 2 percent of battery per hour in sleep. Hibernation is most useful if you leave your computer off for days or weeks and want to resume without restarting. If that's not your situation, disabling it frees up disk space with no real downside.

Reclaim disk space after disabling hibernation

The hibernation file (hiberfil.sys) sits in your C: drive root folder but is hidden by default. After you disable hibernation through Settings or Command Prompt, Windows removes it automatically within a few minutes. You don't need to manually delete it. On a system with 16 GB of RAM, you'll recover roughly 16 GB of disk space.

To verify the file is gone, open File Explorer and go to View in the top menu. Click Show and select Hidden items. Navigate to your C: drive. If hiberfil.sys no longer appears in the root folder, hibernation has been successfully disabled. You can turn off the display of hidden files again by unchecking Hidden items.

Re-enable hibernation if you change your mind

If you decide you want hibernation back, the process is just as quick. In Settings, go to System > Power & battery > Power and sleep, click the Hibernation dropdown, and select After 20 minutes or After 1 hour. Windows will recreate the hibernation file automatically. Alternatively, open Command Prompt as admin and type powercfg /hibernate on.

There's no penalty for toggling hibernation on and off — it's a simple on/off switch with no hidden consequences. Your system settings and files remain unchanged either way.

Frequently Asked Questions

Will disabling hibernation affect my computer's performance?

No. Hibernation is a shutdown feature, not something that runs while your computer is on. Disabling it won't change how fast your computer operates during normal use. The only change you'll notice is that shutdown may be slightly faster since Windows no longer needs to write RAM to disk.

Can I disable hibernation but keep sleep mode?

Yes. Sleep and hibernation are separate features. Disabling hibernation leaves sleep mode fully functional. Your computer will still sleep when idle and wake instantly when you press a key or move the mouse.

What if I don't see a hibernation option in Settings?

Some systems don't display hibernation in Settings if it's already disabled or if your hardware doesn't support it. Try the Command Prompt method instead — type powercfg /hibernate status to see whether hibernation is currently on or off on your system.

Does disabling hibernation affect fast startup?

Fast startup and hibernation are related but separate. Fast startup uses a partial hibernation file to speed up boot time. You can disable hibernation while keeping fast startup on, or vice versa. Most users find fast startup more useful, so consider leaving it enabled even if you turn off hibernation.

How much disk space will I free up?

The hibernation file is roughly equal to your installed RAM. A system with 8 GB of RAM will free about 8 GB; 16 GB of RAM frees about 16 GB. Check your system's RAM in Settings under System > About to estimate how much space you'll recover.