GPS Epoch Time and the 1024-Week Rollover Explained
Older fleet trackers, aviation receivers, and telecom clocks sometimes jump backward by nearly 20 years without warning. That sudden failure comes from the GPS 10-bit week counter, which wraps back to zero every 1,024 weeks.
GPS Epoch vs Unix Epoch and Leap Seconds
GPS satellite time started at January 6, 1980 at 00:00:00 UTC, which equals 315,964,800 in Unix seconds. Unlike UTC, GPS time never inserts leap seconds because satellite navigation requires uninterrupted continuous seconds.
Since January 1, 2017, GPS time runs 18 seconds ahead of UTC (while staying locked 19 seconds behind International Atomic Time). GPS broadcasts this offset in its navigation message so receivers can subtract 18 seconds when displaying civil UTC time.
The 1024-Week Rollover Schedule
Legacy GPS messages store the week count inside a 10-bit integer ranging from 0 to 1023 (604,800 seconds per week). Every 1,024 weeks (about 19.7 years), the counter resets to zero:
| Rollover Cycle | UTC Date | Impact |
|---|---|---|
| GPS Epoch Start | January 6, 1980 | Week 0 begins |
| First Rollover | August 21, 1999 | Legacy 1980s receivers reset |
| Second Rollover | April 6, 2019 | Unpatched aviation and telecom clocks jumped |
| Third Rollover | November 20, 2038 | Next 10-bit wrap (close to Y2K38) |
Modern GPS signals (CNAV and MNAV) expand the week field to 13 bits (8,192 weeks, or 157 years), as noted in GPS.gov Technical Documentation. To convert GPS seconds to Unix seconds in software, add 315964800 and subtract the current 18-second leap offset.