Fix: Failed To Retrieve Stream Key

Are you getting the annoying "failed to retrieve stream key" in Twitch? We have researched this issue and its causes in detail in order to help you fix it.

Setting up and starting your first live stream on Twitch is an exciting experience. However, it’s not always smooth sailing. is a world-leading streaming platform, but it’s also quite complex and has many features. Because of that, encountering difficulties is not as uncommon as we would like.

In this guide, you’ll learn how to fix the “Failed to Retrieve Stream Key” error. If you’re dealing with this, read on to find all the solutions for this well-known problem.

What Is A Stream Key?

Every Twitch account has a Stream Key. This is a combination of multiple characters, including numbers, letters, and signs.

An example of how a hidden Stream Key looks like in Twitch’s “Creator Dashboard” section.

Most streaming apps require this key. So, you won’t be able to launch your live stream until you input this in the app.

You must never share this key with other people.

If you don’t know how to find yours, follow the steps below:

  1. Log in to Twitch with your account.
  2. In the top-right corner, click on the avatar icon, then select Creator Dashboard.
  3. On the left side of your screen, click on Settings and then on Stream.
  4. Your Stream Key will be on top of the screen under “Stream Key & Preferences.”
  5. Copy it on your clipboard by clicking Copy. You don’t have to reveal it beforehand.

Now that you have the Stream Key copied on your clipboard, you need to input it in your streaming app of choice to begin broadcasting on Twitch.

Inputting Stream Key in OBS (Open Broadcaster Software) app.

However, you might see the “Failed to Retrieve Stream Key” message, and this is where things can get complicated.

There are two solutions for the Twitch stream key not working issue.

Fix 1: Enable 2FA (Two-Factor Authentication) On Your Account Via SMS

Enabling 2FA on your Twitch Account makes it a lot more secure. If you are serious about streaming, and your Twitch account means a lot to you, protecting it with another layer of security is something you shouldn’t think about twice.

Since Twitch made this mandatory, you won’t be able to access your Stream Key or launch a Livestream through an app if you don’t have 2FA enabled.

To do this, follow the steps below:

  1. Log in to Twitch with your account.
  2. In the top-right corner, click on your avatar icon and then on Settings.
  3. Click on Security and Privacy in the section that’s on your screen.
  4. In the Security tab, enable Two-Factor Authentication via SMS.

Log out and then back into your account. Try retrieving your Stream Key and pasting it in your app of choice. You should be able to stream with no further issues.  

Once you have SMS 2FA enabled, logging into your account will look like this: Click Request SMS to get the code on your mobile phone.

The login screen on Twitch after enabling SMS 2FA on your account.

This official Two-Factor Authentication article from Twitch covers everything you need to know about setting this up, including the rewards your account gets credited with by doing so.

Fix 2: Enable Authy As Your 2FA Solution On Twitch

If you have already enabled SMS 2FA on your Twitch account, you’ve probably already solved the problem with retrieving your Stream Key. But, if you don’t like the Two-Factor Authentication method, you can use this alternative one.

Authy for Twitch is a good solution because it’s somewhat more convenient to use than receiving tokens through SMS. It’s also a personal preference, but if you feel like this method is better for you, setting it up can be done in the same section from above.


So, now that you know how to fix this, the “Failed to Retrieve Stream Key” issue shouldn’t prevent you from broadcasting your content on Twitch.

If you feel like you exposed your stream key while attempting these fixes, we recommend resetting it and getting a new one.

Related Reads

Fix: Twitch Not Loading (Chrome / Firefox)
Bojan Veselinovikj

Bojan is a video-game developer and a tech enthusiast. Combining these two passions allow him to keep you informed on everything that's new in this fast-paced digital world.