Deleting the hibernation file in Windows 11 isn’t too tricky. You’ll disable hibernation via the Command Prompt, which will automatically delete the hibernation file and free up some disk space. It involves just a few straightforward steps that you can tackle in a couple of minutes.
How to Delete Hibernation File Windows 11
In this guide, we’ll walk you through the steps to disable hibernation mode, which will remove the hibernation file from your computer. This process will help you reclaim some valuable disk space, especially if your storage is running low.
Step 1: Open Command Prompt as Administrator
To start, you need to open the Command Prompt with administrative privileges.
Search for "Command Prompt" in the Start menu. Right-click on it and choose "Run as administrator." This ensures you have the necessary permissions to make system changes.
Step 2: Disable Hibernation
Now, you’ll need to enter a specific command to disable hibernation.
Type in powercfg -h off
and hit Enter. This command disables hibernation and deletes the hibernation file (hiberfil.sys) from your system.
Step 3: Verify the Deletion
Finally, you want to check if the hibernation file has been removed.
Navigate to the C: drive (usually where the system files are stored) and look for the hiberfil.sys file. It should no longer be there, confirming that the file has been successfully deleted.
Once you’ve completed these steps, your computer will no longer save the hibernation file, freeing up space on your hard drive. You may notice a slight difference in how quickly your computer starts up, as hibernation is no longer an option.
Tips for Deleting Hibernation File Windows 11
- Check Disk Space Before and After: Note how much space the hibernation file was using.
- Consider Sleep Mode: If you don’t use hibernation, sleep mode is an alternative that doesn’t require a large file.
- Backup Important Data: Always good practice before making system changes.
- Understand the Trade-offs: Disabling hibernation means you can’t use it until you re-enable it.
- Re-enable if Needed: You can always re-enable hibernation by entering
powercfg -h on
in the Command Prompt.
Frequently Asked Questions
What is a hibernation file?
The hibernation file (hiberfil.sys) stores the state of your system so you can resume quickly.
Is it safe to delete the hibernation file?
Yes, but you lose the ability to hibernate until you re-enable it.
How much space can I free up?
It varies, but the hibernation file is usually several gigabytes.
Can I still use sleep mode?
Yes, sleep mode remains unaffected by disabling hibernation.
How do I re-enable hibernation?
Open Command Prompt as administrator and type powercfg -h on
.
Summary
- Step 1: Open Command Prompt as Administrator
- Step 2: Disable Hibernation
- Step 3: Verify the Deletion
Conclusion
Deleting the hibernation file in Windows 11 is a simple yet effective way to free up some extra disk space. While you lose the ability to hibernate your computer, many users find that sleep mode or a complete shutdown and startup process is sufficient for their needs.
Remember, you can always re-enable hibernation if you find you miss the functionality. This process is reversible and safe, as long as you follow the steps outlined. By understanding what the hibernation file does and how to manage it, you can take better control of your system’s performance and storage. Happy computing!

Kermit Matthews is a freelance writer based in Philadelphia, Pennsylvania with more than a decade of experience writing technology guides. He has a Bachelor’s and Master’s degree in Computer Science and has spent much of his professional career in IT management.
He specializes in writing content about iPhones, Android devices, Microsoft Office, and many other popular applications and devices.