Fact-checked by Grok 2 weeks ago

Leap second

A leap second is a one-second adjustment occasionally inserted into or removed from (UTC) to account for the gradual slowing of and maintain synchronization between atomic time and , keeping the difference between UTC and UT1 (a measure of ) within ±0.9 seconds. This discrepancy arises because the mean solar day is slightly longer than 86,400 seconds as defined by the cesium-based atomic second, due to and other geophysical effects that cause to decelerate over time. UTC, established in 1972, combines the precision of (TAI) with leap second corrections to ensure civil time remains aligned with astronomical observations for applications like and astronomy. The concept of the leap second emerged from international agreements in the and to resolve inconsistencies between (based on ) and atomic time, with the first leap second implemented on June 30, 1972. Since inception, 27 positive leap seconds have been added to UTC—typically at irregular intervals averaging about one every 18 months initially but less frequently in recent decades—with the last occurring on December 31, 2016, making UTC 37 seconds behind (the fixed offset of 10 seconds plus 27 leap seconds). These insertions are determined by the International Earth Rotation and Reference Systems Service (IERS), which monitors using and other techniques, announcing decisions about six months in advance via Bulletin C. No leap seconds have been added since 2016, partly due to a temporary speedup in observed in recent years, which has even raised the possibility of a negative leap second in the distant future, though none has occurred. Leap seconds are inserted at the conclusion of either June 30 or December 31 (), extending the final minute of the day to 61 seconds by adding a 23:59:60 UTC, after which the clock advances to 00:00:00 the next day. This procedure, coordinated globally through broadcasts and GPS, ensures minimal disruption, though it requires updates to timekeeping systems worldwide. However, the irregular nature of leap seconds has caused technical challenges, including software bugs and issues in , , and infrastructure. Ongoing debates about the leap second's practicality have led to international efforts to phase it out; in November 2022, the 27th General Conference on Weights and Measures (CGPM), convened by the International Bureau of Weights and Measures (BIPM), adopted Resolution 4 calling for the suppression of leap seconds no later than 2035, after which UTC would drift gradually from UT1 (approximately 80 seconds by 2135) without discontinuous adjustments, relying instead on periodic offsets if needed for solar alignment. This change aims to enhance the stability of global time standards for modern digital systems while preserving the benefits of atomic precision.

Fundamentals

Definition and Purpose

A leap second is an intercalary adjustment of one second added to or subtracted from (UTC) to keep it within 0.9 seconds of Universal Time 1 (UT1). This mechanism ensures that UTC, which is based on (TAI) adjusted by leap seconds, remains synchronized with the irregular rotation of the as measured by UT1. The primary purpose of leap seconds is to preserve UTC as a practical that closely approximates mean for applications in astronomy, , and civil life, while upholding the uniform precision of clocks. Without such adjustments, the steady drift caused by atomic time running faster than would cause to diverge from solar events, such as day length and seasonal cycles. Leap seconds were first introduced in 1972 to counteract the discrepancies emerging from the adoption of time standards over tied to . For instance, by incorporating leap seconds, UTC maintains the alignment where 12:00:00 noon UTC approximates solar noon at the Greenwich meridian.

Relation to Time Standards

International Atomic Time (TAI) serves as a continuous time scale based on the uniform second defined by cesium atomic clocks, providing a stable reference without interruptions for astronomical adjustments. Coordinated Universal Time (UTC) builds upon TAI by incorporating leap seconds to align with solar time, while Universal Time 1 (UT1) represents the irregular rotation of Earth, measured through astronomical observations. The precise relationship between these scales is UTC = TAI − (10 + LS), where 10 seconds is the fixed offset established on January 1, 1972, when UTC was initialized, and LS denotes the cumulative number of leap seconds inserted into UTC since then. As of November 2025, 27 leap seconds have been inserted, resulting in a current difference of TAI − UTC = 37 seconds. This adjustment ensures UTC remains synchronized with UT1 within a tolerance of ±0.9 seconds, preventing excessive drift between atomic and astronomical time. Leap seconds are governed internationally by the (ITU), which sets the standards for dissemination, and the International Earth Rotation and Reference Systems Service (IERS), which monitors and announces necessary insertions approximately six months in advance. The IERS calculates the UT1−UTC difference using data from global observatories to maintain the ±0.9-second limit, ensuring UTC's reliability as a hybrid scale. UTC, with its leap second mechanism, forms the foundation for civil timekeeping worldwide, serving as the legal standard in most countries for daily schedules, contracts, and official records. It is also essential for broadcasting time signals via radio and satellite systems, enabling precise coordination in telecommunications and navigation.

Historical Development

Origins and Early Proposals

The recognition of Earth's irregular rotation dates back to observations of tidal friction and geophysical events that cause variations in the length of the day, prompting the need for a more uniform time scale independent of rotation. In the early 20th century, astronomers noted that the mean solar day was not constant due to these factors, leading to proposals for a new standard based on Earth's orbital motion rather than rotation. In 1952, the International Astronomical Union (IAU) adopted Ephemeris Time (ET), proposed by figures such as André Danjon and Gerald Clemence, as a uniform scale defined by the tropical year at 1900.0, intended to replace Universal Time for scientific ephemerides while maintaining alignment with solar phenomena. The 1960s marked a pivotal shift with the development of highly precise atomic clocks, beginning with Louis Essen's construction of the first practical cesium beam atomic clock in 1955 at the National Physical Laboratory in the UK, which achieved unprecedented stability compared to astronomical timekeepers. This innovation enabled the calibration of atomic time against astronomical standards, highlighting the superior uniformity of atomic seconds over Earth's variable rotation. In 1967, the 13th General Conference on Weights and Measures (CGPM) defined the SI second in terms of the cesium-133 hyperfine transition, establishing the foundation for International Atomic Time (IAT), a precursor to TAI computed from multiple atomic clocks starting in October 1967. Debates at the 1967-1968 CGPM centered on reconciling the precision of atomic time with the need for civil time to remain aligned with solar day lengths, weighing scientific accuracy against practical synchronization with noon. By 1970, the (ITU) Radiocommunication Sector recommended an adjustable (UTC) scale, incorporating atomic seconds while allowing leap second insertions to keep UTC within 0.1 seconds of , addressing the growing divergence between atomic and astronomical time. This proposal built on Essen's suggestions for occasional adjustments to maintain phase between the two systems. In the late , initial trials involved ephemeral step adjustments of up to 0.1 seconds and slight variations in second length (frequency numbering) in international radio broadcast signals, such as those from the UK and US, to coordinate time transmissions and keep signals aligned with without disrupting uniformity. These experiments paved the way for the formal leap second mechanism adopted in 1972.

