Preventing display sleep from interrupting a screen recording
A display that goes to sleep mid-recording — particularly during a longer recording or a session with extended pauses — can interrupt the capture, produce a black-screen section in the output, or in some cases contribute to file corruption of the kind covered in our corrupted recording recovery guide.
What actually happens when display sleep interrupts recording
Different recorders handle display sleep differently — some pause and resume cleanly, others continue recording but capture a black screen for the duration the display is off, and a few terminate the recording entirely. Which behavior you get depends on both the recorder and the OS, making prevention more reliable than relying on graceful handling.
The OS-level setting: increase display sleep timeout
The most direct fix is extending the display sleep timeout specifically for recording sessions — Windows: Settings → System → Power & Sleep; macOS: System Settings → Displays → Advanced → Prevent automatic sleeping. Setting the timeout to “Never” for the duration of a recording session and restoring it afterward is the simplest, most reliable approach.
Wake lock tools for regular recorders
If you record often enough that manually adjusting sleep settings becomes tedious, a wake lock utility — Caffeine on Mac, Insomnia or similar on Windows — keeps the display awake on demand without permanently changing your power settings, and can be toggled before recording starts as part of the same pre-recording checklist habit.
Screen savers are a separate setting from display sleep
Screen savers don’t necessarily sleep the display — they run on top of it. But some screen recorder setups treat an active screen saver as a display state change and produce unexpected output. If screen savers are part of your setup, disabling them specifically for recording sessions is worth doing alongside the sleep timeout adjustment.
Long recordings specifically need this check
For recordings that run longer than your typical display sleep timeout — extended tutorials, unattended process captures, long gaming sessions — this check matters proportionally more. A 10-minute recording likely finishes before a typical 15-minute sleep timeout; a 45-minute recording almost certainly doesn’t.
Frequently asked questions
Why does my screen recording have a black section in the middle?
Most likely your display slept during the recording — the recorder kept running but captured the blank output of a sleeping display. Extending the sleep timeout before recording prevents this.
What’s the easiest way to prevent display sleep during a specific recording?
Set the display sleep timeout to “Never” in OS settings before starting, then restore it afterward — or use a wake lock utility that keeps the display awake on demand.
Related reading: Common screen recording mistakes and how to avoid them · Screen recording file corrupted or won’t open · Building a recording setup you don’t have to rebuild every time