The fastest way to change sleep settings
Your computer goes to sleep to save power. You can stop it by changing one setting in your operating system — the process takes less than two minutes on Windows or Mac. The exact steps depend on which system you use, but both let you set the time before sleep kicks in, or turn sleep off entirely.
On Windows 11, open Settings, go to System > Power & battery, and look for "Screen and sleep". Set "Screen times out after" to a longer period or "Never". On Windows 10, the path is Settings > System > Power & sleep, with the same options. On Mac, go to System Settings > Lock Screen, find "Turn display off after", and choose your preferred time or "Never".
If you want the screen to turn off but the computer to stay awake, you can set those separately — screen timeout and sleep timeout are two different settings. Most people want to keep the screen off to save power but leave the computer running so downloads or updates can finish.
Key Takeaways
- Windows and Mac both let you set how long the computer waits before sleeping, or disable sleep entirely, in the Power settings menu.
- You can set the screen to turn off at one interval and the computer to sleep at a different one, or turn either off independently.
- If you need the computer to stay awake while you step away, disabling sleep is simpler than adjusting timers repeatedly.
- Plugged-in computers use more power when sleep is disabled, so consider whether you need it off all the time or just during specific tasks.
Where to find sleep settings on Windows 10 and 11
Open the Settings app by pressing the Windows key and typing "Settings", then pressing Enter. Click System on the left side. On Windows 11, select Power & battery. On Windows 10, select Power & sleep.
You will see two options: "Screen times out after" (or "Turn off after" on Windows 10) and "Sleep" or "PC goes to sleep after". The screen timeout controls when the display goes dark. The sleep timeout controls when the computer itself stops active processing. Set either one to "Never" to disable it, or choose a time from the dropdown — options usually range from 1 minute to several hours.
If you are plugged into power, Windows also has a separate set of timeouts for when the computer is on battery. The battery timeouts are usually shorter to preserve charge. You can set them differently from the plugged-in timeouts if you want the computer to sleep faster when unplugged.
Where to find sleep settings on Mac
Click the Apple menu in the top-left corner and select System Settings. On newer Macs (Ventura and later), go to Lock Screen. On older Macs (Monterey and earlier), go to Energy Saver.
In Lock Screen, you will see "Turn display off after" with a dropdown menu. Choose your preferred time or select "Never". Below that is "Require password after display goes to sleep" — this controls whether you need to enter your password to wake the computer, separate from the sleep timer itself.
If you are on an older Mac in Energy Saver, you will see two sliders: one for "Turn display off after" and one for "Put hard disks to sleep when possible". The display timeout works the same way. The hard disk setting is less common now but still appears on some older models.
The difference between screen sleep and computer sleep
Your computer has two separate sleep modes. Screen sleep turns off the display to save power but leaves the computer running — it can still read files, receive messages, or run background tasks. Computer sleep puts the entire system into a low-power state where almost nothing happens until you move the mouse or press a key.
Most people want the screen to sleep quickly (after 5 or 10 minutes of no use) but the computer to stay awake longer or not at all. This saves power on the display while keeping the computer available for work. If you are downloading a large file or running a backup, you would disable computer sleep but leave screen sleep on.
If you disable both, your computer will stay fully awake and the screen will stay on until you manually turn it off. This uses the most power but is useful if you are giving a presentation, watching a video, or running a long task that you do not want interrupted.
Why your computer sleeps and when to disable it
Sleep mode saves electricity and reduces wear on your hardware. When your computer sleeps, the processor slows down, the display turns off, and the hard drive stops spinning. This extends the life of your components and lowers your power bill, especially if you leave the computer on all day.
You might want to disable sleep if you are downloading files, streaming video, running software updates, or waiting for an email or message. You might also disable it if you use your computer as a media server or file storage that other devices need to access while you are away. In those cases, sleep would interrupt the task or make the computer unreachable.
If you disable sleep, your computer will use more power. Leaving it on 24/7 with sleep disabled costs noticeably more than letting it sleep during idle time. Consider whether you need sleep off all the time or just during specific tasks — you can always change the setting back if your power bill goes up.
Using keyboard shortcuts and power buttons as an alternative
If you do not want to change the sleep settings permanently, you can keep the computer awake temporarily by using a keyboard shortcut or external tool. On Windows, pressing any key or moving the mouse will wake the computer from sleep. On Mac, the same applies — any keyboard or mouse input wakes it.
Some people use a mouse jiggler — a small USB device that moves the cursor slightly every few seconds to prevent sleep. This is useful if you need the computer to stay awake but do not want to disable sleep entirely. Mouse jigglers are inexpensive and available from most electronics retailers.
Another option is to use the command line. On Windows, you can open Command Prompt and type powercfg /change monitor-timeout-ac 0 to disable screen sleep while plugged in, or powercfg /change standby-timeout-ac 0 to disable computer sleep. On Mac, you can use the caffeinate command in Terminal to keep the computer awake for a set time. These methods are more technical but give you precise control.
What to do if sleep settings are locked by your workplace or school
If you use a computer managed by your workplace or school, the sleep settings may be locked by an administrator. You will see the options in the Power menu but they will be grayed out or unchangeable. This is done to enforce security policies or save power across many devices.
If you need to change the sleep settings, contact your IT department or help desk. Explain why you need the computer to stay awake — for example, if you are running a long task or giving a presentation. They can either unlock the settings for your device or adjust the policy on their end.
Do not try to work around the lock by using third-party software or command-line tools. Most managed computers have monitoring software that will flag unauthorized changes, and you could lose access to the device or face disciplinary action.
Frequently Asked Questions
Will disabling sleep damage my computer?
No, but it will use more power and generate more heat. Leaving your computer on continuously causes normal wear on the power supply and cooling fans, but modern computers are designed to run 24/7 if needed. If you disable sleep, make sure the computer has good airflow and is not blocked by dust or clutter.
Can I set different sleep times for different users on the same computer?
On Windows, each user account has its own Power settings, so you can set different timeouts for different people. On Mac, the Lock Screen settings explore to all users. If you need different settings per user on Mac, you would have to change them manually each time you switch accounts.
What if my computer goes to sleep even though I changed the setting?
Check that you saved the changes — some systems require you to click explore or OK after changing the timeout. Also check whether a screensaver is set to turn on before sleep; screensavers can sometimes trigger sleep independently. If the problem persists, restart the computer and check the settings again.
Does disabling sleep affect battery life on a laptop?
Yes, significantly. A laptop with sleep disabled will drain the battery much faster than one that sleeps normally. If you use a laptop on battery power, keep sleep enabled and only disable it when plugged in, or use a shorter timeout instead of disabling it entirely.
Can I schedule sleep to turn on and off at specific times?
Windows has a built-in scheduler in some versions, but it is not straightforward. Mac does not have a native scheduler for sleep. Third-party tools like Task Scheduler (Windows) or Automator (Mac) can do this, but they require some technical knowledge to set up. For most users, manually changing the setting when needed is simpler.