Implementation Timeline and List

The leap second system was officially adopted on January 1, 1972, establishing (UTC) with an initial 10-second offset from (TAI) to align civil time with Earth's rotation while maintaining atomic precision. The first adjustment occurred shortly thereafter, marking the start of periodic insertions to account for discrepancies. Since 1972, 27 positive leap seconds have been inserted into UTC, with the most recent on , 2016, bringing the total TAI-UTC difference to 37 seconds. No further insertions have occurred as of November 2025. The complete list of insertion dates and corresponding cumulative TAI-UTC offsets is as follows:
Insertion DateTAI-UTC (seconds)
1972-06-3011
1972-12-3112
1973-12-3113
1974-12-3114
1975-12-3115
1976-12-3116
1977-12-3117
1978-12-3118
1979-12-3119
1981-06-3020
1982-06-3021
1983-06-3022
1985-06-3023
1987-12-3124
1989-12-3125
1990-12-3126
1992-06-3027
1993-06-3028
1994-06-3029
1995-12-3130
1997-06-3031
1998-12-3132
2005-12-3133
2008-12-3134
2012-06-3035
2015-06-3036
2016-12-3137
These insertions follow international agreements coordinated by the International Earth Rotation and Reference Systems Service (IERS), with all occurring at the end of either or UTC, typically at 23:59:59 to create a 23:59:60 second. Early in the system, insertions happened almost annually from 1972 to 1979, but intervals have since lengthened, with gaps of several years becoming more common, reflecting the gradual slowing of . In July 2025, the IERS issued Bulletin C 70, announcing no leap second would be introduced at the end of December 2025, continuing the pause observed since 2016.

Scientific Basis

Earth's Rotational Variations

is not uniform, exhibiting both long-term secular changes and short-term fluctuations that cause deviations from the steady progression of time scales. The primary long-term cause of rotational slowing is friction resulting from the gravitational interaction between and the . This friction dissipates , transferring it to the Moon's orbit and gradually lengthening Earth's day by approximately 2.3 milliseconds per century. The approximate change in length of day () due to these effects can be expressed as: \Delta \mathrm{LOD} \approx +2.3 \, \mathrm{ms/cy} Short-term variations in Earth's rotation, occurring on timescales of days to years, arise from geophysical and atmospheric processes. Changes in atmospheric winds and pressure systems redistribute angular momentum between the atmosphere and solid Earth, causing fluctuations in the LOD of up to several milliseconds. Ocean currents and bottom pressure variations contribute similarly by altering mass distribution and momentum exchange with the solid Earth. Additionally, large earthquakes can produce abrupt shifts, such as the 2011 Tohoku event, which shortened the day by about 1.8 microseconds through mass redistribution. These rotational irregularities are precisely measured to track Earth's orientation relative to the stars. UT1, which reflects Earth's actual rotation, is determined using (VLBI) that correlates radio signals from distant quasars observed by global networks of antennas. (SLR) to geodetic satellites complements VLBI by providing high-precision distance measurements that inform and UT1 variations. The observed long-term deceleration rate, accounting for all effects, results in Earth's days lengthening by about 1.7 milliseconds per century, a rate lower than the tidal prediction due to counteracting influences like . This cumulative divergence from atomic time necessitates periodic adjustments to maintain synchronization between and .

UTC-UT1 Synchronization

The International Earth Rotation and Reference Systems Service (IERS) monitors the difference between (UT1), which tracks , and (UTC), the atomic time standard, to maintain synchronization within specified limits. This difference, known as DUT1 and defined as DUT1 = UT1 - UTC, arises from variations in Earth's rotational speed relative to atomic clocks. The IERS ensures that |DUT1| remains less than or equal to 0.9 seconds by periodically evaluating current and predicted values. Monitoring relies on precise observations collected from a of space geodetic techniques operated by international institutions. These include (VLBI) for high-accuracy angular measurements of quasars, (SLR) for tracking satellite orbits, Global Navigation Satellite Systems (GNSS) such as GPS for continuous positioning data, and Doppler Orbitography and Radiopositioning Integrated by Satellite (DORIS) for orbit determination. The IERS combines these datasets through least-squares adjustment to compute orientation parameters, including UT1-UTC values, with uncertainties typically below 0.1 milliseconds for recent epochs. IERS Bulletin C, issued semiannually, publishes UT1-UTC values at 0h UT for the first day of each month over the preceding six months, serving as the official record for synchronization assessments. Predictions of future UT1-UTC are generated weekly by the IERS Rapid Service/Prediction Centre using statistical models that incorporate historical data, atmospheric forecasts, and seasonal variations, extending 6 to 12 months ahead. These forecasts, detailed in IERS Bulletin A, enable proactive of whether DUT1 will approach the ±0.9-second at the end of or December, the preferred insertion points for leap seconds. If predictions indicate that |DUT1| will exceed 0.9 seconds without adjustment, the IERS initiates the process for a leap second insertion to realign the scales. Upon insertion of a positive leap second, UTC is incremented by one second at the specified UTC , effectively reducing DUT1 by approximately one second and resetting it near zero. Mathematically, if a leap second is added, the new UTC (UTC') relates to the old UTC as: \text{UTC}' = \text{UTC} + 1 \, \text{s} Thus, the updated DUT1 becomes: \text{DUT1}' = \text{UT1} - \text{UTC}' \approx (\text{UT1} - \text{UTC}) - 1 \, \text{s} = \text{DUT1} - 1 \, \text{s} This adjustment prevents the cumulative drift from surpassing the tolerance, maintaining the close alignment between astronomical and civil time. For negative leap seconds, the process would subtract one second from UTC if DUT1 approaches -0.9 seconds, though none have been required to date.

Operational Mechanics

Announcement Process

