How to delete hiberfil.sys safely in Windows

How to delete hiberfil.sys safely in Windows

Learn how to delete hiberfil.sys safely in Windows, recover disk space, and understand what happens to Hibernate and Fast Startup before you begin.

Year
2026-11-21 19:28
Category
Back It Up Before You Need It

If your Windows drive is nearly full and you have found a large file called hiberfil.sys, you can usually reclaim that space by turning off hibernation. To delete hiberfil.sys safely, use an administrator command rather than dragging the file to the Recycle Bin. The trade-off: Hibernate and Windows Fast Startup will no longer be available until you turn hibernation back on.

What is hiberfil.sys?

Hiberfil.sys is a protected system file that Windows uses to save information from memory when your computer hibernates. Hibernation lets you shut down while preserving your open session on the drive, so you can return to it later. Windows can also use the file for Fast Startup, a feature intended to make startup after a shutdown faster.

The file normally lives at the root of your Windows drive, often C:\. Its size varies with the computer and its hibernation settings. It is not a folder full of your family photos, and you do not need to open it or copy it somewhere else.

Before you delete hiberfil.sys, think about whether you use Hibernate from the power menu or rely on your laptop to preserve a session when its battery gets critically low. Turning the feature off changes those options. Sleep is different: it generally keeps the session in memory while using a small amount of power, so disabling hibernation does not ordinarily disable Sleep.

How to delete hiberfil.sys using an administrator command

Save any open work first. You do not normally need to restart to run the command, but saving gives you a clean starting point whenever you change a system setting.

Open the Start menu and search for Command Prompt. Choose Run as administrator, then approve the Windows security prompt. On Windows 11, you can also open Terminal as administrator and use its command line. If you are asked for an administrator password, you will need an account with permission to make this change.

Illustration for delete hiberfil.sys

Type the following command exactly as shown, then press Enter:

powercfg /hibernate off

Windows should disable hibernation and remove the associated file automatically. You may not see a confirmation message. Close the window and check the available space on your Windows drive in File Explorer under This PC. The amount you recover depends on the size of the file that was there.

You do not need to make hidden system files visible just to delete hiberfil.sys. In fact, I would leave those files hidden unless you have a specific reason to inspect them. It is easier to avoid accidentally moving something Windows needs.

If the command reports that you do not have permission, close the window and reopen it using Run as administrator. On a work or school computer, an organization may control power settings; ask its IT support before changing them.

What changes after hibernation is off?

Hibernate will no longer be available, and Fast Startup will be disabled because it depends on hibernation. A normal shutdown still works, as does restarting your computer. Startup may take longer without Fast Startup, although the difference depends on the device.

Sleep is useful for a short break, but it is not a substitute for saving your work. A sleeping laptop still draws some battery power. If the battery runs out and the computer cannot hibernate, unsaved work may be lost. For a laptop you tuck away for days at a time, shutting down after saving your documents may be the simpler habit.

Your personal files should not be removed when you delete hiberfil.sys this way. Even so, freeing space is not a backup. If the photos or documents on this computer matter to your household, keep another copy on a separate drive or in a suitable cloud backup, and make sure you know how to restore it.

How to bring Hibernate back

If you miss Hibernate or want Fast Startup available again, open Command Prompt or Terminal as administrator and enter:

powercfg /hibernate on

Windows can then recreate the hibernation file, which will use drive space again. You may also need to enable Hibernate in your power menu or Fast Startup in Windows power settings. Availability and menu wording can vary by device and Windows configuration.

Visual context for delete hiberfil.sys

If Hibernate does not appear after you turn it back on, search Windows for Control Panel, open Power Options, and look under the settings for what the power buttons do. You may need to select the option to change settings that are currently unavailable before adjusting the shutdown options. Some devices or organizational policies may limit which power features are offered.

If you still need more room

After you delete hiberfil.sys, check what is actually filling the drive before removing anything else. Open Settings, then System, then Storage. Windows can show categories such as installed apps, temporary files, and other stored content. Review each category instead of assuming every item is disposable.

For photos and videos, move only files you can identify, and confirm the destination copy opens before removing the original. An external drive can provide extra storage, but a single external drive is not a backup if it holds the only copy. Cloud syncing can also make files available online, but deleting a synced file may delete it from other connected devices, too. Check your service's settings before clearing a synced folder.

I would skip third-party tools that promise to delete hiberfil.sys along with a long list of mysterious system files. The built-in command gives you a straightforward way to reverse this particular change. For the rest, a few minutes reviewing Storage and your Downloads folder is a calmer place to start.

Comments

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

Leave a comment