Your IP is only half the picture — check your DNS for leaks too.
What Is an IP Leak?
Your IP address is a unique numerical label assigned to your device by your Internet Service Provider every time you connect to the internet. Think of it as your device's return address — it tells websites where to send the data you request. But it also reveals your approximate physical location, your ISP's identity, and can be used by advertisers, trackers, and surveillance systems to monitor your online activity across every website you visit.
An IP leak occurs when a VPN fails to properly mask your real IP address, exposing it to websites, analytics trackers, and other third parties even though you believe you are protected. You connect to your VPN, see the "connected" status, and assume your real IP is hidden — but behind the scenes, your actual IP is being sent to every server you communicate with. This happens far more often than most VPN users realise, and it completely defeats the purpose of using a VPN for privacy.
There are three main types of IP leaks. Direct IP leaks happen when your VPN connection drops momentarily and your traffic reverts to your real connection — even a one-second gap exposes your real IP. WebRTC leaks occur when your browser's built-in WebRTC technology exposes your real IP through JavaScript, completely bypassing the VPN tunnel at the browser level. IPv6 leaks happen when your VPN tunnels only IPv4 traffic but leaves IPv6 traffic unprotected, allowing websites that support IPv6 to see your real address.
Certain users are at higher risk of IP leaks. People using budget or free VPNs with poor leak protection are the most vulnerable, as these providers often cut corners on kill switches and IPv6 handling. Users who switch VPN servers frequently create brief windows of exposure during reconnection. Anyone using split tunneling configurations — where some apps bypass the VPN — can inadvertently route browser traffic outside the encrypted tunnel, exposing their real IP to the websites they visit.
Running a regular IP leak test is essential because VPN protection is not static. Software updates can reset your VPN settings, protocol changes can introduce new leak vectors, and switching between Wi-Fi networks can cause your VPN to briefly disconnect. A 10-second test on this page confirms that your VPN is actively masking your IP and that no leaks have appeared since your last check. We recommend testing every time you connect to a new network.
How Does a VPN Hide Your IP Address?
When you connect to a VPN, all your internet traffic is routed through an encrypted tunnel to a VPN server located in the country or city you've selected. The VPN server then forwards your requests to websites on your behalf. From the website's perspective, the traffic is coming from the VPN server's IP address — not yours. Your real IP address never reaches the destination server, effectively masking your identity and location from every site you visit.
The quality of this IP masking depends heavily on the VPN provider. Premium VPNs like NordVPN route not only your regular traffic but also your DNS requests and IPv6 traffic through their servers, closing every potential leak vector. Budget or free VPNs often have gaps in their protection — they may tunnel your HTTP traffic but leave DNS queries going to your ISP, or they may not handle IPv6 at all, allowing websites that support it to see your real address despite the VPN connection.
One of the most critical VPN features for IP protection is the kill switch. A kill switch monitors your VPN connection and instantly blocks all internet traffic if the VPN drops — even for a fraction of a second. Without a kill switch, your device will automatically revert to your regular internet connection during any VPN disruption, sending your real IP to whatever websites you're visiting at that moment. Most modern VPNs include this feature, but it's often disabled by default and must be manually enabled in the settings.
Even with a properly configured VPN and an active kill switch, browser-level WebRTC technology can still expose your real IP address. WebRTC operates independently of your network configuration and can discover your IP through STUN server queries that bypass the VPN tunnel entirely. This is why IP leak protection requires both VPN-level and browser-level measures. We have a dedicated WebRTC Leak Test that checks specifically for this type of exposure.
What to Do If Your IP Is Leaking
- 1
Confirm the Leak
Run the test above multiple times and on different networks — Wi-Fi, mobile data, and wired connections — to confirm the leak is consistent and not a temporary glitch caused by a momentary VPN reconnection.
- 2
Enable Your VPN's Kill Switch
Open your VPN app settings and enable the kill switch (sometimes called "network lock" or "internet kill switch"). This prevents your real IP from being exposed during brief VPN disconnections, which are the most common cause of intermittent IP leaks.
- 3
Switch VPN Server
The server you're currently connected to may be misconfigured or overloaded. Try connecting to a different server in the same country, or a different country entirely, then re-run this test to see if the leak persists.
- 4
Change VPN Protocol
Switch between WireGuard, OpenVPN (TCP and UDP), and IKEv2 in your VPN settings. Different protocols handle traffic routing differently, and some perform better than others on certain networks. WireGuard generally offers the most reliable leak protection on modern systems.
- 5
Check for WebRTC Leaks Separately
IP leaks and WebRTC leaks are different issues that require different fixes. Even if this test shows your VPN IP, your browser might still be leaking your real IP through WebRTC. Run our WebRTC Leak Test to check for browser-level exposure.
- 6
Check for IPv6 Leaks
If your ISP supports IPv6, your VPN may be tunnelling only IPv4 traffic while leaving IPv6 completely unprotected. This means websites that support IPv6 can see your real address. Visit our IPv6 leak fix guide for instructions on disabling IPv6 or ensuring your VPN handles it correctly.
- 7
Reinstall Your VPN Client
Corrupted installation files, outdated network drivers, or cached configuration from a previous version can all cause persistent leaks that survive settings changes. Fully uninstall your VPN client, restart your device, then download and install the latest version from your provider's website.
- 8
Switch to a VPN with Verified Leak Protection
If your current VPN continues to leak after exhausting all the fixes above, the provider may not have adequate leak protection built into their infrastructure. Choose a VPN that has been independently audited for leak prevention and has a proven track record of passing third-party leak tests consistently.
NordVPN consistently leads independent leak protection tests, with built-in DNS, IPv6, and WebRTC leak prevention on every server. ExpressVPN and Surfshark also perform well in third-party audits. The key features to look for are an automatic kill switch, DNS leak protection, IPv6 leak protection, and WebRTC blocking. Avoid free VPNs, which frequently fail leak tests and may even sell your browsing data to third parties.
Not sure if your DNS is leaking? Find out in seconds.