Cloudflare Docs
Time Services
Edit this page
Give us feedback
Set theme to dark (⇧+D)

Network Time Protocol

Network Time Protocol (NTP) is an Internet protocol designed to synchronize time between computer systems communicating over unreliable and variable-latency network paths. Cloudflare offers its version of NTP for free so you can use our global Anycast network to synchronize time from our closest server.

​​ Background

NTP works by having a client send a query packet out to an NTP server that then responds with its clock time. The client then computes an estimate of the difference between its clock and the remote clock and attempts to compensate for any network delay. The NTP client then queries multiple servers and implements algorithms to select the best estimate.

Cloudflare does not implement leap smearing: NTP includes a Leap Indicator field spec and the kernel will apply the leap second correction at the appropriate time. This is the behavior servers in pool.ntp.org share. Using servers that smear time along with servers that do not may lead to unpredictable and anomalous results.

​​ Next steps

For more background information about NTP, refer to the introductory blog.

To enable NTP on your device, refer to our Usage guide.