WiFi or ISP

Guide

Mac internet stops working after weeks without a restart?

If your Mac has been on for about seven weeks and pages, apps, and uploads start timing out while ping still answers, it may not be your Wi-Fi or your ISP. On macOS 26, a Mac awake for about 49.7 days without a restart can stop opening new network connections.

The short answer

Restart your Mac before you restart the router or call your ISP. Restarting is the only fix, and it resets the clock for another 49.7 days. Sleep doesn't count toward the limit, so it mostly hits Macs that stay awake: desktops, servers, and Macs set never to sleep.

What it looks like

  • Websites, apps, and uploads time out, at random at first, then more often.
  • Connections that were already open keep working.
  • Ping still answers, so network tools say you're fine.
  • Nothing crashes and nothing shows up in a log.
  • Restarting the router doesn't help. Restarting the Mac does.

Why it happens

macOS keeps a clock for its network connections: a count of milliseconds since the Mac started, stored in a 32-bit number. That number runs out at 4,294,967,296 milliseconds, which is 49 days, 17 hours, and 2 minutes.

In macOS 26, the kernel code that updates this clock only lets it move forward. When the count rolls over to zero, the new value looks older than the old one, so the clock stops. With the clock stopped, connections your Mac has closed never finish closing. They pile up until the Mac runs out of ports for new ones, and every new connection fails.

The engineers at Photon found it on their always-on Macs, watched it happen on two machines as they crossed the limit, and traced it to Apple's published kernel source. Read their write-up.

Who it affects

  • macOS 26. I compared the clock code in every kernel version Apple has published. In macOS 15 and earlier it counts up a different way and keeps going after it rolls over. Every macOS 26 version published so far has the code that stops. Some reports say Catalina and later are affected; the source doesn't back that up.
  • Macs that stay awake. The clock only counts awake time. A laptop that sleeps every night can go far longer than 50 days between restarts. A Mac mini running as a server, or any Mac set never to sleep, reaches the limit in seven weeks.

Apple hasn't said whether a later update fixes it. As of November 17, 2026, the newest published kernel source still has it.

How to check, and what to do

  1. See how long your Mac has been on. Type uptime in Terminal. That count includes sleep, so it's the most your Mac could have been awake: if it says less than 49 days, this isn't your problem.
  2. Restart your Mac. Apple menu → Restart. That resets the clock.
  3. If your Mac stays on for weeks, restart it at least every six weeks. A calendar reminder works, or let WiFi or ISP remind you.
  4. Still slow after a restart? Then it's your Wi-Fi or your ISP. Find out which.

How WiFi or ISP handles it

On macOS 26, WiFi or ISP tracks how long your Mac has been awake since its last restart. Five days before the limit, it shows a heads-up. Past the limit, if its checks to your router and the internet start failing, it tells you to restart your Mac before it blames your Wi-Fi or your ISP. You get one notification for each, and you can turn them off in Settings. Agents can see it too: wifiorisp status reports your uptime.

Questions

Why does my Mac's internet stop working after about 49 days?

On macOS 26, the kernel's network clock counts milliseconds in a 32-bit number, which rolls over after 49.7 days awake. The clock then stops, closed connections never clear, and the Mac runs out of ports for new ones. A restart fixes it.

Does sleep count toward the 49.7 days?

No. The clock only counts time the Mac is awake, so a Mac that sleeps every night takes much longer to reach the limit.

Will restarting my router fix it?

No. The problem is inside the Mac. Your router and your ISP are fine, and other devices keep working. Restart the Mac.

Is it fixed in the latest macOS?

Apple hasn't said. As of November 17, 2026, the newest kernel source Apple has published still has the code that stops the clock.

Know whether it's your Mac, your Wi-Fi, or your ISP.

WiFi or ISP is a free Mac menu bar app. It times your router and the internet at the same moment, says which side is slow, and keeps a log you can send your ISP.

brew install --cask coreyhaines31/tap/wifiorisp