Ekliptio

The Nag Hammadi library: a list of all 13 codices and their texts

The Nag Hammadi library is a collection of 13 ancient papyrus books (codices) in Coptic, found near Nag Hammadi in Upper Egypt in December 1945. Copied in the fourth century, mostly from Greek originals, they hold 52 texts, or about 46 different works, including the Gospel of Thomas and the Gospel of Philip. Many, though not all, are Gnostic. The codices are kept in the Coptic Museum in Cairo.

Key facts
FoundDecember 1945, at the foot of the Jabal al-Tarif cliff near Nag Hammadi, Upper Egypt (the finder’s later account; versions differ)
What survives12 codices plus 8 leaves of a 13th tucked inside the cover of Codex VI; well over 1,000 pages
Texts52 tractates; several appear twice or three times, so about 46 different works
LanguageCoptic, mostly the Sahidic dialect; almost all translated from Greek
Date of the copies4th century; scrap papyrus inside the cover of Codex VII carries dates up to 348 CE
Kept inCoptic Museum, Cairo (Codex I, the “Jung Codex”, was in Zurich until its leaves were returned, the last in 1975)
First complete English translationJames M. Robinson (ed.), The Nag Hammadi Library in English, 1977

Updated · By Warren Ashby

What is the Nag Hammadi library?

The Nag Hammadi library is the name scholars give to thirteen ancient books found together in Upper Egypt in December 1945. They are codices, books with pages, not scrolls: papyrus sheets folded into gatherings and bound in leather. They were copied in the fourth century in Coptic, the last stage of the Egyptian language, and almost all of their texts were translated from Greek originals, mostly written in the second and third centuries as far as scholars can estimate.

The word “library” is a modern convenience. The books were not one person’s planned collection, and their contents are mixed: Christian revelation dialogues, myths about the creation of the world, sayings of Jesus, prayers, three Hermetic treatises, a collection of moral maxims and even a reworked passage of Plato. Many of the texts belong to the movements that early Christian writers such as Irenaeus of Lyons called “Gnostic”, but not all of them do, and scholars still argue about how useful that label is.

For Christians these books are not Scripture: the churches read four Gospels, Matthew, Mark, Luke and John. For historians they are something else of great value, the first large set of writings by groups that until 1945 were known mostly from the reports of their opponents.

All 52 texts in the 13 codices

The list follows the standard numbering (codex, then tractate: “II,2” is the second text in Codex II) and the English titles used in the Coptic Gnostic Library. The column “Group” gives the grouping most often used in scholarship today: Sethian texts follow the list of the German scholar Hans-Martin Schenke (1974), Valentinian texts are those linked with the teacher Valentinus and his school, and Hermetic texts belong to the Greek-Egyptian literature attributed to Hermes Trismegistus. These groups are modern categories and some placements are disputed. Descriptions are our own summaries.

