PCMag editors select and review products independently. If you buy through affiliate links, we may earn commissions, which help support our testing.

Is Your VPN Leaking Data? Here's How to Check and Lock It Down in Seconds

Your VPN is supposed to hide your identity online, but server errors and misconfigured settings can give it away. I'm here to show you how to fix it.

 & Justyn Newman Senior Writer, Security

Our team tests, rates, and reviews more than 1,500 products each year to help you make better buying decisions and get more from technology.

Our Expert
LOOK INSIDE PC LABS HOW WE TEST
65 EXPERTS
43 YEARS
41,500+ REVIEWS
(Credit: Zain bin Awais/PCMag/Getty Images)

Picture your personal information as a stream of data flowing from your computer and out into the open web. A VPN hides your computer as the source of that information by encrypting it. Encrypting your data scrambles its contents, making it appear to come from a completely different source. However, this obfuscation isn’t infallible. Even the best VPNs can experience server errors that may expose your actual information—this is called a leak. I go over how to tell when a leak is happening and what you can do to safeguard your data in the event of one.

This article was made possible in part by Proton VPN. It was written and edited independently without partner oversight.


How VPN Leaks Occur—and Why They Matter

For context, let’s review what happens when you visit a site over a regular internet connection. When you type in a domain name and hit enter, your browser pings that site, asking to be let in—also known as a DNS (Domain Name System) request. The site acts as a bouncer, checking the identity of anyone who is trying to get in and either approving or denying entry. Your browser sends your identifying information (your IP address), and the site records these details. 

Using a VPN is like walking up to that bouncer with a rock-solid fake ID. You give the site a different IP address, which keeps your actual location and identity confidential. A leak happens when your connection to a VPN server falters. This lapse in protection exposes your actual information to the site and any other prying eyes, such as advertisers

A leak may sound like a minor issue, but even a brief lapse in protection could result in unwanted attention. For example, a leak while torrenting can expose your activity to your internet service provider (ISP), which, depending on your location, could result in a warning letter or a fine. Similarly, those living in or traveling to countries with surveillance laws could face fines or other penalties if their actual traffic is exposed. But you don’t have to simply accept the risk and hope your identity doesn’t get leaked. There are some simple steps you can take to detect and stop a VPN leak.


How to Detect and Prevent a VPN Leak

The easiest way to check whether your VPN is secure is to use a browser-based leak detector, such as DNSLeak or IPleak. The image below shows what a protected connection should look like.

(Credit: PCMag/IPleak)

The IP address shown does not match my actual location, and you can see that no alternative DNS addresses have been found. The next image shows what a leaked connection may look like.

(Credit: PCMag/IPleak)

I have blurred my IP address for privacy, but you can see that losing connection to the VPN server made my personal information visible. This leak happened because I switched off my VPN without closing my browser or enabling any safety features.

Luckily, it’s easy to prevent leaks entirely. Even the best service can experience server errors or outages, which is why most top options include a kill switch. I have a separate article on how a kill switch works, but the general idea is that, when triggered, it terminates your connection if your VPN falters for any reason. It stops all data from leaving your computer until the connection to a VPN server is reestablished.

(Credit: PCMag/Proton VPN)

Kill-switch toggles are generally found in your VPN app’s dashboard; go there and ensure yours is switched on. If there’s an automatic setting, I recommend enabling it so the kill switch turns on whenever you’re connected to a VPN server.

Beyond a kill switch, you should disable any split tunneling rules so that you don’t accidentally allow unencrypted traffic to go out.


Additional Ways to Protect Your Privacy Online

Locking down your VPN and preventing leaks is a great first step toward securing your online privacy, but a VPN can’t protect you from every attack vector. I recommend pairing one with a set of other security tools to better secure your data. An antivirus can keep you safe from malware and trackers. A quality password manager can keep you safe in the event of a data breach, and multi-factor authentication can prevent your accounts from being compromised.

About Our Expert

Justyn Newman

Justyn Newman

Senior Writer, Security

My Experience

My writing journey started in 2012 and has taken me through various niches, but my main focus has always been on tech. I contributed to several growing PC hardware and software sites, focusing on gaming, peripherals, and privacy.

As the amount of information we put out on the internet has grown, so have the threats and the tools we use to combat them. With VPNs gaining traction in the late 2010s as a tool for the public instead of just an option for business security, I found myself reviewing countless options in this continuously changing landscape.

This led to my role before PCMag over at WizCase, where I honed my knowledge of VPNs and privacy tools and eventually oversaw all of the content produced. I led a talented team of fellow writers and editors to evaluate VPNs, password managers, antivirus, and parental controls.

The Technology I Use

I love small-form-factor PCs. My current ITX build uses an ASRock B650i motherboard, 32GB of RAM, a Ryzen 5 7600X, and an EVGA 3060 Ti, all nestled within the beautiful LZX-8 case by Lazer3D.

I have that connected to an MSI 34-inch ultrawide as my primary monitor. My second monitor is an older Acer 24-inch that only houses Discord and YouTube Music. Since I spend most of my time writing, I value a good keyboard. I use a Neo65 with Gazzew U4T Silent Bobas. My mouse is a Logitech MX Master 3S. For audio, I have a set of Edifier R1280Ts, or I’ll wear my trusty Sennheiser HD 6XXs. 

For work, I use a Lenovo P14s connected to everything mentioned above. If I'm taking personal work or studying on the go, I use a sticker-bombed Framework 13 powered by a Ryzen 5 7640U. Specifically for drafting fiction, I built a writing ‘cyberdeck’ that connects to my Neo 65 for a Raspbian-powered writing setup with minimal distractions. Regarding mobile devices, I’ve been on the Pixel train since the first one launched, and I am currently using a Pixel 9 Pro.

Outside of computing, I always carry a few key pieces of tech on my person. I have a Kindle Scribe that I use for note-taking and reading the latest speculative fiction. For music, I carry a Walkman NW-A55 with a pair of Rose Technics QuietSea IEMs. I do some light gaming on my re-shelled PSP 3000 running Infinity 2.0 CFW. When I'm not at the computer, you’ll usually find me lugging around my Pentax K1000 with a couple of rolls of Ektar 100 on standby.

Read full bio