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)
- Type
about:configin the Firefox address bar and press Enter. - Click Accept the Risk and Continue on the warning page.
- In the search box, paste
media.peerconnection.enabled. - Click the toggle button on the right to set its value to
false. - That's it — WebRTC is now disabled. No restart needed.
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.