How to Keep Your Laptop Awake Without Sleeping (No Software)
There are six realistic ways to stop a laptop going to sleep, and they are not interchangeable. Which one you should use depends almost entirely on how locked down your machine is. Here they are in order, from "change a setting" to "change nothing at all".
First: work out what is actually happening
"My laptop keeps sleeping" usually turns out to be one of four different behaviours, each controlled by a different setting. Identify yours before changing anything:
| What you see | What it is | Controlled by |
|---|---|---|
| Screen dims but stays on | Adaptive brightness / battery saver | Display or battery settings |
| Screen goes black, everything resumes instantly | Display timeout | Power & screen settings |
| Machine goes quiet, takes seconds to wake | Sleep or hibernate | Power plan |
| Password prompt on return | Lock policy | Sign-in settings or group policy |
The last one is the one people most often misdiagnose. If the machine is not sleeping but you are still being asked for a password, the fix is in the sign-in and lock settings, not the power plan - and on a work laptop that setting is usually enforced centrally and cannot be changed at all.
1. Change the power settings (if you are allowed)
On a personal machine this is the correct answer and takes thirty seconds.
Windows 11: Settings → System → Power & battery → Screen and sleep. Set both "screen off" and "sleep" values for plugged-in use. Our full Windows 11 walkthrough covers the settings that sit outside this screen too.
macOS: System Settings → Lock Screen for display sleep and the password delay, and System Settings → Battery (or Energy Saver on a desktop) → Options for the rest. Details in how to keep a Mac from sleeping.
If the options are greyed out or show "Some settings are managed by your organization", stop here - the machine is under policy and the following options are what remain.
2. Use the built-in keep-awake tool
Both platforms ship something suitable, and neither requires you to install a third-party product.
On macOS, open Terminal and run caffeinate -d. The display will not sleep until you press Ctrl+C. Add a time limit with caffeinate -d -t 7200 for two hours. It is part of the operating system, so there is nothing to trust and nothing to install.
On Windows, the equivalent is PowerToys Awake, which is free and published by Microsoft - but it is a separate download, which brings us to the next problem.
3. Install a third-party utility
Utilities like Amphetamine on macOS or the many small Windows keep-awake tools do the job well. Two cautions apply. First, on a managed device you may not have installation rights, and installing unapproved software may itself breach policy. Second, this category attracts adware - download only from the vendor's own site or an official app store, never from a "free download" aggregator.
4. Give the machine something to do
Some activity genuinely prevents sleep without any tool at all:
- Play a video. Media playback in most browsers and players requests a display wake lock, which is a supported OS mechanism. A muted, looping video in a background tab is often enough - although some browsers only honour this for the visible tab.
- Run something in a terminal. On macOS,
caffeinateas above. On Linux,systemd-inhibit --what=idle sleep 3600. - Start a genuine long-running job. A large copy operation keeps disks busy, though on most modern systems disk activity alone does not block the idle timer.
This category is unreliable across versions, so treat it as a fallback rather than a plan.
5. Use a hardware jiggler
A USB dongle or a motorised pad works without touching the operating system at all, because the machine sees a normal mouse. It costs money, it is one more thing to carry, and on a corporate laptop USB device policies frequently block unknown input devices. Worth knowing what that policy is before buying - see the security questions to ask.
6. Use a browser-based jiggler
This is the option that survives the most restrictions, because it installs nothing, changes no setting, and adds no device. You open a page that displays a moving pattern on a phone, lay the phone flat, and rest an optical mouse on top of it. The mouse sensor reads the moving pattern as movement and reports it to your computer as ordinary input.
- Open the mouse jiggler on your phone.
- Turn the screen brightness up to at least 70%.
- Set the phone's display timeout to 10 minutes or Never - this is the step people forget.
- Lay the phone flat, screen up.
- Place the mouse on the screen, sensor down. The cursor should start drifting.
The requirement is an optical or laser mouse. It cannot work with a trackpad, because a trackpad senses your finger electrically rather than optically.
What none of these can fix
Be realistic about the limits before you spend time on this:
- Scheduled locks and forced log-offs. Some organisations lock sessions at fixed times regardless of activity. Input does not affect that.
- Lid-close sleep. Closing the lid is a separate trigger with its own setting - see running a laptop with the lid closed.
- Battery and thermal events. A machine will suspend on critical battery or overheating no matter what.
- Sleep during a remote session. If you are connected to a machine that sleeps, the fix must be applied on that machine, not yours.
The short version
Can you change the power settings? Change them. Can you install software? Use PowerToys Awake or caffeinate. Can you do neither? A browser page and your phone will get you there, provided you use a real mouse.