Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Prevent OBS From Sleeping During 24/7 Stream

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Running a 24/7 stream means your computer must stay awake and active around the clock. If your system goes to sleep or the display turns off, OBS Studio stops sending video, the stream goes offline, and your viewers lose the feed. This guide shows you how to configure Windows, macOS, and OBS itself so your stream keeps running without interruption.

What You'll Need

  • Administrator access to your computer (to change power settings).
  • OBS Studio installed and configured with your streaming platform.
  • Knowledge of your operating system version (Windows 10/11 or macOS).

Step-by-Step

Windows 10 and 11

  1. Open Power & Sleep settings. Press Win + I to open Settings, then go to System > Power & sleep (Windows 10) or System > Power & battery (Windows 11).
  2. Set sleep to Never. Under Sleep, change both “On battery power, sleep after” and “When plugged in, sleep after” to Never. If you are on a desktop, only the plugged-in option matters, but set both anyway.
  3. Set screen to Never (optional but recommended). The screen turning off does not stop OBS, but some graphics drivers may behave oddly. Set both screen options to Never as well.
  4. Disable fast startup (Windows 10/11). Fast startup can sometimes prevent proper wake-up behavior. Go to Control Panel > Power Options > Choose what the power buttons do. Click “Change settings that are currently unavailable,” then uncheck “Turn on fast startup.” Save changes.
  5. Disable USB selective suspend. In the same Power Options window, click Change plan settings > Change advanced power settings. Expand USB settings > USB selective suspend setting and set it to Disabled for both battery and plugged in. This prevents USB devices (like webcams or capture cards) from being cut off.
  6. Prevent the network adapter from sleeping. Open Device Manager (right-click Start), expand Network adapters, right-click your active adapter, and select Properties. Go to the Power Management tab and uncheck “Allow the computer to turn off this device to save power.”

macOS

  1. Open System Settings (or System Preferences). Click the Apple menu and select System Settings (macOS Ventura and later) or System Preferences (earlier versions).
  2. Set the display to never sleep. Go to Displays (or Energy Saver on older macOS). Set the “Turn display off” slider to Never.
  3. Prevent the computer from sleeping. In Battery (or Energy Saver), drag the “Put hard disks to sleep when possible” slider to Never and uncheck “Put the computer to sleep when the display is off” if it appears. Also uncheck “Enable Power Nap” to avoid unexpected wake-ups.
  4. Use a caffeine app (optional). Apps like Amphetamine (free on the App Store) can keep your Mac awake for a set time or indefinitely. They are useful if you want to lock the screen without sleeping.

OBS Studio Settings

  1. Enable “Deactivate when not streaming” (optional). In OBS, go to Settings > General. If you want OBS to keep working even when you are not live (for local recordings), leave this unchecked. For 24/7 streaming, it does not matter, but leaving it unchecked ensures OBS never stops rendering.
  2. Set a low “Process Priority” (optional). In Settings > Advanced, set “Process Priority” to Above Normal or High to reduce the chance of OBS being throttled by background tasks. Do not set it to Realtime, as that can cause system instability.
  3. Prevent OBS from being minimized to tray (optional). When OBS is minimized, some systems may reduce its rendering priority. Keep the OBS window open (even if behind other windows) or use “Preview” disabled to save resources.

Common Mistakes

  • Only changing the screen timeout. The screen turning off is not the same as the system sleeping. Always set the sleep timer to Never as well.
  • Forgetting to change both battery and plugged-in settings. On laptops, if you only change the plugged-in setting, the laptop may still sleep on battery power, which can happen if the power adapter is accidentally unplugged.
  • Leaving USB selective suspend enabled. Even if the system stays awake, USB devices can be temporarily powered down, causing capture cards or webcams to disconnect.
  • Ignoring Windows updates. A pending update can force a restart. Schedule updates to occur during a maintenance window or pause updates for up to 35 days (Windows 11 Pro).

Tips

  • Use a dedicated streaming PC. If possible, run the 24/7 stream on a separate machine that is not used for daily tasks. This reduces the risk of accidental shutdowns or resource conflicts.
  • Set a BIOS/UEFI power plan. Some motherboards have their own power management settings. Check your BIOS for options like “ErP Ready” or “Deep Sleep” and disable them if they cause issues.
  • Monitor your stream. Use a service like UptimeRobot or a simple script that pings your stream URL to alert you if it goes offline, so you can react quickly.
  • Use a UPS (uninterruptible power supply). A UPS keeps your computer running during brief power outages and can prevent sudden shutdowns that might corrupt OBS settings.

Troubleshooting

If your stream still goes offline or your computer sleeps despite following these steps:

  • Check your power plan. Windows sometimes resets settings after an update. Re-open Power Options and verify that “Sleep after” is still set to Never.
  • Look for third-party sleep timers. Some software (like TeamViewer, remote desktop tools, or gaming overlays) can force the system to sleep. Close unnecessary background apps.
  • Test with a simple command. Open Command Prompt as administrator and run powercfg /requests. This shows what is currently preventing sleep. If it is blank, your system is allowed to sleep; if it lists a driver, that driver is keeping it awake.
  • Check OBS logs. If OBS crashes or disconnects, the log file (Help > Log Files) may show the reason. Look for “Disconnected” or “Connection lost” messages.
  • Update drivers. Outdated graphics or network drivers can cause OBS to stop encoding. Visit your GPU manufacturer’s website and install the latest drivers.

Frequently Asked Questions

Does the screen turning off stop OBS from streaming?

No. The screen turning off only stops the display output. OBS continues to capture and encode as long as the system itself is awake. However, some graphics drivers may reduce performance when the display is off, so setting the screen to Never is still recommended.

Can I use a laptop for 24/7 streaming?

Yes, but you must keep it plugged in and set both battery and plugged-in sleep settings to Never. Laptops also generate more heat, so ensure proper ventilation to avoid thermal throttling.

Will changing power settings affect my normal computer use?

Only in that your computer will not sleep automatically. You can still manually sleep or shut down using the Start menu. The screen may stay on longer, which uses more electricity.

Is it safe to leave OBS running for days?

Yes, OBS is designed to run for long periods. However, occasional restarts (every few days) can help clear memory leaks and keep the stream stable.

What if my internet connection drops overnight?

OBS will try to reconnect automatically if you have “Auto-Reconnect” enabled in Settings > Advanced. You can also set a longer reconnect delay and increase the maximum retries.

Do I need to disable sleep in the BIOS too?

Usually not, but if your computer still sleeps after changing Windows settings, check the BIOS for power management options like “Suspend Mode” or “ACPI Sleep” and set them to disabled or S1 (not S3).