How Leap Seconds and Time Smearing Affect Unix Time

Written by Raheel Ikram | Updated December 5, 2026 | Reading time: 5 minutes

Most software assumes every minute ends at 59 seconds and every day lasts exactly 86,400 seconds. When an extra second appears at 23:59:60, server clocks jump backward or stall, crashing databases and network routers across the internet.

Why Leap Seconds Exist in UTC

Atomic clocks measure International Atomic Time (TAI) with extreme steadiness. However, Earth rotation (UT1) slows down unevenly due to ocean tides and geological shifts. To keep civil UTC clocks within 0.9 seconds of solar noon, timekeepers introduced leap seconds in 1972.

Between 1972 and December 31, 2016, scientists inserted 27 positive leap seconds into UTC. Because UTC already trailed TAI by 10 seconds in 1972, UTC currently runs 37 seconds behind TAI. You can review the full historical table at the NIST Leap Second archive.

The Conflict With POSIX Unix Timestamps

By strict definition, POSIX Unix time ignores leap seconds. Every Unix day must measure exactly 86,400 seconds. When a leap second happens on a standard Linux server, the kernel repeats the same Unix timestamp integer twice in a row. That backward jump creates severe software bugs:

How Leap Smearing Solves Clock Jumps

Instead of stepping clocks backward at midnight, large cloud providers such as Google and AWS use leap smearing. During a leap second event, NTP servers run slightly slower over a 12-hour or 24-hour window, spreading the extra 1,000 milliseconds smoothly across millions of ticks. Clocks stay monotonic and never move backward.

The 2026 CGPM Decision on Future Leap Seconds

Because leap seconds disrupt satellites and cloud infrastructure, international timekeepers voted to retire frequent adjustments. On October 15, 2026, the General Conference on Weights and Measures (CGPM) voted to raise the allowed gap between UT1 and UTC from 0.9 seconds to 3,600 seconds (one hour) starting May 20, 2027. That change pauses new leap seconds for centuries and keeps UTC continuous for software engineers.

About the Author: Raheel Ikram

Creator of Timestamp Converter, writing practical guides on timekeeping, SQL schema design, and web utilities. Read full bio.