Network Time Security

Last updated Apr 24, 2026 (NTS) provides cryptographic security for the client-server mode of the Network Time Protocol (NTP). This allows users to obtain time in an authenticated manner.

Background

The NTS protocol is divided into two phases:

  1. NTS Key Exchange: Establishes the necessary key material between the NTP client and the server, using a Transport Layer Security (TLS) handshake ↗︎ (the same public key infrastructure as the web). Once the keys are exchanged, the TLS channel is closed and the protocol enters the second phase.
  2. NTS Extension Fields for NTPv4: Authenticates NTP time synchronization packets using previously established key material. For more information, refer to RFC 8915 ↗︎.

Next steps

NTS is gaining support in many NTP implementations, including Chrony ↗︎, NTPsec ↗︎, and ntpd-rs ↗︎. Read the relevant documentation for guidance on setting them up to point to our time service, time.cloudflare.com. Also see Netnod's documentation ↗︎ for configuring NTS clients.

Was this helpful?

YesNo

On this page

Network Time Security - 图1Docs

{"@context":"https://schema.org","@type":"TechArticle","@id":"https://developers.cloudflare.com/time-services/nts/#page","headline":"Network Time Security","description":"Secure time synchronization with NTS protocol.","url":"https://developers.cloudflare.com/time-services/nts/","inLanguage":"en","image":"https://developers.cloudflare.com/time-services/nts/og.png?v=f5b833a6c797bb86","dateModified":"2026-04-24","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"}}


description: Authenticated time synchronization with Roughtime protocol. title: Roughtime image: https://developers.cloudflare.com/time-services/roughtime/og.png?v=ce09ce25e23de820


Skip to content

Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/time-services/llms.txt
Use this file to discover all available pages before exploring further.