Quick answer: If your Mac drops off the internet, ping your router and an internet host at the same time. If the router stops answering too, the problem is your Wi-Fi or your router. If the router keeps answering but the internet host doesn’t, the problem is your line or your ISP. One test only shows a single moment, so if the drops come and go, leave a monitor running. PeakHour measures each link continuously and records every outage.

The 5-minute test (free, built into macOS)

Every Mac already has the tools. You need two Terminal windows side by side.

  1. Find your router’s address. Open Terminal (Applications → Utilities) and run:
    route -n get default | grep gateway
    It prints something like gateway: 192.168.1.1.
  2. Window 1: ping the router.
    ping --apple-time 192.168.1.1
    (Use your own router’s address.) --apple-time puts a clock time on every line, so you can see exactly when a drop happened.
  3. Window 2: ping an internet host.
    ping --apple-time 1.1.1.1
  4. Leave both running until the internet drops again, then press Control-C in each window. Look for Request timeout lines and at the summary line packet loss.

How to read the result

What you see Where the problem is What to try first
Both windows time out at the same moment Between your Mac and the router: Wi-Fi, or the router itself Move closer to the router or plug in an Ethernet cable and test again. Restart the router.
Router replies fine; the internet host times out Beyond your home: the modem, the line or your ISP Restart the modem. If it keeps happening, log it and contact your ISP (see how to log outages and prove them to your ISP).
Both reply, but times jump to hundreds of ms Congestion, usually a busy upload on your network Run networkQuality (below). Pause cloud backups and large uploads.
Both are clean, but one website or app fails That service, not your connection Check the service’s status page.

A healthy router on Wi-Fi usually answers in a few milliseconds with 0.0% packet loss. Any loss to your own router is a home-network problem, because that packet never left your house.

Check the Wi-Fi itself

If the router window is the one failing, look at your Wi-Fi signal:

  • Hold Option and click the Wi-Fi icon in the menu bar. It shows the signal strength (RSSI), noise and Tx Rate for the current network.
  • RSSI closer to 0 is stronger. Around −75 dBm and below, drops become likely. PeakHour uses −75 dBm as its weak-signal threshold.
  • If the signal is weak, move the Mac or the router, or add a mesh point or access point. If it’s strong but drops still happen, suspect interference or the router.

The fastest test of all: plug the Mac into the router with a cable. If the drops stop, it’s Wi-Fi.

Rule out congestion with networkQuality

Not every “drop” is a real outage. If something on your network fills the upload, latency can spike so badly that calls and pages stall for a few seconds. Run Apple’s built-in test:

networkQuality

It reports your speed and a Responsiveness rating (Low, Medium or High). Apple’s guide, Test Wi-Fi networks with Apple Network Responsiveness, explains the ratings. Low responsiveness with good speed points to buffering at the router, not to an outage. Our guide to networkQuality and your ISP covers the options.

Want more detail? Trace the whole path with mtr

mtr combines ping and traceroute: it shows loss and latency at every hop from your Mac to the destination. It isn’t built in, but you can install it with Homebrew: brew install mtr, then run sudo mtr 1.1.1.1.

Read it from the top. If the loss starts at hop 1 (your router), it’s your home network. If hop 1 is clean and the loss starts at the first hop of your ISP and carries on to the end, it’s your ISP. Loss that shows on one middle hop but not on the hops after it is usually just a router that deprioritises pings, and you can ignore it.

Why the problem is gone when you test

Most dropouts are intermittent. The line fails for 40 seconds at 8 pm, or the Wi-Fi gives up when the microwave is on. By the time you open Terminal, everything works. The two-window test only helps if it’s running when the drop happens, and Terminal pings stop when your Mac sleeps or you close the window.

PeakHour is a network monitor for Mac that runs this test continuously from the menu bar, and keeps the record.

PeakHour Internet Dashboard showing the path from this Mac through the router and ISP to the internet, with live latency for each link

  • Each link measured on its own. PeakHour finds your router and your ISP’s gateway automatically, then tracks latency, jitter and packet loss from your Mac to the router, from the router to your ISP, and on to internet hosts you choose. The Internet Dashboard colours the link where trouble starts.
  • Wi-Fi alerts. Turn on Wi-Fi issues, and PeakHour notifies you when a weak signal (below −75 dBm), interference (signal-to-noise under 20 dB) or a slow link lasts 2 minutes.
  • Outage alerts. Notifications when the router or the internet becomes unreachable, and again when it’s restored.
  • History. The History window marks every outage and how long it lasted, so a drop at 3 am is still there in the morning.
  • A plain-English verdict. On macOS 26 or later, the PeakHour Advisor explains the result, for example “packet loss is starting at your ISP, not your Wi-Fi”.

PeakHour is a free download from the Mac App Store with a 7-day free trial. After that it costs $19.99 a year or $49.99 once. There is no free tier. It needs macOS 14.6 or later. It measures your connection, not individual apps, so it won’t tell you which app is using the bandwidth.

Download PeakHour on the Mac App Store

FAQs

Why does my internet keep dropping on my Mac but not on my phone?

If only the Mac drops, the cause is usually that Mac's Wi-Fi link: a weaker signal where it sits, a different Wi-Fi band, or a VPN or network extension on the Mac. Ping the router from the Mac. If the router times out while your phone stays connected, compare the Mac's signal (Option-click the Wi-Fi icon) and try a cable.

How do I know if it's my router or my ISP?

Ping the router and an internet host such as 1.1.1.1 at the same time. If the router keeps replying while the internet host times out, the fault is beyond your home network, in the modem, the line or your ISP. If both time out together, it's your Wi-Fi or router.

What is normal packet loss to my router?

0%. Your router is one hop away, so any loss to it means a Wi-Fi or router problem. Loss to internet hosts should also be close to 0%. See what is packet loss for more.

Can I test this without Terminal?

Yes. The free internet stability test runs for 5 minutes in your browser and catches short dropouts a speed test misses. It can't separate your router from your ISP, though; the ping test can.

Is PeakHour free?

It's free to download with a 7-day free trial. After that, it's $19.99 a year or $49.99 once.