How to Stream on YouTube with OBS Studio: Step by Step

Create a YouTube stream, paste the URL and key into OBS Studio and match YouTube's encoder settings, with troubleshooting. Checked October 5, 2026.

The short answer

To stream to YouTube with OBS Studio, create a stream in YouTube Studio, copy its stream URL and stream key, paste them into Settings, Stream in OBS, match YouTube's encoder settings, and click Start Streaming. YouTube lists OBS Studio among its verified encoders and describes it as open source software for video recording and live streaming at no charge. This guide follows YouTube Help and the OBS Project's own guides, as of October 5, 2026.

Before you open OBS

  • Enable live streaming. YouTube says you need no live streaming restrictions in the past 90 days and a verified channel, and that enabling it for the first time may take up to 24 hours.
  • Install OBS Studio. The OBS System Requirements page lists Windows 10 or 11, macOS 11 or later, and Linux, and says CPU needs vary with encoder, resolution, frame rate and scene complexity.
  • Know your upload speed. YouTube says your total bitrate cannot exceed your upload bandwidth and recommends leaving about 20% of room. Use the bandwidth calculator.

Step 1: create the stream in YouTube Studio

  1. Open YouTube Studio, click Create, then Go Live.
  2. In the Live Control Room, open the Stream tab and create a stream.
  3. Copy the Stream URL (the RTMP server) and the Stream key. Keep the key private: see YouTube stream key and what is a stream key.
  4. For an encrypted connection, YouTube says to click the lock icon next to the Stream URL to show the RTMPS URL, because the default view shows plain RTMP. Your OBS version may also have a built-in YouTube RTMPS preset, which YouTube suggests checking for first.

Step 2: connect OBS Studio

  1. In OBS open Settings, Stream.
  2. Choose the YouTube service if your version lists one, or Custom…, then paste the Server and Stream Key from YouTube.
  3. Open Settings, Video and set the base (canvas) resolution to your screen or scene, the output (scaled) resolution to what viewers should see and the frame rate to 30 or 60.
  4. Open Settings, Output. Switch Output Mode to Advanced to reach rate control, bitrate and keyframe interval, and set them from the table below.
  5. Add your sources (see below), then click Start Streaming.

OBS Studio builds your picture from Sources. The Quick Start Guide lists Display Capture or Window Capture for your screen, Screen Capture on macOS, Game Capture (Windows only) and Video Capture Device for a webcam. The Audio Mixer captures desktop audio and your microphone by default, and you can change the devices in Settings, Audio. If you are unsure where to begin, the guide points to the Auto-Configuration Wizard under the Tools menu, which considers your goal, hardware and network.

Step 3: match YouTube's encoder settings

YouTube publishes bitrate ranges by resolution and frame rate. These are the H.264 figures, from minimum to recommended:

YouTube Help: Choose live encoder settings, bitrates, and resolutions, checked October 5, 2026.
Resolution and frame rateVideo bitrate
1080p at 60fps6 to 17 Mbps
1080p at 30fps5 to 14 Mbps
720p at 60fps3 to 8 Mbps
720p at 30fps3 to 8 Mbps
From the same YouTube Help page.
OBS fieldWhat YouTube recommends
Rate controlCBR (constant bitrate)
Keyframe interval2 seconds recommended; do not exceed 4 seconds
ProtocolRTMP or RTMPS, with RTMPS recommended
Video codecH.264 (H.265 and AV1 are also listed)
AudioAAC or MP3, 128 kbps stereo

The bitrate recommender lists the same figures beside the other platforms, and best OBS settings for streaming shows how to pick one value that suits your upload speed. YouTube says it detects the resolution and frame rate you send, so the output resolution you set in OBS is what viewers get.

Step 4: preview, go live and end

When you start in OBS, YouTube creates the watch page and shows a preview in the Live Control Room. Check video and audio there, then click Go live. YouTube advises starting your encoder at least 15 minutes before the event and setting up the stream at least 2 hours ahead. When you finish, end the stream in the Live Control Room and then stop OBS. YouTube says streams under 12 hours are archived automatically.

Run a test before every important show. The OBS Project's Quick Start Guide says to test your settings in Settings, Output and then use Start Streaming or Start Recording, and it strongly encourages running a test for a few minutes. Make that test private (or Practice mode on Instagram) so no audience sees it.

If something goes wrong

The OBS Project's Stream Connection Troubleshooting page says dropped frames mean your connection to the server is not stable or you cannot keep up with your bitrate. Its suggestions include trying a different server in Settings, Stream, lowering the video bitrate in Settings, Output (it calls 75% of your total upload speed a good starting point), using a wired connection instead of Wi-Fi and checking security software or a VPN. For an encoding overloaded warning, the Encoding Performance page suggests closing other GPU-heavy programs, lowering the output resolution or frame rate (try 30 instead of 60) and simplifying scenes. For YouTube RTMPS errors, YouTube suggests checking that the URL starts with rtmps and, if you see a certificate error, adding port 443 to the URL.

Streaming to YouTube and elsewhere

OBS can send to YouTube alone, or to a relay that sends to YouTube and other platforms from one upload. See how to multistream with OBS Studio, features and pricing, and the go live on YouTube from a PC guide for the webcam route.

Try it with Multistream Platform. Send one RTMP or SRT stream and relay it to YouTube, Twitch, Facebook, Kick, TikTok and custom endpoints. Start on the free Starter plan (2 channels, 20 streaming hours a month) and see the pricing page for paid plans.

Sources

Platform figures were checked on October 5, 2026. Platforms change their recommendations, so confirm against the current documentation before you go live.

Frequently asked questions

Do I need a stream key to stream to YouTube with OBS?
Yes. In YouTube Studio you create a stream and copy the stream URL and stream key into OBS Studio under Settings, Stream.
YouTube lists 5 to 14 Mbps for 1080p at 30 fps and 6 to 17 Mbps for 1080p at 60 fps (H.264, minimum to recommended). Stay below your upload speed with about 20% to spare.
YouTube recommends 2 seconds and says not to exceed 4 seconds.
YouTube recommends RTMPS. In the Live Control Room, click the lock icon next to the Stream URL to show the RTMPS URL.
YouTube suggests setting up the stream at least 2 hours ahead and starting the encoder at least 15 minutes before the event.
The OBS Project says dropped frames mean the connection to the server is not stable or you cannot keep up with your bitrate. Try a lower bitrate, a different server or a wired connection.
YouTube describes OBS as open source software for video recording and live streaming at no charge.
Have questions that aren't listed here? Talk to the team
Go Live Today

Ready to stream everywhere?

Bring your live, hosted, and pre-recorded streams into one platform.

One platform. Limitless audiences. Stream. Grow. Everywhere.