OpenVPN TCP vs UDP

Updated 21 September 2026 · How we research

OpenVPN can carry your tunnel over UDP or TCP. The choice is not about security — the encryption is identical — but about how the transport behaves when packets go missing.

The core difference

UDP sends packets and does not care whether they arrive. TCP guarantees delivery and order, retransmitting anything lost. Inside a VPN tunnel that guarantee becomes a liability, because the application inside the tunnel is usually TCP as well.

TCP-over-TCP meltdown

When a TCP tunnel carries TCP traffic, both layers run their own retransmission timers. On a lossy link the inner connection asks for a resend while the outer one is already resending, the queues build, and throughput can collapse far below what the link should support. This is why UDP is the default for most VPNs.

When to use each

Match the transport to the network you are on, not to a general preference.

SituationUseWhy
Home broadband, normal useUDPLower latency and no double retransmission
Streaming or gamingUDPLatency and jitter matter more than perfect delivery
Hotel, airport or campus Wi-Fi that blocks UDPTCP on 443Looks like ordinary HTTPS and is rarely filtered
Very lossy mobile connectionTest bothTCP may stabilise a broken link, or may make it far worse
Behind a strict corporate proxyTCP on 443Often the only transport that reaches the internet at all

Ports in practice

OpenVPN UDP commonly runs on port 1194. OpenVPN TCP is usually offered on 443, the HTTPS port, because almost every network must allow it. Running a VPN on 443 is not obfuscation on its own — deep packet inspection can still identify the OpenVPN handshake — but it defeats simple port blocking. For networks that inspect more deeply, see obfuscation.

How to test which is better for you

  1. Connect on UDP to the nearest server and note whether pages load promptly.
  2. Run the same check on TCP to the same server, so only the transport changes.
  3. Repeat at a time when the network is busy; TCP problems appear under load.
  4. Record what you observe rather than trusting a single measurement — see how to test a VPN.

According to ZoogVPN

ZoogVPN offers OpenVPN in both UDP and TCP form on Windows, macOS, iOS, Android, Linux and routers, and describes the TCP variant as the reliable choice in firewalled environments.