netutilus

Traceroute on Mac

To run a traceroute on a Mac, open Terminal and type traceroute followed by a host, for example traceroute apple.com. Netutilus, a free macOS app, shows the same route in a window: every hop with its name, its provider and its reply time. It sends all probes for a hop together, so a silent hop costs one timeout instead of three, and shows where the delay starts to grow.

Updated

Download on the Mac App Store ↗

free to download · macOS 14.6 or later

Key facts

Access
Free
Shows
Every hop with its name, provider and reply time; up to 64 hops, 1 to 3 probes per hop
Permissions
None
Talks to
The routers on the path; ipapi.co for provider names (can be switched off)
Exports
CSV, text
In Terminal
traceroute example.com · details below

What it’s for

Traceroute shows the path your traffic takes to a host: every router on the way, called a hop, in order, with the time each one takes to answer. It tells you how far your traffic gets, and where on the way the delay is added.

Use it when

  • A site is slow or can’t be reached, and you want to see how far the path gets.
  • You want to know which networks carry your traffic.
  • You are reporting a problem and need to show the route.

Reading the result

Example in the app: A route of seven hops to a server across an ocean

  • Hop 3 never answered, so its row shows * for every probe. Many routers don’t reply to traceroute at all. The hops after it answer, so traffic passes through it fine.
  • The time jumps at hop 6 and stays high to the end. That is distance: this link crosses an ocean. A jump that lasts to the destination is real delay. One slow hop with fast hops after it is only that router answering slowly.
  • A blue dot marks the destination. A green dot is a router that answered.

The probes for a hop go out together, so a silent hop costs one timeout, not three. When several routers answer for the same hop, as on a load-balanced path, all of their addresses are listed. Names appear a moment later, as their lookups finish.

What you might see

  • Stars from some hop to the end, and “destination does not respond to ICMP”. The host, or a firewall in front of it, ignores traceroute probes. If the site works, nothing is wrong.
  • “A router reports the destination unreachable”: the trace stopped because a router on the way has no route to the host.
  • The first hop is already slow. That is your Wi-Fi or your router. See Wi-Fi Analyzer.

Options worth knowing

  • Max hops: how far to look, up to 64.
  • Probes: one to three per hop.
  • Timeout: how long to wait for each hop.
  • Look up providers names the network each address belongs to.

Traceroute in Terminal: the options that matter on macOS

TerminalmacOS
# UDP probes, 3 per hop, up to 64 hops; no sudo needed
$ traceroute example.com

# numbers only, no name lookups: faster
$ traceroute -n example.com

# ICMP probes, like Windows tracert; often gets further
$ traceroute -I example.com

# one probe per hop, 2-second wait
$ traceroute -q 1 -w 2 example.com
Example output
$ traceroute -n -q 1 example.com
traceroute: Warning: example.com has multiple addresses; using 203.0.113.10
traceroute to example.com (203.0.113.10), 64 hops max, 40 byte packets
 1  192.0.2.1  3.708 ms
 2  198.51.100.1  7.112 ms
 3  198.51.100.9  3.621 ms
 4  198.51.100.14  4.393 ms
 5  *
 6  203.0.113.10  16.498 ms

On a Mac the command is traceroute, not tracert, and it needs no sudo: macOS installs it setuid root. Netutilus sends the probes for a hop together, so a silent hop costs one timeout instead of three, and names the provider of every hop.

traceroute, not tracert: notes for Windows users

There is no tracert on a Mac: the command is traceroute. The habits translate like this:

Windows tracert macOS traceroute
ICMP echo probes UDP probes by default; -I sends ICMP like tracert
-d: no name lookups -n
-h 20: at most 20 hops (default 30) -m 20 (default 64)
-w 2000: wait 2,000 ms per reply -w 2: the wait is in seconds (default 5)

Windows’ pathping has no macOS counterpart. The closest is MTR, which keeps probing every hop: see MTR, or WinMTR for Mac if that is the tool you know.

Stars, slow hops and the last hop, in short

A * is a probe that got no answer in time. Many routers never answer traceroute, so stars in the middle with answers after them are harmless. Delay that jumps at one hop and stays high to the destination is real, often distance; one slow hop followed by fast ones is only that router answering slowly. Stars from some hop to the end usually mean the destination or its firewall ignores the probes; traceroute -I sometimes gets through. Hops and TTL explains how the route is found.

Try Traceroute on your Mac

Netutilus puts every network tool in one app. Free to download; Pro is a one-time purchase, never a subscription.

Download on the Mac App Store ↗

Articles

See also

  • Hops and TTLHow traffic crosses the internet one router at a time, and how traceroute finds each one.
  • MTRA traceroute that keeps running, so you can see where on the path packets are lost, and when.
  • Visual TracerouteDraws the route to a host on a map, hop by hop.
  • ICMP and TCP PingTwo ways to time a host, and why one may answer when the other doesn't.