The announcement of leap seconds is the responsibility of the International Earth Rotation and Reference Systems Service (IERS), specifically through its Rapid Service/Prediction Center, which monitors 's rotation and determines when adjustments are needed to maintain synchronization between (UTC) and 1 (UT1). This decision aligns with the framework established by the (ITU) in its recommendations for UTC, such as ITU-R TF.460, which specifies the leap second mechanism to keep the difference between UTC and UT1 within ±0.9 seconds. The IERS issues its announcements biannually via Bulletin C, typically in and , providing at least six months' notice for any leap second insertion at the end of June or December. Bulletin C explicitly states whether a leap second will be added (or, in recent cases, not added), based on predictions of UT1-UTC differences derived from observations by global networks of , , and global navigation satellite systems. Once announced, the information is disseminated globally through multiple channels to ensure timely updates in timekeeping systems. The official text of Bulletin C is published on the IERS website and distributed via to subscribers, while the leap second details are incorporated into the IANA database as the leap-seconds.list file, which systems like POSIX-compliant operating systems reference for adjustments. Additionally, (NTP) servers propagate the announcement using a leap indicator bit in their synchronization messages, allowing client devices to prepare for the insertion without manual intervention. A notable example is the July 2016 announcement in IERS Bulletin C 52, which specified a positive leap second insertion at the end of , 2016, UTC, to address accumulating rotational lag. More recently, IERS Bulletin C 70, issued on July 7, , confirmed no leap second would be introduced at the end of , reflecting stable Earth rotation trends at that time.

Insertion and Adjustment Techniques

Leap seconds are inserted into (UTC) at the conclusion of 30 June or 31 December, precisely at the transition following 23:59:59 UTC, resulting in the designation 23:59:60 UTC for a positive adjustment. This addition ensures that UTC remains closely aligned with UT1, the solar-based time scale, by extending the final minute of the day to 61 seconds. The sequence proceeds from 23:59:59 to 23:59:60, followed immediately by 00:00:00 UTC on the subsequent day. For a negative leap second, which would shorten the UTC day, the clock would advance directly from 23:59:58 UTC to 00:00:00 UTC, effectively omitting 23:59:59 and contracting the final minute to 59 seconds. Although provisioned in international standards, no negative leap second has been implemented to date. These insertion techniques are formally specified in , which outlines the maintenance of UTC through periodic adjustments to account for Earth's irregular rotation. In time signal broadcasts, such as those from radio stations disseminating UTC, the leap second is handled by prolonging the for the full duration of the added second, ensuring receivers experience a continuous extension without abrupt interruptions. For instance, during a positive leap second, the broadcast markers—such as the audio tones or pulses—are emitted over 61 seconds for the affected minute, maintaining synchronization for listeners and automated systems. In POSIX-compliant operating systems, leap seconds are managed through the tzdata database, which incorporates a historical of leap second occurrences to enable accurate time conversions and adjustments in software applications. To date, all 27 leap seconds introduced since have been positive insertions, with the most recent occurring on 31 December 2016; no negative adjustments have been required or applied as of 2025.

Future Prospects

Since 2020, observations have indicated that has accelerated, resulting in days that are slightly shorter than the nominal 86,400 seconds. This trend, monitored by the Earth Rotation and Reference Systems Service (IERS), has led to several record-short days, including July 9, 2025, when the length of day was approximately 1.42 milliseconds shorter than average. Such variations are attributed to factors including changes in atmospheric and core dynamics, though the exact causes remain under by IERS and related bodies. In July 2025, the IERS announced through its Bulletin C that no positive leap second would be introduced at the end of December 2025, reflecting the current stability in the UT1-UTC difference, which stood at approximately +0.05 seconds in early 2025 and has been increasing gradually. This decision aligns with the ongoing faster rotation, which has prevented the difference from exceeding the +0.9-second threshold requiring adjustment. As of November 2025, IERS data show UT1-UTC around +0.15 seconds and increasing gradually. Predictions based on IERS forecasts and geophysical models suggest no positive leap second will be needed until at least 2029, as the acceleration persists and the UT1-UTC difference trends toward positive values, approaching the +0.9-second threshold. If this pattern holds, the first negative leap second could be required by 2029 to maintain synchronization between UTC and UT1. A 2023 study published in Nature, analyzing geophysical models including climate effects, supports this projection if the speedup continues. These developments highlight a departure from the long-term historical slowing of Earth's rotation due to tidal interactions with the Moon.

Elimination and Reform Proposals

In 2011, the (ITU) considered a proposal to discontinue the addition of leap seconds to (UTC) after 2035, driven by growing concerns about the irregular insertions causing disruptions in computing systems, telecommunications infrastructure, and financial networks that rely on precise, uninterrupted timing. These disruptions have included software bugs, such as the 2012 leap second leading to errors in systems like the Australian Securities Exchange and airline operations. Proponents of elimination argue that a continuous UTC scale would streamline global synchronization, eliminating the need for complex software patches and reducing the risk of failures in distributed systems, including GPS, internet protocols, and satellite communications. Critics, particularly from the astronomy and communities, counter that removing leap seconds would allow UTC to diverge from UT1 (solar-based time), gradually misaligning with Earth's rotation and affecting observations in positional astronomy, , and legal definitions tied to mean ; projections indicate this drift could accumulate to about 1 hour by the year 2700 under continued rotational slowing. Significant progress occurred in 2022 when the General Conference on Weights and Measures (CGPM), under the International Bureau of Weights and Measures (BIPM), adopted Resolution 4 to cease leap second insertions by 2035, allowing |UT1 - UTC| to exceed 0.9 seconds while maintaining UTC as the reference scale. As of November 2025, this resolution received final endorsement at the ITU's World Radiocommunication Conference (WRC-23) in 2023, confirming the transition to a continuous UTC without further adjustments starting no later than 2035, subject to a review period for implementation challenges. Alternative reform approaches have included "smearing" the leap second effect by gradually distributing the adjustment over approximately 18 months—effectively slowing or speeding clocks imperceptibly—to mitigate discontinuities in affected systems, as trialed by since 2011. Another option involves fully redefining UTC as (TAI) minus a fixed offset, without ongoing rotational corrections, to prioritize stability over solar alignment.

Negative Leap Second Considerations

