by Priya Nakamura Updated Apr 23, 2026
Every time you load a web page, send a message, or stream a video, your data travels across the internet using one of two fundamental transport protocols — TCP or UDP. Understanding the difference between TCP vs UDP is essential for anyone who wants to know how their network actually works and why certain applications behave the way they do.
In this guide, you'll learn exactly how TCP and UDP work, where each protocol excels, and how to use that knowledge to troubleshoot real problems on your home network. If you've ever wondered why your video calls drop packets while your file downloads are always complete, or how port forwarding behaves differently depending on the protocol, this breakdown will make it all clear.
TCP stands for Transmission Control Protocol. It is a connection-oriented protocol, meaning it establishes a dedicated link between two devices before any data is exchanged. This process is called the three-way handshake: the sender sends a SYN packet, the receiver responds with a SYN-ACK, and the sender confirms with an ACK. Only after this handshake completes does data begin to flow. Think of TCP like a certified mail service — both parties agree the letter will be delivered, and the sender gets a signature confirming receipt.
Because TCP tracks every segment of data, it can detect missing pieces and request retransmission. This makes TCP highly reliable but adds overhead. Every packet is numbered, acknowledged, and if something goes missing, the protocol automatically re-sends it. Web browsers, email clients, and file transfer applications all depend on this guarantee because a web page with missing bytes or a corrupted file download is useless to the end user.
UDP stands for User Datagram Protocol. Unlike TCP, UDP is connectionless — it simply fires packets toward the destination without waiting for an acknowledgment or establishing a prior handshake. There is no delivery guarantee, no ordering, and no retransmission. Think of UDP like shouting across a room: you send the message and assume it arrived. If some words are lost in the noise, you don't stop and repeat them one by one; the conversation just continues.
This "fire and forget" approach makes UDP dramatically faster with much lower latency. For applications where speed matters more than perfection — live video calls, online gaming, DNS lookups, and streaming media — a dropped packet is far less disruptive than the delay caused by stopping to retransmit it. A video conferencing app that loses 1% of its packets still looks smooth; the same app pausing every few seconds to retransmit would be unwatchable.
You don't need special software to find out whether a specific service or application uses TCP or UDP. Here's how to check, step by step.
netstat -an. On Linux or macOS, run ss -tunap. Look at the "Proto" column — entries labeled TCP are using the Transmission Control Protocol, while UDP entries are using the User Datagram Protocol. Active connections using TCP will show an ESTABLISHED state.tcp or udp in the filter bar. Each captured packet clearly identifies its transport layer protocol, source port, destination port, and payload size.Here is a direct comparison of the two protocols across the most important characteristics home users and network administrators care about.
| Feature | TCP | UDP | Practical Impact |
|---|---|---|---|
| Connection Type | Connection-oriented (handshake required) | Connectionless (no handshake) | TCP setup adds latency; UDP starts instantly |
| Reliability | Guaranteed delivery with retransmission | No guarantee; packets may be lost | TCP for files & web; UDP for live media |
| Ordering | Packets delivered in sequence | Packets may arrive out of order | TCP reassembles data correctly; UDP does not |
| Speed & Latency | Slower due to overhead & acknowledgments | Faster, lower latency | UDP preferred for real-time applications |
| Common Use Cases | HTTP/S, FTP, SSH, email (SMTP/IMAP) | DNS, VoIP, gaming, video streaming, VPN | Match protocol to application sensitivity |
If you use a VPN on your home network, you may have the option to switch between UDP and TCP in the VPN client settings. UDP is usually faster and is the default for most VPN providers, but if you're on a restrictive network that blocks UDP traffic, switching to TCP on port 443 will often bypass the restriction because it looks identical to regular HTTPS traffic to firewalls.
Many home network issues that seem mysterious — dropped video calls, laggy games, slow downloads, websites that partially load — can be traced back to how TCP and UDP traffic is being handled by your router or ISP. Understanding the protocol involved gives you a much clearer starting point for diagnosis. If your Wi-Fi feels slow, it's worth determining whether the slowness affects all traffic or just latency-sensitive UDP applications like games and calls.
TCP problems often manifest as very slow downloads, stalled connections, or pages that time out without loading. This usually means packet loss is high enough that TCP is spending significant time retransmitting data. UDP problems show up differently: choppy audio on calls, video that freezes for a moment and then jumps ahead, or games with rubber-banding lag. Because UDP has no retransmission, lost packets simply disappear — which the application must handle itself or simply skip over.
Router configuration plays a major role in both. Quality of Service (QoS) settings on your router can prioritize certain types of traffic. Many routers can be configured to prioritize UDP traffic on gaming or VoIP ports, ensuring low-latency applications aren't starved by large TCP downloads happening simultaneously on the same connection.
Pro Tip: If online gaming feels laggy even when your overall internet speed is fine, use the Ping Test tool to test latency to your game server's IP address directly. High or inconsistent ping almost always points to UDP packet loss between your router and the server — switching to a wired Ethernet connection instead of Wi-Fi eliminates wireless interference as the cause.
No — UDP is generally faster than TCP because it skips the connection handshake, acknowledgment packets, and retransmission overhead. TCP's reliability features add latency and reduce throughput, especially on lossy connections. For applications where every millisecond matters, UDP's speed advantage is significant, which is why real-time apps like video calls and online games use it by default.
It depends entirely on the application you're forwarding ports for. Most web-based services and remote access tools (like SSH or remote desktop) use TCP, while gaming and media streaming typically use UDP or both. Check the application's documentation for the exact protocol requirement, then select the correct option in your router's port forwarding settings — choosing the wrong one will cause the forwarded service to fail silently.
DNS primarily uses UDP on port 53 for standard queries because the small packet size fits within a single UDP datagram and the speed is preferable. However, DNS falls back to TCP when a response is larger than 512 bytes — such as during zone transfers between DNS servers or when DNSSEC records are included. You can change which DNS server your router uses by following the guide on changing DNS on your router.
Yes, and most VPN protocols support both. OpenVPN, for example, can operate over either UDP (default, faster) or TCP (more compatible with restrictive firewalls). WireGuard uses only UDP, which is one reason it achieves lower latency than older VPN protocols. If you're comparing VPN protocols, the VPN Protocol Comparison tool can help you evaluate the tradeoffs.
Video calls use UDP for audio and video streams, which means any lost packets are simply skipped — the call keeps going without retransmitting what was lost. Choppiness or robotic audio is usually caused by UDP packet loss or high jitter (variable latency) rather than raw bandwidth limitations. Switching from Wi-Fi to a wired connection and enabling QoS on your router to prioritize VoIP traffic on UDP are the two most effective fixes.
Yes. Firewalls can apply completely separate rules to TCP and UDP traffic, even on the same port number. Many firewalls are configured to allow TCP on common ports while blocking UDP by default, which is why some applications work in some network environments but not others. Stateful firewalls track TCP connections using the SYN/ACK handshake, while UDP "connections" must be tracked by timeout since there's no formal session establishment or teardown.
For authoritative networking standards and specifications, refer to the Internet Assigned Numbers Authority (IANA) or IETF RFC documents.
![]() |
![]() |
![]() |
![]() |
About Priya Nakamura
Priya Nakamura is a telecommunications engineer and networking educator with a Master degree in Computer Networks and a background in ISP infrastructure design and management. Her experience spans both the technical architecture of broadband networks and the practical challenges home users face when configuring routers, managing wireless coverage, and understanding connectivity standards. At RouterHax, she covers WiFi standards and protocols, networking concepts, IP addressing, and network configuration guides.
Promotion for FREE Gifts. Moreover, Free Items here. Disable Ad Blocker to get them all.
Once done, hit any button as below
![]() |
![]() |
![]() |
![]() |