The Roda Codex (Codex of Roda, Códice de Roda, Códice de Meyá) is a medieval manuscript that represents a unique source for details of the 9th and early 10th century Kingdom of Navarre and neighbouring principalities, now kept in Madrid, Real Academia de la Historia, cód. 78.
The codex is thought to date from the late 10th century, although there are additions from the 11th century, and it was compiled in Navarre, perhaps at Nájera, written in a visigothic minuscule in several different hands with cursive marginal notes. It is 205 mm × 285 mm (8.1 in × 11.2 in), and contains 232 . The manuscript appears to have been housed at Nájera in the 12th century, and later in the archives of the cathedral at Roda de Isábena at the end of the 17th century. In the next century, it was acquired by the prior of Santa María de Meyá, passing into private hands, after which only copies and derivative manuscripts were available to the scholarly community until the rediscovery of the original manuscript in 1928.
The codex includes copies of well-known ancient and medieval texts, as well as unique material. The first two-thirds of the compilation reproduces a single work, Paulus Orosius' Historiarum adversum paganos libri VII. Also notable are Isidore of Seville's History of the Vandals and Suebi and History of the Goths, the Chronica prophetica (a chronicle related to the Chronicon Albeldense), and a genealogy of Jesus. Unique items include a lists of Arab rulers and of the Christian kings of Asturias-León, Navarre and France, a chronicle of the Kingdom of Navarre, the Chronicle of Alfonso III, a necrology of the Bishops of Pamplona and the De laude Pampilone epistola. It also includes a chant in honour of Leodegundia Ordóñez, Queen of Navarre. Still, the manuscript is perhaps best known for its genealogies of the dynasties ruling on both sides of the Pyrenees.