Public Wi-Fi is usually safe for everyday browsing, because almost every site and app now encrypts its traffic with HTTPS, so other people on the network can't read your passwords or messages. The risks that remain are fake hotspots and look-alike sites, devices that share files with the network, and the fact that others can still see which sites you connect to.
The US Federal Trade Commission reached the same conclusion: "Because of the widespread use of encryption, connecting through a public Wi-Fi network is usually safe." The rest of this page is about the "usually".
What other people on public Wi-Fi can see
On an open network (no password), anyone nearby can capture the radio traffic. On a password-protected network, everyone who knows the password is inside it with you. In both cases, this is what HTTPS leaves visible and what it protects:
| Can see | Cannot see (when the site uses HTTPS) |
|---|---|
| That your device is on the network, and its hardware (MAC) address | Passwords and form contents |
| Which sites you connect to: the IP address, DNS lookups, and the hostname sent in the TLS handshake | The pages you open on those sites and your search terms |
| When you're online and roughly how much data you move | Messages, emails, cookies and session tokens |
Anything sent over plain http://, in full | Files you download over HTTPS |
The hostname leak is a known limit of TLS. RFC 9849 describes the plaintext Server Name Indication field as "perhaps the most sensitive information left unencrypted in TLS 1.3," and defines Encrypted Client Hello to fix it, though both the browser and the site must support it. HTTP vs HTTPS covers this split in more detail.
The real risks on public Wi-Fi
Fake hotspots
Anyone can name a network "Airport Free WiFi". If you join an attacker's hotspot, they control your DNS and routing. HTTPS still protects you, because the attacker can't produce a valid certificate for your bank's domain, so the browser shows a full-page warning instead of the site. That warning is the moment to stop. On a public network, never click through a certificate error.
The weak points are plain HTTP pages and the first visit to a site typed without https://. Sites that use HSTS tell the browser to use HTTPS only; MDN notes the browser ignores that header if it arrives over plain HTTP, so an attacker can't remove it.
Look-alike sites and captive portals
Encryption doesn't make a site honest. The FTC warns that scammers build encrypted sites too, and information you give them "won't be safe from scammers operating the site." Be careful with the hotspot's own login page (the captive portal): it's fine to accept terms or enter a room number, but don't enter your email password or card details there unless the venue actually charges for Wi-Fi and you expected it.
Your device being visible to others
Laptops can offer file sharing, printer sharing and other services to the local network. On a hotel or café network, "local" means strangers. This is the main thing a network profile setting controls (next section).
Apps and old sites without encryption
Browsers show you when a page isn't using HTTPS. Apps usually don't. The FTC notes most apps do encrypt, but you often can't tell from the outside. If an app handles something sensitive and you aren't sure about it, wait until you're on a trusted network or use mobile data.
Settings to change before using public Wi-Fi
Windows: set the network to Public
In Windows 11, go to Settings → Network & internet → Wi-Fi, select the network you're connected to, and under Network profile type choose Public network (Recommended). Microsoft's description: on a public network "your PC will be hidden from other devices on the network" and can't be used for file and printer sharing. Private is for your home network, where you want your PC to be discoverable.
To check the current profile from PowerShell:
Get-NetConnectionProfile | Select-Object Name, NetworkCategory
Example output (network name changed):
Name NetworkCategory
---- ---------------
CafeGuest-4821 Public
Every device
- Install updates. The FTC lists keeping your operating system, browser and security software up to date as a core habit. Updates close the flaws that let a hostile network attack a device directly.
- Turn on two-factor authentication for important accounts, so a stolen password alone isn't enough. How 2FA codes work explains the options.
- Forget networks you won't use again, so your device doesn't rejoin a network with the same name later on its own.
- Prefer the venue's WPA2/WPA3 network over an open one when both exist, and check the exact network name with staff.
Open, password-protected and "Enhanced Open" networks
| Network type | Radio traffic encrypted? | Protects you from other users? |
|---|---|---|
| Open (no password) | No | No |
| Open with OWE ("Wi-Fi Enhanced Open") | Yes, per device | From passive eavesdroppers, but not from a fake hotspot |
| WPA2/WPA3 with a shared password | Yes | Only from people who don't know the password |
Opportunistic Wireless Encryption, defined in RFC 8110, encrypts open networks without a password: it "provides encryption of the wireless medium but no authentication." That stops passive sniffing in the air, but because nobody is authenticated, it cannot tell you whether the access point is the real one. HTTPS remains the layer that actually protects your data.
When to use mobile data or a VPN instead
Use your phone's hotspot or mobile data when you're on an unknown network and need to do something you can't afford to get wrong, when you keep seeing certificate warnings, or when you'd rather the hotspot operator didn't see which sites you visit. A VPN does the last job too: it wraps all your traffic in an encrypted tunnel to the VPN server, so the local network sees only that one connection. The trade-off is that the VPN provider now sees what the café would have seen. Proxy vs VPN explains what each one hides.
Frequently asked questions
- Is it safe to do online banking on public Wi-Fi?
- Banking sites and apps use HTTPS, so other people on the network cannot read your login or transactions. The remaining risks are a fake site or a fake hotspot steering you somewhere else, so open the bank's app or type its address yourself rather than following links, and never accept a certificate warning on a banking site. If you'd rather not think about it, use your phone's mobile data instead.
- Do I need a VPN on public Wi-Fi?
- Not for HTTPS sites, which are already encrypted end to end. A VPN additionally hides which sites you visit from the hotspot operator and other users, and protects apps or old sites that don't use HTTPS. It moves that visibility to the VPN provider, so pick one you trust.
- Is a password-protected café Wi-Fi safer than an open one?
- Somewhat. A WPA2 or WPA3 network encrypts the radio link, so someone nearby without the password can't read the traffic in the air. But everyone who has the password printed on the counter is inside that network with you, so it does not protect you from other customers. HTTPS is what protects your data from them.
- Can someone hack my phone just because I joined public Wi-Fi?
- Joining a network does not by itself hand over your device. The exposure comes from services your device offers on the network, such as file sharing, and from out-of-date software with known flaws. Keeping the network profile set to Public and installing updates closes most of that.
Sources
- FTC Consumer Advice — Are public Wi-Fi networks safe? What you need to know
- Microsoft Support — Essential network settings and tasks in Windows (public vs private network profile)
- RFC 8110 — Opportunistic Wireless Encryption
- RFC 9849 — TLS Encrypted Client Hello
- MDN — Strict-Transport-Security header