Skip to main content

TCP vs UDP for VPN - Which Should You Use?

Use UDP by default - it's faster for streaming, gaming, and browsing. Switch to TCP for reliability or to get through firewalls (over port 443). Here's the full breakdown.

Updated August 29, 2026 VPN Daddy Team Fact-checked

The Short Answer

Use UDP by default - it's faster and the right choice for streaming, gaming, calls, and everyday browsing. Switch to TCP only when your connection is unstable or a restrictive network blocks UDP: TCP is slower but more reliable, and over port 443 it disguises VPN traffic as ordinary HTTPS to slip through firewalls. Most VPN apps default to UDP, so you rarely need to change it unless you hit a problem.

TCP vs UDP at a Glance

FactorUDPTCP
SpeedFasterSlower
ReliabilityGoodHigher (re-sends lost packets)
LatencyLowerHigher
Firewall evasion (port 443)HarderEasier - looks like HTTPS
Best forStreaming, gaming, callsUnstable / restricted networks
Used by WireGuard Yes No
Used by OpenVPN Yes Yes

When to Use UDP

UDP (User Datagram Protocol) sends data without waiting to confirm each packet arrived. That means less overhead, lower latency, and higher speed - which is exactly what you want for streaming, gaming, video calls, and general browsing. It's the default for good reason and the only transport WireGuard uses. For nearly everyone, nearly all the time, UDP is the right choice.

When to Use TCP

TCP (Transmission Control Protocol) confirms and re-sends any lost packets, making it more reliable on unstable connections - at the cost of speed. Its other strength is firewall evasion: run over port 443, TCP VPN traffic looks like normal HTTPS web traffic, so networks that block VPNs often can't detect it. Reach for TCP when UDP is blocked (some workplaces, schools, hotels, or censored regions) or when a flaky connection keeps dropping.

How to Switch

In an OpenVPN-capable app, the TCP/UDP choice is usually in the protocol or connection settings - switch to "OpenVPN (TCP)" when you need reliability or firewall evasion, and back to UDP for speed. If you're on WireGuard and hit a block, switch to OpenVPN over TCP as your fallback. If a VPN won't connect at all, changing transport is one of the first things to try - see our VPN not connecting guide. For the bigger protocol picture, read VPN protocols explained.

Frequently Asked Questions

Should I use TCP or UDP for my VPN?

Use UDP by default - it is faster and is the standard choice for streaming, gaming, calls, and general browsing. Switch to TCP only if your connection is unstable or a restrictive network blocks UDP: TCP is slower but more reliable and, over port 443, can slip through firewalls that block VPN traffic. Most VPN apps use UDP automatically unless you change it.

Is UDP or TCP faster for a VPN?

UDP is faster. It sends data without waiting for confirmation of each packet, which reduces overhead and latency - ideal for real-time uses like streaming and gaming. TCP checks and re-sends lost packets, which makes it more reliable but slower.

Why would I use TCP over UDP?

Use TCP when reliability matters more than speed, or when UDP is blocked. Because TCP can run over port 443 (the same port as HTTPS), it is much harder for firewalls to detect and block - useful on restrictive workplace, school, or censored networks. It also handles unstable connections more gracefully.

Does TCP or UDP matter with WireGuard?

WireGuard uses UDP only - there is no TCP option built in. The TCP-vs-UDP choice mainly applies to OpenVPN, which supports both. If you need TCP-style firewall evasion but want to start on WireGuard, you would switch to OpenVPN over TCP when WireGuard is blocked.

Which is better for gaming, TCP or UDP?

UDP, without question. Games rely on low latency and can tolerate the occasional lost packet, which is exactly what UDP is designed for. TCP's packet re-sending adds delay that can cause lag, so avoid it for gaming unless UDP is blocked.