How to Stop OBS Lagging: 12 Fixes That Work
In this article
OBS lag usually comes from one of four things: your encoder can't keep up, your GPU is overloaded, your bitrate is too high for your upload speed, or your PC is running out of memory. The fastest fix is to switch the encoder to NVENC (if you have an Nvidia GPU) or lower the resolution to 720p, then adjust bitrate. Below are the exact steps, in order of how likely they are to solve the problem.
What You'll Need
- OBS Studio installed (free from obsproject.com)
- Access to your streaming platform's dashboard (Twitch, YouTube, etc.) to check your upload speed and server
- About 10 minutes of time
Step-by-Step
- Check your upload speed. Go to speedtest.net and run a test. You need at least 3 Mbps upload for 720p streaming, and 6 Mbps for 1080p. If your upload is below that, you'll need to lower your bitrate or resolution.
- Open OBS Settings. Click Settings in the bottom-right of the OBS main window. The exact labels might differ slightly by version, but the sections are the same.
- Set your output mode to Advanced. In the Output tab, change the Output Mode from "Simple" to "Advanced". This gives you more control.
- Choose the right encoder. In the Streaming tab under Advanced Output, set the Encoder to Hardware (NVENC) if you have an Nvidia GPU (GTX 900 series or newer). If you have an AMD GPU, use Hardware (AMF). If you have neither, use x264 but know that it uses CPU and will cause lag if your CPU is weak.
- Lower the bitrate. Set the Video Bitrate to 4500 Kbps for 1080p, or 2500–3500 Kbps for 720p. If your upload speed is under 5 Mbps, use 2500 Kbps. This is the single most common cause of OBS lag.
- Set the encoder preset. If you're using NVENC, leave the Preset on "Quality" or "Performance" (not "Max Quality" – that can cause lag). If you're using x264, set the CPU Usage Preset to "veryfast" or "superfast". Anything slower will overload your CPU.
- Reduce the output resolution. Go to the Video tab. Set the Output (Scaled) Resolution to 1280x720 if you're streaming at 1080p. This cuts the workload in half. You can also lower the base resolution if your monitor is 1440p or 4K.
- Cap your FPS. In the Video tab, set Common FPS to 30 or 60. If you're on a 144Hz monitor, OBS might try to capture at 144 FPS, which is unnecessary and causes lag. 30 FPS is fine for most streams.
- Close other programs. Close your browser, Discord, Spotify, and any games you're not playing. OBS needs RAM and GPU resources. If you're streaming a game, close the game's launcher (like Steam or Epic) after the game is running.
- Update your graphics drivers. Go to Nvidia's or AMD's website and download the latest driver. Outdated drivers are a common cause of encoder issues.
- Restart OBS. After changing settings, click Apply and OK, then close and reopen OBS. This clears any temporary glitches.
- Test with a recording. Before going live, record a 30-second clip using the same settings. If the recording plays smoothly without dropped frames, your stream will likely be fine.
Common Mistakes
- Using x264 on a weak CPU. If you have a mid-range CPU, x264 will cause lag. Use NVENC or AMF instead.
- Setting bitrate too high. Your upload speed is the limit. If you set 6000 Kbps but your upload is 4 Mbps, you'll get constant dropped frames.
- Streaming at 1080p when your PC can't handle it. 720p looks fine on most streams and is much easier to encode.
- Running OBS as administrator. This can actually cause issues with game capture. Run it normally unless you have a specific reason.
- Ignoring the stats panel. The bottom-right of OBS shows dropped frames and CPU usage. If you see red, something is wrong.
Tips
- Use Game Capture instead of Display Capture. Game Capture is more efficient and gives better performance.
- Set OBS to run as high priority. In OBS, go to Settings > Advanced and set Process Priority to "High". This tells Windows to give OBS more CPU time.
- Use a wired internet connection. Wi-Fi can cause packet loss and lag spikes. Plug in an Ethernet cable if possible.
- Lower your game's graphics settings. If your GPU is at 100% while gaming, OBS can't encode properly. Lower shadows and effects to free up GPU.
- Disable Windows Game Mode. In Windows Settings > Gaming > Game Mode, turn it off. It can interfere with OBS.
Troubleshooting
If you still have lag after following the steps:
- Check the Stats panel. Open the View menu and click Stats. Look at "Dropped Frames" and "Render Lag". If dropped frames are high, it's a network issue. If render lag is high, it's a GPU/CPU issue.
- If it's network lag: Lower your bitrate further, switch to a different server (in Settings > Stream), or use a wired connection.
- If it's render lag: Lower your output resolution to 720p, close more programs, or lower your game's graphics settings.
- Try a different streaming platform. Sometimes the server you're connecting to is having issues. Try a different platform or server.
- Reinstall OBS. If nothing else works, uninstall OBS completely, restart your PC, and install the latest version from obsproject.com. Your settings will be lost, so note them down first.
Frequently Asked Questions
Why does OBS lag even when I'm not streaming?
If OBS lags while recording, it's usually because your PC can't handle the encoding workload. Lower your resolution and bitrate, or switch to a hardware encoder.
Is 720p or 1080p better for streaming?
720p is easier on your PC and internet, and most viewers can't tell the difference on a phone or small window. 1080p is better for fast-moving games, but only if your PC and upload speed can handle it.
Does OBS use more CPU or GPU?
It depends on the encoder. x264 uses CPU, NVENC uses GPU. If your CPU is weak, use NVENC; if your GPU is weak, use x264 (but only if your CPU is strong).
What bitrate should I use for Twitch?
Twitch recommends 4500 Kbps for 1080p and 2500–3500 Kbps for 720p. But your upload speed is the real limit – never set bitrate higher than 80% of your upload speed.
Why does OBS drop frames but my internet is fine?
Dropped frames can be caused by network congestion, Wi-Fi interference, or an overloaded streaming server. Try a wired connection and a different server.
Can I use OBS on a laptop?
Yes, but laptops often have weaker CPUs and GPUs. Use NVENC if your laptop has an Nvidia GPU, and lower your resolution to 720p. Also make sure your laptop is plugged in and not in power-saving mode.