MacBook Screen Turns Off While Playing Fullscreen Video
Mac screen dims and turns off during fullscreen video? Raise the display timeout, use caffeinate -d, or hold the display on with a Glowmoth session or rule.
GuideUpdated 6 min read
On this page
You're watching a video fullscreen on your MacBook, you haven't touched the keyboard in a few minutes, and the screen dims and then goes dark. Other players, such as a browser playing YouTube, don't do this. The same video in a different app does.
Why the screen turns off during fullscreen video
Video players normally ask macOS not to sleep the display while playback runs. Your Mac then skips its idle timer. If an app never makes that request, macOS sees no keyboard or mouse activity and sleeps the display after the usual timeout, however obviously you are watching.
So the cause is almost always the app, not your MacBook. People have reported this for Telegram Desktop: on its issue tracker, a 2020 report described the screen dimming and then turning off during fullscreen video, unlike YouTube. That report was closed as a duplicate, and we haven't re-checked it against current Telegram versions. The fixes below work for any app that doesn't hold the display awake.
Less common causes, if the app is not at fault:
- The display timeout is simply short (common on battery).
- A different setting or a hot or low-battery state is dimming or sleeping things for you.
- You are using a keep-awake tool whose display option is off.
Pick a fix
| Method | Best for | Limit |
|---|---|---|
| Longer display timeout (System Settings) | You always want a longer timeout | Applies to everything, all the time |
caffeinate -d (Terminal) | A single movie or call | Ends if you close the Terminal window |
| Glowmoth session | A menu bar toggle, optional timer | You start and stop it yourself |
| Glowmoth rule for one app | Display held only while that app is in front | One-time rule setup |
Fix 1: Lengthen the display timeout
This is the built-in fix, and for many people it is enough.
- Open System Settings.
- Search for Lock Screen and open it.
- Raise the two "Turn display off… when inactive" settings (one for battery, one for the power adapter). Pick a longer time, or Never.
macOS has moved these settings between versions, so searching is more reliable than a click-path. The downside is that the display stays on longer in every situation, which costs battery. To undo it, set the values back. For how these settings interact, see Mac sleep settings explained.
Fix 2: Keep the display on with caffeinate
caffeinate is built into macOS. The -d flag stops the display from sleeping, and -t sets a time in seconds.
caffeinate -d -t 7200This keeps the display awake for 7200 seconds (2 hours), then exits by itself. Leave the Terminal window open while you watch. Press Control-C to stop early. It changes no settings, so there is nothing to undo. The caffeinate flags guide lists the other options.
Fix 3: Start a Glowmoth session with the display on
Glowmoth is a menu bar app that holds the Mac awake (macOS 14 Sonoma or later). It doesn't repair the video app. It holds the display awake from outside, so it works even when the app never asks. A session you start yourself keeps the display on by default (the Keep the display on setting is on).
- Right-click (or Control-click) the moth icon in the menu bar.
- Under Keep This Mac Awake, choose a duration such as 2 Hours, or Indefinitely.
- Right-click again and check that Keep Display On has a checkmark.
- When the video is over, right-click and choose Stop.
A timed session ends by itself. An open-ended one holds until you stop it.
By default, left-click opens the panel instead of the menu. There, the Keep Awake switch starts your default duration (Indefinitely unless you changed it), the Keep Awake For chips pick a duration, and Show More has a Keep Display On switch.
Fix 4: Keep the display on only while that app is in front
If it's always the same app, a rule saves you from starting a session each time.
The simpler Keep Awake While ▸ An App Is Running menu item and the saved Apps list keep the Mac awake but not the display. They hold the system only, so the screen can still turn off. A rule with its own display switch does the job.
- Open Glowmoth Settings (Settings…, ⌘, in the right-click menu or panel) and go to Automation.
- Click Add Rule and choose Custom Rule….
- Name the rule, for example "Telegram video".
- Click Add Condition and choose App Running.
- Pick the app, then set it to In Front.
- Turn on Keep the display on (it is off by default in a rule).
- Click Add Rule.
While the app is in front, the rule holds the display awake. Rules need Keep awake automatically (on by default). If you switch the panel to Manual, rules are ignored. The rules page covers the other conditions.
Checklist before you try again
- The display timeout in System Settings is longer than your video, or you are using one of the other fixes.
- For caffeinate: the Terminal window is still open and the command has not finished.
- For a Glowmoth session: it is still running (the panel title says Awake) and Keep Display On is checked.
- For a rule: the rule's own Keep the display on switch is on, and the panel is on Automatic.
If it still turns off
| Cause | Symptom | Fix |
|---|---|---|
| Screen saver option on | Display releases after idle minutes | Turn off Let the screen saver start when I'm away (Settings ▸ Sessions), or raise After N min idle |
| Display switch off | Screen sleeps, Mac stays awake | Check Keep the display on in Settings ▸ Sessions and the menu item |
| Safety pause | Icon shows paused | Plug in, or use Resume Anyway (30 min) |
| Session ended | Timer ran out or screen locked | Start a new one; check End the session when the screen locks |
| caffeinate stopped | Terminal closed or Control-C | Run the command again |
| Lid closed | Mac sleeps | None of these fixes cover a closed lid |
The screen saver option measures keyboard and mouse idle time, so watching without touching the Mac counts as idle if it is on. The safety pause triggers on low battery (below 20% by default) or when the Mac runs hot, and releases everything. If you can't find the icon, a crowded menu bar or the notch may be hiding it; see menu bar icons hidden behind the notch. Glowmoth has no switch to prevent screen lock. For more options, see how to keep your Mac screen on and the display and lock docs.
If nothing works
If the display still sleeps with a longer timeout, caffeinate -d running, and no Glowmoth involved, something else is overriding it, such as a profile on a managed Mac. Contact your IT admin, or Apple Support. If the problem is in one app, report it to that app's developer. If it's Glowmoth, use MacSuite support. Include your macOS version, the app and its version, and what you tried. A message you can adapt:
My MacBook screen turns off during fullscreen video in <app name>.
macOS version: <version>. App version: <version>.
Display timeout is set to <value>. I tried: caffeinate -d, a longer timeout.
The display still sleeps after about <minutes> minutes without input.
Other apps (for example a browser playing YouTube) keep the display on.Common questions
Is this a bug in my MacBook?
More likely it's the video app. The Mac sleeps the display on schedule unless an app asks it not to.
Do I need Glowmoth for this?
No. The system setting or caffeinate -d is enough for occasional use. Glowmoth is part of MacSuite ($349 one-time as of November 2026, 7-day free trial) and helps if you want a menu bar toggle or a rule for one app. Without a valid license or trial, Glowmoth keeps nothing awake.
Will the screen stay on with the lid closed?
No. None of these fixes change what happens when you close the lid. Glowmoth has a separate closed-lid mode, covered in the closed-lid docs.