A negative leap second involves the omission of the second 23:59:59 from (UTC), effectively shortening a minute to 59 seconds and aligning atomic time more closely with Earth's accelerated rotation. This adjustment has been theoretically possible under (ITU) recommendations since the inception of leap seconds in , but it gained practical consideration in the 2020s as observations of Earth's rotational speedup intensified. Unlike positive leap seconds, which insert an extra second (23:59:60), a negative leap second would occur at the end of a designated month, preferably or , following announcement by the International Earth Rotation and Reference Systems Service (IERS) at least eight weeks in advance. The primary trigger for a negative leap second is the UT1-UTC difference approaching +0.9 seconds, indicating that has advanced sufficiently ahead of time to require correction and maintain the bound of |UT1-UTC| ≤ 0.9 seconds. As of mid-2025, the UT1-UTC value hovers around +0.1 to +0.2 seconds, influenced by recent short-day records, such as July 9, 2025, when completed a 1.3 to 1.6 milliseconds faster than the nominal seconds. Projections based on a continued drift rate of approximately 0.09 seconds per year suggest that a negative leap second could become necessary as early as , assuming the current acceleration persists without reversal. The IERS's March 2025 workshop, jointly organized with the Consultative Committee for Time Scales (CCTF), specifically addressed these projections, highlighting the need for preparedness in global timekeeping systems. Implementing a negative leap second poses significant challenges, primarily due to its untested nature and the asymmetry in existing software infrastructures, which predominantly accommodate only positive insertions. Many protocols, such as (NTP) implementations and financial trading systems, assume monotonic time progression and may encounter errors like duplicate timestamps or desynchronization when a second is skipped, potentially amplifying disruptions beyond those observed with positive leap seconds, such as the 2012 leap second-related outages in and systems. Although ITU rules explicitly permit negative adjustments, no such event has occurred, leaving compatibility unverified across like GPS and power grids. The prospect of a negative leap second has intensified debates on the sustainability of the current UTC framework, accelerating calls to eliminate leap seconds entirely by 2035 as proposed in ongoing discussions. In , IERS analyses attributed the rotational speedup to a combination of climate-driven mass redistribution—such as accelerated melting of and ice sheets shifting water toward lower latitudes—and geophysical processes, including fluctuations in Earth's molten core dynamics. These factors, compounded by , have reversed the long-term deceleration trend, prompting experts to view negative leap seconds as a potential interim measure rather than a routine adjustment.

Technical Issues

Computational and Sequence Errors

Leap seconds introduce discontinuities in Coordinated Universal Time (UTC) by inserting an additional second, denoted as 23:59:60, which disrupts the monotonic progression of time that many computational systems assume. This non-monotonic behavior can result in off-by-one errors, where timestamps that should sequence chronologically instead appear out of order or duplicate, particularly in applications relying on strict time ordering for event processing. For instance, during the leap second, the insertion of the leap second (23:59:60) after 23:59:59 can lead to potential missequencing of events logged around that transition if not properly handled by the system. A prominent example of such errors occurred on , 2012, when the insertion of a leap second triggered the "Leap Second Bug" in certain versions (2.6.26 to 3.10), causing high CPU usage and system outages. The bug stemmed from improper handling of the repeated second in the kernel's high-resolution timer (hrtimer) subsystem and (fast user-space mutex) implementation, resulting in infinite loops in affected applications, including Java-based services at companies like and . Similar sequencing issues have been reported in satellite orbit calculations, where GNSS receivers may experience timing irregularities if does not account for the leap second offset, potentially leading to positional errors in . In financial trading systems, these discontinuities pose risks of missequenced trades; for example, during the anticipated 2015 leap second, regulators warned that unhandled leap seconds could cause timestamp mismatches, potentially invalidating high-frequency trades or triggering erroneous compliance alerts. Computational challenges also arise in handling seconds modulo 60, as standard algorithms expecting values from 0 to 59 may fail or produce incorrect results when encountering the 60th second, exacerbating errors in time parsing and validation routines. To mitigate calculation errors, systems often adjust timestamps by adding the cumulative number of leap seconds since the Unix epoch (January 1, 1970), using the formula t_{\text{adjusted}} = t + n, where t is the Unix timestamp (which ignores leap seconds) and n is the total leap seconds elapsed up to the reference time (e.g., 37 as of 2025). This adjustment ensures accurate conversion between monotonic Unix time and discontinuous UTC, but improper implementation can still lead to cumulative drifts in long-term interval measurements. These errors significantly impact databases, event logs, and distributed systems that presume continuous, monotonically increasing time for querying, replication, and synchronization. For example, in distributed ledgers or audit trails, a leap second can cause apparent time reversals, complicating causal ordering and leading to data inconsistencies or failed transactions across nodes.

Representation Challenges

One significant challenge in representing leap seconds arises in textual formats, where the standard permits the notation 23:59:60 to denote the inserted second at the end of a minute, allowing precise encoding of UTC timestamps during leap events. However, many date-time parsers and libraries do not fully support this representation, often treating it as invalid or omitting it entirely, which can result in parsing errors, skipped timestamps, or incorrect time conversions when leap seconds occur. In binary formats, —defined as the number of seconds elapsed since the on January 1, 1970—fundamentally ignores leap seconds as per the standard for the time_t type, leading to a gradual drift from actual UTC as cumulative leap seconds accumulate (currently 37 since 1972). This omission ensures consistent integer counting but requires external adjustments; documentation recommends applying offsets based on (TAI) to reconcile with UTC, where TAI-UTC equals the total leap seconds inserted. Relevant standards address these issues to varying degrees: the Network Time Protocol (NTP) specification in RFC 5905 incorporates a 2-bit leap indicator in packet headers to warn of impending insertions or deletions in the last minute of the day, enabling synchronized systems to prepare for representation shifts. Complementing this, the International Earth Rotation and Reference Systems Service (IERS) maintains an official list of historical leap second insertion dates and cumulative TAI-UTC offsets, published in Bulletin C, which software can reference to compute accurate conversions without real-time computation. Practical examples illustrate these challenges: the Date object, which relies on Unix time internally, explicitly ignores leap seconds and mishandles 23:59:60 by parsing it as the subsequent second (00:00:00) or rejecting it, potentially causing discrepancies in web applications tracking precise UTC events. Similarly, the 2012 leap second insertion exposed unhandled representation issues in various systems, leading to crashes such as kernel panics in older versions and application failures due to unexpected time jumps or loops in time-dependent logic.

System Implementation Disparities

