You’re at the airport, your flight is delayed, and the free Wi-Fi is right there. You connect, check your email, maybe pay a bill while you wait. It feels harmless — everyone around you is doing the same thing. But a public Wi-Fi network is a shared space, and on a shared network, your traffic can be watched, intercepted, or redirected by anyone with the right tools and bad intentions.
Public Wi-Fi attacks aren’t exotic. They happen in cafes, hotels, airports, and co-working spaces every day, usually with tools that are freely available online. The good news is that staying safe on public Wi-Fi is mostly about habits, not technical skill. These 10 tips will keep your passwords, your money, and your files safe the next time you connect away from home.
The single most important thing to know: most of your web traffic is already encrypted by HTTPS, which is a big improvement over a decade ago. But HTTPS doesn’t cover everything — apps, email, and older websites can still leak data — and an attacker on the same network has other tricks. So treat every public network as untrusted until you’ve taken the steps below.

1. Use a VPN on Every Public Network
A VPN encrypts everything leaving your device, so even if someone is watching the network, all they see is scrambled traffic. On a public network, that’s the single biggest upgrade you can make. Turn the VPN on before you connect to the Wi-Fi, and leave it on until you disconnect.
Choose a VPN with a good reputation and an independently audited no-logs policy — not a random free app from an app store, which may log and sell your data. A paid VPN from a known provider costs a few dollars a month and covers your phone and laptop at once. If you don’t have one yet, set it up at home before your next trip, not at the airport when you’re already in a hurry.
Look for a VPN with a kill switch, which blocks your internet if the VPN drops, so your traffic never leaks out unprotected. And test it before you travel: connect, check that it works, and make sure you know how to switch servers if one is slow.
2. Check the Network Name Before You Connect
Attackers set up fake hotspots with names that look almost identical to the real one: “CoffeeShop_WiFi” next to the genuine “CoffeeShop WiFi,” or “Airport_Free” next to the official airport network. Connect to the fake one, and all of your traffic flows through the attacker’s laptop.
Always ask staff for the exact network name, and check whether it needs a password. A network with no password at all in a place that should have one is a warning sign. If you see two networks with nearly identical names, pick the one the staff confirm — or don’t connect at all.
Also, turn off the setting that makes your phone or laptop connect to known networks automatically. Your device remembers every network you’ve joined, and an attacker can broadcast a familiar name — like a hotel chain or a coffee shop — and your phone will join it without asking. Forgetting old public networks in your Wi-Fi settings closes that door.
3. Stick to HTTPS Websites
HTTPS encrypts the connection between your browser and a website, and you can check for it by looking for the padlock icon in your browser’s address bar. On public Wi-Fi, never log into a site that doesn’t show it. Most major sites use HTTPS by default now, but older or smaller sites may not.
Be careful with one trick: an attacker can strip HTTPS away or redirect you to a lookalike HTTP version of a site. If your browser warns you about a certificate problem or an insecure connection, stop — don’t click through the warning. That warning is the browser telling you something is wrong with the connection, and on public Wi-Fi, that’s exactly the attack you need to worry about.
Most browsers now have an “HTTPS-only” mode in their settings. Turn it on. It makes the browser refuse insecure connections automatically, which removes the guesswork. Our comparison of the Best Web Browsers for PC (Speed, Privacy, and Features Compared in 2026) covers which browsers offer this and how to switch it on.
4. Don’t Do Banking or Shopping on Public Wi-Fi
Some things are worth waiting for. Logging into your bank, paying a bill, or entering card details on a public network is the highest-risk thing you can do there, and the payoff for waiting until you’re home — or on your phone’s mobile data — is worth it. Mobile data is far harder to intercept than shared Wi-Fi, so use your phone’s data or hotspot for anything involving money.
If you absolutely must do something sensitive on public Wi-Fi, use the service’s official app rather than a browser — apps usually have extra security checks built in — and make sure your VPN is on. Never enter payment details on a public network without a VPN, and never save your card details on a device you use on shared networks.
The same rule applies to work email and company systems. If your job involves sensitive data, ask your IT team what they recommend for public networks — many companies provide a corporate VPN, and using it isn’t optional.
5. Turn Off Sharing and AirDrop
Your laptop’s file sharing, printer sharing, and network discovery settings are designed for trusted networks — your home, your office. On a public network, they advertise your device to everyone nearby and can expose your files. Before you connect to public Wi-Fi, set your network profile to “Public” in Windows, which turns off sharing automatically, and check that file and printer sharing are disabled.
On a Mac, check System Settings, then General, then Sharing, and make sure nothing is switched on that doesn’t need to be. On your phone, turn off AirDrop or set it to “Contacts Only,” and turn off Bluetooth discoverability. An attacker on the same network can use open sharing to browse your files or push unwanted content to your device.
While you’re at it, check that your firewall is on. Windows and macOS both include one, and it’s your first line of defence against other devices on the same network trying to reach yours. It should be on by default — but check, because malware and misconfigured software sometimes turn it off.
6. Keep Your Software Updated
Attackers on public networks target known weaknesses in old software. A browser that’s two years out of date, an operating system missing its security patches, or an old media player with a known flaw — these are the doors they walk through. Updates close them.
Before a trip, update your operating system, your browser, and your apps. Turn on automatic updates so it happens without you thinking about it. And avoid installing new software or updates while you’re on public Wi-Fi — a fake update prompt is a classic attack, and you can’t be sure the download is genuine on an untrusted network.
The same goes for your phone. An old phone operating system with known flaws is an easy target on a shared network, so install updates before you travel, not after you arrive.
7. Use Two-Factor Authentication
Two-factor authentication (2FA) is your safety net on public Wi-Fi. Even if someone on the network manages to capture your password, they still can’t log in without the second factor — a code from your phone or a tap on a notification. Turn it on for your email first, then your bank, then your social media and shopping accounts.
Use an authenticator app rather than text-message codes where you have the choice, since texts can be intercepted. And never approve a login request you didn’t just start yourself. If a 2FA prompt arrives out of nowhere while you’re on public Wi-Fi, someone may be trying to log in as you right now — tap Deny and change your password as soon as you’re on a safe connection.
For a full explanation of how 2FA works and which type to pick, our wider safety habits are covered in Cybersecurity Tips for Beginners (12 Simple Ways to Stay Safe Online).
8. Forget the Network When You Leave
When you’re done, don’t just close your laptop and walk away. Tell your device to forget the network. In Windows, go to Wi-Fi settings, manage known networks, and remove it. On a Mac, go to Wi-Fi settings, click the network, and choose Forget This Network. On your phone, tap the network name and choose Forget.
This stops your device from reconnecting automatically the next time you’re nearby — or connecting to a fake network with the same name that an attacker sets up later. It takes five seconds, and it’s one of the easiest habits to build. Make it part of your leaving routine, like packing your charger.
Also, sign out of any accounts you used on shared or borrowed devices, and clear the browser history if you used a hotel lobby computer or a borrowed laptop. Never tick “remember me” on a device that isn’t yours.
9. Watch Out for Shoulder Surfers and Fake Login Pages
Not every public Wi-Fi threat is technical. Someone sitting behind you in a cafe can read your screen, watch you type a password, or photograph your card details. Use a privacy screen filter if you work in public often, sit with your back to a wall where you can, and be aware of who’s around when you log into anything important.
Also watch for captive portals — the login pages that appear when you join a hotel or airport network. Most are legitimate, but a fake one can ask for far more than it needs: your email, your room number, your date of birth. A real captive portal asks for little, usually just an agreement to the terms or a room number. If a Wi-Fi login page asks for your email password or card details, close it and ask staff whether it’s genuine.
Never log into your accounts through a captive portal page itself. Close it, open your browser, and go to the site yourself. A portal that asks you to log into your email or social media to get online is a phishing page wearing a Wi-Fi costume.
10. Use Your Phone’s Hotspot Instead
The safest public Wi-Fi is no public Wi-Fi at all. Your phone’s mobile hotspot creates a private network that only your devices join, encrypted by your carrier, and far harder for a stranger to attack. If you have enough mobile data, use the hotspot for anything sensitive and skip the public network entirely.
Set a strong password on your hotspot — not the default — and change it occasionally. Turn the hotspot off when you’re not using it, so it doesn’t broadcast while you don’t need it. And keep an eye on your data use: streaming video over a hotspot can eat through a monthly allowance fast, so save the video for later and use the hotspot for email, messages, and browsing.
If you travel often, consider a data plan with a generous hotspot allowance, or a local SIM card at your destination. A few dollars of data buys you a private connection everywhere you go, and it’s cheaper than recovering a hacked account.
Public Wi-Fi Safety Checklist
| Tip | What to Do | Why It Matters |
|---|---|---|
| Use a VPN | Turn it on before connecting | Encrypts all your traffic |
| Check the network name | Ask staff; avoid lookalike names | Stops fake hotspot attacks |
| Stick to HTTPS | Look for the padlock; use HTTPS-only mode | Encrypts website traffic |
| Avoid banking | Use mobile data for money tasks | Keeps payment details safe |
| Turn off sharing | Set network to Public; disable AirDrop | Hides your files from strangers |
| Keep software updated | Update before you travel | Closes known security holes |
| Use two-factor auth | Authenticator app preferred | Blocks stolen-password logins |
| Forget the network | Remove it when you leave | Stops automatic reconnection |
| Watch your screen | Privacy filter; check captive portals | Stops snooping and fake logins |
| Use a hotspot | Phone data instead of public Wi-Fi | Private network, harder to attack |

