Updated: 3 November 2026 · Applies to: Windows, macOS and Linux

Traceroute shows every network hop, router by router, that your traffic passes through to reach a destination, with the time each hop took. It is one of the most useful tools for working out where a connection is actually slow or failing, rather than just knowing that it is.

Run a traceroute on Windows

Open Command Prompt (search for cmd in the Start menu on any current version of Windows), then run:

tracert example.com

Run a traceroute on macOS

Current macOS no longer includes the old Network Utility app; use Terminal instead:

traceroute example.com

Run a traceroute on Linux

traceroute example.com

If the command is not found, install it first: apt install -y traceroute on Debian or Ubuntu, dnf install -y traceroute on AlmaLinux, Rocky Linux or RHEL.

Reading the output

A traceroute to a real destination looks something like this:

traceroute to example.com (93.184.216.34), 30 hops max, 60 byte packets
1  gateway.example.net (203.0.113.1)  1.2 ms  1.1 ms  1.0 ms
2  core1.isp.example.net (198.51.100.5)  3.4 ms  3.2 ms  3.5 ms
3  * * *
4  edge.example.com (192.0.2.10)  14.7 ms  14.2 ms  14.9 ms

Each numbered line is one hop. The three numbers on the right are three separate timing samples for that hop, in milliseconds, since traceroute probes each hop three times by default. A line of * * * means that hop did not respond within the timeout, which is common and not automatically a problem: many routers are configured to not answer traceroute probes at all, while still forwarding the traffic behind them perfectly normally.

What to actually look for

  • A sudden, large jump in response time between two consecutive hops usually points to where the real delay is, rather than the connection being slow everywhere.
  • The trace simply stopping partway through, with every hop after a point timing out, usually means a firewall or routing problem at or just past that hop.
  • A few * * * hops followed by normal responses further along is routine and not a fault on its own.

For this to actually help diagnose a problem, run it from the machine experiencing the issue while the issue is happening, not after the fact and not from an unrelated network.

Related services

KVM VPS hosting

NVMe SSD and full root access, with Free Basic Managed Support.

Unmanaged dedicated servers

full root access and free IPMI KVM, with Free Basic Managed Support.

Managed dedicated servers

our engineers look after the server for you, from $135 a month.

Was this answer helpful?

Still stuck? Open a ticket