Use tracert first. Use pathping second when you need proof of packet loss. That is the simple rule for Windows network diagnostics. tracert is the quick flashlight. pathping is the slower detective with a clipboard.
TLDR: tracert shows the route your traffic takes to reach a server. pathping shows the route and tests packet loss at each hop. For example, if tracert google.com reaches hop 8, but a site still feels slow, run pathping google.com. In one office case, hop 4 showed 38% packet loss, which pointed to a bad ISP link instead of a broken laptop.
What is tracert?
tracert is short for trace route. It is built into Windows. You run it in Command Prompt or PowerShell. It sends test packets toward a destination. Then it lists each router, or hop, along the way.
Think of it like tracking a pizza delivery. Your PC is the pizza shop. The website is your hungry friend. Each hop is a road junction. If the pizza van gets stuck, tracert helps you see where.
Basic command:
tracert example.com
You can also test an IP address:
tracert 8.8.8.8
A normal result looks like this:
1 2 ms 1 ms 1 ms 192.168.1.1
2 12 ms 11 ms 12 ms 10.20.30.1
3 18 ms 19 ms 18 ms isp-router.example
4 31 ms 30 ms 32 ms target.example
Those numbers are response times. Lower is better. A jump from 10 ms to 300 ms can be a clue. Not always proof. But a clue.
What is pathping?
pathping is like tracert plus ping. It first finds the route. Then it tests each hop for packet loss. That makes it great for weird problems.
By weird, I mean the annoying stuff. A website loads sometimes. Video calls freeze for three seconds. The app says “connected,” yet nothing works. It drives me a little crazy when everything looks fine, but users still complain. pathping can help settle the argument.
Basic command:
pathping example.com
Then you wait. And wait a bit more.
pathping can take several minutes. That is normal. It collects more data than tracert. Expect to waste time if you run it for every tiny issue. Use it when you need deeper answers.
The big difference
Here is the easy version:
tracert: Shows the path.pathping: Shows the path and packet loss.tracert: Usually finishes fast.pathping: Takes longer, but gives better loss data.tracert: Best for “Where does it stop?”pathping: Best for “Where is it dropping packets?”
Use tracert when a site will not open. Use pathping when a site opens, but feels awful.
When to use tracert
Run tracert when you need a quick map. It helps answer these questions:
- Can my PC reach the destination?
- Where does the route stop?
- Is traffic leaving my local network?
- Is there a huge delay at one hop?
- Does DNS resolve the target name?
Example:
tracert contoso.com
If hop 1 fails, your local router may be the issue. Check Wi Fi. Check Ethernet. Restarting your router is not glamorous, but it often works.
If hop 2 or 3 fails, the problem may be with your modem or ISP. If the route gets far away and then stops, the remote network may be blocking replies.
Do not panic when you see stars:
* * * Request timed out.
Stars do not always mean broken. Some routers ignore these test packets. They may still pass real traffic just fine. Rude? Yes. Broken? Not always.
When to use pathping
Run pathping when speed is bad, but the connection is not fully dead. It helps with:
- Random lag
- Packet loss
- Choppy calls
- Slow cloud apps
- Remote desktop freezes
- VPN complaints
Example:
pathping teams.microsoft.com
After the route check, pathping sends many probes. Then it prints packet loss by hop. This is the juicy part.
A line like this matters:
4 35ms 42/100 = 42% 42/100 = 42% bad-hop.example
That is ugly. 42% loss is not a small hiccup. That is a network coughing into a bucket.
How to read the results without losing your mind
Start with hop 1. That is usually your default gateway. Often it is your home router or office firewall.
If hop 1 has high delay, the problem is close. Maybe weak Wi Fi. Maybe a busy router. Maybe someone is uploading a huge video while pretending they are “just checking email.”
If hop 1 is fine, look at hop 2. That is often your ISP side. If loss begins there and continues, call the ISP. Be ready with screenshots. Support teams like numbers.
If one middle hop shows loss, but later hops are clean, ignore it. Some routers rate limit replies. They are not failing. They are just not chatty.
The key rule is simple:
- Loss at one hop only: May not matter.
- Loss starts at one hop and continues: Real problem.
- High delay at hop 1: Local issue.
- High delay after your ISP: Outside your network.
Useful switches for tracert
Windows gives tracert a few handy options.
tracert -d example.comskips name lookups. This is faster.tracert -h 15 example.comsets the max hops to 15.tracert -w 1000 example.comwaits 1000 ms for each reply.tracert -4 example.comforces IPv4.tracert -6 example.comforces IPv6.
The -d switch is my favorite. DNS lookups can slow the output. Sometimes you just want the path now, not after Windows thinks about every name like it is solving a puzzle.
Useful switches for pathping
pathping has its own helpful options.
pathping -n example.comskips name lookups.pathping -q 50 example.comsends 50 queries per hop.pathping -w 1000 example.comwaits 1000 ms for replies.pathping -4 example.comuses IPv4.pathping -6 example.comuses IPv6.
Use fewer queries if you are testing fast. Use more if you need stronger evidence. Just know that more queries mean more waiting.
A simple troubleshooting flow
Try this order when a Windows network problem appears:
- Run
ping 8.8.8.8. - Run
ping example.com. - Run
tracert example.com. - If the path is odd or slow, run
pathping example.com. - Save the output.
- Compare results from another PC.
This keeps you from guessing. Guessing is how 20-minute problems become two-hour mysteries.
Common mistakes
Mistake one: Treating every timeout as a disaster. Some hops ignore probes. Check the final destination.
Mistake two: Running only one test. Networks change. Run a few tests at different times.
Mistake three: Testing by name only. DNS can fail too. Test both a domain and an IP address.
Mistake four: Blaming the last hop too fast. The issue may begin earlier.
Which one should you pick?
Pick tracert for speed. It is the first tool to run when a route seems broken. Pick pathping for proof. It is better when you need packet loss numbers.
The best answer is not tracert versus pathping. It is tracert before pathping. Fast check first. Deeper test second. Your future self will thank you.