Around 185 CE, a bishop in Lyon named Irenaeus sat down to write a refutation. He had heard of a book that claimed to be the secret teaching of John the apostle, and its vision of the creator struck him as blasphemous. The text described a flawed deity who boasted, “I am a jealous God, and there is no god beside me.” Irenaeus quoted it directly. He never named the book. We now know it as the Secret Book of John.
The bishop was wrong about one thing. The text he condemned was not a recent invention. It was a serious work of revelation theology, and four copies of it would be found in the Egyptian desert seventeen centuries later. The book Irenaeus never questioned was the Gospel of John, which he considered apostolic and true. Two texts. One apostle claimed for both. Two gods described as if they could not both exist.
The Gospel of John and the Secret Book of John (Apocryphon of John) are two early Christian texts both attributed to John son of Zebedee. The canonical Gospel of John (c. 90–110 CE) presents Jesus as the divine Logos made flesh for the salvation of the world. The Secret Book of John (c. 180–300 CE) presents a revelation of a transcendent God beyond the flawed creator of this world. They share an authorial claim. They do not share a theology.
The Gospel of John and the Secret Book of John both claim the same apostle as author. One entered the canon. The other was buried in the Egyptian desert. Here is what they teach, and why they cannot both be true.
How Two Books Came to Bear the Same Name

The Gospel of John was composed in Greek, probably in Ephesus, between 90 and 110 CE. Early Christian writers such as Irenaeus and Clement of Alexandria accepted it as the work of John the apostle, the son of Zebedee. Modern scholars debate that attribution, but the early church did not. By the time Athanasius of Alexandria issued his Festal Letter 39 in 367 CE, listing the 27 books of the New Testament, the Gospel of John was secure in the canon. It had been read liturgically for over two centuries.
The Secret Book of John (also called the Apocryphon of John) emerged in a different world. Its earliest layer dates to the late second century, with the oldest surviving copy (Berlin Codex 8502) from around 400 CE. Three more copies were found in 1945 among the Nag Hammadi Codices, buried in the Egyptian desert near the town of Chenoboskion. The text was never part of the canon. It belongs to the library of the Sethian Gnostics, a movement that read Genesis against itself and saw the creator of this world as a lesser being named Yaldabaoth.
Irenaeus knew the Secret Book’s cosmology well enough to attack it in Against Heresies (Book 1, chapter 29), written around 180 CE. He did not name the text. He called its teachings the invention of the followers of Barbelo. But his description matches the Secret Book so closely that scholars now use his testimony to date the text’s core material to the late second century.
Both books claim the same apostle. One was copied into the great codices of the church. The other was buried in a jar and forgotten for sixteen hundred years.
The God Above God and the God Who Failed

