TechBuzzPro

How to Run Traceroute on Windows

· 4 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Yes, you can run traceroute on Windows using the built-in Command Prompt or PowerShell. Traceroute (called tracert in Windows) shows the path data takes from your computer to a website or server, helping identify where network delays or failures occur. This guide walks you through exactly how to use it, interpret the results, and troubleshoot common issues.

What You'll Need

  • A Windows PC with internet access
  • Administrator or standard user account (admin rights not required for basic traceroute)
  • A target website or IP address to trace (e.g., google.com or 8.8.8.8)

Step-by-Step

  1. Press the Windows key, type cmd or Command Prompt, then press Enter. Alternatively, press Windows + R, type cmd, and press Enter.
  2. In the Command Prompt window, type tracert followed by a space and the domain name or IP address. For example: tracert google.com.
  3. Press Enter. The tool will begin sending packets and display each hop along the route.
  4. Wait for the trace to complete. It may take 30 seconds to a minute. Each line represents a router or network device the data passes through.
  5. Review the results. Each hop shows the response time (in milliseconds) from up to three attempts. If a hop shows *, it means no response was received from that point.
  6. To save the results, run the command again with output redirection. Type: tracert google.com > C:\tracert.txt and press Enter. This saves the output to a text file on your C: drive.
  7. Close Command Prompt when finished by typing exit or clicking the X.
You can also use PowerShell instead of Command Prompt. Open PowerShell the same way (search for PowerShell), then use the same tracert command. While PowerShell has more advanced networking tools, tracert remains the simplest method for basic tracing.Common Mistakes
  • Typing traceroute instead of tracert: Windows uses tracert, not traceroute (which is used on macOS and Linux).
  • Forgetting to include a target: Running tracert alone without a domain or IP will result in an error.
  • Using spaces incorrectly: Ensure there’s only one space between tracert and the target address.
  • Misreading timeouts: Seeing * doesn’t always mean a problem—it could mean the router is configured not to respond to ICMP requests.
  • Running from an app that doesn’t support it: Trying to use tracert in Windows Run without opening Command Prompt first won’t work.

Tips

  • Use tracert -d google.com to skip hostname resolution for faster results. The -d flag prevents DNS lookups for each IP, reducing wait time.
  • If tracing to a website fails, try using its IP address instead (find it with ping example.com first).
  • Compare multiple traces to the same destination at different times to spot inconsistent routing or latency spikes.
  • Use tracert -h 30 google.com to set a maximum number of hops (default is 30). Increase if the trace stops before reaching the target.
  • Run the trace when troubleshooting slow internet or connection drops to identify where delays occur.

Troubleshooting

If traceroute doesn’t work or returns unexpected results, try these steps in order:

  1. Check internet connection: Ensure you’re online. Try loading a webpage in your browser.
  2. Verify the target: Confirm the domain name or IP is correct. Try pinging it first with ping google.com.
  3. Run as administrator: While not usually required, some network diagnostics perform better with elevated privileges. Right-click Command Prompt and select Run as administrator.
  4. Disable firewall or antivirus temporarily: Some security software blocks ICMP traffic used by tracert. Disable them briefly to test, then re-enable.
  5. Check for network congestion: High traffic can cause timeouts. Retry during a less busy time.
  6. Use an alternative tool: If tracert fails consistently, try pathping (built into Windows), which combines ping and traceroute for more detailed analysis.
  7. Contact your ISP: If the trace fails within the first few hops (especially your router or ISP’s network), the issue may be on their end.

Frequently Asked Questions

What does tracert stand for?

Tracert stands for "trace route." It’s Windows’ version of the traceroute command used to map the path packets take across networks.

Why do some hops show asterisks (*)?

An asterisk means the router didn’t respond to the ICMP request. This could be due to filtering, firewall rules, or network congestion—not necessarily a problem.

Can tracert help fix slow internet?

Yes. Tracert can identify where delays occur. If high latency appears early (within your network or ISP), contact your provider. If it happens near the end, the issue may be with the destination server.

Is tracert the same as ping?

No. Ping tests connectivity and response time to a single destination. Tracert shows every step (hop) along the way, revealing intermediate network points.

How many hops should a traceroute have?

There’s no fixed number. Most traces to major websites take 8–15 hops. More hops don’t mean worse performance—efficiency depends on routing, not hop count.

Can I run traceroute on Wi-Fi and Ethernet?

Yes. Tracert works the same regardless of your connection type. However, results may differ slightly between Wi-Fi and wired networks due to routing changes.