Why Your Computer Sleeps and How to Turn It Off

Your computer goes to sleep to save power when you are not using it — the screen dims, the hard drive stops spinning, and the processor slows down. You can turn this off entirely, or set it to happen only after a longer period of inactivity. The steps depend on whether you use Windows or macOS, and whether you want to change the setting just once or make it permanent.

Most people do not need to disable sleep mode completely. If your computer is plugged in and you step away for a few minutes, sleep mode saves electricity without hurting anything. But if you are running a read, a backup, or a video call that needs the screen to stay on, you will want to know how to stop it.

Key Takeaways

  • On Windows, open Settings, select System, then Power & Battery, and change the "Screen off after" and "Sleep after" timers to "Never".
  • On macOS, go to System Settings, select Lock Screen, and set "Turn display off after inactivity" to "Never".
  • You can also prevent sleep temporarily by using your keyboard or mouse, or by opening a program that tells the system to stay awake.
  • Laptops on battery power may ignore your sleep settings if the battery is very low, so plug in your device if you need may provide wake time.
  • If you change the setting and your computer still sleeps, check whether a screensaver is running instead — screensavers are separate from sleep mode.

Stopping Sleep Mode on Windows 10 and 11

Open the Settings app by pressing the Windows key and typing "settings", then press Enter. Click on System in the left sidebar, then select Power & Battery (Windows 11) or Power & Sleep (Windows 10).

You will see two timers: "Screen off after" and "Sleep after". Both are usually set to 10 or 15 minutes by default. Click on each dropdown and select Never. Your computer will no longer go to sleep when plugged in. If you are using a laptop on battery power, you can set different timers for that mode — click "Power mode settings" and adjust the battery timers separately.

Close the Settings app. The change takes effect when ready. If you want to re-enable sleep later, return to the same screen and set the timers back to your preferred duration.

Stopping Sleep Mode on macOS

Click the Apple menu in the top-left corner and select System Settings. In the sidebar, click Lock Screen. Look for the option that says "Turn display off after inactivity" and click the dropdown next to it. Select Never.

On older versions of macOS, this setting may be under System Preferences instead of System Settings, and it may be labeled "Energy Saver" rather than "Lock Screen". The process is the same: find the inactivity timer and set it to Never.

Your Mac will now stay awake indefinitely. The setting applies whether your Mac is plugged in or running on battery. If you have a laptop and want to save battery life, you can return to this screen later and set a shorter timer.

Using Keyboard and Mouse to Keep Your Computer Awake

If you do not want to change your sleep settings permanently, you can prevent sleep by moving your mouse or pressing a key every few minutes. This works on both Windows and macOS. Some people place a small object on a key to hold it down, but this can cause problems — the computer may register thousands of key presses and slow down, or the key may wear out.

A better temporary solution is to use a program that simulates activity without actually pressing keys. On Windows, you can read free tools like "Caffeine" or "Don't Sleep" that run in the background and prevent sleep mode. On macOS, "Amphetamine" and "Lungo" do the same thing. These programs are safe and lightweight — they straightforward tell the operating system that the computer is in use.

Programs That Override Sleep Mode

Some applications automatically prevent sleep while they are running. Video players, video conferencing software like Zoom, and read managers often have built-in settings to keep the screen on during use. Check the preferences or settings menu of any program you are using to see whether it has a "prevent sleep" or "keep screen on" option.

If you are downloading a large file, most read managers will prevent sleep automatically. If you are on a video call, Zoom and similar programs usually keep the screen on as long as the call is active. You do not need to change your system settings for these tasks — the program handles it for you.

What to Do If Your Computer Still Goes to Sleep

If you set the sleep timer to Never and your computer still goes dark, check whether a screensaver is running instead. Screensavers are different from sleep mode — they display a moving image on the screen while the computer stays awake underneath. On Windows, right-click the desktop, select Personalize, then click Lock Screen in the sidebar. Scroll down and click Screensaver settings. Set the screensaver to None.

On macOS, click the Apple menu, select System Settings, then click Lock Screen. Look for "Start screen saver when inactive" and turn it off.

Another reason your computer might sleep is if you have a power plan set to aggressive power saving. On Windows, right-click the battery icon in the system tray and select Power settings. Make sure you are using the "Balanced" or "High Performance" plan, not "Power Saver". On a Mac, this is less common, but check System Settings > Battery to confirm your Mac is not in Low Power Mode.

Sleep Mode on Laptops and Battery Power

Laptops behave differently depending on whether they are plugged in. You can set one sleep timer for when the laptop is plugged in and a different timer for when it is running on battery. On Windows, open Power & Battery settings and look for separate sections for "Plugged in" and "On battery". Set the plugged-in timer to Never if you want your laptop to stay awake at your desk.

If your laptop battery is very low — usually below 10 percent — Windows and macOS may force the computer to sleep regardless of your settings. This is a safety feature to prevent data loss. If you need your laptop to stay awake for a long task, plug it in first.

Frequently Asked Questions

Does turning off sleep mode use more electricity?

Yes, it does. A sleeping computer uses very little power, while an awake computer uses significantly more. If you are concerned about your electric bill, keep sleep mode on and only disable it when you need to. You can also set a longer timer — for example, 30 minutes instead of 10 — rather than turning sleep off completely.

Will my computer overheat if it never sleeps?

No. Modern computers are designed to run continuously without overheating. Servers in data centers run 24/7 without problems. Your home computer has the same cooling system whether it is asleep or awake. The only risk is if your computer is in a very hot room or has dust blocking the vents — in that case, clean the vents regardless of your sleep settings.

Can I set different sleep timers for different times of day?

Windows and macOS do not have built-in scheduling for sleep timers. If you want your computer to sleep at night but stay awake during the day, you would need to manually change the setting twice a day, or use a third-party scheduling tool. For most people, setting a single timer that works for your typical routine is simpler.

What if I want my computer to sleep, but not my monitor?

You can set the screen to turn off after a short time while the computer stays awake. On Windows, set "Screen off after" to 5 or 10 minutes and "Sleep after" to Never. On macOS, set "Turn display off after inactivity" to your preferred time. The screen will go dark, but your computer will keep running in the background.

Does sleep mode affect my internet connection?

When a computer is asleep, it does not actively use the internet, but it can still receive signals. If you have a program set to wake your computer over the network, or if you want your computer to receive messages while asleep, you may need to adjust your router settings. For most home users, this is not a concern — sleep mode straightforward pauses activity without disconnecting.