The macOS 49.7-day networking bug: Why a reboot fixes slow stacks
Paul Betteridge
Workshop Owner

The macOS 49.7-day networking bug: Why a reboot fixes slow stacks
In my Poole workshop, I regularly see clients bring in local iMacs and MacBooks with networking issues. They describe a regular pattern: "My Wi-Fi shows as connected, but websites won't load, files won't sync, and the network behaves as if it's completely dead. I had to pay for a broadband call-out, but they said my router is fine."
In many of these situations, the hardware is completely healthy. Instead, they are experiencing a fascinating, documentable macOS glitch: The 49.7-Day Network Stack Staller.
What is the 49.7-day bug?
Modern computers use internal clocks running in milliseconds to monitor system uptime (the length of time since the device was last turned off or restarted).
Under the hood of certain macOS kernels, the internal timer registers this uptime using a standard 32-bit unsigned integer. Maxing out this integer value in milliseconds takes exactly: $$\mathbf{2^{32} \text{ milliseconds} \approx 4,294,967,296 \text{ ms} \approx 49.71 \text{ days}}$$
When your Mac runs continuously without a full restart for exactly 49.7 days (about a month and a half), this millisecond integer reaches its capacity and rolls back over to zero. On certain background network drivers, this roll-over causes the network stack clock to disconnect, stalling any incoming or outgoing internet traffic instantly.
Why does this catch Mac users out?
Classic desktop towers required regular restarts, but Apple Silicon Macs are incredibly power-efficient. Most users close the lid of their MacBook or leave their iMac sleeping overnight, assuming sleep mode is the same as turning the computer off.
It is not. Sleep mode merely pauses the system state in RAM; it does not reset the uptime counter. Your system uptime clock continues to tick, accumulating weeks and months until the 49.7-day limit is reached.
The simplest diagnostic trick
If your Mac's internet drops out, but your phone connects to the same Wi-Fi network perfectly, check your Mac's uptime before purchasing replacement hardware or routers:
- Open your Mac's Terminal (found under Applications > Utilities).
- Type the following simple command and press Enter:
uptime - The Terminal will print exactly how many days, hours, and minutes your Mac has been running continuously.
If that number is hovering around 49 days, save your open files and restart your machine.
Best practice routine
To keep your macOS caching files clean, clear temporary browser leftovers, and prevent network timing errors:
- Perform a full restart of your Mac at least once every two weeks.
- Shut down your laptop completely if you won't be using it over a long weekend.
- Allow software updates to complete normally, as they trigger the necessary reboots.
If a full reboot doesn't restore your connection, bring it down to the workshop, and we'll check your internal Wi-Fi card and system routing tables to resolve the issue.
Have a similar problem?
I see these issues daily in my Poole workshop. Start an enquiry to check your options and resolve the issue.