The (GPS) maintains a continuous timescale known as GPS Time, which does not incorporate leap second adjustments and thus drifts relative to (UTC) by the cumulative number of leap seconds inserted since 1980. This design choice ensures uninterrupted satellite operations but requires GPS receivers to apply leap second corrections locally when converting to UTC, leading to potential discrepancies in hybrid systems that integrate GPS with UTC-dependent networks. Implementation inconsistencies across network hardware have caused notable disruptions during past leap second insertions. For instance, in 2012, a leap second triggered a bug in Linux-based systems, resulting in the outage of Airways' reservation platform and delays for thousands of passengers, as the software failed to properly process the extended UTC minute. Similarly, various routers and servers experienced sporadic failures in 2015 due to unhandled leap second events, affecting over 2,000 networks worldwide and highlighting vulnerabilities in embedded that do not anticipate irregular day lengths. Differences in how operating systems manage leap seconds via (NTP) daemons exacerbate these disparities. Linux NTP implementations typically insert the leap second as a step adjustment at the designated UTC midnight, maintaining synchronization with upstream servers, whereas older Windows Time services prior to 2018 updates often ignored leap announcements, causing clocks to run one second ahead of UTC post-insertion and leading to desynchronization in mixed environments. Legacy systems pose additional challenges by hardcoding assumptions of exactly seconds per day, which breaks during leap second events and can result in timestamp overflows or repeated processing of the final second in time-sensitive applications like financial trading or . The IEEE 1588 (PTP), while enabling sub-microsecond synchronization in distributed networks, does not mandate leap second handling in its core specification, leaving it to optional in devices such as controllers, which may propagate errors across interconnected systems. These variations have broader implications for global infrastructure, particularly in where networks often pause operations to step-adjust for the leap second, contrasting with clusters that employ smearing techniques to gradually distribute the adjustment over hours and avoid abrupt halts. As of 2025, the proliferation of (IoT) devices—projected to exceed 21 billion globally—raises concerns about unpatched legacy firmware in resource-constrained sensors and edge devices, which may mishandle future leap seconds, including potential negative ones, leading to issues in applications like smart grids and autonomous navigation.

Mitigation Approaches

Software and Protocol Adaptations

One prominent technique for mitigating leap second disruptions is leap smearing, which distributes the extra second gradually over an extended period rather than applying it abruptly. implemented leap smearing in its public NTP servers starting in 2012, adjusting the clock rate by approximately 1 part in 86,400—effectively lengthening each second by about 11.6 microseconds—over a 24-hour window from 12:00:00 UTC on the day of the leap second insertion to 12:00:00 UTC the next day. (AWS) adopted a similar approach around the same time, smearing the leap second over a full 24-hour period by stretching each second slightly, with adjustments starting 12 hours before and continuing 12 hours after the insertion to maintain smooth time synchronization for EC2 instances and other services. This method prevents the clock from jumping, avoiding issues like duplicate timestamps or sequence errors in distributed systems. Software libraries play a crucial role in tracking leap second offsets and integrating them into applications. The NTP library (libntp), part of the Network Time Protocol implementation, supports leap second processing by parsing leap second files and applying adjustments during synchronization, ensuring clients receive notifications of pending insertions via the protocol's leap indicator bits. For real-time access to leap second bulletins, applications can query IERS data through programmatic interfaces like the Astropy iers package, which downloads and parses the official Leap_Seconds.dat file to provide up-to-date offset values relative to TAI. Protocol adaptations extend these capabilities to network-level time . NTP version 4 (NTPv4) includes a built-in leap smearing option, introduced in versions 4.2.8p3 and 4.3.47, where servers apply a configurable offset ramp to client timestamps, gradually accumulating the leap second over a user-defined interval (defaulting to 24 hours) to mask the discontinuity. Best practices for software implementation emphasize robust internal handling to minimize disruptions. Developers are advised to maintain internal clocks on the scale, which excludes leap seconds for continuous monotonicity, and perform UTC conversions only at the point of output or user-facing display to avoid propagation of irregularities. Systems should be tested for support of the 23:59:60 timestamp, simulating the leap insertion to verify that logging, databases, and schedulers process the extended minute without errors, as recommended by NIST guidelines for pre-event validation. These approaches address disparities in system implementations, such as those causing crashes in unpatched kernels during past events.

Alternative Synchronization Methods

International Atomic Time (TAI) serves as a primary alternative synchronization method, providing a continuous timescale without leap second adjustments, making it ideal for high-precision applications in physics and . TAI is realized by averaging readings from over 400 worldwide, ensuring stability at the level of about 1 second in 3 million years. As of November 2025, TAI maintains a fixed offset of 37 seconds ahead of UTC, reflecting the cumulative leap seconds inserted since 1972. In space applications, TAI is used for synchronizing experiments, such as the Atomic Clock Ensemble in Space (ACES) mission on the , which compares onboard cold-atom clocks to ground-based TAI to test with unprecedented accuracy. GPS time offers another leap-second-free approach, established as a continuous count of seconds since the GPS at 00:00 UTC on 6 , without subsequent adjustments for irregularities. As of November 2025, GPS time is 18 seconds ahead of UTC, a difference that grows with each leap second added to UTC. GPS receivers maintain to this timescale for and positioning, while deriving information, such as the difference DUT1 (UT1 - UTC), from broadcast data to support applications requiring alignment. In astronomy, the International Celestial Reference System (ICRS) relies on continuous time scales for precise positional measurements of celestial objects, typically using (TT), which is TAI plus a fixed 32.184-second offset to account for historical definitions. Looking ahead, international agreements propose evolving UTC into a "UTC without leaps" starting no later than 2035, where the timescale would run continuously like TAI, allowing |UT1 - UTC| to reach up to 0.9 seconds before rare, larger adjustments (potentially minutes) to realign with . The European Union's Galileo Global Navigation Satellite System (GNSS) exemplifies this continuity with its Galileo System Time (), a steered atomic scale aligned to UTC at its 1999 epoch but unadjusted for leap seconds thereafter, as of November 2025 offset by 18 seconds from UTC; some receiver implementations apply leap second smearing—gradually distributing the adjustment over hours—to mitigate disruptions during UTC updates. These alternatives prioritize uninterrupted precision for scientific and technical operations but introduce trade-offs for broader use: while offering sub-nanosecond without leap-induced discontinuities, they necessitate explicit conversions to UTC for civil timekeeping, involving fixed offsets and, in cases like GPS, additional computation of parameters such as DUT1 to approximate mean . UTC itself relates to these scales as minus the leap second total, ensuring approximate alignment with UT1 within 0.9 seconds.

