What is a VPN and how does it work? A plain-English guide

A VPN is an app that sends your internet traffic through an encrypted tunnel to a server run by the VPN company, before it goes out to the wider internet. That one idea explains everything a VPN can and can't do. Here's how it works, in plain English, without the marketing.
The one-sentence version
A VPN (virtual private network) encrypts the connection between your device and a VPN server, so the network you're on can't read your traffic, and websites see the VPN server's address instead of yours.
What happens without a VPN
When you open a website normally, your request leaves your phone or laptop, goes through the Wi-Fi router you're connected to, then through your internet provider, and on to the website. Along the way:
- The Wi-Fi network (your home router, or a café's) can see which sites you connect to.
- Your internet provider can see every domain you visit, even when the page itself is encrypted with HTTPS.
- The website sees your public IP address, which reveals your rough location and your internet provider.
HTTPS (the padlock in your browser) already encrypts the content of most pages, so strangers can't read your passwords or messages. But the fact that you visited a particular site, and when, is still visible to the networks in between.
What changes with a VPN
With a VPN switched on, your device first wraps all its traffic in a layer of encryption and sends it to the VPN server. Only there is it unwrapped and sent on to the website. So:
- The Wi-Fi network and your internet provider only see encrypted data going to one VPN server. They can't see which sites or apps you use.
- The website sees the VPN server's IP address, not yours.
- The VPN company is now the one in the middle. Its servers could, in principle, see where your traffic goes. That's why trust in the provider matters so much.
Key point: a VPN doesn't remove the middleman. It replaces your internet provider and the local network with a VPN company you choose. Choose one whose no-logs promise has been independently audited.
The parts of a VPN, explained
The tunnel and encryption
"Tunnel" is just a picture for encrypted traffic travelling inside ordinary internet traffic. Modern VPNs use strong, well-tested encryption such as AES-256 or ChaCha20. Both are considered secure, so you don't need to choose between them.
The protocol
The protocol is the set of rules your device and the server use to build the tunnel. The ones you'll see most:
- WireGuard: modern, fast and compact. NordVPN's NordLynx is built on it, and Surfshark and Proton VPN offer it.
- Lightway: ExpressVPN's own open-source protocol, designed to reconnect quickly when you switch networks.
- OpenVPN: older and slower, but very well proven. Useful when other protocols are blocked.
- IKEv2/IPsec: good on phones because it handles switching between Wi-Fi and mobile data well.
Avoid anything that only offers PPTP, an outdated protocol with known weaknesses. Most VPN apps pick the best protocol automatically.
The server
VPN companies run servers in many countries. You usually connect to the nearest one for speed. Some providers run servers from RAM only, so nothing is stored on a disk and a reboot wipes everything. NordVPN, Surfshark and ExpressVPN all say they do this.
The kill switch
If the VPN connection drops for a moment, your device might quietly carry on without it. A kill switch blocks your internet until the VPN reconnects, so nothing leaks out unprotected. Every VPN we rank has one. Make sure it's switched on.
DNS protection
Before your device can visit a site, it looks up the site's address using DNS. If those lookups go to your internet provider instead of through the VPN, they reveal what you're visiting. Good VPNs route DNS through the tunnel too. You can check yours using the steps in our setup guide.
What a VPN is good for
- Public Wi-Fi: hotels, airports and cafés can't see what you do. See VPNs on public Wi-Fi and travel.
- Privacy from your internet provider: it can't build a list of the sites you visit.
- Travel: connecting to a server at home can help your bank and other services recognise your logins.
- Hiding your IP address from the websites you visit. See how to hide your IP address.
What a VPN doesn't do
- It doesn't make you anonymous. If you sign in to Google or Facebook, they know it's you. Cookies and browser fingerprinting still work.
- It doesn't stop malware or phishing. Some VPNs include blockers that help, but you still need updates, care with links and two-factor authentication.
- It doesn't make illegal things legal or override the terms of the services you use. See is a VPN legal?
Does a VPN slow your internet?
A little. Your traffic takes an extra step through the VPN server, and encryption adds a small amount of work. With modern protocols and a nearby server, most people don't notice on browsing, video calls or streaming. Distance is the big factor: connecting to a server on the other side of the world will feel slower.
Personal VPN vs work VPN
The VPNs we review are personal VPNs: they protect your connection to the wider internet. Many employers use a different kind, a corporate VPN, which connects your laptop into the company's private network so you can reach internal systems. Same technology, different purpose. If your employer gives you one, use it for work.
Free vs paid
Running servers costs money, so free VPNs usually limit you or pay their way through ads and data. Proton VPN's free plan is the exception we'd use: no data cap and no ads. Paid VPNs typically cost $1.50 to $3.50 a month on a long plan. Our VPN price guide includes renewal prices too.
Next step: work out whether you actually need one with our 60-second checklist, or go straight to our ranking of the best VPNs.
Questions people ask
What does a VPN do in simple terms?
It encrypts your internet traffic and sends it through a server run by the VPN company, so the network you're on can't see what you do and websites see the VPN server's IP address instead of yours.
Does a VPN hide everything?
No. It hides your traffic from the local network and your internet provider, and your IP from websites. Sites you sign in to still know it's you, and cookies still work.
Is a VPN the same as antivirus?
No. A VPN protects your connection; antivirus protects your device from malicious files. Some VPNs include blockers for malicious sites, but they don't replace antivirus.
Which VPN protocol is best?
WireGuard (or protocols built on it, like NordLynx) and ExpressVPN's Lightway are fast and secure. OpenVPN is a solid fallback. Most apps choose automatically.
Keep reading
Secure your home Wi-FiTen simple router settings that make your home Wi-Fi much harder to break into: passwords, WPA3, firmware updates, WPS, guest networks and more.
Two-factor authenticationTwo-factor authentication explained: SMS codes vs authenticator apps vs security keys and passkeys, which accounts to protect first, and how not to get locked out.
Do you need antivirus?What's built into Windows, macOS, iPhone and Android, when free protection is enough, when a paid security suite is worth it, and how antivirus differs from a VPN.