🔴 How to Connect OBS Studio to YouTube Live | 4 Reliable Methods (2026) ✨
Everything you need to go live with OBS Studio on YouTube – from the classic stream key to automatic account connection and one‑click auto‑start. Perfect for content creators managing one channel or multiple brand accounts.
Stream Key – Most Common & Reliable 🔑
This is the traditional way to connect OBS to YouTube Live. You copy a unique stream key from YouTube and paste it into OBS. It works every time and is perfect if you prefer manual control.
- Go to YouTube Studio → click Create → Go Live.
- Fill in your stream details (title, description, thumbnail, privacy).
- In the Stream Settings tab, copy the Stream Key (and note the Stream URL – usually
rtmp://a.rtmp.youtube.com/live2). - In OBS, go to Settings → Stream → choose Service: YouTube - RTMP → paste the Stream Key.
- Click “Start Streaming” in OBS, then return to YouTube and click “Go Live” once OBS shows it’s connected.
rtmp://a.rtmp.youtube.com/live2
Never share your stream key publicly. If someone obtains it, they can broadcast to your channel without your permission.
Connect YouTube Account Directly in OBS 🔐
If you manage multiple YouTube channels, this method is a game‑changer. OBS will automatically fetch your stream key and even let you switch between brand accounts without re‑entering any keys.
- In OBS, go to Settings → Stream → select Service: YouTube - RTMP.
- Click the “Connect Account (recommended)” button and sign in with your Google account.
- Grant the necessary permissions. OBS will now automatically fill in your stream key – no copy‑pasting needed.
- You can also set the stream title, privacy, and other options directly from OBS before going live.
One‑Click Auto‑Start Streams (OBS 28+) ⚡
With a connected YouTube account, you can enable auto‑start. The moment you hit “Start Streaming” in OBS, the stream goes live on YouTube automatically – no extra clicks in YouTube Studio required.
- Make sure your YouTube account is already linked using Method 2.
- In the same Stream settings, check the option “Enable auto‑start” (or similar wording, depending on OBS version).
- Now, whenever you click “Start Streaming” in OBS, YouTube will create the live event and go live immediately using the default settings you’ve configured.
This is ideal for scheduled streams where you’ve already set up titles and thumbnails in advance.
Custom RTMP with Third‑Party Tools (Restream, etc.) 🔄
If you want to broadcast to YouTube and other platforms (Twitch, Facebook, LinkedIn) at the same time, a middle‑layer service like Restream.io is the way to go. You send one stream to Restream, and it redistributes to all your destinations.
- Sign up for a free account at Restream.io (or a similar service).
- Add your YouTube channel as a destination in Restream’s dashboard – it will guide you through linking it.
- Copy the RTMP server and stream key that Restream provides (not YouTube’s).
- In OBS → Settings → Stream → choose Custom… and paste the Restream server/key.
- Start streaming in OBS. Restream will push the feed to YouTube (and any other connected platforms) simultaneously.
Quick Quality Settings for YouTube Live 🎛️
For a smooth, high‑quality stream that meets YouTube’s requirements, use these recommended settings:
- Output Resolution: 1080p (1920x1080) at 60 fps
- Bitrate: 6000 – 9000 Kbps for 1080p60 (if your internet can handle it)
- Encoder: Use NVIDIA NVENC if you have an Nvidia GPU, otherwise x264
- Keyframe Interval: Set to 2 seconds (YouTube’s requirement)
- Audio: AAC codec, 128–160 Kbps
You can find these options under Settings → Output (enable “Advanced” mode) and Settings → Video.
Final Checklist & Go Live ✅
- Created a stream in YouTube Studio (or connected OBS account)
- Pasted Stream Key or linked YouTube account
- Set output to 1080p60, bitrate 6000–9000 Kbps
- Keyframe interval = 2 seconds
- Audio: AAC, 160 Kbps
- Tested mic and webcam inside OBS
- Clicked “Start Streaming” in OBS and confirmed “Go Live” on YouTube
Key Takeaways
🔴 Ready to Go Live with OBS & YouTube?
Pick the method that works best for you – whether it’s the classic stream key, the convenience of a connected account, or multi‑streaming with Restream. Your next live stream is just a few clicks away!



Join the tech debate...
We love a good discussion, but please keep it respectful and relevant to the topic. Vulgarity, personal attacks, and spam will be removed. Let’s keep the community smart, helpful, and welcoming to all tech fans!