How to stay safe on public Wi-Fi
Airports, cafes, and hotels offer free Wi-Fi, and a free window into your traffic for anyone else on the network. Here's how to use public hotspots without handing over your data.
Free Wi-Fi is everywhere, and that’s exactly the problem. An open or shared network means you’re trusting strangers, the venue, and sometimes a fake hotspot set up to look legitimate. The good news: most of the risk comes from a handful of attacks, and a few habits, led by a VPN, neutralize nearly all of them. Here’s what actually threatens you on public Wi-Fi and how to shut each one down.

What can go wrong on an open network
Knowing the specific threats makes the fixes obvious:
- Eavesdropping: on an unencrypted network, others can capture traffic that isn’t encrypted end-to-end.
- Evil twin hotspots: an attacker sets up a network named “Airport_Free_WiFi” to lure you into connecting through their equipment.
- Man-in-the-middle attacks: someone positions themselves between you and the site you’re visiting to intercept or alter data.
- Malicious captive portals: the “sign in to use Wi-Fi” page can be faked to harvest credentials or push malware.
| Threat | How it works | The fix |
|---|---|---|
| Eavesdropping | Others capture traffic that is not encrypted end-to-end | A VPN encrypts all device traffic |
| Evil twin hotspot | An attacker names a fake network to look legitimate | Verify the network name with staff before connecting |
| Man-in-the-middle | Someone intercepts between you and the site you visit | VPN encryption, plus heed browser certificate warnings |
| Malicious captive portal | A fake sign-in page harvests credentials or pushes malware | Use cellular data for anything truly sensitive |
A VPN is your best defense
A VPN solves the core problem of public Wi-Fi in one move: it encrypts all your device’s traffic before it ever touches the network. Even if you’re on an evil twin or someone is sniffing the airwaves, all they see is scrambled data heading to your VPN server. It turns a hostile network into a harmless pipe.
- Everything is encrypted, not just HTTPS sites, but every app on your device.
- Eavesdroppers and man-in-the-middle attackers see nothing usable.
- The network owner can’t profile which sites you visit.
Proton VPN is the only provider in this round with a free plan that has no data limit, according to Proton itself. Securitum has audited the no logs policy five years in a row.
For public Wi-Fi, you want a VPN that’s trustworthy and reliable. Proton VPN is open-source, audited, and Swiss-based. NordVPN and Surfshark are strong alternatives with auto-connect features that turn the VPN on the moment you join an untrusted network.
Related: how to set up a VPN in five minutes, with auto-connect for untrusted networks.
Set up your device before you travel
A VPN does the heavy lifting, but device settings close the remaining gaps. Get these right before you’re sitting in the airport:
-
1
Install and configure a VPN
Set it up and enable auto-connect for untrusted networks before you leave home.
-
2
Turn off auto-join for open networks
Stop your phone from silently connecting to any open hotspot, including evil twins, without your say-so.
-
3
Disable file and printer sharing
On public networks you don’t want your device discoverable. Switch your connection to the “Public” profile.
-
4
Enable your firewall
Make sure the built-in firewall is on so other devices on the network can’t reach yours.
-
5
Update your OS and apps
Patches close the security holes that man-in-the-middle attacks rely on.
Smart habits while you’re connected
Even with a VPN running, a little caution goes a long way:
- Verify the network name with staff before connecting. Attackers count on you guessing.
- Prefer your phone’s hotspot for anything truly sensitive, like banking. Cellular data isn’t shared with strangers the way Wi-Fi is.
- Use multi-factor authentication everywhere, so a stolen password alone isn’t enough.
- Watch for certificate warnings. If your browser warns that a site’s certificate is invalid, stop, that’s a classic sign of interception.
- Forget the network when you leave so your device won’t auto-reconnect later.
Keep reading: how to stream abroad on holiday, for hotel and airport Wi-Fi scenarios.
The bottom line
Public Wi-Fi isn’t something to fear, it’s something to use carefully. A reputable VPN with auto-connect handles the biggest threats automatically, and the device settings and habits above cover the rest. Set it up once, and free Wi-Fi goes from a liability back to a convenience.
Do I really need a VPN if sites use HTTPS?
Yes. HTTPS only encrypts traffic to HTTPS sites and still reveals which sites you visit. A VPN encrypts everything on your device and protects against evil-twin and man-in-the-middle attacks HTTPS doesn’t stop.
Is my phone safer than my laptop on public Wi-Fi?
Not inherently, both face the same network risks. Using cellular data instead of Wi-Fi is safer, but on any shared Wi-Fi you should run a VPN on either device.
What’s the single most important step?
Use a trustworthy VPN with auto-connect enabled. It encrypts all your traffic automatically, which neutralizes the majority of public Wi-Fi attacks.
VPN Runner may earn a commission from links on this page. We verify prices, plan terms, server lists, refund terms and app availability on the providers' sites. We have not measured speeds.
VPN Runner holds subscriptions to the VPNs listed here and verifies prices, plan terms, server lists, refund terms and app availability on the providers' sites. We have not measured speeds.