Windows Networking

Diagnose packet loss with ping and tracert

Practical Windows guide: diagnose packet loss with ping and tracert without the usual guesswork.

10 min read Beginner Updated 9 Jun 2026

Step-by-step guide

Work through each section in order. Stop when your issue is resolved — you do not need every step for every situation.

What you will achieve

Detect packet loss and latency problems using built-in ping and tracert on Windows, and interpret results without guesswork.

1) Baseline ping to your router

  1. Open Command Prompt or PowerShell.
  2. Run ipconfig and note the Default Gateway (e.g. 192.168.1.1).
  3. Ping it continuously: ping 192.168.1.1 -t. Press Ctrl + C to stop.
  4. Loss to the gateway points to local Wi‑Fi, cable, or switch issues — not your ISP.

2) Ping an external host with count

ping 1.1.1.1 -n 100
ping google.com -n 100
  1. Check the summary: Lost = 0 (0% loss) is healthy. Sporadic loss above 1–2% causes VoIP and gaming issues.
  2. Compare IP (1.1.1.1) vs name (google.com) — if IP works but name fails, suspect DNS not packet loss.

3) Trace the route with tracert

tracert 1.1.1.1
  1. Each hop shows latency to routers along the path. High latency or timeouts on hop 2–3 often mean ISP or VPN issues.
  2. Run during problem hours and again when the network feels fine to compare.

4) Extended diagnostics

pathping 1.1.1.1

pathping combines traceroute with per-hop loss statistics — slower but useful for intermittent loss.

5) Continuous ping log to file

ping 1.1.1.1 -t > C:\Temp\ping-log.txt

Correlate timestamps with when VoIP or gaming stuttered.

6) MTU issues

ping google.com -f -l 1472

Reduce -l size until packets pass without fragmentation needed — VPN tunnels often need lower MTU.

7) Pathping interpretation

  1. Loss shown at final hop only often means destination ICMP rate limiting, not real loss.
  2. Loss at intermediate hop may be normal if that router deprioritises ICMP — compare multiple targets.

8) Test with PowerShell Test-Connection

Test-Connection 1.1.1.1 -Count 50 -Quiet
1..50 | ForEach-Object { (Test-Connection 8.8.8.8 -Count 1).ResponseTime }

Build simple latency arrays for logging during intermittent faults.

Verification checklist

Save ping and pathping outputs to dated files during fault and during clean periods — comparison beats one-off tests when chasing intermittent ISP issues.

  1. Reboot once after changes that affect services, drivers, or firmware.
  2. Confirm the original problem is resolved under normal daily use, not only immediately after the fix.
  3. Note date, Windows version (Settings → System → About), and what changed in your personal runbook for next time.

Related guides

diagnose loss packet windows