How to Stay Safer on Public Wi-Fi
Public Wi-Fi is not a disaster, but it is a network you do not control. Here are the real risks, the habits that matter most, and where a VPN fits in.
8 min readUpdated Oct 15, 2026By XPASS Editorial Team

Public Wi-Fi is convenient, and for most everyday use it is fine. But it is a network somebody else runs, shared with strangers, and you cannot check how it is set up. This guide separates the realistic risks from the exaggerated ones, then lists habits that make the biggest difference.
Why public Wi-Fi is different from home Wi-Fi
At home, you know who set up the router, you chose the password, and the devices on the network are yours. In a cafe, airport or hotel:
- You do not know who configured the network or how well it is maintained.
- Many strangers are connected at the same time.
- The network may have no encryption, or one shared password given to everyone.
- The login page you see may not be what you think it is.
None of this means every café is dangerous. It means the sensible assumption is "trust it only as far as you have to". The FTC guidance on public Wi-Fi takes a similar view.

The realistic risks
Snooping on unencrypted traffic
On an open network with no encryption, a person nearby with simple software can see data sent in the clear. Years ago this covered most websites. Today most sites use HTTPS (what HTTPS is), which encrypts the connection between your browser and the site. But not everything is covered: some older sites, some app traffic and some messages may still be plain.
Fake hotspots ("evil twins")
An attacker, or an opportunist with a laptop or phone, can create a network with a name that looks right, such as "Airport Free WiFi" or a variation of a cafe name. People connect automatically, and all traffic then passes through the attacker's device. If the traffic is HTTPS or VPN-encrypted, the attacker still cannot read the content, but they can attempt to redirect you to fake pages.
Fake login portals and phishing
Many public networks ask you to open a page and enter an email address, room number or "sign in". A fake network can show a page that asks for far more, such as a password or card details. Phishing, whether on Wi-Fi or elsewhere, is a leading cause of account loss. See how to recognize phishing websites.
Files and devices exposed on the local network
If file sharing is on, or a device has a weak setting, other devices on the same network may be able to see or try to reach it. This is one reason to treat public networks differently from private ones.
What is less of a risk than people think
Reading about public Wi-Fi often suggests hackers can read everything you do. With HTTPS almost everywhere, passively reading your banking session is much harder than headlines suggest. The more common problems are fake networks, phishing and poor device settings, which is why habits matter as much as technology.
Man-in-the-middle attacks explained
"Man in the middle" (often shortened to MITM) describes an attacker who sits between your device and the place it is trying to reach, so that your traffic passes through them on the way. The idea is old and simple. It is the digital version of someone quietly standing between you and the person you are speaking to.
On public Wi-Fi it can happen in a few ways:
- A fake hotspot. You join the attacker's network, so they are in the path from the start.
- Tampering on a shared network. On a poorly protected network, an attacker can try to trick other devices into sending their traffic through theirs.
- Altered name lookups. A dishonest network can answer DNS requests with the wrong address, sending you to a look-alike page.
What the attacker can do depends on the encryption in use:
| Your connection | What a man in the middle usually sees |
|---|---|
| Plain HTTP website | The pages and anything you type, and they can change the content |
| HTTPS website | That you connected to the site, but not the content, and a certificate warning if they try to interfere |
| HTTPS plus a VPN | Only encrypted data going to the VPN server |
Two things protect you here. First, HTTPS: browsers check the site's certificate, and if an attacker tries to impersonate the site they get a warning. The key rule is never to click through a certificate warning on public Wi-Fi. Second, a VPN: it encrypts traffic between your device and the VPN server, so a man in the middle on the local network sees only scrambled data. The Wi-Fi owner or a fake hotspot cannot read it. The two layers work together rather than replacing each other.
This is also the honest answer to the question "does a VPN stop public Wi-Fi hacking?". It makes the most common local attacks, snooping and tampering on the shared network, much less useful. It does not stop you giving your password to a convincing fake page, or installing something harmful. Those happen after the encryption has done its job.
Habits that matter most
- Confirm the network name. Ask staff for the exact name. If you see several similar names, such as "CafeWiFi" and "Cafe_WiFi_Free", ask which is real.
- Prefer mobile data for sensitive tasks. Banking, tax and account recovery are best done on your phone's mobile connection or at home.
- Look for HTTPS. The padlock in the address bar means the connection to that site is encrypted. If a browser warns about a certificate, stop and do not click through.
- Turn off automatic connection. Stop your phone and laptop from joining open networks by themselves, and "forget" networks you will not use again.
- Turn off file sharing and AirDrop-style visibility unless you need them. Set the network type to "public" if your operating system asks.
- Use two-factor authentication. Even if a password is captured, the second step blocks most misuse. Why a second factor helps is covered by CISA.
- Keep software updated. Updates fix flaws that attackers rely on.
- Log out of important accounts when you finish, especially on shared computers, and never save passwords on a computer you do not own.
- Be careful with login prompts. A page that appears after connecting should ask for little. If it asks for your email password, close it.
Where a VPN fits
A VPN encrypts traffic between your device and the VPN server, as well as changing the IP address sites see. On a public network, that means:
- Other users on the Wi-Fi cannot read your traffic, even where a site uses plain HTTP.
- The Wi-Fi owner sees a connection to the VPN server rather than the sites you use.
- A fake hotspot cannot read the content of VPN-protected traffic.
What it does not do: it does not stop you entering your password on a phishing page, it does not remove malware, and it cannot make an untrustworthy site trustworthy. The relationship between the two layers is explained in HTTPS vs VPN. If you want to use one on the go, how to connect to a VPN on public Wi-Fi gives the steps, and the VPN for public Wi-Fi page covers this use case.
Order of steps at the airport
A reasonable routine when you land and need to get online:
- Ask for or look up the official network name.
- Join that network only.
- Before opening anything important, connect your VPN.
- Confirm the VPN shows as connected.
- Do your tasks, and log out of accounts afterwards.
- When finished, disconnect, and tell your device to forget the network if you will not return.
Free VPNs on public Wi-Fi
Searches such as "free VPN for public Wi-Fi" are common, and the temptation is understandable: you are in a cafe, you want some protection now, and you do not want to pay. A free VPN can be fine, but it deserves more questions than a paid one, because the service has to cover its costs somehow.
Ask these before you install anything:
- How does it make money? Subscriptions, ads, limited free tiers and data collection are very different business models.
- What permissions does it ask for? A VPN app needs permission to set up a VPN connection. It should not need your contacts, messages or photos.
- Is there a clear privacy policy and a named company? Vague pages and anonymous owners are a warning sign.
- Does it work reliably? A free tier that drops often may leave you using the open network without noticing.
- Does it come from your phone's official app store, and does the store page look genuine? Fake copies of popular apps exist.
A VPN moves trust from the Wi-Fi owner to the VPN operator, so choosing one is a real decision. That is true whether the service is free or paid. If you only need a short stretch of protection, a prepaid pass with a fixed number of days is an alternative to both a free app and an auto-renewing plan.

