The Wild

How to Enter Hibernate Mode: Step-by-Step Guide

· 7 min read · Mammals

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Hibernate mode saves your open documents and programs to your hard drive and then powers off the computer completely, so you can resume exactly where you left off without using any battery or wall power. Unlike sleep, which keeps the session in RAM and draws a trickle of power, hibernation writes the session to a file (hiberfil.sys on Windows) and shuts down. You need a computer that supports hibernation, enough free disk space roughly equal to your installed RAM, and—on Windows—the feature enabled in power settings. On macOS, hibernation is called "safe sleep" and is largely automatic. On Linux, you may need to configure swap space. This guide covers the common paths for Windows, macOS, and Linux, plus what to do when the option is missing or the resume fails.

What You'll Need

  • A computer that supports hibernation (most laptops and many desktops do; some low-power or tablet-style devices do not).
  • Free disk space at least equal to your installed RAM (Windows creates a hiberfil.sys file of that size).
  • Administrator rights on Windows to enable the feature if it is turned off.
  • On Linux, a swap partition or swap file at least as large as your RAM for reliable hibernation.
  • Your user account password or PIN, since resuming from hibernation may ask you to sign in again.

Step-by-Step

  1. Check that hibernation is available. On Windows, open the Start menu and type "Choose a power plan" (or go to Control Panel > Hardware and Sound > Power Options). Click "Choose what the power buttons do" and look for "Hibernate" in the shutdown settings list. If it is there, you can skip to step 4. On macOS, hibernation is automatic; you do not need to enable it. On Linux, run systemctl hibernate in a terminal to test whether it works; if it fails, you will need to set up swap first.
  2. Enable hibernation on Windows if it is missing. Open Command Prompt as Administrator (search "cmd", right-click, choose "Run as administrator"). Type powercfg /hibernate on and press Enter. This creates the hiberfil.sys file and adds the Hibernate option to the power menu. If you get an error saying the system does not support hibernation, your hardware or firmware does not offer it; check your manufacturer's documentation.
  3. Make sure the Hibernate option appears in the power menu. Return to "Choose what the power buttons do" and click "Change settings that are currently unavailable" (you may need to approve an administrator prompt). Under "Shutdown settings", tick "Hibernate" and click "Save changes". The option will now appear when you open the Start menu's power button or press Alt+F4 on the desktop.
  4. Save your work and close anything sensitive. Hibernation preserves open programs, but it is still wise to save documents. Do not hibernate while a critical operation is in progress (such as a large file copy or a Windows update) because resuming may not restore that operation correctly.
  5. Trigger hibernation. On Windows, open the Start menu, click the power icon, and choose "Hibernate". Alternatively, press Alt+F4 on the desktop, select "Hibernate" from the dropdown, and click OK. On macOS, simply close the lid or choose Apple menu > Sleep; the system will enter safe sleep automatically after a period, or you can use pmset sleepnow in Terminal. On Linux, run systemctl hibernate or use your desktop environment's power menu if it offers Hibernate.
  6. Wait for the power to turn off. The screen will go dark and the fans will stop. Do not unplug or force power off during this time; the session is being written to disk. On Windows, you may see a brief "Hibernating" message. Once the machine is fully off, you can unplug it or store it.
  7. Resume from hibernation. Press the power button as normal. The computer will read the saved session from disk and restore your open programs and documents. On Windows, you may be asked to sign in again; on macOS, you may need to enter your password. The resume can take longer than a normal boot because it is loading the saved session.

Common Mistakes

  • Confusing sleep with hibernate. Sleep keeps the session in RAM and uses battery; hibernate writes to disk and uses no power. If you choose sleep and then unplug a laptop, the battery will drain and you may lose the session.
  • Not having enough free disk space. Windows needs free space equal to your RAM to create hiberfil.sys. If the disk is nearly full, hibernation may fail or the option may be greyed out.
  • Disabling hibernation to save space and then wondering why the option is gone. Running powercfg /hibernate off removes the file and the menu option. Re-enable it with the same command using "on".
  • Hibernating during a Windows update or driver installation. This can leave the system in an inconsistent state. Let updates finish or postpone them before hibernating.
  • Assuming all devices support hibernation. Some tablets, Chromebooks, and low-power devices do not offer true hibernation. Check your manufacturer's specifications.
  • Forgetting that hibernation does not protect against data loss if the disk fails. It is not a backup; save important work to cloud storage or an external drive regularly.

Tips

  • Use hibernation instead of sleep when you will be away from a power source for an extended period, such as overnight or during travel.
  • On Windows, you can create a desktop shortcut to hibernate by right-clicking the desktop, choosing New > Shortcut, and entering shutdown /h.
  • If you dual-boot Windows and Linux, be aware that hibernating one operating system and then booting the other can cause filesystem corruption. Always shut down fully before switching.
  • On macOS, "safe sleep" writes a copy of RAM to disk before sleeping, so even if the battery dies, the session can be restored. You can check the setting with pmset -g in Terminal.
  • Keep your hiberfil.sys file from growing unnecessarily by reducing the hibernation file size with powercfg /hibernate /size 50 (50% of RAM), though this may affect reliability on some systems.

Troubleshooting

If the Hibernate option is missing after enabling it, restart the computer and check again. If powercfg /hibernate on returns an error, your firmware may not support hibernation; check for a BIOS/UEFI update from your manufacturer. If hibernation starts but the computer does not power off, a driver may be blocking it; try disconnecting USB devices and updating your graphics and chipset drivers. If resuming from hibernation fails or shows a black screen, force a power off by holding the power button, then boot normally; you may lose the saved session. On Linux, if systemctl hibernate fails, verify that your swap partition is active with swapon --show and that the resume kernel parameter points to the correct swap device. For macOS, if safe sleep does not restore your session, check that "Put hard disks to sleep when possible" is enabled in Energy Saver settings and that you have enough free disk space.

Frequently Asked Questions

Does hibernation use battery?

No. Hibernation writes the session to disk and powers off completely, so it uses no battery while hibernated. Sleep, by contrast, uses a small amount of power to keep RAM refreshed.

Can I hibernate a desktop PC?

Yes, if the motherboard and power supply support it. Most modern desktops do, but some older or custom builds may not. Check the power options as described above.

What happens if I lose power during hibernation?

If power is lost while the session is being written to disk, the hibernation file may be incomplete. On the next boot, Windows will typically discard the file and start fresh, so unsaved work may be lost. Once hibernation is complete and the machine is off, power loss has no effect.

Is hibernation safe for SSDs?

Yes. Hibernation writes a large file to the SSD each time, which adds to wear, but modern SSDs are rated for many thousands of write cycles. For typical use, the impact is negligible.

Why is hibernation slower than sleep?

Sleep keeps everything in RAM and resumes almost instantly. Hibernation must write the entire session to disk and then read it back, which takes longer, especially on older hard drives.

Can I set my computer to hibernate automatically?

Yes. In Windows, go to Power Options > Change plan settings > Change advanced power settings, expand "Sleep", and set "Hibernate after" to your preferred time. On macOS, safe sleep is automatic after a period of sleep; you can adjust it with pmset commands in Terminal.