Sparewise

What is hiberfil.sys, and can you remove it?

Short answer: hiberfil.sys is where Windows saves memory to hibernate and for Fast Startup. It is often several GB. You cannot delete it like a normal file, but turning hibernation off removes it.

By hand, with Windows' own tools

  1. Open Terminal as administrator.
  2. Run powercfg /hibernate off. The file disappears and the space comes back.
  3. To turn it back on later: powercfg /hibernate on.

With Sparewise

Questions

Is it safe to turn off hibernation?

Yes, if you do not use Hibernate. Fast Startup also stops, so a cold start may take a few seconds longer.

Why is hiberfil.sys so large?

It is sized to a share of your memory, so PCs with more RAM have a bigger file.

Get Sparewise, free

Get it from the Microsoft Store   or download the installer

Free · Windows 10 and 11 · No account · No telemetry · Everything it removes can be put back

More guides: all guides