References

  1. [1]
    leap second - Glossary | CSRC
    A second added to Coordinated Universal Time (UTC) to make it agree with astronomical time to within 0.9 second.
  2. [2]
    Leap Second - EO | USNO
    This is an effect which causes the Earth's rotational time to slow with respect to the atomic clock time. Since it has been more than 1 century since the ...
  3. [3]
    Leap second and UT1-UTC information | NIST
    The first leap second was inserted into the UTC time scale on June 30, 1972. Leap seconds are used to keep the difference between UT1 and UTC to within ±0.9 s.
  4. [4]
    [PDF] The leap second: its history and possible future
    Abstract. This paper reviews the theoretical motivation for the leap second in the context of the historical evolution of time measurement.
  5. [5]
    Everyday Time and Atomic Time: Part 5 | NIST
    Apr 28, 2021 · The name of the leap second is 23:59:60, and it is generally added on the last day of June or December whenever the difference between atomic ...
  6. [6]
    [PDF] Best Practices for Leap Second Event Occurring on 31 December ...
    Dec 31, 2016 · Information to prepare for the upcoming Leap Second;. • Steps to resolve any operational issues;. • Guidance for reporting Leap Second related ...
  7. [7]
    Resolution 4 of the 27th CGPM (2022) - BIPM
    ... leap second, which do not follow any agreed standards,; the implementation of these different uncoordinated methods threatens the resilience of the ...Missing: abolition | Show results with:abolition
  8. [8]
    BIPM technical services: Time Metrology
    ... leap seconds according to the advice of the International Earth Rotation and Reference Systems Service (IERS) to ensure approximate agreement with the time ...
  9. [9]
    What is a leap second? - NPL - National Physical Laboratory
    What is a leap second? An occasional leap second adjustment ensures our clocks reflect the Earth's rotation speed as accurately as possible.
  10. [10]
    Leap Seconds - CNMOC
    Historically, the second was defined in terms of the rotation of the Earth as 1/86,400 of a mean solar day. · the fraction 1/31,556,925.9747 of the tropical year ...
  11. [11]
    Leap Seconds FAQs | NIST
    Sep 16, 2024 · Usually leap seconds are added when UTC is ahead of UT1 by 0.4 seconds or more. At the time the corrections started in 1972, a necessary ...
  12. [12]
    [PDF] The relationships between The International Astronomical Union ...
    The unit of time, the second, was defined as the fraction 1/86 400 of the mean solar day. The exact definition of "mean solar day" was left to astronomers (cf.<|control11|><|separator|>
  13. [13]
    [PDF] Role of the IERS in the leap second - ITU
    What is the IERS? • The International Earth Rotation and Reference Systems. Service (IERS) provides the following to the international scientific communities ...
  14. [14]
    Ephemeris Time (Chapter 6) - Time: From Earth Rotation to Atomic ...
    Oct 1, 2018 · The discovery of the variability of the Earth's rotation rate called for a uniform timescale for ephemerides and other scientific purposes.
  15. [15]
    [PDF] ephemeris time - Lick Observatory
    Ephemeris Time (ET) is based on the sidereal year at 1900.0, used when the mean solar second is unsatisfactory due to variability.
  16. [16]
    [PDF] The leap second: its history and possible future
    The periodic insertion of a leap second step into the scale of Coordinated Universal Time. (UTC) necessitates frequent changes in complex timekeeping systems ...
  17. [17]
    Louis Essen: Time lord of precision atomic clocks - SPIE
    Mar 1, 2023 · Essen and others suggested keeping astronomical time in phase with the more accurate atomic time by adding an occasional leap second.
  18. [18]
    The atomic clocks of the Greenwich Time Service
    In October 1967 an international atomic time scale (IAT) began to be computed for the first time from the independent atomic time scales of seven of the world' ...
  19. [19]
    Plots of the time dilemma
    The number of leap seconds which must be inserted into UTC is proportional to the shaded area under the curve.
  20. [20]
    The pros and cons of leap seconds | Physics Today - AIP Publishing
    Nov 1, 2006 · A recommendation proposed by the International Telecommunication Union (ITU) Radiocommunication Sector in 1970 and subsequently incorporated ...
  21. [21]
    The Future of Time: UTC and the Leap Second | American Scientist
    This article explores a proposal in circulation today to eliminate leap seconds, which are adjustments to atomic-clock timekeeping that keep civil time ...
  22. [22]
    Time Scales, UTC, and Leap Seconds - IEEE UFFC
    The introduction of leap seconds will permit a good clock to keep approximate step with the sun.Missing: noon | Show results with:noon
  23. [23]
    Leap Second Announcement - EO | USNO
    NO leap second will be introduced at the end of December 2025. The last leap second was positive and WAS introduced in UTC at the end of December 2016.Missing: July | Show results with:July
  24. [24]
    IERS Bulletin C 70
    Leap seconds can be introduced in UTC at the end of the months of December or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every six ...
  25. [25]
    iersexp.sup - USNO - Navy.mil
    Predictions of x, y, UT1-UTC daily up to 360 days following the last day of data in Section 4, smoothed daily values of celestial pole offsets. Table 2 ...
  26. [26]
    Bulletin C - Product metadata
    Leap seconds can be introduced in UTC at the end of the months of December or June, depending on the evolution of UT1-TAI. Bulletin C is mailed every six months ...<|control11|><|separator|>
  27. [27]
    [PDF] The IERS EOP 14C04 solution for Earth orientation ... - HAL
    Apr 30, 2024 · IERS EOP C04 or C04. These series result from a combination of operational EOP series derived from VLBI, GNSS, SLR, and DORIS. The C04 ...
  28. [28]
  29. [29]
    Bulletin A - Product metadata
    Predictions of x, y, and UT1-UTC, up to 365 days following the last day of data. The predictions use similar algorithms based on seasonal filtering and ...
  30. [30]
    [PDF] Role of the IERS in the leap second - BIPM
    • Allows the Earth to catch up with the clocks. • Note that to do this, all clocks are stopped by 1 second. • UTC is adjusted by leap seconds to ensure that | ...
  31. [31]
    [PDF] The IERS and Adjustments to Coordinated Universal Time - DTIC
    The role of the IERS in determining when to insert leap seconds is a natural extension of its responsibility for monitoring and predicting the quantity UT1–UTC.
  32. [32]
    leap-seconds.list
    ... 2025 # # Expire date in NTP timestamp: # #@ 3975868800 # # # LIST OF LEAP SECONDS # NTP timestamp (X parameter) is the number of seconds since 1900.0 ...<|control11|><|separator|>
  33. [33]
    Leap Second Processing - NTP.org
    Nov 23, 2022 · A leap second is inserted following second 59 of the last minute of the day and becomes second 60 of that day.
  34. [34]
    Leap Second Announcement 2016 - Meinberg Knowledge Base
    On July 6, 2016 the IERS announced that another leap second has been scheduled for UTC midnight at the end of December 31, 2016.Missing: example | Show results with:example
  35. [35]
    Leap Second 2016: Important Information for Meinberg Customers
    Jul 6, 2016 · On July 6th, 2016 the IERS announced in their Bulletin C publication that a leap second will be inserted at the end of December.
  36. [36]
    IERS Bulletin C Number 70
    Jul 7, 2025 · Announcement of leap seconds in UTC and information on UTC-TAI. Leap seconds can be introduced in UTC at the end of the months of December or ...Missing: July | Show results with:July<|control11|><|separator|>
  37. [37]
  38. [38]
    WWV and WWVH Digital Time Code and Broadcast Format | NIST
    A positive leap second is normally added every 1 or 2 years, usually on June 30 or December 31. If you need UT1 with an uncertainty of 0.1 s, you can apply a ...
  39. [39]
    Why was yesterday one of shortest days ever? - NBC 4 New York
    Jul 10, 2025 · Wednesday, in fact, was one of the shortest days in history -- 1.42 milliseconds short of 24 hours, according to records kept by International ...
  40. [40]
    Earth's Rotation Is Speeding Up This Summer—but Just for 3 Days
    Jun 27, 2025 · According to IERS data, the three shortest days (mathematically speaking) this year will be July 9, July 22, and August 5. These are the dates ...
  41. [41]
    Should We Abandon the Leap Second? - Scientific American
    Oct 15, 2024 · According to a recent study, this counterforce means we won't have to subtract a leap second until 2029. Schematic shows meltwater from the ...
  42. [42]
    Bulletin a - IERS Datacenter
    ... 6 November 2025 Vol. XXXVIII No. 045 ... UT1 = 0.022 sin(2*pi*T) - 0.012 cos(2*pi*T) - 0.006 sin(4*pi*T) + 0.007 cos(4*pi*T) where pi = 3.14159265 ...
  43. [43]
    Time to End the Leap Second?
    Nov 6, 2015 · The United States, joined by its peers in the Inter-American Telecommunication Commission (CITEL), have developed a proposal to cease the use of leap seconds ...
  44. [44]
    Extrapolations of the difference ( TI - UT1 )
    For the past decade the ITU-R has been considering ceasing the insertion of leap seconds in the international recommendation about radio broadcasts of time ...
  45. [45]
    WRC-23 approves the adoption and implementation of Continuous ...
    WRC-23 approves the adoption and implementation of Continuous Universal Time Coordinated UTC. The ITU World Radiocommunication Conference 2023 (WRC-23), held ...
  46. [46]
    IERS - IERS Bulletins
    **Summary of Leap Second Definition and Purpose (Based on IERS Bulletins Page):**
  47. [47]
    CCTF-IERS Workshop on negative leap second - BIPM
    Mar 13, 2025 · Working together to promote and advance the global comparability of measurements. Menu CCTF-IERS Workshop on negative leap second 13, 27 March 2025Missing: projections | Show results with:projections
  48. [48]
    NASA-Funded Studies Explain How Climate Is Changing Earth's ...
    Jul 19, 2024 · The cause: the accelerated melting of glaciers and the Antarctic and Greenland ice sheets due to human-caused greenhouse emissions.Missing: speedup IERS
  49. [49]
    [PDF] Leap-second considerations in distributed computer systems
    23:59:60 by one second, leading to non-monotonic timestamps and unlimited relative errors in time-interval measurements. Proposed solution. Define a ...Missing: off- | Show results with:off-
  50. [50]
    Resolve Leap Second Issues in Red Hat Enterprise Linux
    Aug 3, 2021 · Leap seconds are a discontinuity of civil time. The time does not continue to increase monotonically but it is stepped by one second. Let's ...
  51. [51]
    The Inside Story of the Extra Second That Crashed the Web - WIRED
    Jul 2, 2012 · The "leap second" crash -- which hit several web operations on Saturday evening -- can be traced to a single glitch in the Linux operating system.
  52. [52]
    No, the Linux leap second bug WON'T crash the web - The Register
    Jan 9, 2015 · The bug was found to affect kernels version numbers 2.2.26 to 3.3, inclusive. Not that it was all Linux's fault: Mozilla's Hadoop and ...
  53. [53]
    How Leap Seconds Can Interfere with GNSS Receivers - Spirent
    May 13, 2015 · NAVCEN recommends that users experiencing leap second irregularities should contact their GPS receiver vendor for news on the latest firmware ...Missing: orbits | Show results with:orbits
  54. [54]
  55. [55]
    Five different ways to handle leap seconds with NTP
    Jun 1, 2015 · A leap second is an adjustment that is once in a while applied to the Coordinated Universal Time (UTC) to keep it close to the mean solar ...
  56. [56]
    Optimizing UTC → Unix Time Conversion For Size And Speed
    May 12, 2020 · UTC days tick 86,401 seconds whenever a leap second occurs. ... seconds long requires Unix Time to be discontinuous around a leap second.
  57. [57]
    It's time to leave the leap second in the past - Engineering at Meta
    Jul 25, 2022 · As of today, since the introduction of the leap second, UTC has been updated 27 times. While the leap second might have been an acceptable ...Missing: inserted | Show results with:inserted
  58. [58]
    International standard date and time notation
    A single leap second 23:59:60 is inserted into the UTC time scale every few years as announced by the International Earth Rotation Service in Paris, to keep ...Missing: support | Show results with:support
  59. [59]
    What every developer should know about time - Planet KDE
    Jul 22, 2024 · ... rotation, ISO 8601 allows for the representation of the 60th second in a minute, which is the leap second. For example, the latest leap second ...
  60. [60]
    time(2) - Linux manual page - man7.org
    Linux systems normally follow the POSIX requirement that this value ignore leap seconds, so that conforming systems interpret it consistently; see POSIX.1 ...<|separator|>
  61. [61]
  62. [62]
    RFC 5905 - Network Time Protocol Version 4 - IETF Datatracker
    RFC 5905 defines NTPv4, used to synchronize computer clocks in the Internet, and is backwards compatible with NTPv3.
  63. [63]
    THE LEAP SECOND - Paris Observatory IERS Centers
    However, it was desired by the scientific community to maintain the difference UT1-UTC smaller than 0.9 second to ensure agreement between the physical and ...
  64. [64]
    Date - JavaScript - MDN Web Docs
    Parses a string representation of a date and returns the number of milliseconds since January 1, 1970 00:00:00 UTC, with leap seconds ignored.Date.now() · Date.parse() · Date.prototype.toString() · Date.UTC()
  65. [65]
    [PDF] GPS and Leap Seconds - UNB - Geodesy & Geomatics Engineering
    Periodic Insertion of Leap Seconds. Yet another solution would introduce a discontinuity to. UTC after a specified time interval, to reduce the accumulated ...<|control11|><|separator|>
  66. [66]
    [PDF] GPS and Leap Seconds - Lick Observatory
    First sundials, water clocks, and then mechanical clocks were invented to tell time more precisely by essentially interpolating from noon to noon. As mechanical ...
  67. [67]
    Qantas suffers delays due to Linux leap second bug - ZDNET
    Jul 2, 2012 · A leap second bug in Linux caused an airline reservation system to fail, wreaking havoc in Australia.Missing: 2015 | Show results with:2015
  68. [68]
    Leap Second Causes Sporadic Outages Across the Internet - WIRED
    Jul 1, 2015 · Yesterday's leap second caused "sporadic outages" in more than 2000 networks that link machines across the internet.Missing: Qantas | Show results with:Qantas
  69. [69]
    NTP Leap Second and how they are handled by Meinberg Devices ...
    The IERS Bulletin C #52 from July 2016 announces a leap second to be inserted at the end of December 31, 2016, at UTC midnight.
  70. [70]
    Leap Seconds in Windows - Super User
    Jul 1, 2015 · The Leap Indicator indicates whether an impending leap second is to be inserted or deleted in the last minute of the current day.
  71. [71]
    IEEE 1588-2008 - IEEE SA
    This standard defines a network protocol, the Precision Time Protocol (PTP), enabling accurate and precise synchronization of the real-time clocks of devices in ...
  72. [72]
    IEEE 1588-2019 - IEEE SA
    Jun 16, 2020 · CSPTP uses Precision Time Protocol (PTP) messages defined in IEEE Std 1588, to take advantage of timing support in network switches and routers.
  73. [73]
    Leap Smear | Public NTP - Google for Developers
    At the beginning of the leap second, smeared time is just under 0.5 s behind UTC. UTC inserts an additional second, while smeared time continues uninterrupted.Missing: telecom networks<|separator|>
  74. [74]
    Number of connected IoT devices growing 14% to 21.1 billion globally
    Oct 28, 2025 · Number of connected IoT devices growing 14% to 21.1 billion globally in 2025. Estimated to reach 39 billion in 2030, a CAGR of 13.2% [...]Missing: leap | Show results with:leap
  75. [75]
    Precision clock and time synchronization on your EC2 instance
    To support this transition, we still plan on smearing time during a leap second event when accessing the Amazon Time Sync Service over the local NTP connection ...Missing: details | Show results with:details
  76. [76]
    What's the time, Mister Cloud? An introduction to and experimental ...
    Mar 22, 2024 · When AWS does a leap smear they stretch out every second in a 24-hour period covering 12 hours before and 12 hours after the leap second. In ...<|separator|>
  77. [77]
    NumPy - Handling Leap Seconds - Tutorials Point
    Dec 31, 2024 · Similarly, pytz can handle leap seconds by converting time between different time zones while accounting for any adjustments.
  78. [78]
    IERS data access (astropy.utils.iers)
    Jan 1, 2010 · Bulletin A ( IERS_A ) is updated weekly and has historical data starting from 1973 and predictive data for 1 year into the future. It contains ...
  79. [79]
    Leap Smear for NTPv4 - NTP Support
    Sep 30, 2022 · Leap smearing was implemented in ntpd versions 4.2.8.p3 and 4.3.47; more information about the actual implementation can be found in the README.
  80. [80]
    Leap Seconds - EndRun Technologies
    This information is summarized below: The next possible leap second event is December 31, 2025. There will NOT be a leap second introduced into UTC on that ...Missing: future | Show results with:future
  81. [81]
    [PDF] Best Practices for Leap Second Event Occurring on 30 June 2015 ...
    UTC is the official ... Check and verify leap second insertion procedures on all systems dependent on precise time ... Leap Second History. UTC uses the ...
  82. [82]
    International Atomic Time (TAI) - Time and Date
    Saturday, November 8, 2025. TAI – Currently 37 seconds ahead of UTC. 12 3 6 9 1 2 4 5 7 8 10 11. Coordinated Universal Time (UTC). 05:01:31. Saturday, November ...
  83. [83]
    GPS time comparisons - PTB.de
    At the end of 2022, the time difference T(GPS) - UTC(USNO) amounted to 18 s, apart from that, the deviations are clearly below 20 ns.
  84. [84]
    International Celestial Reference System (ICRS)
    The International Celestial Reference System (ICRS) is the fundamental celestial reference system adopted by the International Astronomical Union (IAU)
  85. [85]
    Galileo System Time | European GNSS Service Centre (GSC)
    The Galileo System Time (GST) is a continuous timescale based on the definition of the second (according to the international System of Units, SI).
  86. [86]
    How is UTC(NIST) related to Coordinated Universal Time (UTC ...
    Sep 16, 2024 · Coordinated Universal Time (UTC) is based on TAI, but it is adjusted by leap seconds to account for the difference between the definition of ...