---
title: "It’s time to leave the leap second in the past"
description: "Leap seconds do more harm than good for modern computing, and Meta backs an industry push to freeze them at the current 27."
url: "https://swe.quest/articles/it-s-time-to-leave-the-leap-second-in-the-past-9e11ae3896edcf86"
canonical: "https://engineering.fb.com/2022/07/25/production-engineering/its-time-to-leave-the-leap-second-in-the-past/"
source: "Meta Engineering"
published: "2022-07-25"
difficulty: "medium"
kind: "Opinion"
reading_minutes: 6
tags: ["time-clocks","distributed-systems","resilience"]
---

# It’s time to leave the leap second in the past

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2022-07-25, 6 min read, Opinion. Original: [https://engineering.fb.com/2022/07/25/production-engineering/its-time-to-leave-the-leap-second-in-the-past/](https://engineering.fb.com/2022/07/25/production-engineering/its-time-to-leave-the-leap-second-in-the-past/)

## Summary

Leap seconds do more harm than good for modern computing, and Meta backs an industry push to freeze them at the current 27. Inserted seconds produce odd timestamps like 23:59:60, and a never-tested negative leap second could break timers and schedulers. Smearing is not standardized: Meta applies quadratic smearing over 17 hours from 00:00:00 UTC across hundreds of Stratum 2 NTP servers to keep steps small enough that clients don't eject servers from quorum. Further risks include inconsistent leap indicators across GNSS constellations, stale leap files, NTP restarts mid-smear, and code that assumes time never goes backward, as in the Reddit 2012 and Cloudflare 2017 outages.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Time & clocks](https://swe.quest/tags/time-clocks.md) (Distributed systems)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)
- [Resilience](https://swe.quest/tags/resilience.md) (Distributed systems)

## Prerequisites

- NTP basics ([easy posts on Time & clocks](https://swe.quest/tags/time-clocks.md?difficulty=easy))
- UTC and time standards

## Keywords

leap second, NTP, PTP, GNSS, tzdata, UTC, TAI, Time Appliance

## Related posts

- [How Precision Time Protocol handles leap seconds](https://swe.quest/articles/how-precision-time-protocol-handles-leap-seconds-7f6fcf3729d9faf4.md): Meta Engineering · 2025-02-03 · Medium · 3 min read · Time & clocks, Datacenters, Distributed systems
  Meta handles leap seconds for its nanosecond-precision PTP service by self-smearing inside the fbclock library, which shifts its returned Window of Uncertainty {earliest\_ns, latest\_ns} by 1 ns every 62.5 µs.
- [PTP: Timing accuracy and precision for the future of computing](https://swe.quest/articles/ptp-timing-accuracy-and-precision-for-the-future-of-computing-7cb5bf24683b59a5.md): Meta Engineering · 2022-11-21 · Easy · 8 min read · Time & clocks, Datacenters, Networking, Open source
  Meta is rolling out Precision Time Protocol (PTP) across its data centers to replace NTP, moving clock synchronization precision from milliseconds to nanoseconds.
- [How Precision Time Protocol is being deployed at Meta](https://swe.quest/articles/how-precision-time-protocol-is-being-deployed-at-meta-6d56b79aabe69525.md): Meta Engineering · 2022-11-21 · Hard · 27 min read · Time & clocks, Networking, Datacenters, Hardware, Consistency models
  Meta replaced NTP with Precision Time Protocol across its data centers to get nanosecond-level clock sync.
- [Simple Precision Time Protocol at Meta](https://swe.quest/articles/simple-precision-time-protocol-at-meta-1f4dfeb134554941.md): Meta Engineering · 2024-02-07 · Hard · 9 min read · Time & clocks, Networking, Datacenters, Performance engineering
  Simple Precision Time Protocol (SPTP) replaces the subscription-based unicast PTPv2 exchange with a stateless, client-driven three-packet exchange: a delay request (flagged with PTP profile Specific 1), a sync carrying T4, and a followup/announce carrying T1 and CF1.
- [NTS: Authenticated Time at Meta](https://swe.quest/articles/nts-authenticated-time-at-meta-0d90b1c43ed13ad4.md): Meta Engineering · 2026-10-06 · Hard · 11 min read · Time & clocks, Cryptography, Networking, Security
  Meta's public time service now supports NTS (RFC 8915) at nts.meta.com, authenticating NTP responses so clients can detect forged time, a growing concern as TLS certificate lifetimes shrink toward 47 days and renewals become unattended.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
