the work of the Daykeepers
Eclipse tables in the Dresden Codex were based on lunar tables and adjusted for slippage over time.
Pages of the Dresden codex on eclipses Credit: Public domain
Astronomical events such as eclipses were central to Maya culture, reflected in the care the Maya took to keep accurate calendars to aid in celestial predictions. Among the few surviving Maya texts is the so-called Dresden Codex, which includes a table of eclipses. Researchers have concluded that this table was repurposed from earlier lunar month tables, rather than being created solely for eclipse prediction, according to a paper published in the journal Science Advances. They also figured out the mechanism by which the Maya ensured that table w…
the work of the Daykeepers
Eclipse tables in the Dresden Codex were based on lunar tables and adjusted for slippage over time.
Pages of the Dresden codex on eclipses Credit: Public domain
Astronomical events such as eclipses were central to Maya culture, reflected in the care the Maya took to keep accurate calendars to aid in celestial predictions. Among the few surviving Maya texts is the so-called Dresden Codex, which includes a table of eclipses. Researchers have concluded that this table was repurposed from earlier lunar month tables, rather than being created solely for eclipse prediction, according to a paper published in the journal Science Advances. They also figured out the mechanism by which the Maya ensured that table would be accurate over a very long time period.
The Maya used three primary calendars: a count of days, known as the Long Count; a 260-day astrological calendar called the Tzolk’in; and a 356-day year called the Haab’. Previous scholars have speculated on how awe-inspiring solar or lunar eclipses must have seemed to the Maya, but our understanding of their astronomical knowledge is limited. Most Maya books were burned by Spanish conquistadors and Catholic priests. Only four hieroglyphic codices survive: the Dresden Codex, the Madrid Codex, the Paris Codex, and the Grolier Codex.
The Dresden Codex dates back to the 11th or 12th century and likely originated near Chichen Itza. It can be folded accordion-style and is 12 feet long in its unfolded state. The text was deciphered in the early 20th century and describes local history as well as astronomical lunar and Venus tables.
For their study, co-authors John Justeson of the University at Albany and Justin Lowry of SUNY-Plattsburgh focused their attention particularly on pages 51 and 58, which consist of eclipse tables covering all solar and most lunar eclipses. It is accurate enough to run from its starting date in the 8th century up to the 18th century. (The Madrid Codex also contains an eclipse almanac, but it is primarily concerned with how agricultural cycles correspond with eclipses.)
The Mayan calendars were maintained by specialists known as “daykeepers,” a cultural tradition that continues today. There is general consensus that eclipses were important to the Maya. “They were tracking them, they had rituals around [eclipses], and it was built into their system of belief, ” Lowry told Ars. “So we know the eclipse table is part of the cultural knowledge of the time. We were just trying to figure out how the table came to be in its current state.”
A predictive mechanism
Lowry and Justeson’s analysis involved mathematically modeling the eclipse predictions in the Dresden Codex table and comparing the results to a historical NASA database. They focused on 145 solar eclipses that would have been visible in the Maya geographical region between 350 and 1150 CE.

First publication in 1810 by Alexander von Humboldt, who repainted five pages for his atlas. Credit: Public domain
They concluded that the codex’s eclipse tables evolved from a more general table of successive lunar months. The length of a 405-month lunar cycle (11,960 days) aligned much better with a 260-day calendar (46 x 260 =11,960) than with solar or lunar eclipse cycles. This suggests that the Maya daykeepers figured out that 405 new moons almost always came out equivalent to 46 260-day periods, knowledge the Maya used to accurately predict the dates of full and new moons over 405 successive lunar dates.
The daykeepers also realized that solar eclipses seemed to recur on or near the same day in their 260-day calendar and over time figured out how to predict days on which a solar eclipse might occur locally. “An eclipse happens only on a new moon,” said Lowry. “The fact that it has to be a new moon means that if you can accurately predict a new moon, you can accurately predict a one-in-seven chance of an eclipse. That’s why it makes sense that the Maya are revising lunar predicting models to have an accurate eclipse, because they don’t have to predict where the moon is relative to the ecliptic.”
The Maya also understood that they had to adjust their tables occasionally to account for slippage over time. “When we talk about accuracy, sometimes we think about being able to predict something down to the microsecond,” said Lowry, pointing to NASA records. “The Maya have a very accurate calendar, but they’re predicting to the day, not down to the second.”
But the Maya didn’t restart their tables from any single position, per the authors, which would just make the tables increasingly unreliable; instead, they used a series of overlapping tables. Lowry and Justeson concluded that the tables must have been restarted at one of two specific earlier points before the previous table ended: the 358th new moon (i.e., the most reliable overestimate of the overall length of the eclipse) and the 223rd new moon (the most reliable underestimate).
“The traditional interpretation was that you run through the table, eclipse by eclipse, and then you rebuilt the table every iteration,” said Lowry. “We figured out that if you do that, you’re going to miss the eclipses, and we know they didn’t. They made internal adjustments. We think they’d restart the table midway. When you do that, you go from having missed eclipses to having none. You would never miss an eclipse. So it’s not a calculated predictive table, it’s a calculated predictive table plus adjustments based on empirical observations over time.”
“This is the basis of true science, empirically collected, constant revision of expectations, built into a system of understanding planetary bodies, so that you can predict when something happens,” said Lowry. “But here it’s coded deeply within a religious system. Their rituals were fundamentally connected to astronomy and astrology. There’s this group of people over the course of 1,000 years—through war, through collapse, through famine, through external conquest—that have maintained observational records, every five or six months, of eclipses. It’s not that the Maya made their calendar more accurate. They made their calendar continue to be accurate, which is very cool.”
DOI: Science Advances, 2025. 10.1126/sciadv.adt9039 (About DOIs).
Jennifer is a senior writer at Ars Technica with a particular focus on where science meets culture, covering everything from physics and related interdisciplinary topics to her favorite films and TV series. Jennifer lives in Baltimore with her spouse, physicist Sean M. Carroll, and their two cats, Ariel and Caliban.