A VPN not connecting error is one of the more annoying tech problems because connection messages rarely tell you what is actually wrong. "Connection failed" could mean five completely different things. Here's how to work through them in the order that actually finds the cause fastest, instead of randomly reinstalling the app and hoping.
Before touching any VPN setting, disconnect the VPN entirely and check that your regular internet connection works. This sounds obvious, but a surprising number of "VPN not connecting" cases are actually a WiFi or mobile data problem that happened at the same time by coincidence.
VPN servers do go down, get overloaded, or get temporarily blocked by networks or ISPs. Before assuming anything is broken on your end, switch to a different server location in your VPN app. If that connects fine, the problem was never your device — it was that one server.
Most VPN apps let you choose between protocols like WireGuard, OpenVPN, and IKEv2. Some networks — particularly workplace, university, or ISP-level networks in certain countries — block or throttle specific protocols while leaving others alone. If WireGuard won't connect, try OpenVPN (TCP) before concluding the VPN itself is broken.
If your VPN worked fine before a recent Windows or macOS update and stopped right after, the update likely reset or altered your network adapter settings:
This single step resolves a large share of "it worked yesterday" cases.
If your VPN app shows "connected" but nothing loads, this is almost always a DNS issue rather than a connection issue. On Android and some routers, a feature called Private DNS can conflict directly with VPN apps. Turning off Private DNS (Settings → Network → Private DNS → Off, or "Automatic") while your VPN is active often fixes a connected-but-nothing-loads situation immediately.
Some antivirus and firewall software blocks VPN traffic by default, especially after an update to either program. Temporarily disabling third-party antivirus for a single test connection will tell you quickly whether this is the cause. If the VPN connects the moment you disable it, add the VPN app as an exception rather than leaving protection off permanently.
On networks that specifically try to detect and block VPN traffic — some public WiFi, some corporate networks, and some restrictive national networks — a standard VPN connection may be blocked no matter what you change on your end. Look for an "obfuscated servers" or "stealth mode" option in your VPN app. This disguises VPN traffic as regular encrypted web traffic, which gets through where a normal VPN connection is blocked.
Work through these steps one at a time, testing after each change rather than adjusting several settings together. Server switch and protocol switch resolve the majority of cases in under two minutes combined — the deeper fixes (network reset, DNS, firewall) are only worth trying once those two are ruled out.