The Gospel of John opens with a sentence that changed Christian theology: “In the beginning was the Word, and the Word was with God, and the Word was God.” The God here is the God of Israel, the Father who sends the Son. The Logos is the agent of creation. “All things were made through him,” the prologue declares. There is no gap between the true God and the act of creating. The creator and the Father are one.
The Secret Book of John opens in a different place entirely. John the apostle walks away from the temple in grief, and the heavens open. A figure appears in multiple forms: a child, an old man, a woman. He says, “I am the one who is with you always.” That figure is the risen Christ. What he reveals is a cosmology with no room for the God of Genesis as the highest being.
Above all things is the Monad, the invisible, ineffable One. From the Monad emanates Barbelo, the first thought, and from Barbelo emanate a series of aeons, divine aspects of the true God. The last of these aeons, Sophia, acts without her partner and produces a flawed being. That being is Yaldabaoth, the creator of the material world. He boasts, “I am a jealous God, and there is no god beside me.” He is blind. He does not know the Monad exists.
The Gospel of John gives you a God who creates through the Word. The Secret Book of John gives you a God who creates through error and ignorance. One is the Father of Jesus. The other is a being who needs to be escaped.
Jesus in Two Mirrors
Both texts present Jesus as divine. The difference is what that divinity means.
In the Gospel of John, Jesus is the Word made flesh. He says “I am the bread of life,” “I am the light of the world,” “I am the resurrection and the life.” There are seven such “I am” sayings. Each one identifies Jesus with the God of Israel. When he says “Before Abraham was, I am,” his hearers pick up stones. The claim is clear: Jesus is the incarnation of the God who spoke to Moses from the burning bush. His death on the cross is the climax of the story. He lays down his life and takes it up again.
In the Secret Book of John, the earthly Jesus is a container for a heavenly revealer. The crucifixion barely matters. What matters is the revelation that the soul comes from the realm of light and must return there, escaping the grasp of the archons who rule the material world. The Christ figure laughs. He knows that Yaldabaoth cannot hold him.
The Gospel of John saves through faith in the person of Jesus. The Secret Book of John saves through knowledge of where you came from.
What You Had to Know to Be Saved
Salvation in the Gospel of John is a matter of belief. “God so loved the world that he gave his only Son, that whoever believes in him should not perish but have eternal life.” The verb pisteuo, to believe, appears over ninety times in the text. Faith is the response to the revelation of God in Christ. The resurrection is the proof.
Salvation in the Secret Book of John is gnosis, direct knowledge. The soul must learn that it is a spark of the true God trapped in matter. It must recognize its origin and its destiny. The ritual of baptism may have played a role in the community that used the text, but the central act is the awakening of the spirit. The demiurge and his archons keep the soul asleep. The revealer wakes it.
The Gospel of John offers one path for all. The Secret Book of John offers a path for those who have the capacity to hear.
Light Against Light: The Shared Symbolism
Both texts use the same symbols to opposite ends. Light and darkness appear in the opening of both. The Gospel of John says “The light shines in the darkness, and the darkness has not overcome it.” The Secret Book of John says the light is the realm of the Monad, and the darkness is the ignorance of Yaldabaoth. The difference is that for John the darkness is a condition, not a substance. For the Secret Book, the darkness is an active, created force.
Truth and falsehood follow the same pattern. In the Gospel of John, Pilate asks “What is truth?” and Jesus stands before him as the answer. In the Secret Book, truth is the hidden knowledge of the aeons, and falsehood is the entire material world.
Both texts divide the world into two camps. The Gospel of John uses the binary of belief and unbelief. The Secret Book of John uses the binary of spirit and matter. One is a moral division. The other is a cosmic one.
The Canonical Versus the Secret: What Changes
The closest parallel is between John’s prologue and the Secret Book’s revelation frame. Both begin with a pre-existent divine principle. In John, it is the Logos. In the Secret Book, it is the Monad and Barbelo. But John’s Logos becomes flesh. The Secret Book’s Monad never does. The Logos is what God speaks. The Monad is what God is before speech.
Both texts also claim to be written by a witness. The Gospel of John ends with “This is the disciple who bears witness to these things.” The Secret Book opens with John receiving the vision and writing it down. But the Gospel of John presents a public ministry. The Secret Book presents a private revelation. One is meant for the whole world. The other is meant for the elect.
A third difference is tone. The Gospel of John is urgent, its tenses present. The Secret Book of John is speculative, its tenses cosmic.
What People Get Wrong About the Secret Book
The most common mistake is calling it a “lost gospel” in the sense of a missing fifth gospel that the church suppressed. The Secret Book of John is not a gospel. It contains no narrative of Jesus’ life, no parables, no passion story. It is a revelation dialogue, closer in form to the Book of Revelation or the Pistis Sophia than to Matthew or Luke.
A second mistake is claiming that the church deliberately destroyed it. The Nag Hammadi Codices were buried by the community that used them, probably after Athanasius’ 367 CE letter condemned non-canonical books. The burial was an act of preservation, not persecution. The owners of these books did not want them burned. They hid them.
A third mistake is equating Yaldabaoth with Satan. Satan rebels against God in the Bible. Yaldabaoth acts in ignorance of God. He is not a fallen angel. He is a failed god.
FAQ
Did the apostle John really write both books? The Gospel of John was attributed to John the apostle by the early church. The Secret Book of John claims John as its recipient but was likely written by a Sethian Gnostic teacher using the apostle’s authority.
Why was the Secret Book of John not included in the Bible? It was never considered for the canon. Its theology of a flawed creator contradicted the church’s understanding of the God of Israel, and its cosmology was too far from the apostolic tradition as defined by Irenaeus and later bishops.
What is the Barbelo in the Secret Book of John? Barbelo is the first emanation from the Monad, the invisible God. She is the first thought, the first principle of revelation, and the source of the aeons.
Is the Secret Book of John anti-Semitic? The text identifies the God of the Hebrew Bible with Yaldabaoth, the blind demiurge. Many scholars read this as a polemic against the Jewish creator God, but the text does not target Jewish people. It targets a theological claim about the creator.
What the Two Books Tell Us
The Gospel of John and the Secret Book of John both survive. One sits in every hotel nightstand. The other sits in a climate-controlled room in Cairo, its papyrus crumbled at the edges. Both claim to tell the truth about God and about Jesus. They cannot both be right. That is why the comparison matters.
For readers who want to go deeper, we recommend the full collection of the Nag Hammadi texts, a glossary of Gnostic terms, and the broader study of Hermetic and Gnostic traditions in our library. The Secret Book of John is not a gospel. But it is a door into a way of thinking that the church closed for a very long time.
