Power and Sleep Settings
How to change when your computer sleeps, turns off the screen, or what happens when you close the lid. Covers power plans, hibernate, and battery-saving options.
Your computer is set to sleep after a period of inactivity by default. That's fine most of the time, but it gets in the way during presentations, long downloads, or when you're reading something and your screen keeps going dark. Here's how to adjust sleep timing, screen timeout, and lid behavior on each platform.
Change when the display turns off:
- Open System Settings
- Click Lock Screen in the sidebar
- Adjust Turn display off on battery when inactive and Turn display off on power adapter when inactive
- Pick a time from the dropdown, or select Never to keep the screen on indefinitely
Prevent the Mac from sleeping (even when the display is off):
- Open System Settings
- Click Energy in the sidebar (on laptops, this may be called Battery)
- On laptops, click Options at the bottom right
- Turn on Prevent automatic sleeping on power adapter when the display is off
Change lid close behavior:
macOS does not have a setting to change what happens when you close the lid. Closing the lid always puts the laptop to sleep. If you need it to stay awake with the lid closed, connect an external display, keyboard, and mouse. The Mac will stay awake in clamshell mode automatically.
Frequently Asked Questions
Does leaving my computer on instead of sleeping damage it?▾
No. Modern computers are designed to run continuously. Sleep saves energy and reduces wear on fans and mechanical drives, but skipping sleep occasionally for downloads or presentations is perfectly fine. If you're on a laptop, keeping it awake on battery will drain the battery faster.
What is the difference between sleep and hibernate?▾
Sleep keeps your session in memory and uses a small amount of power to maintain it. Your computer wakes up almost instantly. Hibernate saves your session to disk and powers off completely, using zero power. Waking from hibernate takes longer, similar to a fresh boot, but your open apps and files are restored. macOS handles this automatically. On Windows, hibernate is available as an option in the power settings.
Why does my laptop sleep when I close the lid?▾
That is the default behavior on every operating system. On Windows, you can change it in the Power Options settings described above. On macOS, the only way to keep it awake with the lid closed is to connect an external display, keyboard, and mouse (clamshell mode). On Linux with GNOME, the setting is not available in the graphical interface by default, but KDE Plasma includes it in Power Management.
My screen keeps turning off during presentations. How do I stop it?▾
Set the screen timeout to Never before your presentation. On Mac, go to System Settings > Lock Screen and change the display timeout. On Windows, go to Settings > System > Power & battery > Screen and sleep and set screen off to Never. Remember to change it back afterward to save power.
Related Guides
Free Up Disk Space
How to find what is using your storage and reclaim space by clearing temp files, caches, and large files. Covers built-in cleanup tools on Windows, Mac, and Linux.
Right-Click and Context Menus
What right-clicking does, how to do it on different devices, and what the menu options mean. Covers trackpads, touchscreens, and customizing context menus.
App Permissions
How to manage what apps can access on your device, including camera, microphone, location, and notifications. Review and revoke permissions on any platform.
Undo and Recover
How to undo mistakes, redo actions, and recover deleted files on any computer. Covers keyboard shortcuts, version history, trash recovery, and backups.
Storage Full — What to Do When Your Disk Is Almost Full
How to free up space fast when your computer says storage is full, and figure out what is taking up all the room. Quick fixes for Windows, Mac, and Linux.
Touchpad Gestures and Settings
How to configure trackpad sensitivity, gestures, tap-to-click, and other touchpad settings. Customize scrolling, multi-finger actions, and palm rejection.