Disable WebRTC in Chrome, Firefox and Edge
To disable WebRTC in Firefox, change an advanced browser preference. In Chrome and Microsoft Edge, there is no standard consumer setting that switches WebRTC off completely: privacy extensions can restrict how it uses network connections, which is a different kind of protection. This guide explains both approaches, their limits, and how to check your configuration with the WebRTC Leak Test.
WebRTC is not automatically a vulnerability, and using a VPN does not automatically mean you have a leak. The concern is whether browser communication reveals a public address outside the network path you intended to use. Test before changing settings, then compare results afterward.
What Is WebRTC, and When Should You Restrict It?
WebRTC enables browser-based audio, video and data communication. During connection setup, ICE gathers possible network paths; STUN can reveal the public address used by a particular path. If that traffic bypasses your VPN or proxy, a page may learn an ISP-assigned address that ordinary web requests do not expose. Our guide What Is WebRTC and Why It Can Leak Your IP explains the mechanism.
Modern browsers often replace local network addresses with mDNS names ending in .local. A private address such as 192.168.1.10 is not the same as an exposed public ISP address, and a public address matching your VPN can be entirely expected. Restrict WebRTC when testing suggests an unintended path, or disable it in a browser you do not use for calls. Neither action makes you anonymous or removes other fingerprinting signals.
Before You Change Anything: Establish a Baseline
- Check your normal public address with the IP Address Checker, then connect your VPN and confirm that the address changes as expected.
- With the VPN connected, run the WebRTC Leak Test. Compare public candidates with the VPN address and any ISP address you already know.
- Check IPv4 and IPv6 separately. Different address families cannot be compared as though they were the same address.
- Record the browser and network you tested. Recheck on other devices and networks rather than assuming one result applies everywhere.
The test compares WebRTC candidates with HTTP public-IP baselines. A mismatch is a warning, not proof that an address belongs to your ISP. Missing baselines, blocked STUN traffic or incomplete gathering can make the result inconclusive. An empty candidate list alone does not certify that your VPN protects every type of traffic.
How to Disable or Restrict WebRTC in Chrome
Chrome's desktop interface does not provide a general WebRTC off switch. An extension using the browser's privacy API can set webRTCIPHandlingPolicy to disable_non_proxied_udp. This prevents non-proxied UDP paths; it does not remove WebRTC, block every possible IP disclosure, or guarantee that every call will still work.
- Open the Chrome Web Store and look for a maintained WebRTC privacy extension, such as WebRTC Network Limiter, if it is available for your browser.
- Check the publisher, requested permissions, recent updates and privacy policy. Store availability and names can change; avoid installing an unrelated extension just because it mentions VPN protection.
- Choose the option that disables non-proxied UDP, if the extension exposes that policy. Follow its documented controls rather than relying on an icon color as evidence of protection.
- Reload affected pages and rerun the WebRTC Leak Test with your VPN connected.
- Try your usual video-call service. Restrictive routing can reduce connectivity or require relay servers.
Do not assume advice about the original uBlock Origin applies to uBlock Origin Lite. They are different extensions with different capabilities, and Chrome's extension platform changes affect availability. Verify that the installed extension explicitly supports WebRTC IP handling. If you need WebRTC fully disabled, use a browser that exposes a supported disabling preference, such as desktop Firefox.
How to Disable WebRTC in Firefox
Desktop Firefox exposes an advanced preference that disables its peer-connection API. Mozilla's Configuration Editor documentation explains how to change advanced preferences safely.
- Enter about:config in the Firefox address bar and accept the warning.
- Search for media.peerconnection.enabled.
- Use the toggle control to set the existing Boolean preference to false. Do not create a similarly named preference or change unrelated settings.
- Reload pages using WebRTC. If an existing call or connection remains open, close that tab or restart Firefox before retesting.
- Run the WebRTC Leak Test and check your usual communication services.
Setting this preference to false disables WebRTC peer connections rather than merely changing their network policy. Browser-based calls, screen sharing and some file-transfer services may stop working. To restore them, return to the same preference and set it to true, or reset it to its default value. This is a browser-wide setting, not a per-site exception list.
How to Restrict WebRTC in Microsoft Edge
Desktop Edge is based on Chromium and has similar consumer limitations to Chrome. It does not offer the Firefox preference above. For managed devices, Microsoft's WebRtcIPHandling policy documents administrative routing controls; those are not an ordinary Settings switch for every user.
- Open Microsoft Edge Add-ons and find a maintained extension that explicitly documents WebRTC IP handling.
- Review its publisher and permissions. If an organization manages your browser, ask its administrator before changing network-related controls.
- Enable the documented restriction on non-proxied UDP if supported. Extension labels such as “block WebRTC” may describe routing restrictions rather than full API removal.
- Reload the test page and rerun the WebRTC Leak Test with the VPN connected.
- Check calls and screen sharing. Reverse the extension setting if you need to restore those features, then test again.
A restrictive policy may still allow communication through other permitted paths. Judge the observed public addresses and the extension's documented behavior, not just whether its toolbar icon is active.
Mobile Browsers: Do Not Copy Desktop Instructions Blindly
Chrome on Android does not support the normal desktop Chrome extension workflow. Firefox for Android's advanced-settings access varies by release and channel; do not assume stable Firefox exposes about:config. Firefox on iOS does not use desktop Firefox's preference system. Other mobile browsers may expose their own controls, but their behavior must be checked on the actual device.
Use a VPN app that covers the traffic you need, including IPv6 where available, and test on both Wi-Fi and mobile data. A browser proxy extension is not equivalent to a device-wide VPN. Do not install an unknown app or a less stable browser build solely to follow an old tutorial.
If the Test Still Shows an Unexpected Address
- Identify the address first. A VPN exit address, private LAN address and ISP public address have different meanings. A different public candidate is only a potential leak until its origin is understood.
- Check the VPN route. Review split tunneling, browser exclusions and IPv6 handling. See Does Your VPN Protect IPv6 Traffic?.
- Check the browser control. Another extension or managed policy may override it. Reload pages after changing settings and inspect the extension's actual policy.
- Test DNS separately. WebRTC restrictions do not configure DNS resolution. Use the DNS Leak Test and IPv6 Address Checker for additional evidence.
- Keep uncertainty visible. No candidates or an inconclusive result may reflect network blocking, not proven protection. Repeat the test on a working connection and compare with known addresses.
Deleting cookies or opening a private window does not control WebRTC routing. Restricting WebRTC also does not prevent login-based tracking or eliminate the signals shown by the Browser Fingerprint Test. See VPN Myths Debunked for a wider view of these limits.
Frequently Asked Questions
Can I completely disable WebRTC in Chrome or Edge?
Not through a standard consumer setting. Most WebRTC privacy extensions change the browser's IP handling policy, such as disabling non-proxied UDP, rather than removing the peer-connection API. That can reduce unwanted network paths but is not a universal leak guarantee. If you require full disabling, desktop Firefox offers media.peerconnection.enabled. In either case, test with your actual VPN and check whether calls still work.
Does disabling WebRTC stop every kind of IP leak?
No. It removes one possible source of browser address exposure, but your ordinary web traffic, IPv6 routing and DNS resolution can still follow unexpected paths. Connect your VPN, verify the public address with the IP Address Checker, then run separate WebRTC, DNS and IPv6 checks. A clean WebRTC result does not prove that all applications use the tunnel or that your browsing is anonymous.
Will disabling WebRTC break video calls or screen sharing?
It can. Browser-based voice calls, video meetings, screen sharing and some peer-to-peer transfers depend on WebRTC. Firefox's disabling preference affects the whole browser, while Chromium routing restrictions may allow some services and prevent others from connecting. Restore the original preference or extension policy when needed, reload the service and retest. A separate browser profile or browser for calls can help keep the trade-off manageable.
Why does a WebRTC test still show an IP with my VPN connected?
WebRTC needs network addresses to establish connections, so seeing a VPN public address is not automatically a leak. Private local addresses and mDNS names also have different meanings from ISP public addresses. Investigate an unexpected public candidate, compare matching address families and check VPN routing. Missing baselines or incomplete candidate gathering should remain inconclusive rather than being treated as evidence that you are protected.
Can I use the same WebRTC settings on my phone?
Not reliably. Desktop Chrome extensions do not install through the normal Chrome Android workflow, Firefox Android settings vary by channel, and Firefox iOS does not share desktop Firefox's advanced preferences. Check your mobile browser's documented controls, use an appropriately configured VPN app and test the phone itself. Repeat the checks over Wi-Fi and mobile data because IPv6 availability and network routing can differ between them.
Sources and Further Reading
- Chrome Extensions: privacy API and WebRTC IP handling
- Mozilla: Configuration Editor for Firefox
- Microsoft Edge: WebRtcIPHandling policy
- MDN: WebRTC connectivity, ICE candidates and network paths
A Practical Approach to WebRTC Privacy
Use the least disruptive control that matches your needs: restrict unwanted paths if you rely on browser calls, or disable peer connections in Firefox if you do not. Confirm the result with the WebRTC Leak Test, and keep DNS, IPv6 and browser fingerprinting as separate checks. Protection is a property of your tested configuration, not a promise made by an extension icon.