No. Title What it is Group Other ancient copies
I,1 Prayer of the Apostle Paul A short prayer written on the front flyleaf Valentinian –
I,2 Apocryphon of James (Secret Book of James) A letter in which James reports secret teaching of the risen Jesus Christian dialogue –
I,3 Gospel of Truth A meditation on how the Father is made known through Jesus and error is overcome Valentinian XII,2 (fragments); a “Gospel of Truth” is mentioned by Irenaeus
I,4 Treatise on the Resurrection (Letter to Rheginus) A teacher explains to a student how the resurrection is to be understood Valentinian –
I,5 Tripartite Tractate A long account of creation, fall and salvation in three parts Valentinian –
II,1 Apocryphon of John (long version) The risen Christ reveals to John the myth of Sophia and the creator Yaldabaoth Sethian III,1; IV,1; Berlin Codex; a related myth is summarised by Irenaeus (1.29)
II,2 Gospel of Thomas 114 sayings attributed to Jesus, with no narrative Thomas tradition; “Gnostic” label disputed Greek fragments P.Oxy. 1, 654 and 655
II,3 Gospel of Philip A collection of teachings and sayings, many about the sacraments Valentinian –
II,4 Hypostasis of the Archons (Reality of the Rulers) The rulers of the world and the creation of Adam and Eve, retold from Genesis Sethian –
II,5 On the Origin of the World A long account of the origin of the world and of its rulers Gnostic myth, close to II,4 XIII,2 (opening lines)
II,6 Exegesis on the Soul The soul’s fall and return, told as the story of a woman, with quotations from Scripture and Homer Soul myth –
II,7 Book of Thomas the Contender A dialogue of the risen Jesus with Judas Thomas, said to be recorded by Matthew Thomas tradition –
III,1 Apocryphon of John (short version) See II,1 Sethian II,1; IV,1; Berlin Codex
III,2 Gospel of the Egyptians (Holy Book of the Great Invisible Spirit) The heavenly origin of Seth and his descendants, with hymns Sethian IV,2
III,3 Eugnostos the Blessed A letter from a teacher describing the divine world, with no Christian elements Philosophical treatise V,1
III,4 Sophia of Jesus Christ The risen Christ answers his disciples; much of it repeats Eugnostos Christian reworking of III,3 Berlin Codex
III,5 Dialogue of the Savior Conversations of Jesus with his disciples and Mary Christian dialogue –
IV,1 Apocryphon of John (long version) See II,1 Sethian II,1; III,1; Berlin Codex
IV,2 Gospel of the Egyptians See III,2 Sethian III,2
V,1 Eugnostos the Blessed See III,3 Philosophical treatise III,3
V,2 Apocalypse of Paul Paul’s ascent through the heavens, inspired by 2 Corinthians 12 Christian apocalypse –
V,3 (First) Apocalypse of James Jesus teaches James before and after his death Christian revelation Codex Tchacos
V,4 (Second) Apocalypse of James James’s speeches about Jesus and an account of his martyrdom Christian revelation –
V,5 Apocalypse of Adam Adam tells Seth what he learned about the flood and the future Sethian –
VI,1 Acts of Peter and the Twelve Apostles The apostles meet Jesus disguised as a pearl merchant Christian acts –
VI,2 Thunder, Perfect Mind A poem in which a female voice describes herself in paradoxes Poem; grouping debated –
VI,3 Authoritative Teaching The origin, fall and rescue of the soul Soul treatise –
VI,4 Concept of Our Great Power A revelation of the ages of the world Revelation –
VI,5 Plato, Republic 588a–589b A free Coptic version of a passage on the soul and injustice Plato (adapted) The Greek Republic
VI,6 Discourse on the Eighth and Ninth Hermes leads his pupil to a vision of the higher spheres Hermetic –
VI,7 Prayer of Thanksgiving A Hermetic prayer of thanks for knowledge Hermetic Greek (Papyrus Mimaut); Latin (Asclepius 41)
VI,8 Asclepius 21–29 Part of a dialogue between Hermes and his pupil Asclepius Hermetic The Latin Asclepius
VII,1 Paraphrase of Shem Shem’s vision of light, darkness and spirit Gnostic revelation –
VII,2 Second Treatise of the Great Seth Christ tells of his descent, crucifixion and return Christian Gnostic revelation –
VII,3 Apocalypse of Peter Peter’s vision of the crucifixion, explained by Jesus Christian Gnostic revelation –
VII,4 Teachings of Silvanus Moral and spiritual advice from a father to a son Christian wisdom; not Gnostic –
VII,5 Three Steles of Seth Three hymns of praise to the divine triad Sethian –
VIII,1 Zostrianos Zostrianos ascends through the heavens and receives revelations; the longest text by page count, though badly damaged Sethian A work of this name was read in Plotinus’s circle (Porphyry)
VIII,2 Letter of Peter to Philip A short letter followed by the apostles’ meeting with the risen Jesus Christian revelation Codex Tchacos
IX,1 Melchizedek Revelations to the biblical priest Melchizedek Sethian –
IX,2 Thought of Norea A short prayer and hymn of Norea Sethian –
IX,3 Testimony of Truth A sermon on truth with polemic against other Christians Christian Gnostic –
X Marsanes Visions of the prophet Marsanes; badly damaged Sethian –
XI,1 Interpretation of Knowledge A sermon on the church as one body Valentinian –
XI,2 A Valentinian Exposition, with On the Anointing, On Baptism A and B, On the Eucharist A and B A Valentinian account of creation and short liturgical texts Valentinian –
XI,3 Allogenes Allogenes’ revelations and ascent, written down for his son Sethian A work of this name was read in Plotinus’s circle (Porphyry)
XI,4 Hypsiphrone A few lines of visions; poorly preserved Uncertain –
XII,1 Sentences of Sextus Moral maxims popular among early Christians Christian wisdom; not Gnostic Greek; Latin (Rufinus, c. 400)
XII,2 Gospel of Truth Fragments of a second copy, in a different dialect Valentinian I,3
XII,3 Fragments Small unidentified pieces Unknown –
XIII,1 Trimorphic Protennoia (Three Forms of First Thought) First Thought speaks of her three descents Sethian –
XIII,2 On the Origin of the World Only the opening lines See II,5 II,5

