What Is hiberfil.sys and Can You Delete It?

What Is hiberfil.sys and Can You Delete It?

Wondering what is hiberfil.sys? Learn why Windows creates this large file, when it is safe to remove, and how to restore hibernation if you need it later.

Year
2026-11-17 23:14
Category
Back It Up Before You Need It

If you have spotted a surprisingly large file on your Windows drive and wondered what is hiberfil.sys, here is the reassuring answer: it is a normal Windows system file used for hibernation. You can usually reclaim its space by turning hibernation off, but doing so also affects Fast Startup. Don’t delete the file by hand; let Windows remove it through a simple administrator command.

Before changing anything, check how much space you actually need. If your drive is almost full and you never use Hibernate, this may be a worthwhile cleanup. If you rely on your laptop reopening exactly where you left off, understand the tradeoff first.

What is hiberfil.sys used for?

Windows creates hiberfil.sys on the system drive, usually C:, to support hibernation. When a computer hibernates, Windows saves the state of your open work to that file and powers down. When you turn the computer back on, Windows can restore your session from the saved state.

That is different from Sleep. In Sleep mode, the computer keeps the session in memory while using a small amount of power. Hibernation takes longer to resume but does not need to keep that session in memory while the computer is off. The exact options available depend on your device and its settings.

The file may also play a part in Fast Startup, a Windows feature that uses hibernation technology to speed up startup after a shutdown. Fast Startup is not the same thing as hibernating your whole open session: after a normal shutdown, your apps and documents are closed.

Why is the file so large?

The amount of space hiberfil.sys uses depends in part on your computer’s memory and hibernation configuration. It can take up several gigabytes, so it may stand out when you are looking for room for photos or a Windows update. A large size alone does not mean the file is damaged or suspicious.

Illustration for what is hiberfil.sys

You may not see it during ordinary browsing because Windows treats it as a protected operating system file. If a storage tool shows it at the root of C:, that is its usual location. There is no need to change hidden-file settings just to look for it.

If you are asking what is hiberfil.sys because a drive-cleaning app flagged it, pause before accepting a one-click deletion. The name describes a legitimate Windows file, and changing the Windows setting is the safer way to remove it. If a security tool reports a threat associated with a similarly named file elsewhere, review the alert rather than assuming every file with that name is harmless.

How to remove hiberfil.sys safely

Turning hibernation off normally removes the file and frees its space. Save your work first, and make sure you have an administrator account or the credentials for one.

Open the Start menu and search for Command Prompt. Choose the option to run it as administrator, and approve the Windows permission prompt. In the window that opens, type the following command and press Enter:

powercfg /hibernate off

Windows will turn off hibernation and normally remove the file. You can then check the free space on your system drive in File Explorer. If the command fails, read the message: it may indicate that the window was not opened with administrator privileges. On a work or school computer, an organization’s settings may prevent you from making the change; ask its support team rather than trying to bypass those controls.

The important catch is that disabling hibernation also disables Fast Startup. Your computer can still shut down, restart, and use Sleep if your hardware supports it, but the Hibernate option will no longer be available. Startup after a shutdown may feel slower. If that tradeoff bothers you, restoring the setting is straightforward.

How to restore hibernation

Open Command Prompt as administrator again, enter the following command, and press Enter:

powercfg /hibernate on

Windows can recreate hiberfil.sys, using drive space again. This restores hibernation support, although you may need to enable the Hibernate option in your power settings for it to appear in the power menu. Fast Startup can also depend on your power settings and device configuration, so check those if you want to use it.

Visual context for what is hiberfil.sys

You do not need to remember a complicated recovery procedure. The useful pair to keep in a household tech note is “off” to disable hibernation and “on” to bring it back. Neither command is a substitute for saving a document normally.

Is it safe to remove if you have unsaved work?

Save open files before turning hibernation off. A hibernated session is a convenience, not a backup: it does not give you an independent copy of a family photo, a school form, or an unfinished tax document. Power problems, hardware trouble, or an interrupted update can still leave work at risk.

If you are trying to understand what is hiberfil.sys on a laptop you regularly close and carry around, consider your routine. Some devices use hibernation automatically after sleeping for a while or when a battery gets low. Disabling it may change that behavior, so check your power settings and save work before moving the laptop.

For irreplaceable files, keep a separate backup in addition to the everyday copy. An external drive can provide a local copy; cloud backup can provide an off-site copy, depending on the service and settings. Confirm that the files you care about are actually included and that you can open a restored copy.

Other ways to make room

If keeping hibernation matters more than the space it uses, look elsewhere first. Empty the Recycle Bin after checking its contents, remove apps you no longer need, and review large downloads. Windows Storage settings can help you find categories taking up space without hunting through system folders.

For photos and videos, copy older material to a backup destination before removing any local originals. A synced cloud folder is not automatically a safe archive: depending on the service and its settings, deleting a file on one device may delete it from the cloud and other devices too.

Once you know what is hiberfil.sys, the decision gets simpler. Leave it alone if hibernation helps your household; turn the feature off through Windows if the space is more useful. Either way, keep your important files saved and backed up separately.

Comments

No comments yet — be the first to share a thought.

Leave a comment