{"id":4577,"date":"2025-10-08T11:55:22","date_gmt":"2025-10-08T06:25:22","guid":{"rendered":"https:\/\/toolswift.com\/blog\/?p=4577"},"modified":"2025-10-08T12:08:11","modified_gmt":"2025-10-08T06:38:11","slug":"what-is-the-hiberfil-sys-file-and-can-you-delete-it","status":"publish","type":"post","link":"https:\/\/toolswift.com\/blog\/what-is-the-hiberfil-sys-file-and-can-you-delete-it\/","title":{"rendered":"What Is the Hiberfil.sys File and Can You Delete It?"},"content":{"rendered":"<p>If you\u2019ve ever noticed a large file named <strong>hiberfil.sys<\/strong> taking up space on your system drive, you might wonder what it is and whether it\u2019s safe to delete. Let\u2019s break it down in simple terms.<\/p>\n<h2>What Is Hiberfil.sys?<\/h2>\n<p>The <strong>hiberfil.sys<\/strong> file is created automatically by Windows when you use the <strong>Hibernate<\/strong> feature. When you put your computer into hibernation, Windows saves everything in your system\u2019s memory\u2014like open programs and unsaved files\u2014to this file. That way, when you power your PC back on, it restores everything exactly as it was before you shut down.<\/p>\n<p>In short:<\/p>\n<ul>\n<li>Hiberfil.sys stores your session data before hibernation.<\/li>\n<li>It allows Windows to resume where you left off after restarting.<\/li>\n<li>It\u2019s managed entirely by Windows and located in the <strong>C:\\<\/strong> drive.<\/li>\n<\/ul>\n<p>Because this file holds all the data from your system memory, it can grow quite large\u2014usually between <strong>3 GB and 5 GB<\/strong>, but sometimes much more depending on your RAM size.<\/p>\n<h2>Where to Find It<\/h2>\n<p>The file is hidden by default because it\u2019s a <strong>protected system file<\/strong>. If you want to see it:<\/p>\n<ol>\n<li>Open <strong>File Explorer<\/strong> (<code>Windows + E<\/code>).<\/li>\n<li>Go to the <strong>View<\/strong> tab and check <strong>Hidden items<\/strong>.<\/li>\n<li>Click <strong>Options \u2192 Change folder and search options<\/strong>.<\/li>\n<li>In the <strong>View<\/strong> tab, uncheck <strong>Hide protected operating system files<\/strong> (you\u2019ll need to confirm the warning).<\/li>\n<\/ol>\n<p>Now you should see <strong>hiberfil.sys<\/strong> in the root of your <strong>C:<\/strong> drive.<\/p>\n<h2>Sleep vs. Hibernate: What\u2019s the Difference?<\/h2>\n<p>Both <strong>Sleep<\/strong> and <strong>Hibernate<\/strong> help save power, but they work differently.<\/p>\n<table>\n<thead>\n<tr>\n<th>Feature<\/th>\n<th>Sleep<\/th>\n<th>Hibernate<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Where data is saved<\/td>\n<td>RAM (temporary memory)<\/td>\n<td>Hard drive (hiberfil.sys)<\/td>\n<\/tr>\n<tr>\n<td>Power usage<\/td>\n<td>Low (uses battery)<\/td>\n<td>Almost none<\/td>\n<\/tr>\n<tr>\n<td>Speed to resume<\/td>\n<td>Very fast<\/td>\n<td>Slower but saves more power<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Sleep mode keeps your PC running in a low-power state, while Hibernate completely powers it off but remembers everything using hiberfil.sys.<\/p>\n<h2>Is Hiberfil.sys Safe?<\/h2>\n<p>Yes, it\u2019s completely safe. It\u2019s a <strong>legitimate Windows file<\/strong>, not a virus. However, if you see a file named <strong>hiberfil.sys<\/strong> somewhere other than <strong>C:\\<\/strong>, or with an <strong>.exe<\/strong> extension, that could be suspicious. The real file will always be in your main Windows directory.<\/p>\n<h2>Can You Delete Hiberfil.sys?<\/h2>\n<p>Yes \u2014 but only if you don\u2019t use Hibernate. The file can\u2019t be deleted while Hibernate mode is active, because Windows needs it. If you don\u2019t use that feature and want to free up several gigabytes of space, you can safely remove it.<\/p>\n<h2>How to Disable Hibernate (and Delete Hiberfil.sys)<\/h2>\n<h3>Option 1: Using Command Prompt<\/h3>\n<ol>\n<li>Click <strong>Start<\/strong>, type <strong>Command Prompt<\/strong>, right-click it, and select <strong>Run as administrator<\/strong>.<\/li>\n<li>Type this command and press <strong>Enter<\/strong>:<br \/>\n<code>powercfg -h off<\/code><\/li>\n<li>This turns off Hibernate and automatically deletes the hiberfil.sys file.<\/li>\n<\/ol>\n<p>If you ever want to bring Hibernate back, use the same command but replace <code>off<\/code> with <code>on<\/code>:<br \/>\n<code>powercfg -h on<\/code><\/p>\n<h3>Option 2: Using Windows PowerShell<\/h3>\n<ol>\n<li>Press <strong>Windows + X<\/strong> and select <strong>Windows PowerShell (Admin)<\/strong>.<\/li>\n<li>ype:<br \/>\n<code>powercfg \/hibernate off<\/code><br \/>\nPress <strong>Enter<\/strong>. Hibernate will be disabled and the file removed.<\/li>\n<\/ol>\n<p>To re-enable it later:<br \/>\n<code>powercfg \/hibernate on<\/code><\/p>\n<h3>Option 3: Through the Registry (Advanced)<\/h3>\n<p>This method is only for experienced users. Editing the registry incorrectly can cause system issues.<\/p>\n<ol>\n<li>Press <strong>Windows + R<\/strong>, type <code>regedit<\/code>, and hit <strong>Enter<\/strong>.<\/li>\n<li>Navigate to:<br \/>\n<code>HKEY_LOCAL_MACHINE\\SYSTEM\\CurrentControlSet\\Control\\Power<\/code><\/li>\n<li>Find <strong>HibernateEnabled<\/strong> on the right.<\/li>\n<li>Double-click it and change the <strong>Value data<\/strong> from <code>1<\/code> to <code>0<\/code>.<\/li>\n<li>Restart your PC.<\/li>\n<\/ol>\n<h2>Optional: Resize the Hiberfil.sys File<\/h2>\n<p>If you want to keep Hibernate but reduce its size, you can shrink the file instead of deleting it.<\/p>\n<ol>\n<li>Open <strong>Command Prompt (Admin)<\/strong>.<\/li>\n<li>Enter this command:<br \/>\n<code>powercfg.exe \/hibernate \/size 50<\/code><\/li>\n<\/ol>\n<p>This reduces the file size to 50% of your RAM (the minimum allowed).<\/p>\n<h2>Conclusion<\/h2>\n<p>The hiberfil.sys file is useful if you rely on Hibernate mode. But if you never use that feature, disabling Hibernate is a quick and safe way to <strong>reclaim several gigabytes<\/strong> of disk space. Deleting it won\u2019t harm your system, and you can always re-enable it later with a simple command.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you\u2019ve ever noticed a large file named hiberfil.sys taking up space on your system drive, you might wonder what it is and whether&hellip;<\/p>\n","protected":false},"author":1,"featured_media":4578,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[208],"tags":[],"class_list":["post-4577","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tips"],"_links":{"self":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts\/4577","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/comments?post=4577"}],"version-history":[{"count":2,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts\/4577\/revisions"}],"predecessor-version":[{"id":4582,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/posts\/4577\/revisions\/4582"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/media\/4578"}],"wp:attachment":[{"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/media?parent=4577"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/categories?post=4577"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toolswift.com\/blog\/wp-json\/wp\/v2\/tags?post=4577"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}