Hiberfil.sys Too Large in Windows 11? Safe Ways to Reclaim Disk Space

Laptop with a crescent moon and stars above it, beside a storage bar partly filled by one block

Last reviewed: November 23, 2026. If hiberfil sys too large is the problem you see in Windows 11, this guide explains the safe options. Steps were compared with Microsoft documentation and not run on a real PC.

Quick answer

Five points to remember

  • What it is: hiberfil.sys is the hidden hibernation file in C:\. Windows protects it as a system file.
  • Why it is big: Microsoft says its size is approximately equal to installed RAM. Its default full size is listed as about 40% of physical memory.
  • Safe ways to shrink it: switch to the reduced type, which keeps Fast Startup but drops full Hibernate. Or turn hibernation off with powercfg if you never use it.
  • What you lose: Hibernate, hybrid sleep and Fast Startup, depending on the option you pick.
  • Never: delete hiberfil.sys by hand or with a cleaner. Use the powercfg commands in this guide.

In this guide

What hiberfil.sys is

hiberfil.sys sits in the root of the Windows drive, at C:\hiberfil.sys. It holds the memory image that hibernation needs. Without it, hibernation cannot work.

Microsoft’s hibernation article says the file is used when hybrid sleep is on. It says: “If this file is not present, the computer cannot hibernate.”

The file is tied to two features. Hibernate saves your session to disk and turns the PC off. Fast Startup uses the same kind of file when you shut down. Turning either feature off changes what the file is used for.

How to see its size

Check the System & reserved total

Open the storage page first. Menu names vary by Windows version, so the labels may differ.

SettingsSystemStorage

  1. Select Show more categories, if you need to.
  2. Select System & reserved and note the total.

You should see one total for System & reserved. That total holds several parts, not only hiberfil.sys. If the total is unclear, read what sits in System & reserved storage.

Note

The Storage total is a group. It does not give hiberfil.sys its own line. The Microsoft pages we read do not show hiberfil.sys on its own line in Settings.

Find the file itself

Windows hides protected system files by default. To see the file, change two File Explorer settings. Open File Explorer, then:

  1. Select View > Show > Hidden items.
  2. Open File Explorer Options > View, untick Hide protected operating system files, then select OK.

You should see hiberfil.sys in the root of C:. Its size shows in Properties. Re-tick the protected files option when you finish.

Warning

Showing protected files shows Windows files too. Do not delete, move or rename anything you see there.

Check whether hibernation is on

Open Terminal as administrator, then run this command. It lists the sleep states your PC supports.

powercfg /a

You should see Hibernate listed as available if the full file is in use. Microsoft says a reduced file makes hibernation not supported, and no file gives a not-enabled message. If this does not work, confirm that you opened Terminal as administrator, then try again.

How big it normally is, and why it follows RAM

The file grows with memory, because it stores a copy of memory. More installed RAM means more to save. Microsoft’s hibernation article says the size is approximately equal to installed RAM.

Microsoft’s system power states page gives different default figures. It lists about 40% of physical memory for the full type and about 20% for the reduced type. Both are Microsoft statements, so treat them as a guide and check your own PC.

SettingWhat Microsoft documentsWhat it supports
Full hibernation fileDefault about 40% of physical memoryHibernate, hybrid sleep and Fast Startup
Reduced hibernation fileDefault about 20% of physical memoryFast Startup only
Hibernation articleApproximately equal to installed RAMA rough guide to the file size

The figures are Microsoft’s, but they describe defaults. Your size depends on your memory and your settings. Do not treat any number here as a fixed amount for your PC.

Safe ways to reduce it

Microsoft documents three routes that change the file. Each one has a cost. Pick the route that matches how you use the PC.

  • Do you use Hibernate or hybrid sleep?
    • Yes: keep the full file. Leave it alone, or try the size option below.
    • No: go to the next question.
  • Do you want Fast Startup?
    • Yes: use the reduced type.
    • No: turning hibernation off is an option.

Option 1: switch to the reduced type

The reduced type keeps Fast Startup. It removes full Hibernate and hybrid sleep. Microsoft lists the reduced file as supporting Fast Startup only.

  1. Open Terminal (Admin) Right-click Start, then choose Terminal (Admin).
  2. Reset the size Type the first command in the next box and press Enter.
powercfg /hibernate /size 0

Microsoft describes this as the reset for a custom size. Next, set the reduced type. Type the command in the box below and press Enter.

powercfg /hibernate /type reduced

You should see no error. Run powercfg /a again and check that hibernation is now not supported. If this does not work, confirm that Terminal is running as administrator, that the size reset ran first without an error, and that both commands are typed exactly as shown. Then retry.

Option 2: set a smaller size

The /size option takes a percentage of total memory. Microsoft says it also turns hibernation on. Setting it to 0 returns the size to Windows control.

We give no number here. Microsoft documents the option, but not a safe value for every PC. To read the help on your build, run the command below.

powercfg /? hibernate

Note

Choose a custom size only if you have a clear reason. The default is simpler to keep and easier to undo.

Option 3: switch back to the full type

Use the full type when you want Hibernate, hybrid sleep and Fast Startup back. The full type needs more space, so on a small drive it may be worth choosing reduced if you do not use hibernation.

powercfg /hibernate /type full

You should see no error. Then go to Start > Power, and look for Hibernate in the list. Hibernate appears only if hibernation is on and enabled.

Option 4: turn hibernation off

This is the only option that removes the feature itself. Use it only if you never hibernate and do not need Fast Startup.

powercfg /hibernate off

Warning