Duplicates bring the number down: the Apocryphon of John appears three times, and the Gospel of the Egyptians, Eugnostos, the Gospel of Truth and On the Origin of the World twice each, so the 52 tractates contain about 46 different works. Fragments and badly damaged pages also mean that some texts can be read only in part.

What are the Gnostic gospels?

“Gnostic gospels” is a popular name, made famous by Elaine Pagels’s 1979 book of that title, for early Christian writings outside the New Testament that were used by groups later called Gnostic. Only a few of them are called gospels in the ancient manuscripts, and most do not tell the story of Jesus’ life. Here are the texts usually meant, with where each one survives.

Text Where it survives What kind of text Notes
Gospel of Thomas Nag Hammadi II,2; Greek fragments from Oxyrhynchus (P.Oxy. 1, 654, 655) Sayings of Jesus Whether it is Gnostic at all is debated
Gospel of Philip Nag Hammadi II,3 Teachings and sayings Valentinian; includes the much-discussed passage on Mary Magdalene, with gaps in the papyrus
Gospel of Truth Nag Hammadi I,3 and XII,2 Meditation, not a narrative The title comes from its opening words
Gospel of the Egyptians Nag Hammadi III,2 and IV,2 Sethian myth and hymns A different work from the lost Greek Gospel of the Egyptians quoted by Clement of Alexandria
Gospel of Mary Berlin Codex (Papyrus Berolinensis 8502); Greek fragments P.Ryl. 463 and P.Oxy. 3525 Dialogue of the risen Jesus and the disciples Not in Nag Hammadi; several pages are missing; the text names Mary, usually identified as Mary Magdalene
Gospel of Judas Codex Tchacos (found in the 1970s, published 2006) Dialogue of Jesus and Judas Not in Nag Hammadi; Irenaeus (c. 180) mentions a “Gospel of Judas”

Other revelation dialogues, such as the Apocryphon of John, the Sophia of Jesus Christ, the Dialogue of the Savior and the later Pistis Sophia (Askew Codex, British Library), are often read alongside these “gospels”, although their manuscripts do not call them gospels.

How old are the texts?

The copies are from the fourth century. The best evidence is the cartonnage, scrap papyrus glued into the leather covers to stiffen them: the scraps inside the cover of Codex VII include documents dated in the 340s, the latest from 348 CE, so that binding cannot be earlier. When the Greek originals were written is a separate and harder question. For most texts scholars can only estimate from content and language, and their estimates differ. For a few texts there is outside evidence:

Text Outside evidence What it tells us
Plato, Republic (VI,5) Plato wrote the Republic in the fourth century BCE The Coptic passage is an adaptation of a much older work
Apocryphon of John (II,1 etc.) Irenaeus, Against Heresies 1.29 (c. 180), summarises a closely related myth A form of the myth existed by about 180
Gospel of Truth (I,3) Irenaeus, Against Heresies 3.11.9, says Valentinus’ followers had a “Gospel of Truth” If this is the same work, it was written before about 180
Gospel of Thomas (II,2) Greek fragments from Oxyrhynchus, the earliest usually dated around 200 Written before about 200; most scholars place it in the second century, some earlier
Sentences of Sextus (XII,1) Quoted by Origen in the mid-third century Written before about 250
Zostrianos (VIII,1) and Allogenes (XI,3) Porphyry, Life of Plotinus 16, says works with these names were read in Rome in the 260s Greek works of these names existed by then; whether they match the Coptic texts exactly is uncertain
Gospel of Judas (Codex Tchacos) Irenaeus, Against Heresies 1.31.1 (c. 180) A “Gospel of Judas” existed by about 180

How were the codices found?

According to the account that Muhammad ‘Ali al-Samman, a farmer from the area, gave decades later, he and his brothers found a sealed jar at the foot of the Jabal al-Tarif cliff while digging for fertile soil in December 1945. The best-known version, collected by James M. Robinson in the 1970s, includes a blood feud and burned pages. The New Testament scholar Mark Goodacre (2013) compared it with the earlier and plainer account published by the French scholar Jean Doresse and concluded that the dramatic later details should be treated with caution.

What happened next is better documented. From 1946 the books reached the Cairo antiquities market. The Coptic Museum acquired one codex, the Egyptian authorities secured most of the others, and one codex was taken abroad and bought for the C. G. Jung Institute in Zurich, which presented it publicly in 1953. That “Jung Codex” is Codex I; its leaves were returned to Cairo in stages, the last in 1975. A UNESCO committee formed in 1970, with Robinson as secretary, published photographs of every page (Brill, 1972–1984), and Robinson’s team produced the first complete English translation in 1977.

Who owned the books, and why were they buried?

Nobody knows for certain, and there are two main proposals.

  • Monks. The find site lies near the early monasteries founded by Pachomius. Robinson proposed that monks owned the books and buried them after 367, when Bishop Athanasius of Alexandria sent his Festal Letter listing the books of Scripture and warning against “apocryphal” writings. Hugo Lundhaug and Lance Jenott (2015) argue in detail that the codices fit the reading culture of Egyptian monks.
  • A private owner’s grave. Nicola Denzey Lewis and Justine Ariel Blount (2014) point out that the cliff is full of ancient tombs and that placing books in burials was an Egyptian practice. They suggest the codices belonged to well-off private readers and were buried with their owner.

Neither proposal is proven. No ancient source says that the books were hidden from the church, and the idea that they were “suppressed” is an interpretation, not a finding.

What do the texts teach?

The texts do not share one creed. Several common themes run through the Sethian and Valentinian writings, retold here in our own words:

  • A hidden God and a lesser creator. Beyond the visible world is a perfect, unknowable God. In the Apocryphon of John, the world is made by a lower being, Yaldabaoth, who was born when Sophia (Wisdom) acted without the consent of the Spirit and of her partner. Valentinian writers usually describe the creator, the Demiurge, as ignorant rather than evil.
  • Rulers of the world. The creator’s helpers, the archons, govern the visible cosmos; in these myths they try to keep humans from knowing where they come from.
  • A divine spark. Humans carry a spark or spirit from the higher world, and salvation means awakening to it.
  • Knowledge as salvation. The Greek word gnōsis means knowledge, but in these texts it is less information than recognition: knowing God and one’s own origin. Jesus, or a heavenly revealer, brings that knowledge.

Other texts in the codices teach none of this. The Teachings of Silvanus and the Sentences of Sextus are moral writings that many Christians read, and the Hermetic treatises belong to a different tradition altogether.

Which translation should you read?

