tracert (traceroute) maps the route packets take from your device to a destination server, displaying each intermediate router and the time it takes for packets to reach each one. It reveals network performance issues such as high latency, packet loss, or routing failures.
When you run tracert, your computer sends a series of Internet Control Message Protocol (ICMP) echo request packets to a target host. Each packet is sent with an increasing Time-to-Live (TTL) value, starting at 1. Routers along the path decrement the TTL by 1. When the TTL reaches 0, the router discards the packet and sends back an ICMP "Time Exceeded" message. This process repeats until the packet reaches the final destination, which replies with an ICMP "Echo Reply."
The tool collects the round-trip time for each hop and displays it in milliseconds. A sudden jump in response time or a string of asterisks (*) indicates a delay or failure at that router. This makes tracert essential for diagnosing slow connections, dropped signals, or misconfigured firewalls.
Each trace begins with your local gateway. The first packet has a TTL of 1. The first router in the path receives it, decrements the TTL to 0, and returns an error. tracert records the IP address and round-trip time of that router.
The next packet uses TTL = 2. The second router processes it, reduces TTL to 1, and passes it on. When the TTL hits 0 at the second hop, the router responds. This continues until the destination host replies.
By default, tracert sends three packets per hop. If a reply doesn't arrive within a timeout period (usually 4 seconds), it displays an asterisk (*). Multiple *'s suggest packet loss or a firewall blocking ICMP traffic.
Each line in tracert output includes three timestamps, representing the round-trip time for three packets. Variance between values indicates jitter-a sign of unstable network conditions.
A consistent increase in time across hops suggests congestion or inefficient routing. For example:
1 12 ms 10 ms 11 ms 192.168.1.1
2 25 ms 24 ms 26 ms 10.10.1.1
3 40 ms 42 ms 39 ms 203.0.113.10
4 65 ms 67 ms 64 ms 198.51.100.5
5 120 ms 118 ms 122 ms 203.0.113.200
6 180 ms 178 ms 181 ms 192.0.2.10
7 250 ms 248 ms 252 ms 198.51.100.10
8 300 ms 305 ms 298 ms 203.0.113.250
9 310 ms 312 ms 308 ms 198.51.100.200
10 315 ms 314 ms 316 ms 198.51.100.201
In this example, latency jumps between hops 5 and 6. This could indicate a bottleneck in a regional ISP core or a poorly optimized route.
Network administrators use tracert to isolate problems during outages. If a website loads slowly, running tracert helps determine whether the issue lies locally or further upstream.
For example, when a user reports that a video streaming service buffers constantly, a tracert to the service's CDN endpoint may show consistent timeouts at hop 7. That points to a failing router or bandwidth saturation in a specific region.
Another use is verifying connectivity through firewalls or NAT devices. Some networks block ICMP traffic, causing tracert to fail after the first few hops. This behavior confirms that ICMP filtering is active, which may affect VoIP or gaming applications relying on similar protocols.
While ping tests connectivity to a single host, tracert traces the entire path. Ping measures round-trip time to one node; tracert shows how that time accumulates across multiple nodes.
Unlike ping, which returns a single average time, tracert provides a detailed timeline of each segment. This allows you to see where delays originate rather than assuming the problem is at the destination.
| Tool | Measures | Output Format | Best For |
|---|---|---|---|
| ping | Connectivity and latency to one host | Single average time per packet | Quick yes/no test of reachability |
| tracert | Path, latency, and hop-by-hop performance | Sequence of IPs and RTTs per hop | Diagnosing routing issues and bottlenecks |
| mtr | Continuous monitoring of path stability | Real-time update of packet loss and jitter | Long-term analysis of network health |
Unlike tracert, which runs once and exits, mtr (My Traceroute) continuously updates results. It's better for observing changing changes, such as fluctuating packet loss during peak hours.
tracert does not measure actual application performance. It uses ICMP packets, which may be prioritized differently than TCP traffic used by web browsers or video apps. A low tracert time doesn't guarantee fast browsing or streaming.
Some routers hide their IP addresses or don't respond to ICMP requests. These hops appear as asterisks. This doesn't mean the network is broken-it may be intentional, especially in corporate or cloud environments.
Another misconception: tracert shows the path taken by all traffic. It does not. Each packet follows the current routing table. Changes in network load or policy can alter paths between traces.
I once ran tracert to a cloud storage provider during a regional outage. The first 12 hops showed stable times under 50ms. At hop 13, all three responses were *s. After 15 minutes, the same trace showed one successful reply. The network had rerouted around a failed link. This demonstrated that tracert reflects transient states, not permanent faults.
To trace the route to google.com, open Command Prompt (Windows) or Terminal (macOS/Linux) and enter:
tracert google.com
Sample output:
Tracing route to google.com [142.250.180.78]
over a maximum of 30 hops:
1 1 ms 1 ms 1 ms 192.168.1.1
2 12 ms 11 ms 10 ms 10.10.1.1
3 20 ms 19 ms 21 ms 203.0.113.10
4 35 ms 34 ms 36 ms 198.51.100.5
5 50 ms 49 ms 51 ms 198.51.100.10
6 60 ms 59 ms 61 ms 198.51.100.20
7 75 ms 74 ms 76 ms 142.250.180.78
Trace complete.
This shows the packet traveled through seven routers before reaching Google's server. The time increased steadily, indicating normal network progression. No *s appeared, confirming no packet loss.
If the last hop returned *s, it would mean the destination didn't respond. That could be due to a firewall, DNS resolution issue, or the server being unreachable.
When tracert stops at a hop with all *s, the most likely cause is a firewall blocking ICMP. Many ISPs and enterprise networks disable ICMP responses to reduce attack surface.
Use alternative tools like pathping (Windows) or tracepath (Linux/macOS) to bypass ICMP restrictions. These tools use UDP or TCP packets instead, which may succeed where ICMP fails.
For deeper analysis, tools like Wireshark can capture actual traffic and compare it to tracert's assumptions. This helps confirm whether routing anomalies are real or artifacts of protocol filtering.
Always verify results with multiple methods. A single tracert trace is a snapshot, not a diagnosis.
Understanding what tracert does enables faster troubleshooting of network issues. It's not a fix-but it's the first step toward identifying where the problem lies.