What sleep mode does and when to use it
Sleep mode pauses your computer's activity while keeping it powered on at a low level. The screen goes dark, the hard drive stops spinning, and the processor slows down—but your work stays in memory, ready to resume the moment you wake the machine. You do not lose unsaved files, and you do not have to wait through a full startup sequence.
Sleep is useful when you step away for minutes or hours but plan to return to the same work. It uses far less power than running normally, but more than shutting down completely. If you will be away for a full day or longer, shutting down is more efficient. If you are leaving for five minutes, sleep saves you the restart time.
Key Takeaways
- On Windows, press the Windows key and X together, then select Sleep from the menu, or use the power button in the Start menu.
- On Mac, click the Apple menu, select Sleep, or press Control + Eject (or Control + Power on newer models).
- Most computers can also sleep by closing the lid (laptops) or pressing the physical power button once.
- Your computer wakes by pressing any key, moving the mouse, or opening the lid on a laptop.
- Sleep preserves your open programs and unsaved work in memory, so you resume exactly where you left off.
How to put a Windows computer to sleep
The fastest method on Windows 10 or Windows 11 is to press the Windows key + X at the same time. A menu appears on the left side of the screen. Look for the power icon (usually at the bottom) and click it, then select Sleep from the options that appear.
Alternatively, click the Start button in the bottom left corner, then click the power icon (a circle with a line at the top). The same menu appears with Sleep as an option. Both methods take about three seconds.
You can also set your computer to sleep automatically after a period of inactivity. Go to Settings > System > Power & Battery (or Power & Sleep on older versions). Under "Screen and sleep," set how many minutes of inactivity trigger sleep. This is useful if you forget to sleep the machine manually.
How to put a Mac to sleep
Click the Apple menu in the top left corner of the screen. Select Sleep from the dropdown menu. The screen goes dark when ready, and the Mac enters low-power mode.
A faster keyboard shortcut is Control + Eject on older Macs with an Eject key. On newer MacBook models without an Eject key, press Control + Power instead. A dialog box appears asking whether you want to sleep, restart, or shut down—select Sleep.
You can also close the MacBook lid, and it will sleep automatically. To wake it, open the lid or press any key. Like Windows, you can set automatic sleep in System Settings > General > Sleep, where you choose how many minutes of inactivity trigger sleep.
Using the power button to sleep
On most computers, pressing the physical power button once (not holding it down) puts the machine to sleep. Holding the button down for several seconds forces a shutdown instead, so a single quick press is important.
On laptops, closing the lid also triggers sleep by default. You can change this behavior in power settings if you want the lid to do something else, but the default is sleep.
The power button method works the same way on Windows and Mac, making it a universal option if you forget the keyboard shortcuts.
Waking your computer from sleep
To wake a sleeping computer, press any key on the keyboard, move the mouse, or click the trackpad. The screen lights up within one to three seconds, and your programs and files appear exactly as you left them. No login is required unless you set a password to wake the machine.
If you want to require a password when waking from sleep, you can set this in power settings. On Windows, go to Settings > System > Power & Battery > Screen and sleep > Lock your screen. On Mac, go to System Settings > General > Lock Screen and set "Require password after sleep" to your preferred time.
The difference between sleep and hibernation
Hibernation is a deeper power-saving mode available on Windows. It saves everything in memory to the hard drive, then powers off completely. When you wake the computer, it reads that data back into memory. Hibernation uses almost no power but takes longer to wake than sleep.
Most users do not need hibernation. Sleep is fast enough for daily use and saves power adequately. Hibernation is useful if you have a laptop with a weak battery and will not use it for days. To enable hibernation on Windows, search "Control Panel" in the Start menu, go to Power Options, and check the box for "Hibernate" under shutdown settings.
Common mistakes and troubleshooting
The most common mistake is holding down the power button instead of pressing it once. Holding it forces a hard shutdown, which can corrupt files if you have unsaved work. A single quick press is all you need.
If your computer does not sleep when you press the button or use the menu, check that no programs are preventing sleep. On Windows, search "Power settings" and look for "Additional power settings." On Mac, go to System Settings > General > Sleep. Both show which programs are blocking sleep.
If your computer wakes unexpectedly, a mouse movement or keyboard press may have triggered it. Unplug wireless mice or move them away from the desk. You can also disable wake-on-keyboard in power settings if you want only the power button to wake the machine.
Frequently Asked Questions
Does sleep mode use battery on a laptop?
Yes, but very little. Sleep uses roughly 1 to 3 percent of battery per hour, compared to 10 to 20 percent during normal use. If your laptop will sit unused for more than a day, shutting down completely preserves battery better than sleep.
Will my programs close if I put the computer to sleep?
No. Sleep keeps all programs open and running in memory. When you wake the computer, everything resumes exactly where it was. You do not lose unsaved work unless the battery dies completely on a laptop.
Can I set the computer to sleep on a schedule?
Yes. On Windows, you can use Task Scheduler to sleep at a specific time each day. On Mac, go to System Settings > General > Sleep and set a time. You can also set automatic sleep after a period of inactivity in the same menus.
What happens if I close my laptop without putting it to sleep first?
Most laptops sleep automatically when you close the lid. If you have changed this setting, the laptop may stay on and drain battery. Check your power settings to confirm the lid is set to sleep rather than do nothing.
Is it better to sleep or shut down my computer?
Sleep is better for short breaks because it resumes faster and uses less power than a full startup. Shut down if you will be away for a full day or longer, or if you want to save the most power. Both are safe for your computer.