tracert example.com on Windows, or traceroute example.com on Linux and macOS, lists every router your packets pass through on the way to a host, with three round-trip times for each. It shows where a connection stops or slows down: the first hop where replies stop, or where latency jumps and stays high for every hop after it, is where to look.
tracert -d example.com
How tracert works
Every IP packet carries a Time To Live (TTL) counter. Each router decrements it by at least 1 before forwarding, and when it reaches 0, the router discards the packet and can send an ICMP Time Exceeded message (type 11, code 0 in RFC 792) back to the sender. tracert uses that on purpose. It sends its first probes with TTL 1, so the first router answers; then TTL 2, so the second router answers; and so on, until the destination itself replies or it reaches the maximum of 30 hops.
Windows tracert sends ICMP echo requests as its probes. Linux traceroute sends UDP datagrams by default, to destination port 33434 and up; traceroute -I switches to ICMP and traceroute -T to TCP SYN, which helps when a firewall only lets web traffic through.
How to read tracert output
Example output from Windows 11, with the internet provider's addresses replaced by documentation addresses:
Tracing route to example.com [203.0.113.10]
over a maximum of 15 hops:
1 1 ms 1 ms <1 ms 192.168.1.254
2 3 ms 7 ms 7 ms 10.20.0.1
3 4 ms 8 ms 7 ms 198.51.100.49
4 10 ms 7 ms 8 ms 198.51.100.144
5 8 ms 6 ms 7 ms 198.51.100.81
6 55 ms 30 ms 24 ms 203.0.113.210
7 * * * Request timed out.
8 40 ms 39 ms 53 ms 203.0.113.48
9 44 ms 47 ms 49 ms 203.0.113.10
Trace complete.
| Column | Meaning |
|---|---|
| First number | Hop number: 1 is the first router (usually your own), counting up towards the destination. |
| Three times | Round-trip time of three separate probes to that router, in milliseconds. * means that probe got no reply within the timeout. |
| Address | The router that answered. Microsoft's documentation notes it is the router interface nearest to you, not necessarily the one your traffic leaves through. |
Reading this trace: hop 1 is the home router at about 1 ms. Hops 2 to 5 are inside the internet provider's network at under 10 ms. At hop 6 the time jumps to 24 to 55 ms and stays around 40 to 50 ms for every later hop, so that jump is a real, lasting increase (most likely a longer link after the traffic leaves the provider), not a router being slow to reply. Hop 7 doesn't answer at all, yet hops 8 and 9 do, which means hop 7 forwards traffic but doesn't send Time Exceeded replies.
What the asterisks and "Request timed out" mean
A row of * means no reply from that hop within the wait time (4,000 ms by default). Microsoft's documentation states the cause directly: some routers "don't return time Exceeded messages for packets with expired TTL values and are invisible to the tracert command". What matters is what comes after:
- Asterisks in the middle, then normal hops: harmless. That router just doesn't answer probes.
- Asterisks from some hop to the end, and the trace never completes: traffic is being dropped at or just after the last router that answered, or the destination blocks ICMP. Check whether the service itself works (for example, open the site, or run
Test-NetConnection example.com -Port 443in PowerShell) before concluding it's a network fault. - Single
*among times: one probe lost. Not significant on its own.
How to tell where the real slowdown is
A high time at one hop doesn't mean that hop is slowing your traffic. The time you see is how long that router took to answer a probe addressed to itself, which is a different job from forwarding your traffic onwards, and a router can be slow at the first while doing the second normally. So:
- Latency jumps at hop N and stays high for every later hop: the delay is real and is introduced at or just before hop N.
- Latency spikes at one hop, then drops back for later hops: that router is just slow to answer probes. Ignore it.
The same logic applies to loss. Microsoft's pathping documentation describes routers that drop packets addressed to them while this "doesn't affect their ability to forward traffic that isn't addressed to them". Loss that shows up at a hop and continues to the destination is the kind that matters.
Useful tracert and traceroute options
| Task | Windows tracert | Linux traceroute |
|---|---|---|
| Skip reverse DNS (much faster) | -d | -n |
| Maximum hops (default 30) | -h 15 | -m 15 |
| Wait per probe | -w 1000 (ms, default 4,000) | -w 2 (seconds) |
| Force IPv4 / IPv6 | -4 / -6 | -4 / -6 |
| Probe type | ICMP only | UDP (default), -I ICMP, -T TCP |
| Probes per hop (default 3) | fixed at 3 | -q 1 |
Use -d by default on Windows. Looking up a name for every router is what makes tracert slow, and the names rarely tell you much more than the addresses.
traceroute on Linux and macOS
traceroute -n example.com
Output has the same shape: hop number, address, three times. Linux traceroute adds markers after a time when a router reports a problem: !H, !N or !P mean host, network or protocol unreachable.
Not every distribution installs it. On the Ubuntu 22.04 test system, traceroute was missing but tracepath and mtr were present (sudo apt install traceroute adds it). tracepath ran without sudo and also reports the path MTU. Example output, with provider addresses replaced:
1?: [LOCALHOST] pmtu 1500
1: 172.18.32.1 0.165ms
2: 192.168.1.254 2.501ms
3: 192.168.1.254 2.234ms pmtu 1492
3: 10.20.0.1 7.993ms
4: 198.51.100.49 8.935ms
The pmtu 1492 line shows the largest packet that path carries, which matches what a ping MTU test on the same connection found. (Hop 1 here is the virtual network of WSL, which runs Linux inside Windows, so it adds one hop compared with the Windows trace.)
pathping: tracert with packet-loss statistics
tracert sends only three probes per hop, which is too few to measure intermittent loss. On Windows, pathping first lists the route like tracert, then sends 100 queries to every hop (one every 250 ms by default) and reports loss per router and per link:
pathping -n example.com
Expect it to take a few minutes: Microsoft's sample run says "computing statistics for 125 seconds" for a five-hop path. On Linux, mtr gives similar per-hop loss and latency figures; mtr -n -r -c 100 example.com sends 100 rounds and prints a report with Loss%, Avg, Best, Wrst and StDev columns for every hop.
If the trace stops at your first hop
If hop 1 answers but nothing after it does, your router is reachable but it isn't passing traffic to the internet: restart the router or check the provider's status. If even hop 1 is *, the problem is between your PC and the router (Wi-Fi, cable, or a wrong gateway setting). The difference between private and public addresses explains why the first hops show 192.168.x.x or 10.x.x.x.
Frequently asked questions
- What is the difference between tracert and traceroute?
- They do the same job. tracert is the Windows command and sends ICMP echo requests. traceroute is the Linux and macOS command and, by default on Linux, sends UDP packets to high port numbers starting at 33434. Because some networks treat ICMP and UDP differently, the two can show slightly different results to the same host; traceroute -I makes Linux use ICMP like Windows.
- Why does tracert show 'Request timed out' but the site works?
- Some routers are configured not to send ICMP Time Exceeded messages, so tracert gets no answer from them and prints asterisks. They still forward your traffic. As long as later hops and the destination respond, a row of asterisks in the middle is harmless.
- How do I stop tracert?
- Press Ctrl+C. To make it finish faster in the first place, use tracert -d to skip hostname lookups, -h to lower the maximum number of hops from 30, and -w to shorten the wait per probe from 4,000 ms.
- Is it safe to share tracert output?
- Mostly, but look at it first. The first hops show your local network and your internet provider's routers, which can reveal your provider and rough location. Hostnames of provider routers sometimes include a city code. Replace those addresses before posting output publicly.