# Keep screen on

Stop the screen from dimming or turning off while this tab stays open.

Keep screen on

## How it works

The button asks the browser for a screen wake lock, the same request a recipe site or a slide viewer makes, and while the page holds it the display does not dim or turn off. Switch to another tab or minimize the window and the browser lets go; come back and the page asks again on its own, until you press the button again or close the tab.

It keeps the screen on and nothing more. Closing a MacBook's lid still puts the Mac to sleep, and a battery saver such as Low Power Mode can turn the request down.

## Which browsers support it

Safari 16.4 and later, Chrome and Edge 84 and later, and Firefox 126 and later, on Mac, Windows, iPhone, iPad and Android.

## Keep a Mac awake from Terminal

macOS ships a command for this. `caffeinate -d` keeps the display on until you press `Control + C`, and `caffeinate -di -t 3600` keeps the display on and the Mac awake for one hour. To change how long the Mac waits before turning the display off for good, open System Settings › Lock Screen.

## Keep Screen On in Mole

[Mole's menu bar](https://mole.fit/mac-system-monitor#menu-bar) has a Keep Screen On switch that needs no browser tab. Pick 1, 2, 4, 8 or 12 hours or until stopped, then keep the screen on, keep tasks running with the lid closed, or both, and record a shortcut for it in Settings. On battery it pauses at 20% and picks up again when you plug in, so a forgotten session does not drain the Mac.

---

Canonical HTML page: https://mole.fit/keep-screen-on
Site index for agents: https://mole.fit/llms.txt
