Discord Failed to Decode Stream Codec Fix
In this article
If you're seeing "Failed to decode stream" in Discord, it usually means the app can't process the audio or video codec for a stream or call. The quickest fix is to disable hardware acceleration in Discord's settings, then restart the app. If that doesn't work, update your graphics drivers or switch to the browser version. Below is a full step-by-step guide covering all reliable fixes.
What You'll Need
- Access to Discord on your computer (desktop app or browser)
- Administrator rights on your PC (for driver updates and reinstall)
- Stable internet connection
- Your operating system (Windows, macOS, or Linux) – steps are for desktop, not mobile
Step-by-Step
- Restart Discord completely. Close Discord entirely (right-click the system tray icon and select "Quit" on Windows, or press Cmd+Q on Mac). Then reopen it. This clears temporary glitches that cause codec errors.
- Disable hardware acceleration. Open Discord, go to Settings (gear icon next to your username) > Advanced (under App Settings). Toggle off Hardware Acceleration. Click Okay when prompted to restart Discord. This forces Discord to use software decoding, which often fixes codec errors.
- Update your graphics drivers. Outdated GPU drivers are a common cause. On Windows, go to Device Manager > Display adapters, right-click your GPU, and select "Update driver" > "Search automatically." For NVIDIA or AMD, use their official software (GeForce Experience or Adrenalin) to get the latest driver. On macOS, update via System Settings > General > Software Update.
- Clear Discord's cache. Close Discord completely. Press Win+R (Windows) or open Finder (Mac), type
%appdata%(Windows) or~/Library/Application Support(Mac). Find the discord folder and delete the Cache, Code Cache, and GPUCache subfolders. Reopen Discord. This removes corrupted temporary files that can break codec decoding. - Switch to the browser version. If the desktop app still fails, open Discord in a web browser (Chrome, Firefox, Edge). Go to discord.com/app and log in. The browser uses different codec handling and may work when the desktop app doesn't.
- Reinstall Discord. Uninstall Discord via Control Panel (Windows) or by dragging it to Trash (Mac). Download the latest version from discord.com/download and install it. This resets all app files and settings, fixing persistent codec issues.
- Check your audio/video devices. In Discord, go to Settings > Voice & Video. Under "Input Device" and "Output Device," try switching to a different device (e.g., from headphones to speakers) and back. Also, disable "Echo Cancellation" and "Noise Suppression" temporarily to see if they interfere.
Common Mistakes
- Not fully restarting Discord. Just closing the window doesn't quit the app; it stays in the system tray. Always use "Quit" to fully exit.
- Skipping driver updates. Many users only update Windows, not the GPU driver, which is the actual cause.
- Deleting the whole Discord folder. When clearing cache, don't delete the entire "discord" folder—only the cache subfolders—or you'll lose settings and login info.
- Using mobile fixes on desktop. This error is rare on mobile; the steps above are for desktop only.
- Ignoring browser extensions. If you're on the browser version, ad-blockers or privacy extensions can block codecs. Try disabling them or using an incognito window.
Tips
- Keep Discord updated. The app auto-updates, but you can check for updates by pressing Ctrl+R (Windows) or Cmd+R (Mac) in the app to force a refresh.
- If you use a VPN, try disconnecting it, as VPNs can sometimes interfere with stream data.
- For streamers: if you're streaming a game and get this error, lower your stream quality in Discord's stream settings (Settings > Streamer Mode or the stream's resolution options).
- If the error only happens on one server, ask the server owner to check their region or stream settings.
Troubleshooting
If the error persists after trying all steps:
- Check Discord's server status. Visit discordstatus.com to see if there's an ongoing outage. If so, wait it out.
- Run as administrator. Right-click the Discord shortcut and select "Run as administrator" (Windows). This can resolve permission-related codec issues.
- Disable antivirus/firewall temporarily. Some security software blocks Discord's network streams. If disabling it fixes the issue, add Discord to the exception list.
- Try a different network. Switch from Wi-Fi to a wired connection, or use your phone's hotspot, to rule out network issues.
- If nothing works, use the browser version permanently. It's lighter and often more stable for streaming.
Frequently Asked Questions
What does "Failed to decode stream" mean?
It means Discord's app can't process the incoming audio/video data (the codec) for a call or stream, so it shows an error instead of playing it.
Will this fix work on mobile Discord?
No, the steps are for desktop. If you see this error on mobile, try restarting the app or reinstalling it from the official app store.
Why does disabling hardware acceleration help?
Hardware acceleration uses your GPU to decode video, but some GPU drivers have bugs. Disabling it forces Discord to use CPU-based decoding, which is more compatible.
Can this error be caused by my internet speed?
Yes, a very slow or unstable connection can cause stream data to arrive incomplete. Check your connection speed and try a wired connection.
Is it safe to delete Discord's cache folder?
Yes, it's safe. The cache only stores temporary files like images and stream data. You won't lose your messages or server settings.
Does reinstalling Discord delete my servers and messages?
No. Your servers, messages, and friends are stored on Discord's servers, not your computer. Reinstalling only removes the app itself, and you'll log back in to see everything.