Edition What it contains Best for
James M. Robinson (ed.), The Nag Hammadi Library in English (1977; 3rd revised edition 1988) All the Nag Hammadi texts, with short introductions, plus two texts from the Berlin Codex (the Gospel of Mary and the Act of Peter) A complete standard translation
Marvin Meyer (ed.), The Nag Hammadi Scriptures (2007) All the Nag Hammadi texts plus the Berlin Codex and Codex Tchacos, with introductions by many scholars A newer complete translation including the Gospel of Mary and the Gospel of Judas
Bentley Layton, The Gnostic Scriptures (1987; 2nd edition with David Brakke, 2021) A selection arranged by school, with the reports of ancient critics Reading the texts by movement (Sethian, Valentinian, Thomas)
The Coptic Gnostic Library (Brill; 5-volume paperback edition 2000) Coptic text with English translation and notes Detailed study

If you are new to the texts, a common path is to start with the Gospel of Thomas, then the Gospel of Truth, then the Apocryphon of John, and to read Irenaeus’ first book Against Heresies alongside them to see how an ancient critic described the same movements.

How can you read these texts today?

People come to the Nag Hammadi books for many reasons: Christians curious about the world of the early church, students of history, readers drawn by Jung or by films such as The Matrix. Whatever the reason, three habits help.

  • Read the brackets. Modern editions mark gaps in the papyrus with brackets. Words inside them are an editor’s proposal, not the ancient text.
  • Let each text speak for itself. The Gospel of Thomas, the Apocryphon of John and the Sentences of Sextus are very different books. “Gnostic” is a label used by their critics and by modern scholars, not by most of the authors.
  • Respect living faith. For the churches these texts are not Scripture, and for some modern spiritual readers they are a source of meaning. Both are beliefs held in good faith; the history in this guide does not decide between them.

Many of these writings, whatever one thinks of their myths, voice a longing that the great traditions share: to know where we come from, to wake up from forgetfulness and to find our way home to God. Read slowly, they can be an invitation to quiet reflection, and to the kindness towards others that every tradition they touch on values.

Frequently asked questions

Is the Nag Hammadi library authentic?

Yes. The codices are genuine ancient books: their binding, their Coptic script and the dated scrap papyrus inside the cover of Codex VII all point to the fourth century, and the originals are in the Coptic Museum in Cairo. What scholars question is the story of how they were found and why they were buried, not whether the books are ancient.

Is the Nag Hammadi library the same as the Dead Sea Scrolls?

No. The Dead Sea Scrolls were found from the late 1940s in caves near Qumran, by the Dead Sea; they are Jewish texts, mostly in Hebrew, with some in Aramaic and a few in Greek, copied between about the third century BCE and the first century CE. The Nag Hammadi books were found in Egypt in 1945; they are bound codices in Coptic, copied in the fourth century CE, and most of their texts are Christian or Gnostic.

Do Catholics accept the Gnostic gospels?

No. The Catholic Church, like the Orthodox and Protestant churches, recognises four Gospels: Matthew, Mark, Luke and John (Catechism of the Catholic Church 120). Texts such as the Gospel of Thomas or the Gospel of Philip are studied by historians, including Catholic scholars, as sources for early Christianity, but they are not treated as Scripture.

Where can I see the original Nag Hammadi codices?

The originals are kept in the Coptic Museum in Old Cairo. Photographs of the pages were published in the Facsimile Edition (Brill, 1972–1984), and the Claremont Colleges Digital Library offers an online archive of photographs from the Institute for Antiquity and Christianity.

