Why Your PC Falls Asleep and How to Wake It Up
Your PC goes to sleep to save power and reduce wear on the hardware. When it sleeps, the screen turns off, the hard drive stops spinning, and most components power down — but the machine stays ready to wake when ready when you move the mouse or press a key. The problem is that sometimes sleep mode kicks in when you're still using the computer, or you need it to stay awake for a task like downloading a large file or running a backup.
You can stop your PC from sleeping by changing the power settings in Windows or macOS. The steps differ slightly depending on your operating system, but the goal is the same: tell your computer to stay awake for as long as you need it to. You can set a permanent rule, or you can keep the computer awake just for the current session.
Key Takeaways
- Windows lets you change sleep settings in Settings > System > Power & battery, where you can set different timeouts for plugged-in and battery power.
- On a Mac, go to System Settings > General > Login Items & Extensions, then choose the Energy Saver tab to adjust when the display and computer sleep.
- You can keep your PC awake right now without changing permanent settings by moving the mouse every few minutes, pressing a key, or using a third-party tool like Caffeine.
- If your PC keeps waking up unexpectedly, check Device Manager (Windows) or System Report (Mac) to see which devices are set to wake the computer.
- Plugged-in computers can have different sleep rules than laptops on battery, so check both settings if your behavior changes depending on power source.
How to Stop Sleep on Windows 11 and Windows 10
Open Settings by pressing the Windows key and typing "settings," then select the app. Go to System in the left sidebar, then click Power & battery
Under Plugged in, find the line that says "Screen turns off after" and click the dropdown. Choose how long you want to wait before the screen goes dark — or select Never if you don't want it to turn off at all. Below that, you'll see "PC goes to sleep after." This is the setting that matters most. Click that dropdown and choose Never to prevent sleep entirely, or pick a time like 30 minutes or 1 hour. If you're using a laptop and want different rules when you're on battery power, scroll down to the On battery section and repeat the same steps. Many people set the battery timeout shorter to save power when unplugged. The changes take effect when ready. Your PC will now stay awake for as long as you've set, or indefinitely if you chose Never. On a Mac, open System Settings by clicking the Apple menu in the top-left corner and selecting System Settings. Click General in the sidebar, then scroll down and click Login Items & Extensions. In the window that opens, look for the Energy Saver tab. You'll see two sliders: one labeled "Turn display off after" and one labeled "Put computer to sleep after." Drag the computer sleep slider all the way to the right to Never, or set it to a specific number of minutes. The display can turn off separately from the computer itself — you can let the screen sleep while the computer stays awake if you prefer. If you're on an older Mac running an earlier version of macOS, the Energy Saver settings may be in System Preferences instead of System Settings. The location changed in recent versions, but the controls work the same way. If you don't want to change your permanent power settings, you can keep your computer awake just for the current session. The simplest method is to move your mouse or press a key every few minutes — your PC will stay awake as long as you're actively using it. If you need hands-free wakefulness — for example, while a large file downloads or a backup runs — use a third-party tool. Caffeine is a free, lightweight program for Windows that prevents sleep with a single click. Don't Sleep is another free option that works similarly. On a Mac, Amphetamine (free) or Lungo (paid) serve the same purpose. These tools sit in your system tray and let you toggle sleep prevention on and off without touching the mouse. Another option is to use your keyboard: on Windows, press Windows key + X, then select Task Manager. Leave Task Manager open in the background — the presence of an active window often prevents sleep. On a Mac, you can open Activity Monitor the same way, though this is less reliable. Sometimes a PC wakes up on its own even when you've set it to sleep. This usually happens because a device — like a mouse, keyboard, network adapter, or USB device — is set to wake the computer. You can see which devices have this permission and turn it off. On Windows, right-click the Start button and open Device Manager. Expand the categories and look for devices like "Keyboard," "Mouse," or "Network Adapter." Right-click each one and select Properties. Click the Power Management tab. If you see a checkbox that says "Allow this device to wake the computer," uncheck it. Repeat for any device that might be waking your PC unexpectedly. On a Mac, click the Apple menu and go to System Settings > General > Login Items & Extensions. Click the Energy Saver tab and look for an option like "Wake for network access" or "Allow Bluetooth devices to wake this Mac." Uncheck whichever ones are causing unwanted wake-ups. The best sleep setting depends on what you do with your PC. If you step away frequently and want to save power, a short timeout (like 10 or 15 minutes) makes sense. If you're actively working but your hands are off the keyboard — watching a video, reading, or waiting for a process to finish — set it longer or use a temporary tool like Caffeine. Remember that sleep mode is designed to be your friend: it cuts power use dramatically while keeping your work safe. Turning off sleep entirely uses more electricity and can wear out your hardware slightly faster. A reasonable middle ground is to set sleep to happen after 30 minutes to an hour of inactivity, then use a temporary tool when you need the computer to stay awake for a specific task. If you're on a laptop, consider setting different rules for plugged-in and battery modes. When you're plugged in at a desk, you might not care about power use and can set sleep to Never. When you're on battery, a shorter timeout helps your battery last longer. Yes, significantly. Sleep mode cuts power use to a fraction of normal operation. If you're on a laptop and need the battery to last, use a temporary tool like Caffeine for specific tasks rather than disabling sleep permanently. On a desktop plugged into power, it doesn't matter. Not directly through Windows or macOS settings. However, some programs (like video players) can tell your OS not to sleep while they're running. If you need sleep disabled only while a specific app is active, use a temporary tool like Caffeine and toggle it on and off manually. A device like your mouse, keyboard, or network adapter is probably set to wake the computer. Open Device Manager (Windows) or Energy Saver settings (Mac) and uncheck the "Allow this device to wake the computer" option for any device that's causing the problem. The screen turning off just darkens the display and saves a small amount of power. The PC going to sleep powers down most hardware and saves much more. You can set them independently — for example, let the screen sleep after 10 minutes but keep the computer awake for an hour. No. Changes to power settings take effect when ready. Your PC will use the new sleep timeout the next time the inactivity period expires.How to Stop Sleep on macOS
Keeping Your PC Awake Without Changing Settings
Stopping Unexpected Wake-Ups
Balancing Sleep Settings with Your Workflow
Frequently Asked Questions
Will stopping sleep mode drain my battery faster?
Can I set different sleep times for different programs?
Why does my PC keep waking up even though I set it to sleep?
What's the difference between the screen turning off and the PC going to sleep?
Do I need to restart my PC after changing sleep settings?