How to Use the Tracert Command: tracert vs ping for Troubleshooting Network Connectivity

Editorial Team ︱ October 14, 2026

Use ping first, then use tracert when ping fails or feels weird. Ping tells you if a device answers. Tracert shows the path your traffic takes to reach it. On Windows, tracert works by sending packets with rising TTL values, so each router on the path can reveal itself step by step [source: Microsoft].

TLDR: Use ping google.com to ask, “Can I reach this?” Use tracert google.com to ask, “Where does the trip break?” For example, if ping shows 50% packet loss, then tracert may show traffic dying at hop 5, which points to a router or ISP issue. In a small office with 20 users, this can save 15 minutes of guessing and finger-pointing.

Ping vs tracert in plain English

Think of the internet like a road trip.

Ping is a quick text message to the destination. It says, “Hey, are you there?” If the destination replies, great. If it does not, you know something is wrong. But you do not know where.

Tracert is more like asking for receipts from every stop along the way. Your laptop sends traffic toward a site. Each router on the path gets a chance to answer. The result is a list of hops.

That hop list is the fun part. It can show your home router, your ISP, a regional network, and then the final server. Sometimes it also shows a big ugly timeout. That is when the detective music starts.

When to use ping

Use ping when you need a quick yes or no.

  • Check if a website responds: ping example.com
  • Check your router: ping 192.168.1.1
  • Check public internet access: ping 8.8.8.8
  • Check packet loss: Look for lost packets in the result.
  • Check delay: Look at the time in milliseconds.

A good ping result may look like this:

Reply from 8.8.8.8: bytes=32 time=18ms TTL=117

That means the target answered. The round trip took 18 milliseconds. Nice and quick.

A bad ping result may show this:

Request timed out.

That could mean many things. The server may block ping. Your Wi-Fi may be sad. Your router may be asleep on the job. Honestly, it feels like ping enjoys being vague at the worst possible time.

When to use tracert

Use tracert when ping tells you there is a problem, but refuses to explain itself.

Run this:

tracert google.com

You may see something like this:

1    2 ms    1 ms    1 ms  192.168.1.1
2   12 ms   10 ms   11 ms  isp gateway
3   25 ms   24 ms   26 ms  regional router
4    *       *       *      Request timed out
5   40 ms   39 ms   41 ms  destination network

Each line is a hop. Each hop is one device passing your traffic along. The three time columns are three test attempts. Lower numbers are usually better.

The stars mean no reply came back for that test. Do not panic yet. Some routers ignore tracert traffic. That is annoying, but normal. If the route keeps going after the stars, the path may still be fine.

How to read tracert without getting a headache

Here is the simple version.

  • Hop 1: Usually your router.
  • Hop 2 or 3: Often your internet provider.
  • Middle hops: Backbone and carrier networks.
  • Last hop: The destination, if it replies.

Now watch for these clues:

  • Timeout at hop 1: Your device may not reach your router.
  • Timeout right after your router: Could be an ISP problem.
  • High time on all hops: Your local connection may be slow.
  • One high hop, then normal again: That router may just answer slowly. It may not be the real issue.
  • Timeouts from one hop to the end: The break may be near that hop.

A simple troubleshooting plan

Use this order. It keeps things clean.

  1. Ping your router.
    ping 192.168.1.1
    If this fails, check Wi-Fi, cables, or your router.
  2. Ping an IP address.
    ping 8.8.8.8
    If this works, your internet is probably up.
  3. Ping a domain name.
    ping google.com
    If the IP works but the name fails, suspect DNS.
  4. Run tracert.
    tracert google.com
    Find where the route slows down or stops.

This four-step flow solves many common cases. It also gives you better info before you call support. “The internet is broken” is not very helpful. “Traffic times out after hop 2” is much better.

Real world user case

Say Maya works from home. Her video calls freeze every few minutes. She runs ping 8.8.8.8. It shows 12% packet loss. That is bad enough to wreck calls.

Next, she runs:

tracert 8.8.8.8

Hop 1 is her router at 2 ms. Hop 2 jumps between 40 ms and 600 ms. Then several later hops look messy too. That points away from her laptop. It suggests a provider issue or a modem signal problem.

Now she can call her ISP with useful details. Expect to waste time on hold, yes. But at least she has proof. She can say, “The big delay starts right after my router.” That is much better than yelling into the void.

Useful tracert options

Windows tracert has a few handy switches.

  • tracert -d example.com
    Skips name lookups. This is faster. Use it when tracert feels slow.
  • tracert -h 15 example.com
    Sets the max hops. This stops after 15 hops.
  • tracert -w 1000 example.com
    Sets timeout time. This waits 1000 milliseconds per reply.

A faster command may look like this:

tracert -d -w 1000 google.com

This skips DNS names and waits less time. Great when you do not want to sit there watching dots blink like it is 1998.

Common mistakes

  • Do not assume every star is a failure. Some routers block replies.
  • Do not blame the first high number right away. Check later hops too.
  • Do not test only one site. Try two or three targets.
  • Do not forget DNS. If IP works but names fail, DNS is likely the pain.
  • Do not run tests on bad Wi-Fi only. Try a cable if you can.

Quick cheat sheet

  • Use ping to check reachability and packet loss.
  • Use tracert to find where traffic slows or stops.
  • Ping your router first. It checks your local link.
  • Ping an IP next. It checks basic internet access.
  • Ping a domain after that. It checks DNS.
  • Run tracert last. It maps the path.

The short version: ping is the doorbell. Tracert is the trail of breadcrumbs. Use both, and network problems become less mysterious. Still annoying, sure. But much easier to explain.