How to Disable WebRTC in Firefox via about:config

    Last updated: June 2026

    Quick Summary

    Unlike Chrome, Firefox has a genuine built-in switch to turn WebRTC off. Flipping one preference in about:config stops WebRTC from leaking your real IP. This guide shows the exact steps and how to verify it worked.

    • Firefox has a true native WebRTC kill switch
    • Set media.peerconnection.enabled to false in about:config
    • This stops WebRTC IP leaks but breaks in-browser video calls
    • An add-on offers an easy on/off toggle if you prefer

    Firefox is the one major browser that still lets you switch WebRTC off completely. Where Chrome forces you to rely on extensions, Firefox exposes a single preference you can flip in under a minute. Here's exactly how.

    Disable WebRTC in about:config (Step by Step)

    1. Type about:config in the Firefox address bar and press Enter.
    2. Click Accept the Risk and Continue on the warning page.
    3. In the search box, paste media.peerconnection.enabled.
    4. Click the toggle button on the right to set its value to false.
    5. That's it — WebRTC is now disabled. No restart needed.
    Tip: To turn WebRTC back on for a video call, return to about:config and toggle media.peerconnection.enabled back to true.

    What This Breaks

    Disabling WebRTC is the most thorough way to stop the leak, but it has a cost: any feature that depends on WebRTC will stop working in Firefox. That mainly means:

    • In-browser video calls (Google Meet, Discord, Zoom in the browser)
    • Screen sharing and live streaming tools
    • Some peer-to-peer, browser-based file-transfer sites

    If you use those regularly, re-enable WebRTC when needed, or use a leak-protecting VPN instead.

    The Easy-Toggle Alternative

    If editing about:config each time is a hassle, install the Disable WebRTCadd-on. It adds a toolbar button to turn WebRTC on or off with a click — handy if you switch between privacy browsing and video calls often.

    Verify the Leak Is Gone

    Connect your VPN if you use one, then run our WebRTC leak test. With WebRTC disabled, the test should detect no IP addresses at all. For the background on why this matters, read what WebRTC is and how it exposes your IP, and if you also use Chrome, see how to disable WebRTC in Chrome.

    Frequently Asked Questions

    Test Your Privacy Now

    Check if your browser is leaking your IP address

    Test My Privacy Now →

    Published: 2025-11-05 | Updated: June 2026

    Privacy