Hibernate stops working. Microsoft says hybrid sleep does not work when hibernation is unavailable. Fast Startup relies on the same hibernation file. Many guides report that turning hibernation off also removes the Fast Startup option; Microsoft’s pages we reviewed do not state it. Read restart versus shut down in Windows 11 before you change how you end your session.

To turn it back on, run this command, then restart.

powercfg /hibernate on

You should see hibernation available again in powercfg /a. If this does not work, run the command again in Terminal (Admin), then restart the PC.

Laptop, battery and small SSD notes

Hibernation is commonly used on laptops. It suits a long gap when the battery will not be charged for a while.

Laptops and sleep timing

Sleep is for short breaks. Microsoft says to use Sleep when you will be away for a little while. Hibernate suits a longer gap, such as overnight or a trip.

  • Before you turn hibernation off, check how your laptop sleeps and wakes.
  • Do not change the lid or power button actions only to save disk space. Those settings change how the laptop behaves each day.

Warning

Microsoft says you may lose data if hibernation is unavailable and a power loss occurs while hybrid sleep is on. On a laptop, check hybrid sleep before you turn hibernation off.

Small SSD drives

The file takes space in proportion to memory, so it matters more on a small drive. The reduced type and the off setting free space, but they remove features you may use.

We found no Microsoft guidance that hibernation shortens SSD life. This guide does not make that claim. For small drives, see freeing space on a 64GB or 128GB Windows laptop and what is safe to clean on an SSD versus a hard drive.

Why deleting the file is wrong

Windows creates and reserves this file itself. Microsoft says the Windows Kernel Power Manager reserves it when you install Windows.

Deleting it by hand leaves Windows expecting a file that is gone. That can break hibernation and Fast Startup, and it is not a documented route. Use powercfg instead.

Warning

Never delete hiberfil.sys by hand. Never use a PC cleaner to remove it. Change it only with the powercfg commands in this guide.

A cleaner that lists the file as junk is making a claim Microsoft does not support. Read what a PC cleaner does and what it cannot do before you run one, and compare with system cleanup software for Windows 11. For a short check before you choose one, use the PC cleaner software checklist.

We found no Microsoft-documented Storage or Disk Cleanup button that removes hiberfil.sys. For safe built-in cleanup, use how to free up disk space on Windows 11. Compare the options in Storage Sense versus Disk Cleanup versus a cleaner. To see what the Disk Cleanup tool itself offers, follow our Disk Cleanup walkthrough for Windows 11.

If the file does not shrink or Hibernate is missing

These are two different problems. Sort out which one you have first.

The file has not changed size

  1. Restart the PC. The file can keep its old size until the next start.
  2. Run powercfg /a again. Check which type is now active.
  3. Look at the drive. If the drive is nearly full, read what fills the C: drive in Windows 11. For a drive that keeps filling, see why the C: drive keeps filling up.

You should see the size change after a restart, or a clear state in powercfg /a. If this does not work, stop and check the other parts of System & reserved storage before trying more commands.

Hibernate is missing from the menu

If Hibernate is missing from Power, that is a different fault. The steps for it are in the Windows 11 Hibernate option missing guide. Follow that guide for the fix. We do not repeat its steps here.

The page file is a separate file

The page file, pagefile.sys, is not the hibernation file. If you want to change it, read how to change the virtual memory page file in Windows, and change one setting at a time.

Still unsure?

The guided Repair Assistant can ask a few questions and point to the right guide. It does not scan your PC.

Windows 10 differences

The powercfg commands are the same on Windows 10. Menu paths differ. Microsoft’s support page gives this route for Hibernate on Windows 10:

StartSettingsSystemPower & sleepAdditional power settings

Then choose Choose what the power button does and Change settings that are currently unavailable, and tick Hibernate under Shutdown settings if it is listed. Menu names vary by Windows version and build.

Who should leave it alone

  • You use Hibernate, hybrid sleep or Fast Startup every day.
  • You rely on hibernation overnight or when a laptop goes into a bag.
  • It is a work or managed PC. Power settings may be set by policy, so ask IT first.
  • You have not yet measured the problem. Start with the System & reserved check above.
  • Hibernate has just stopped working. Check the cause before you change the file, using the Hibernate option guide.

FAQ

About the file

Is hiberfil.sys a virus?

No. It is a Windows system file used for hibernation. Its presence is normal on most PCs where hibernation is on.

Why is hiberfil.sys so large?

It holds a copy of memory. Microsoft says its size is approximately equal to installed RAM, so more memory means a bigger file.

Does Fast Startup use this file?

Yes. Microsoft lists Fast Startup among the features the full and reduced files support. The reduced file supports only Fast Startup.

Changing it

Can I delete hiberfil.sys to save space?

No. Do not delete it by hand or with a cleaner. Use the powercfg commands in this guide, which Microsoft documents.

Does turning hibernation off make my PC faster?

This guide makes no speed claim. Turning hibernation off frees the file’s space, but it also removes Hibernate, hybrid sleep and, with them, the Fast Startup route.

Should a laptop use hibernation?

Hibernation is commonly used on laptops and suits a long gap without charging. Use Sleep for short breaks, and keep hybrid sleep settings in mind before you turn hibernation off.

Is the Windows 10 process the same?

The commands are the same. The menu paths differ, so use the Windows 10 route in the section above.

How we checked this

We read four Microsoft pages: the hibernation article, the powercfg command-line options page, the system power states page and the Microsoft Support page on shutting down, sleeping or hibernating. The older hibernation address returned a not-found error, so we used the address Microsoft links to.

The steps were compared with those pages. They were not run on a real PC. Menu names can vary by Windows build.

Sources

More help

For more step-by-step repair guides, visit the PC repair guides home page.