How to Remove Yellow Lines in OBS
In this article
Yellow lines in OBS Studio usually appear as safe area guides—title and action safe overlays—that help position content correctly for broadcast. These lines are meant to be invisible during recording or streaming, but if they appear in your output, it means the guides are enabled and set to show in the final stream. The fix is adjusting the Guides settings in OBS; other cases involve chroma key artifacts or encoding issues, which require different fixes.
Fix Safe Area Guides
OBS includes built-in guides to show title-safe and action-safe zones. These appear as yellow rectangles and are meant for layout only. If they show in your stream or recording, you need to disable them from appearing in the final output.
- Open OBS Studio and go to the View menu at the top of the window.
- Select Guides > Show Guides to toggle the yellow lines on or off.
- If the lines are still visible in your stream or recording, go to Settings in the lower-right corner.
- In Settings, click Advanced in the left sidebar (you may need to enable Advanced mode first).
- Go to the Video tab.
- Find the Safe Areas section and uncheck Show in Output.
- Click OK to save.
After this, the yellow lines will only appear in the OBS preview window and will not be visible in your recorded or streamed video.
Check Chroma Key Artifacts
If you're using a green screen or chroma key filter, yellow lines might appear due to aggressive keying or edge artifacts. This often happens when the spill suppression or edge smoothing settings create unintended halos or color shifts around the keyed subject.
- Select the source with the chroma key applied (usually a webcam or video capture device) in the Sources panel.
- Open the Filters panel for that source.
- Find the Chroma Key filter and click the gear icon to edit it.
- Reduce the Similarity setting by 10-20 points to avoid over-keying.
- Increase the Smoothness to 300-400 to soften harsh edges.
- Adjust Spill Suppression to 50-70 to reduce green color bleeding into edges.
- Click OK and check the preview.
If yellow lines persist around the edges of the keyed subject, try disabling the chroma key temporarily to confirm it’s the source. Use a neutral background during testing.
Verify Output and Encoding Settings
Yellow lines can sometimes appear due to encoding issues, especially if you're using NVENC, AMD, or Intel hardware encoders with aggressive bitrate limits or resolution scaling. This is rare but can manifest as colored bands or artifacts across the video frame.
| Setting | Recommended Value |
|---|---|
| Base (Canvas) Resolution | 1920x1080 |
| Output (Scaled) Resolution | 1920x1080 or 1280x720 |
| Downscale Filter | Lanczos (sharp) or Bicubic (balanced) |
| Scaling Resampling | 16-bit |
| Video Bitrate (Streaming) | 6000-8000 kbps (720p), 10000-15000 kbps (1080p) |
| Video Bitrate (Recording) | 20000-50000 kbps (high quality MP4 or MKV) |
| Keyframe Interval | 2 seconds |
| Encoder | x264 (CPU), NVENC (GPU, if available) |
- Go to Settings > Video and confirm your Base and Output resolutions match your intended stream quality.
- Navigate to Settings > Output.
- Under Output Mode, select Advanced if not already chosen.
- Go to the Streaming or Recording tab.
- Set the Encoder to x264 for testing.
- Set Rate Control to CBR for streaming, VBR for recording.
- Set Bitrate to at least 8000 kbps for 720p, 15000 for 1080p.
- Click OK and restart OBS.
Check for Graphics Driver Issues
If yellow lines appear as horizontal bands or flickering artifacts, it could be a GPU driver problem. Update your graphics driver to the latest stable version from NVIDIA, AMD, or Intel. After updating, restart your computer and reopen OBS.
Fixes That Failed: Common Mistakes
These errors cause yellow lines to persist or reappear after 'fixing' them:
- Only disabling guides in preview: Turning off guides in View > Guides hides them in the window but doesn’t stop them from appearing in output if Show in Output is still enabled.
- Over-aggressive chroma keying: Setting Similarity too high removes the background but can create yellow or white halos due to edge spill. Adjust gradually.
- Using low bitrate with high resolution: Streaming at 1080p with less than 6000 kbps can cause compression artifacts that look like colored lines, especially in dark or gradient areas.
- Scaling sources incorrectly: Stretching a 720p source to fill 1080p without proper filtering can create edge artifacts. Use the correct downscale filter in Settings > Video.
- Not restarting OBS after changes: Some settings, especially encoder or video changes, require a full restart to take effect.
How to Confirm the Fix Worked
The yellow lines should be gone from your stream and recordings but still visible in the OBS preview window if you need layout help. To verify:
- Start a test recording (File > Start Recording).
- Play back the file outside OBS (in VLC or Windows Media Player).
- If no yellow lines appear, the fix worked.
- Alternatively, start a private stream to YouTube or Twitch and check the live view.
| Symptom | Most Likely Cause | Fix |
|---|---|---|
| Yellow rectangle around edges of preview | Safe area guides enabled in output | Uncheck Show in Output in Settings > Advanced > Video > Safe Areas |
| Yellow halo around person on green screen | Chroma key spill or over-smoothing | Reduce Similarity, increase Smoothness, adjust Spill Suppression |
| Horizontal yellow bands across video | Encoding artifact or driver issue | Increase bitrate, switch encoder, update GPU driver |
| Lines only in stream, not recording | Streaming settings too aggressive | Compare stream vs. recording bitrate and resolution |
| Lines flicker on and off | GPU rendering issue | Update graphics driver, restart OBS |
Troubleshooting Persistent Yellow Lines
If the yellow lines remain after trying all fixes, consider these less common causes:
- Third-party plugins: Some OBS plugins, especially overlays or alert boxes, can draw borders. Disable plugins one by one to isolate the culprit.
- Browser source rendering: A browser source with CSS borders or debug outlines may show yellow lines. Inspect the HTML/CSS if you control the page.
- Game capture source: If capturing a game window, the game itself may have UI elements or debug modes enabled. Check in-game settings.
When all else fails, reset OBS settings by closing the program, navigating to the OBS config folder (Documents\Obs-studio or AppData\Roaming\Obs), and renaming the basic.json and profiles folders. Restart OBS to generate fresh defaults, then reconfigure.