Sources (checked 2026-11-29)

  1. James M. Robinson (ed.), The Nag Hammadi Library in English, 3rd revised edition, HarperSanFrancisco 1988 – introduction (12 codices and eight leaves of a 13th inside the cover of Codex VI; cartonnage of Codex VII; the find and the publication history)
  2. Marvin Meyer (ed.), The Nag Hammadi Scriptures: The International Edition, HarperOne 2007 (complete translation including the Berlin Codex and Codex Tchacos; library catalogue)
  3. The Coptic Gnostic Library: A Complete Edition of the Nag Hammadi Codices, 5 vols., Brill 2000 (critical editions with English translation, originally in the Nag Hammadi Studies series; library catalogue)
  4. Claremont Colleges Digital Library – Nag Hammadi Archive (photographs of the codices from the Institute for Antiquity and Christianity)
  5. Wikipedia – Nag Hammadi library (list of codices and tractates after A. L. Khosroev 1991, with Coptic Gnostic Library abbreviations; the Facsimile Edition, Brill 1972–1977 with additions 1979 and 1984; dating section)
  6. Wikipedia – Sethianism (texts classed as Sethian, following Hans-Martin Schenke 1974)
  7. Wikipedia – Valentinianism (texts attributed to Valentinus and his school)
  8. Wikipedia – Berlin Codex (Papyrus Berolinensis 8502: Gospel of Mary, Apocryphon of John, Sophia of Jesus Christ, Act of Peter)
  9. Wikipedia – Codex Tchacos (Letter of Peter to Philip, James, Gospel of Judas, a text about Allogenes; published 2006)
  10. Wikipedia – Gospel of Mary (Greek fragments P.Ryl. 463 and P.Oxy. 3525; Coptic text published by Walter Till in 1955)
  11. Wikipedia – Prayer of Thanksgiving (Coptic in Codex VI; Greek in Papyrus Mimaut, Louvre; Latin in Asclepius 41)
  12. Wikipedia – Sentences of Sextus (quoted by Origen in the mid-third century; Latin translation by Rufinus c. 400)
  13. Irenaeus of Lyons, Against Heresies 3.11.8–9 (four Gospels; “Gospel of Truth”), c. 180, trans. Roberts and Rambaut, Ante-Nicene Fathers vol. 1 (New Advent)
  14. Irenaeus of Lyons, Against Heresies 1.29 (the myth of Barbelo, close to the Apocryphon of John), ANF vol. 1 (New Advent)
  15. Irenaeus of Lyons, Against Heresies 1.31.1 (“they style the Gospel of Judas”), ANF vol. 1 (New Advent)
  16. Porphyry, Life of Plotinus 16 (revelations “bearing the names of Zoroaster, Zostrianus, Nicotheus, Allogenes, Mesus”, trans. S. MacKenna)
  17. Athanasius of Alexandria, Festal Letter 39 (367), trans. in Nicene and Post-Nicene Fathers II/4 (New Advent)
  18. Catechism of the Catholic Church 120 (the list of the books of the Bible, with the four Gospels; vatican.va)
  19. Mark Goodacre, How Reliable Is the Story of the Nag Hammadi Discovery?, Journal for the Study of the New Testament 35.4 (2013), 303–322
  20. Nicola Denzey Lewis and Justine Ariel Blount, Rethinking the Origins of the Nag Hammadi Codices, Journal of Biblical Literature 133.2 (2014), 399–419
  21. Hugo Lundhaug and Lance Jenott, The Monastic Origins of the Nag Hammadi Codices, Mohr Siebeck 2015 (publisher page)
  22. Wikipedia – Askew Codex (British Library Add MS 5114, Pistis Sophia; bought by the British Museum in 1785)
  23. Leon Levy Dead Sea Scrolls Digital Library (Israel Antiquities Authority) – Introduction: dates from the third century BCE to the first century CE; mostly Hebrew, about 15% Aramaic, several in Greek
  24. Wikipedia – Dead Sea Scrolls (discovered 1946/1947 and 1956 in 11 caves near Qumran)

Read next

  • Reincarnation in the Bible – The verses cited for and against reincarnation, how mainstream churches read them, and what historians say about Origen, pre-existence and early Christian debates.
  • Theosophy – Theosophy in simple words: the Theosophical Society of 1875, its three objects, Blavatsky’s key teachings, the splits and controversies, and how it shaped later esotericism.
  • Tibetan Book of the Dead – Origins, contents and reception of the Bardo Thodol, with a comparison of the Evans-Wentz, Fremantle and Trungpa, Thurman and Dorje translations.
  • What is a soul? – A comparison table of how eight traditions understand the soul, from Plato to the Buddhist denial of a permanent self, plus the philosophy-of-mind debate.
  • Afterlife beliefs – How death is defined, one comparison table of what traditions teach, the philosophical arguments, and what research on dying can and cannot show.