A worked example
Jonas is at a train station and needs to approve a payment from his bank app. He sees two networks: "Station_Free" and "Station-Free-WiFi". He checks a sign on the wall, which gives the second name. He joins it, and a login page asks only for his email address, which is normal. He connects his VPN, opens the bank app, and the app asks for a code from his authenticator. The payment goes through. If the page had asked for his bank password, he would have left and used mobile data.
A second scene shows the cafe case. Priya, a freelance designer, works from the same cafe three afternoons a week. She notices the cafe now shows two networks with nearly the same name, so she asks the barista, joins the one printed on the receipt, and connects her VPN before opening her email and project files. When her laptop's VPN indicator briefly drops after she moves seats, she pauses her work until it shows connected again. None of these steps is dramatic, but together they remove most of the easy ways to go wrong, and her routine is the same whether the cafe is in her own city or abroad.
Limits and what to watch for
- A VPN protects the path between your device and the VPN server. After that, the connection is a normal internet connection, so HTTPS still matters. For a wider view, see what a VPN cannot protect you from.
- If the VPN disconnects without you noticing, your traffic may fall back to the open network. Check that the VPN shows as connected before sensitive tasks.
- Hotel or airport portals sometimes block VPN connections until you log in. Complete the login page first, then connect.
- Public computers, such as in a library or business centre, are a different problem. A VPN on your own device cannot make a shared computer safe.
Summary
Public Wi-Fi is usable if you treat it as a network you do not control. The main risks are fake hotspots, phishing pages and unencrypted traffic, rather than movie-style hacking. Confirm the network name, prefer mobile data for sensitive tasks, rely on HTTPS, use two-factor authentication, and keep software updated. A VPN adds a strong layer of encryption on top of these habits, but does not replace them.
If you often work from cafes and airports, a prepaid XPASS pass can cover a fixed stretch of travel without automatic renewal.
Frequently asked questions
Is public Wi-Fi safe to use?
It is safer than it used to be, because most websites now use HTTPS, but it is still a network run by someone else. Risks include fake hotspots, snooping on unencrypted traffic and phishing pages. Good habits and a VPN reduce those risks.
Does a VPN make public Wi-Fi completely safe?
No. A VPN encrypts traffic between your device and the VPN server, so others on the same network cannot read it. It does not stop phishing, malware or weak passwords, so it works best alongside other habits.
Is it safe to do online banking on public Wi-Fi?
It is best to avoid sensitive tasks on public networks when you can, and use your mobile data instead. If you must, make sure the site uses HTTPS, use two-factor authentication, and consider connecting through a VPN.
Is a free VPN good enough for public Wi-Fi?
It depends on the service. A free VPN still has to be paid for somehow, so check how it makes money, what it asks permission to do, and whether its terms are clear. An unknown free app can be a bigger risk than the network you were trying to avoid.
How can I tell if a Wi-Fi hotspot is fake?
Ask staff for the exact network name, be suspicious of several similar names or networks with no password, and be wary of any page that asks for personal details or passwords just to get online. When in doubt, use mobile data.
References
About the author

Bob Kanokphon Thongdee
- Founder of XPASS VPN
- Co-founder of eSIMonline.asia
- More than 7 years in online marketing
- Founder of Cojourney Visa and Cojourney Travel
Need a VPN for a short trip or a busy month?
XPASS sells prepaid passes for a set number of days. You pay once and nothing renews automatically.
See passesKeep reading

Device Guides
How to Connect to a VPN on Public Wi-Fi
Join a public network, get past the login page, and switch your VPN on in the right order. Includes fixes for captive portals that stop the VPN from connecting.
5 min read

VPN Security
HTTPS vs VPN: What Each One Protects
HTTPS secures the connection between your browser and a website. A VPN secures the path between your device and the VPN server. They overlap less than most people think.
9 min read

Privacy Guides
How to Recognize Phishing Websites
Phishing websites imitate real services to steal your login or card details. This guide shows the warning signs worth checking, a calm routine for suspicious links, and what to do if you entered details.
9 min read