What to Do If You Think You Were Hacked on Public Wi-Fi
Act fast. Disconnect from the network immediately, then change the passwords for any accounts you used while connected — starting with your email and your bank. Do this from your mobile data or a trusted network, not from the same public Wi-Fi. Turn on two-factor authentication if it isn’t already on, and check your accounts for unfamiliar activity: new devices, changed settings, or transactions you don’t recognise.
Check your bank and card statements over the next few days, and set up transaction alerts if you don’t already have them. If money was taken, call your bank right away — the sooner you report it, the better your chances of getting it back. For a wider privacy routine after an incident like this, our guide on How to Protect Your Online Privacy (A Beginner’s Step-by-Step Guide) walks through the full cleanup.
Finally, run a scan with your antivirus software. Some public-network attacks try to install malware, and a scan will catch most of them. If the scan finds something, follow the removal steps before you use the device for anything sensitive again.

Frequently Asked Questions
Is it safe to use public Wi-Fi without a VPN?
It’s safer than it used to be, thanks to HTTPS, but it’s still risky. HTTPS protects your web browsing, but it doesn’t cover every app, and an attacker on the same network can still try to redirect you or exploit old software. A VPN covers everything leaving your device, so it’s the single best upgrade for public Wi-Fi. Without one, avoid banking and sensitive logins, and use your mobile data instead.
Can someone see what I’m doing on public Wi-Fi?
On an unencrypted network, someone with the right tools can see which websites you visit and capture unencrypted traffic. HTTPS hides the content of your browsing from them, but not the fact that you visited a site. A VPN hides both. Assume that anything you do on public Wi-Fi could be observed, and act accordingly.
Is hotel Wi-Fi safer than cafe Wi-Fi?
Not necessarily. Hotel networks are often large, poorly maintained, and shared by hundreds of guests — and hotel Wi-Fi has been targeted in several high-profile attacks. A cafe network with a password is slightly better than an open one, but neither is trustworthy by default. Treat every public network the same way, whether it’s in a hotel, a cafe, or an airport.
Should I turn off Wi-Fi when I’m not using it?
Yes, it’s a good habit. When Wi-Fi is on, your phone broadcasts the names of networks it has joined before, looking for them — and an attacker can answer with a fake version of one of those names. Turning Wi-Fi off when you don’t need it saves battery and removes that risk. It also stops your phone from joining networks without you noticing.
What is a captive portal, and is it safe?
A captive portal is the login page that appears when you join a hotel, airport, or cafe network — the one that asks you to accept terms or enter a room number. Most are legitimate, but fake ones exist. Only enter the minimum information asked for, never enter a password for your email or bank on a portal page, and close it if it asks for anything unusual.
Conclusion
Public Wi-Fi is convenient, and with the right habits it’s safe enough to use every day. A VPN, a careful check of the network name, HTTPS-only browsing, and a rule against banking on shared networks cover the biggest risks. Turning off sharing, keeping your software updated, and forgetting the network when you leave handle the rest.
The next time you’re in a cafe or an airport, take thirty seconds before you connect: VPN on, network name checked, sharing off. Then enjoy the free internet — just don’t do your banking on it. Your future self, the one who never has to explain a strange transaction to their bank, will thank you.

