If OBS Studio can’t connect to Twitch, YouTube, or other streaming services, or if viewers see a black screen on your stream, Windows Firewall is often the culprit. This guide walks you through adding OBS to the firewall’s allowed apps list, both for private and public networks, so your streams and recordings work reliably. You’ll need administrator access to your Windows PC and the OBS Studio executable file (usually obs64.exe).
What You’ll Need
- A Windows PC (Windows 10 or Windows 11) with administrator privileges.
- OBS Studio installed (any recent version).
- The path to the OBS executable – typically
C:\Program Files\obs-studio\bin\64bit\obs64.exe.
Step-by-Step
- Open Windows Security. Click the Start button, type “Windows Security,” and press Enter. Alternatively, open Settings → Privacy & Security → Windows Security.
- Go to Firewall & network protection. In the Windows Security window, click “Firewall & network protection” in the left sidebar.
- Click “Allow an app through firewall.” You’ll find this link under the “Allow apps to communicate through Windows Defender Firewall” section. If prompted by User Account Control, click “Yes” to continue.
- Find OBS in the list. Scroll through the list of allowed apps and look for “OBS Studio” or “obs64.” If you see it, skip to step 6. If not, proceed to step 5.
- Add OBS manually. Click the “Change settings” button (top right), then click “Allow another app…” Browse to the OBS executable file (usually
C:\Program Files\obs-studio\bin\64bit\obs64.exe), select it, and click “Open.” Then click “Add.” - Check the network boxes. Make sure both “Private” and “Public” checkboxes are ticked for OBS Studio. Private covers home/trusted networks; Public covers Wi-Fi at cafés, hotels, etc. For streaming, both should be enabled.
- Click OK. The changes are saved immediately. Close the window.
- Restart OBS. Close OBS completely and reopen it. Try connecting to your streaming service or start a test stream.
Common Mistakes
- Only allowing private networks. If you’re on a public network (like a campus or office Wi-Fi) and only “Private” is checked, OBS will still be blocked.
- Adding the wrong executable. OBS might be installed in a different location, or you might accidentally add the 32-bit version (
obs32.exe) when you’re running 64-bit. Check the path carefully. - Forgetting to click “Change settings” first. The checkboxes are greyed out until you click that button. Without it, you can’t modify anything.
- Not restarting OBS. Firewall changes usually take effect immediately, but OBS may hold onto old network state. A restart ensures a clean connection.
Tips
- Use the exact path. If you’re unsure where OBS is installed, right-click the OBS shortcut → “Open file location.” That takes you to the folder containing the executable.
- Check your antivirus. Some third-party antivirus software has its own firewall that may also block OBS. If the Windows Firewall fix doesn’t help, check your antivirus’s exception list.
- Prefer “Private” for home streaming. If you only stream from home, you can uncheck “Public” for slightly better security. But if you travel with a laptop, keep both checked.
- Use the “Reset” button if you mess up. In the same “Allow apps” window, you can click “Reset to default” to restore all firewall rules – but note that this removes all custom rules, so use it sparingly.
Troubleshooting
If OBS still can’t connect after following the steps, try these in order:
- Verify the rule exists. Reopen the “Allow apps” window and confirm OBS is listed and both boxes are checked. Sometimes Windows resets rules after an update.
- Check the network profile type. In Settings → Network & Internet → Wi-Fi (or Ethernet), click your connection and see if it’s set to “Private” or “Public.” Make sure the firewall rule matches that profile.
- Disable and re-enable the rule. Uncheck both boxes for OBS, click OK, then reopen and check them again. This forces Windows to reapply the rule.
- Run OBS as administrator. Right-click the OBS shortcut → “Run as administrator.” If that fixes it, the issue is likely a permission problem, not the firewall – but it’s a good test.
- Temporarily disable the firewall to test. As a last resort, turn off Windows Firewall for a minute (Settings → Firewall & network protection → turn off for the active network). If OBS works then, the problem is definitely the firewall. Re-enable it immediately.
- Check for other software firewalls. Some VPNs, security suites, or even game boosters have their own firewall layers. Look for their network protection settings.
Frequently Asked Questions
Why does OBS need firewall access?
OBS needs to send data out to streaming servers (like Twitch or YouTube) and receive data back (for chat, stats, etc.). The firewall blocks unrecognized programs by default; adding OBS tells Windows it’s safe.
Is it safe to allow OBS through the firewall?
Yes. OBS is a legitimate, widely used open-source program. Allowing it through the firewall only permits it to communicate over the network, which is required for streaming and remote control. It doesn’t open any extra ports.
What if I see “OBS Studio” but it’s greyed out?
That means the app is already allowed, but you can’t change the network checkboxes until you click “Change settings” (and have admin rights). Click that button first.
Do I need to allow OBS on both Private and Public networks?
It depends. If you only stream from home, Private is enough. If you use a laptop on public Wi-Fi (like a hotel or school), you need Public too. Most users can safely check both.
I added OBS, but it still doesn’t work. What now?
First, restart OBS and your PC. Then check if your router or VPN has a firewall. Also verify that OBS is not being blocked by antivirus software – add an exception there if needed.
Can I use the command line to add OBS to the firewall?
Yes, advanced users can run netsh advfirewall firewall add rule name="OBS" dir=in action=allow program="C:\Program Files\obs-studio\bin\64bit\obs64.exe" enable=yes in an elevated Command Prompt. But the GUI method is simpler and less error-prone.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Messenger Calls Not Ringing: Fixes for Android & iPhone
- NordVPN Not Working on Windows 11? Fixes That Work
- Firestick vs Fire TV: Key Differences
- Kodi Crashing on Windows? Fixes That Work
- Extract SMS & iMessage from iTunes Backup
- View Saved Passwords on Samsung Galaxy Phones