Why NTP still matters even with GPS everywhere
GPS receivers deliver extremely accurate time, but most everyday devices β laptops, phones indoors, IoT sensors, servers in a data center β have no GPS receiver of their own and no clear line of sight to satellites anyway. Instead, they climb the stratum hierarchy: a handful of GPS- or atomic-clock-connected stratum 1 servers distribute time down through a large pool of public and organizational NTP servers, so accurate time reaches virtually every internet-connected device without needing its own reference clock.
A caveat: NTP's precision has real limits
Typical NTP synchronization lands within single-digit to a few tens of milliseconds, which is more than good enough for browsing, authentication, and general logging. Financial trading systems, telecom networks, and scientific instruments that need microsecond- or nanosecond-level precision instead rely on PTP (Precision Time Protocol), a more demanding standard designed for controlled, low-latency networks rather than the open internet. If a project's requirements mention sub-millisecond timing, NTP alone is usually not the right tool.
How to check and fix a drifting clock
On Windows, open the date and time settings and confirm that automatic time is on; the command w32tm /query /status shows the source and last sync. On Linux, timedatectl shows whether the system clock is synchronized, and chronyc tracking reports the current offset when chrony is in use. If sync fails, check that outbound UDP port 123 is open, that DNS resolves the time server name, and that the hardware clock is not wildly off. In virtual machines, the host and guest can fight over time, so use one method of synchronization, not two. On a network you control, point all machines to the same internal source so their logs agree with one another.
Planning for the 2036 rollover
NTP counts seconds in a 32-bit field starting from 1900, which wraps around in 2036. The protocol handles this with an era number, and modern implementations resolve the ambiguity by assuming the time is near their build or current date. Very old embedded devices that cannot be updated may misbehave, so inventory long-lived equipment, such as industrial controllers, before then. This is the same family of problem as the better-known 2038 issue in 32-bit Unix timestamps, but the two are separate.
Frequently Asked Questions
What actually goes wrong if a computer's clock is off?
Common symptoms include certificate errors when visiting otherwise normal HTTPS sites, two-factor authentication (OTP) codes that keep getting rejected as invalid, and difficulty comparing logs from multiple servers in the correct chronological order.
Do smartphones sync time using NTP too?
Yes. Most smartphones automatically sync their clock over the carrier network or the internet whenever an option like "use network-provided time" is enabled in settings. Turning that option off leaves the phone relying solely on its own internal clock, which can gradually drift out of sync.
Is NTP's amplification problem still a concern?
The best-known case came from an old monlist command in ntpd that returned a long list of recent clients, and it was fixed in later software versions. Servers that are updated and configured to answer only their intended clients are far less useful to attackers. Old unpatched devices exposed to the internet remain the risk.
What is the difference between NTP and the clock on my phone's carrier network?
Mobile carriers also broadcast time to phones through the cellular network, and phones may use either that or NTP-style internet sync depending on settings. Both aim at the same UTC time; the carrier signal is often coarser, which is why internet sync is used for finer accuracy.
How many time servers should a client use?
Using at least three or four independent sources lets the client detect and ignore one that is wrong. One server is a single point of failure, and two servers disagree with no way of telling which is right.