Internet & Web

How to Use Public Wi-Fi Safely Wherever You Are

Public Wi-Fi is convenient but not always private. Here is a calm, practical set of habits that keep your accounts and data safe on any open network.

A traveler using a laptop on public Wi-Fi in a busy cafe
Photograph via Unsplash

The short version: on an open network your two real risks are connecting to a fake hotspot and sending data over an unencrypted (http) connection, not a stranger silently reading your bank password out of thin air. Because roughly 95 percent of web traffic now travels over HTTPS encryption, much of the old "hackers can steal everything on public Wi-Fi" advice is a decade out of date. What still matters is knowing which network you are actually on, keeping your traffic encrypted, and locking a few device settings so your phone stops making connection decisions for you.

What "open" Wi-Fi actually exposes#

An open network has no password, which means there is no encryption at the Wi-Fi link layer. Anyone nearby with a laptop and free software like Wireshark can capture the raw packets moving through the air in that cafe. The crucial detail: what they capture is almost always HTTPS traffic, encrypted end to end between your device and the website, so they see the destination but not the contents, not your messages and not your passwords.

Two things break that protection, and these are the risks worth caring about:

  • Unencrypted (http) sites. If a page loads over plain http, everything you type into it travels in the clear. Modern browsers flag these with a "Not Secure" label in the address bar.
  • A network the attacker controls. If the person running the hotspot is malicious, they can tamper with DNS, redirect you to lookalike pages, or try to strip encryption from poorly built sites.

A newer wrinkle worth knowing: some venues now run WPA3 Enhanced Open (also called OWE, Opportunistic Wireless Encryption), which encrypts each device's link even with no password. It is a genuine upgrade, but you cannot count on it being present, so your habits should not change.

Evil twin hotspots#

The classic attack is the "evil twin": an attacker broadcasts a network with a trustworthy-looking name like "Airport_Free_WiFi," or copies the exact SSID of the real cafe network. Your phone, recognizing a familiar name, may join it on its own. From there the attacker sits between you and the internet.

The defense is unglamorous and effective. Confirm the exact network name with staff, and never let convenience pick the network for you. If you see two networks with nearly identical names, treat that as a warning sign, not a coincidence.

Captive portals are not login pages#

The sign-in page that pops up at hotels and airports, the captive portal, is where people get careless. Never type a real password into it. Legitimate portals ask for a room number, an email address, or a simple checkbox; they never need your Google or bank password. If a portal pushes you to "log in with Facebook" and the page looks even slightly off, close it.

HTTPS and encrypted DNS do the heavy lifting#

Glance at the address bar. "https://" with the padlock (or simply no "Not Secure" warning) means the connection is encrypted with TLS. You can turn that habit into a guarantee: both Chrome and Safari offer an HTTPS-First mode that warns before loading any http page.

  • Chrome: Settings > Privacy and security > Security > "Always use secure connections."
  • Safari (recent iOS and macOS): on by default, and it upgrades http to https automatically.

DNS, the lookups that turn a domain name into an address, historically traveled in plaintext, letting a rogue network see and redirect where you were going. Encrypted DNS closes that gap:

  • Android: Settings > Network & internet > Private DNS > set to "Automatic" or enter a provider hostname like dns.google or one.one.one.one.
  • iPhone/Mac: install a configuration profile or app from Cloudflare (1.1.1.1) or use your VPN's DNS.

Apple's iCloud Private Relay (bundled with iCloud+) does something similar for Safari, encrypting requests and hiding your IP address behind two separate relays. It is not a full VPN, but on open Wi-Fi it meaningfully shrinks what the local network can observe.

When a VPN actually helps, and which kind to pick#

A VPN wraps all of your device's traffic in an encrypted tunnel to the provider's server, so the local network sees a single opaque stream. Given how much HTTPS already covers, a VPN's real value on public Wi-Fi is filling the gaps: unencrypted apps, DNS leaks, and metadata about which sites you visit.

What to look for:

  • A modern protocol. WireGuard is the current standard, fast and lean; IKEv2/IPsec and OpenVPN are solid alternatives.
  • A kill switch. This blocks all traffic if the tunnel drops, so nothing leaks during a reconnect. Turn it on.
  • A paid, audited provider. Free VPNs still have a business model, and it is often logging or selling the very data you are trying to hide. Reputable providers publish independent security audits.

Skip the VPN for quick, casual browsing on a network you trust. Use one when you travel often, work from cafes with confidential material, or genuinely must handle something sensitive while away from home.

One-time device settings that protect you everywhere#

These take about five minutes and then work silently in the background.

iPhone#

  • Settings > Wi-Fi > tap the (i) beside a network > turn off Auto-Join for public networks.
  • Settings > Wi-Fi > Ask to Join Networks > set to "Ask" or "Off" so it never joins silently.
  • Keep Private Wi-Fi Address on (the default); it randomizes your MAC address so venues cannot track your device across visits.
  • Set AirDrop to "Contacts Only" or "Receiving Off."

Android#

  • Settings > Network & internet > Internet > tap the gear on a network > turn off Auto-connect.
  • Confirm Private DNS is set (see above) and that MAC randomization is enabled (default, per network).
  • Turn off Nearby Share / Quick Share when you are not using it.

Windows and macOS#

  • Windows: when you connect, choose Public network rather than Private. That switches off file and printer sharing and tightens the firewall. Prune old entries under Settings > Network & Internet > Wi-Fi > Manage known networks.
  • macOS: System Settings > Network > Wi-Fi > Details > turn off "Auto-Join," and enable the firewall under Network > Firewall.

On every device, keep the OS and browser updated, and protect key accounts with two-factor authentication, ideally a passkey or an authenticator app (TOTP) rather than SMS, since text codes can be intercepted. If a password ever does leak, that second factor is what stops the account takeover.

Common mistakes people make#

  • Joining any network named "Free WiFi" without confirming the real one.
  • Clicking past the browser's "Not Secure" warning just to reach a site.
  • Typing a real account password into a captive portal.
  • Trusting a free VPN because the app promises "military-grade encryption."
  • Leaving auto-join and file sharing on, so the phone connects and advertises itself unprompted.

FAQ#

Can someone really steal my password on public Wi-Fi?#

Only if you send it over an unencrypted (http) connection or into a page an attacker controls. Traffic to normal HTTPS sites and reputable apps is encrypted end to end, so a snooper on the network sees scrambled data rather than your credentials. The realistic threat is a fake page, not raw eavesdropping.

Is my phone's mobile data safer than public Wi-Fi?#

Generally yes. Cellular connections over LTE or 5G are encrypted between your phone and the carrier and are not shared with strangers in the room, so for a quick sensitive task, switching to mobile data is often simpler than trusting an open network.

Do I actually need a VPN if everything already uses HTTPS?#

Not for casual browsing. A VPN mainly helps by covering DNS leaks, poorly built apps, and hiding which sites you visit, which matters most for frequent travelers and confidential work. For checking the news or maps, it is optional.

Are hotel and airport networks safe?#

They are fine for ordinary browsing as long as you confirm the official network name and stay on HTTPS. Treat their captive portals with suspicion, never enter real account passwords there, and save banking or large purchases for a trusted network or your mobile data.

Theo Vance
Written by
Theo Vance

Theo writes about online safety the way a good friend would — clearly, calmly, and without trying to scare you. He's interested in the simple habits that stop most problems, and he thinks staying private online is a skill anyone can learn.

More from Theo