keepscreenunlocked.

The complete picture

The ultimate guide to preventing screen timeout.

Three real approaches, ranked from least to most permanent — pick based on how often you need this, not just whichever you find first.

Inactive

Pick a duration and hit start.

Duration

Stealth screen
— covers the page with black (or your own wallpaper) so it looks like nothing is open.
Fullscreen
— the same cover, edge to edge. Press Esc to leave.
Ambient sound

Starts only when you press Play. It fades out on its own, when you stop the tool, and when you enter stealth screen (unless you tick the box above).

Feedback

1. A browser-based tool (least permanent, zero setup)

What this site does — open a tab, hold the display open for as long as you need, close it when you're done. Nothing to install, nothing to remember to undo, works on machines you don't have admin rights on. The right choice for a one-off need: a presentation, a long download, watching an AI agent finish a task. Start with this option if you're not sure which you need yet.

2. A native command or app (persistent, needs install/access)

Keeps working even if you close the browser, at the cost of needing to install something or have Terminal access:

  • Mac: the built-in caffeinate Terminal command, or the menu-bar app Amphetamine.
  • Windows: Microsoft's own PowerToys Awake, a free system-tray utility.
  • Linux: most desktop environments ship a caffeine or systemd-inhibit equivalent.

3. Change the OS setting directly (most permanent)

The right call if you basically never want this machine to auto-lock/sleep — a desktop that's always plugged in, for instance. Worth remembering this is also the only option that affects system sleep, not just the display — see our note on that distinction on the AI-agent page if you're trying to keep a long background task alive, not just the screen lit.

  • Windows: Settings → System → Power & sleep.
  • Mac: System Settings → Lock Screen, and Battery → Options.
  • Android: Settings → Display → Screen timeout.
  • iPhone: Settings → Display & Brightness → Auto-Lock.

Full platform-specific guides, each with the working tool built in too: Windows, Mac, Chrome, Android, iPhone.

Methods compared

MethodSetupSurvives closing the browserPrevents system sleep
This toolNoneNoNo
Native command/appInstall onceYesUsually
OS settingOne-time changeYesYes

Which method for which situation

If you need to...Best fitWhy
Stop the screen locking for an hour on a work laptopBrowser toolNo install and no admin rights, and it releases by itself.
Let a download or script finish overnightOS sleep setting or a native toolOnly these can stop the whole computer sleeping.
Keep a wall display or kiosk on permanentlyOS settings plus a power-managed deviceA browser tab is too fragile for "always".
Follow a recipe or manual on a phoneBrowser tool or a longer screen timeoutShort, supervised tasks are where timers help.
Look "active" in Teams or SlackNone of the abovePresence is based on real input, not on the display.

Common mistakes

  • Treating screen lock and system sleep as the same thing. A display-only method does nothing for a download once the computer sleeps. See screen lock vs. system sleep for the distinction.
  • Forgetting the laptop lid. A closed lid usually forces sleep, and nothing in a browser tab can prevent that.
  • Changing a system setting and never changing it back. A permanent "never sleep" setting drains battery and leaves devices unlocked. Prefer a timer for one-off jobs.
  • Switching tabs. A browser wake lock needs the tab to stay visible.
  • Fighting a workplace policy. If your organisation enforces a lock, it is there on purpose and most methods will not override it.

Security: what you give up when you keep a screen on

An unlocked screen is only as safe as the room it is in. At home, the risk is small. In an office, a café or on a train, an unattended unlocked screen shows whatever is on it to anyone nearby. The sensible habit is to lock the device yourself whenever you step away, and to use a timed keep-awake rather than "never".

The tool lets go when the timer ends, which is why it is preferable to a permanent setting. Is it safe to disable auto-lock? goes into this in more detail.

How to undo everything

  • Browser tool: press Stop or close the tab. Nothing in your system settings changed.
  • Native tool (PowerToys Awake, caffeinate, Amphetamine): quit the tool or let its timer end.
  • OS setting: set the timeout back to your previous value. If you do not remember it, 5 to 15 minutes for the display and 15 to 30 for sleep are common defaults.