OBS does not put your computer to sleep; Windows power settings control whether the machine sleeps or hibernates. For a 24/7 broadcast, set the Windows 11 plugged-in sleep timeout to Never or longer than the planned run, and treat the screen timeout as a separate choice.
These steps are specific to Windows 11. A screen that turns off does not mean the computer has slept, and there is no need to keep the display lit for the broadcast to continue. Change the power behaviour, then test the full setup under the conditions you expect to use overnight.
Understand what OBS and Windows control
OBS runs as an application on the computer. Its streaming settings determine how it encodes and sends video, but they do not override the operating system’s power policy. If Windows sleeps or hibernates, OBS cannot continue sending a live feed from that sleeping machine. The relevant fix is to change the computer’s power settings, not to look for an OBS option that keeps Windows awake.
It helps to separate three events that can look similar from across a room. The display can turn off while the computer remains awake. The computer can enter sleep, a lower-power state from which it can resume. It can also hibernate, saving the current state and powering down more fully. The first may be entirely compatible with a live broadcast; the latter two interrupt the computer’s work.
If the stream ends or freezes, sleep is only one possible cause. A network interruption, encoder problem, overheating or another system issue can also stop the broadcast. A change to sleep settings addresses one failure mode; it does not make a stream interruption-proof. For a wider view of machine choices for looping video, see the low-cost cloud setup comparison, but a cloud or local setup still needs its own continuity and backup planning.
Set Windows 11 system sleep timeout
On Windows 11, open Settings > System > Power & battery > Screen, sleep, & hibernate timeouts. The labels or options available can differ by device or managed installation, so use Microsoft’s current Windows 11 power settings guidance if the page looks different.
Find Make my device sleep after and set its plugged-in value to Never, or choose a period comfortably longer than the broadcast you intend to run. For a channel meant to stay live continuously, Never is the clearest setting while the machine is connected to reliable AC power. If you prefer a finite timeout, remember that any unexpected delay before you can check the machine could let that timer expire.
Make the change for the plugged-in condition, not just for battery use. A laptop can have different power behaviour depending on whether it is connected to AC or running from its battery. If its charger is accidentally disconnected and the battery-specific timeout is short, the computer may sleep even though you adjusted the plugged-in setting. Battery operation is a poor basis for an unattended long broadcast; use reliable mains power and still check the battery policy as a fallback.
You do not need to change every power control you see. Start with the system sleep timeout because it is the setting that determines whether Windows stops running OBS after inactivity. If an organisation manages the device, or a manufacturer utility applies its own energy policy, Windows may not expose or retain the option you expect. Confirm the resulting behaviour in a test rather than assuming the displayed choice is the last word.
Check plugged-in behaviour and laptop controls
For a desktop, confirm that the chosen timeout applies while plugged in and that the machine is connected to a dependable power source. For a laptop, check the same setting and think through what could happen if its power cable comes loose. A timeout set to Never for AC does not necessarily prevent sleep on battery.
Lid-close behaviour deserves separate attention. Many laptops are configured to sleep when the lid closes, though the action depends on the device configuration. If you plan to shut the lid during a broadcast, check what closing it does rather than relying on the ordinary sleep timeout to protect the session. Microsoft explains sleep and hibernate behaviour, including common laptop actions, in its Windows shutdown, sleep and hibernate guide.
Also review what the power button does if you might press it, or if the machine is positioned where it could be pressed accidentally. A configured button action can put the computer to sleep or hibernate it. The display can be dark while the computer is still working, so do not use the screen going black as a reason to press the power button or close the lid. If the broadcast must keep running, leave the lid open unless you have verified the configured lid action and tested it under the same conditions.
Review hibernate settings where present
Hibernate is distinct from sleep, but it matters for the same reason: it stops the computer from continuing the live encoding and sending work. The Windows 11 timeout page may expose hibernate controls on some devices. Review them and make sure the machine will not hibernate during the period you need OBS to run.
Options vary. A desktop, laptop, managed PC or manufacturer-customised installation may show different controls. If you cannot find a hibernate timeout, do not assume that you have changed it by setting sleep to Never. Consult Microsoft’s current guidance or the device maker’s instructions for that specific model and Windows installation; avoid applying instructions meant for a different version or device.
Sleep and hibernate settings are worth checking alongside the lid and power-button actions because they are separate routes into a stopped state. A laptop may have a timeout that looks correct but still sleep as soon as its lid closes. Similarly, a screen-off setting may appear close to sleep controls without changing the system’s sleep behaviour. Change only the controls you understand, then test the outcome.
Set display timeout separately
The Turn my screen off after option controls the display timeout. Choose the interval that suits the room and your preference. It can be shorter than the broadcast duration: the screen may turn off while the computer stays awake and OBS continues running.
This distinction is useful for an overnight channel. You can avoid a bright screen in a bedroom or workspace without asking Windows to stop the machine. After adjusting the setting, check that you changed the display timeout, not Make my device sleep after. Their proximity on the settings page can make it easy to confuse them.
A dark monitor on its own does not prove the broadcast stopped. Check the live feed from another device or use a reliable way to confirm OBS and the computer remain active. Conversely, seeing the monitor on does not prove that YouTube is receiving a healthy stream. Use a stream preview or another independent check rather than treating screen state as a broadcast indicator.
Confirm the machine stays awake during a test
Before scheduling an unattended run, test the actual computer, power source, network and OBS workload together. Set the intended sleep and display timeouts, start a private or otherwise suitable test stream, and let it run long enough to confirm that the screen can turn off without the computer sleeping. Check the stream from a separate device and return to the PC to confirm that OBS is still active.
The test should reflect how you will operate the machine. If it is a laptop, use the intended charger and lid position. If you plan to leave the screen off, include that. Check that an energy-saving policy or manufacturer utility does not change the setting after a period of inactivity. A brief test confirms the basic power configuration; it cannot prove that a long broadcast will never encounter a network or software problem.
OBS recommends its Auto-Configuration Wizard to help choose settings for the computer, but compatibility alone does not guarantee successful streaming or recording. See the OBS system requirements and setup guidance, then test at the workload you actually intend to use. A looping devotional video, a local news feed and a study channel may place different demands on the computer and source material.
Keep the power question separate from stream lifecycle settings. YouTube’s live stream settings documentation covers encoder options such as stream auto-start and auto-stop; those options do not keep the host computer awake. If your content is a repeating playlist, this guide to setting OBS to loop an MKV file addresses the media loop, not Windows sleep. Treat each job as its own check.
Check power behaviour before a long broadcast
Once the basic test passes, review the setup before relying on it through the night. Confirm Windows still shows the intended plugged-in sleep timeout, that hibernate will not intervene, and that the display setting is separate. On a laptop, verify the charger, lid position and power-button behaviour. These checks help catch a changed setting, loose cable or mistaken assumption before a long run.
Check whether the device is managed by work or school, or whether a vendor power utility applies a policy of its own. The available Windows controls do not document every manufacturer-specific variation. If Windows settings revert or the machine sleeps despite the choice, check current instructions for the device and ask its administrator where relevant. Do not repeatedly change unrelated options without establishing what is overriding the setting.
Power continuity is not the same as broadcast continuity. Even if the PC stays awake, OBS can lose its connection or encounter another fault. YouTube recommends testing the setup, previewing the feed, considering a backup encoder and checking local archive files in its streaming tips. If a local computer sleeping unattended is the particular burden you need to remove, StreamNeo can run an uploaded video as a YouTube live stream without leaving your computer switched on; it does not change the Windows settings on your own PC.
Archive preservation is a separate concern from whether the live stream remains on air. YouTube warns that if a stream exceeds 12 hours, it may not be captured at all, and recommends recording a local archive as a backup. That warning is about the archive, not a promise that a live broadcast ends at 12 hours. If keeping the full programme matters, test a local recording workflow and check that recordings are actually being saved.
The restart setup for a YouTube stream that stops after 12 hours concerns a different interruption and does not replace power testing. Likewise, the cloud-server guide for a 24/7 Gujarati bhajan channel may help you consider a different way to run a channel, but compare the operating requirements with your own rather than assuming it solves every failure mode.
Before committing, compare the operating options on the pricing page. When the file and channel are ready, start free — 24-hour trial, no card.
FAQ
Does OBS have a setting that prevents Windows sleep?
No. OBS runs within the operating system, while Windows power settings decide whether the computer sleeps or hibernates. Change the host computer’s power policy and test it with OBS running.
Can the monitor turn off during a 24/7 stream?
Yes, if the computer remains awake. Set Turn my screen off after separately from Make my device sleep after, then verify the broadcast from another device rather than using the monitor as your indicator.
What should I check if a laptop sleeps anyway?
Confirm that the plugged-in sleep timeout is set as intended, then check whether the charger is connected and what closing the lid or pressing the power button does. Available controls and actions vary by device, so consult current guidance for that Windows installation and test the configuration.
Does changing sleep settings guarantee a complete YouTube archive?
No. A computer staying awake addresses only one cause of interruption and does not guarantee that YouTube captures the archive. YouTube says a stream over 12 hours may not be captured at all, so test local recording separately if you need a backup.