hiberfil.sys: What It Is and How to Free Up Its Space
Wondering what hiberfil.sys is? Learn why Windows creates this large file, when to remove it safely, and how to restore hibernation if you need it.
You’re clearing space on a Windows computer and find hiberfil.sys taking up a surprising chunk of the drive. The good news: it’s a normal Windows system file, not a pile of forgotten family photos. If you don’t use hibernation, you can usually reclaim its space by turning that feature off. Don’t delete the file directly; let Windows handle it.
What the file does
Windows uses hiberfil.sys to store information from memory when your computer hibernates. Hibernate saves your open session to the drive and powers the computer down. When you turn it back on, Windows can restore that session.
That’s different from sleep, which generally keeps your session in memory while using a small amount of power. The exact sleep options available depend on your computer. Hibernate can be useful when you need to put a laptop away for a while without closing everything, especially if you’re worried about its battery running out.
The file is normally located at the root of your Windows system drive, commonly C:\hiberfil.sys. It may be hidden because it is a protected operating system file. Its size varies with your computer’s memory and Windows power configuration, so a large file is not automatically a sign that something is wrong.
Windows can also use this file for Fast Startup, a feature that uses hibernation technology to help with startup after shutdown. Turning off hibernation disables Fast Startup too. It does not disable an ordinary restart.
How to safely remove hiberfil.sys
Before you make the change, save your open work and check whether anyone who shares the computer relies on Hibernate. If this is a work or school device, ask its administrator first; power settings may be managed for a reason.

Open the Start menu, type Command Prompt, then choose Run as administrator. Approve the Windows permission prompt if it appears. In the administrator window, enter the following command and press Enter:
`powercfg.exe /hibernate off`
Windows should turn off hibernation and remove the associated file. You can then check available space in Settings under System and Storage, or look at the free space shown for your Windows drive in File Explorer. You may need to refresh the view before the change appears.
This is a system-wide setting, not a cleanup for just one user account. Hibernate will no longer be available until you turn it back on, and Fast Startup will be unavailable in the meantime. Sleep may still work, but its behavior depends on the device and its power settings.
If the command reports that you don’t have permission, make sure you opened the command window as an administrator. On a managed computer, don’t try to work around an organization’s restrictions. If you see another error, copy its exact wording before searching for help; it is more useful than guessing at the cause.
How to restore hibernation
If you miss the feature, open Command Prompt as an administrator again and run:
`powercfg.exe /hibernate on`
Windows will enable hibernation and recreate the file as needed, provided the computer supports the feature. That means hiberfil.sys will take up drive space again. Save your work before changing power settings, just as you did when turning the feature off.
If Hibernate doesn’t appear in your power menu afterward, that does not necessarily mean the command failed. On supported systems, you may need to add it through Control Panel under Power Options, then Choose what the power buttons do. Select Change settings that are currently unavailable if needed, check Hibernate under shutdown settings, and save changes. Menu choices can vary by device and Windows version.
You can also run `powercfg /a` in a command window to see which sleep states Windows reports as available and, in some cases, why others are unavailable. If hibernation is not supported or is restricted by device settings, simply recreating the file may not make the option usable.

Should you turn it off?
For a desktop that you shut down regularly, disabling hibernation can be a reasonable way to recover space without sorting through personal files. The same may be true for a laptop whose owner never chooses Hibernate and is comfortable giving up Fast Startup.
I’d leave the feature alone if you depend on resuming a crowded workspace after the computer has been powered down. Also consider your household’s habits: a shared laptop may be used differently by each person. The saved space is helpful only if the change doesn’t create a new headache.
Turning hibernation off does not delete your documents, pictures, or installed apps. Still, it’s sensible to save open files before changing the setting. A hibernated session is a convenience, not a substitute for saving work or keeping a separate backup.
If you still need more room
Removing hiberfil.sys may provide breathing room, but it won’t fix a drive that keeps filling up. In Windows Storage settings, look at the categories using the most space before deleting anything else. Temporary files are one place to review; read the categories carefully before confirming, particularly anything that includes Downloads or the Recycle Bin.
For family photos and documents, make sure you have a separate, working backup before moving or deleting the only copy. A file visible in a cloud-synced folder is not automatically an independent backup: changes and deletions can sync across devices. Check that your backup contains the files you expect and that you can open a restored copy.
Finally, don’t try to force-delete hiberfil.sys or other protected Windows files to chase a few extra gigabytes. Use the Windows setting or command that controls the feature, then tackle the storage categories you recognize. Keep it findable. Keep it safe. Keep it yours.
Comments
No comments yet — be the first to share a thought.