Connect your Twitch account to OBS in three steps
Open OBS, go to Settings, then Stream, and select Twitch as your service. Click "Connect Account" and log into Twitch in the browser window that opens. OBS will generate a stream key automatically and save it — you do not need to copy anything yourself. Once the connection is confirmed, close Settings and you are ready to start streaming.
The connection links your OBS software to your Twitch channel so that when you press "Start Streaming" in OBS, your broadcast goes live on Twitch. The stream key is what tells Twitch that the video is coming from you and not someone else. OBS handles all of this behind the scenes once you authorize it the first time.
Key Takeaways
- OBS connects to Twitch through Settings > Stream, where you select Twitch as your service and click "Connect Account".
- You log into your Twitch account once during setup, and OBS stores the stream key automatically — you do not need to find or paste it manually.
- The stream key is a unique code that tells Twitch your broadcast is coming from your account, not someone else's.
- Once connected, pressing "Start Streaming" in OBS sends your video directly to your Twitch channel without any additional steps.
- If you disconnect OBS from Twitch later, you can reconnect the same way — the process takes less than a minute.
Where to find the Stream settings in OBS
Open OBS and look at the bottom right of the window. You will see a button labeled "Settings" — click it. A new window opens. On the left side, you will see a list of categories. Click "Stream" in that list. The Stream panel opens on the right side of the window.
At the top of the Stream panel, you will see a dropdown menu that says "Service". This is where you tell OBS which platform you are streaming to. Click that dropdown and select "Twitch" from the list. Once you select Twitch, new options appear below it.
Authorizing OBS to access your Twitch account
After you select Twitch as your service, you will see a button that says "Connect Account". Click it. A browser window opens and takes you to Twitch's login page. Enter your Twitch username and password, then click "Authorize" when Twitch asks for permission. This tells Twitch that OBS is allowed to stream on your behalf.
You only do this once. After you authorize, the browser window closes automatically and you are back in OBS. The stream key is now stored in OBS — you will not see it displayed, and you do not need to do anything with it. OBS uses it automatically every time you stream.
What the stream key does and why OBS needs it
The stream key is a long string of letters and numbers that acts like a password for your stream. It tells Twitch that the video coming from OBS belongs to your account. Without it, Twitch would not know where to send your broadcast. When you authorize OBS, Twitch generates this key and gives it to OBS to store.
You never need to see or type the stream key yourself. OBS keeps it private and uses it automatically. If you ever want to see your stream key (for example, to use it in a different program), you can find it in your Twitch Creator Dashboard under Settings > Stream Key, but for OBS you do not need to touch it.
Starting your stream after connecting OBS to Twitch
Once OBS is connected to Twitch, set up your scene and sources the way you want them. A scene is what your viewers will see — it might include your game window, a webcam, text overlays, or anything else you want on screen. Arrange these in the Sources panel in OBS until the preview looks right.
When you are ready to go live, click the "Start Streaming" button in the bottom right of OBS. The button turns red and changes to "Stop Streaming". Your broadcast is now live on Twitch. Viewers can find your channel and watch. To end the stream, click "Stop Streaming".
Disconnecting and reconnecting OBS to Twitch
If you want to disconnect OBS from Twitch — for example, if you are selling your computer or want to revoke OBS's access — go back to Settings > Stream. Click the "Disconnect" button next to where it says you are connected to Twitch. OBS removes the stored stream key and you are no longer connected.
To reconnect later, follow the same steps: Settings > Stream > select Twitch > click "Connect Account". You will log in again and authorize OBS again. The process is identical to the first time. You can disconnect and reconnect as many times as you need.
Troubleshooting connection problems
If OBS will not connect to Twitch, first check that you are using the latest version of OBS. Older versions sometimes have trouble with Twitch's authorization system. Go to obsproject.com, read the newest version, and install it over your existing copy.
If you see an error message when you click "Connect Account", make sure you are logged out of Twitch in your web browser first. Close any Twitch tabs, then try connecting again. If the browser window does not open when you click "Connect Account", check that your firewall or antivirus software is not blocking OBS from opening a browser.
If you are already connected but your stream will not start, check that your internet connection is stable. OBS needs a steady upload speed — at least 2.5 Mbps for 720p at 30 frames per second. You can test your upload speed at speedtest.net. If your speed is too low, lower your bitrate in OBS (Settings > Output > Bitrate) or stream at a lower resolution.
Frequently Asked Questions
Do I need to enter my stream key manually in OBS?
No. When you click "Connect Account" and authorize OBS, Twitch sends the stream key to OBS automatically. OBS stores it and uses it without you ever seeing it. You only enter a stream key manually if you are using a different program that does not have a "Connect Account" button.
What happens if I change my Twitch password after connecting OBS?
Changing your Twitch password does not disconnect OBS. The stream key stays valid and OBS keeps working. You do not need to reconnect or re-authorize. The stream key and your password are separate — changing one does not affect the other.
Can I use the same OBS setup to stream to Twitch and another platform at the same time?
OBS can stream to multiple platforms at once, but you need to set it up differently. In Settings > Stream, you would use "Custom" service instead of selecting Twitch directly, then add multiple stream keys. Most people find it simpler to stream to one platform at a time, or to use a service like Restream that handles multiple platforms for you.
What if I see "Failed to connect to server" when I try to start streaming?
This usually means your internet connection dropped or Twitch's servers are having trouble. Check that your internet is working by opening a web browser and visiting a website. If the internet is fine, wait a few minutes and try starting the stream again. If the error keeps happening, restart OBS and try once more.
Can I stream to Twitch without connecting OBS to my account?
Yes, but it is more work. You can go to your Twitch Creator Dashboard, find your stream key under Settings > Stream Key, copy it, then paste it into OBS under Settings > Stream > Custom Service. This works, but you have to manage the stream key yourself. Connecting your account is simpler because OBS handles it automatically.