Learn · The Schools
Abraxas: the 365 Heavens and the Rooster-Headed God
Abraxas — more often Abrasax in the ancient evidence — is the ruler of 365 heavens in the system taught by Basilides of Alexandria around 120–140 CE, and the number is built into the name: the Greek letters of ΑΒΡΑΣΑΞ total exactly 365. Thousands of carved gems from Roman Egypt show him with a rooster's head, an armored torso, and serpents for legs, though specialists now class those amulets as general Greco-Egyptian magic rather than the property of Basilides' school. He is not a demon in any ancient text — Irenaeus files him as a ruler of heavens, and the Nag Hammadi codices name Abrasax among beings of light.
Who is Abraxas?
Abraxas is the ruler of 365 heavens in the teaching of Basilides, a Christian philosopher who taught in Alexandria roughly between 120 and 140 CE. The name is itself the doctrine: written in Greek as ΑΒΡΑΣΑΞ, its seven letters total exactly 365 when read as numerals. No ancient source calls him a demon.
Two spellings compete, and both are ancient. The Greek amulets overwhelmingly cut ΑΒΡΑΣΑΞ, Abrasax; the surviving Latin of Irenaeus gives Abraxas, and Latin readers — including every European occultist who came later — inherited that form. Since the two spellings use the same seven letters, both still add to 365, which is the only thing about the name that never varies. This page uses Abraxas for the figure as the modern world knows him and Abrasax where the ancient evidence uses it.
What did Basilides actually teach?
Basilides taught in Alexandria under Hadrian and Antoninus Pius, wrote a commentary in twenty-four books called the Exegetica, and left nothing intact. Every sentence we have comes through men quoting him in order to refute him: Clement of Alexandria, Irenaeus, Hippolytus, Origen, Epiphanius. The two fullest reports flatly disagree with each other.
Irenaeus, writing around 180 CE, gives the version that made Abraxas famous: an unborn Father, from whom come Mind, Word, Prudence, Wisdom and Power; angels who make a first heaven, then further ranks making further heavens, until the count reaches 365; the angels of the lowest and visible heaven — the one whose chief Irenaeus says the Jews worship — fashioning the world and dividing the nations among themselves. The ruler of the whole system carries the name that carries the number. Hippolytus, some fifty years later, reports an almost unrecognizably philosophical Basilides: a God who is not, a world-seed containing everything that would ever be, a threefold sonship straining upward, and a Great Archon who believes he is supreme until he is corrected — and this account too ends at 365 heavens. Modern scholarship is genuinely split on which report to trust; Winrich Löhr has argued that the sober fragments preserved by Clement are the reliable Basilides and that the mythology belongs to his later followers, while others hold that Hippolytus tidied a myth into philosophy. Either way, the number and the name are the one point the hostile sources agree on.
| Source | Date | What it says |
|---|---|---|
| Irenaeus, Against Heresies I.24 | c. 180 CE | 365 heavens; their ruler named Abraxas; the name holds the number |
| Clement of Alexandria, Stromateis | c. 200 CE | Quotes Basilides on providence, suffering and faith; no Abraxas |
| Hippolytus, Refutation VII | c. 230 CE | The non-existent God, the world-seed, the Great Archon; 365 heavens |
| Epiphanius, Panarion 24 | c. 375 CE | Repeats the 365-heaven scheme with embellishments of his own |
| Greek magical papyri and gems | 2nd–5th c. | Abrasax invoked for protection beside IAO, Sabaoth, Adonai |
| Nag Hammadi codices | copied c. 350 CE | Abrasax among the beings of light — a rescuer, not a ruler |
| Grimoires and occult compilations | 16th c. onward | Reclassified as a demon; no ancient warrant whatsoever |
Basilides was the older contemporary of Valentinus, and the two of them are why second-century Alexandria matters so much to the history of Gnosticism: a city where Christian teachers could run philosophical schools before anyone had the authority to close them.
Why does the name add up to 365?
Greek used its alphabet as numerals, so every word carried a hidden sum — a practice called isopsephy, the Greek cousin of Hebrew gematria. Add the letters of ΑΒΡΑΣΑΞ and you get 365, the number of days in the solar year and, in Basilides' system, the number of heavens stacked between a soul and its source.
| Letter | Name | Value |
|---|---|---|
| Α | alpha | 1 |
| Β | beta | 2 |
| Ρ | rho | 100 |
| Α | alpha | 1 |
| Σ | sigma | 200 |
| Α | alpha | 1 |
| Ξ | xi | 60 |
| Total | 365 |
Abraxas was not the only name engineered to hit that total. ΜΕΙΘΡΑΣ, a spelling of Mithras, comes to 365; so does ΝΕΙΛΟΣ, the Nile. Names summing to the solar year were a genre in Roman Egypt, and the ambition behind them is legible even now: a god whose name is the calendar governs all of time at once. Basilides took the arithmetic literally and built a cosmos to match it — 365 heavens, each with its own angelic administration, the whole apparatus doing the work that the archons do in the Egyptian gnostic texts.
What are the rooster-headed Abraxas gems?
Several thousand carved gemstones survive from Roman Egypt and the wider empire, most of them second to fourth century, showing a single recurring figure: a rooster's head on an armored human torso, with two serpents for legs. He usually holds a whip in one hand and a round shield in the other, and the stone is cut with names — ABRASAX, IAO, Sabaoth, Adonai — often on the reverse.
Everything about the image is a compound. The rooster announces the sun and keeps watch at dawn; the serpent legs are chthonic, belonging to the earth; the armor and shield are a soldier's, and the shield is frequently inscribed with the divine name IAO. Egyptian, Jewish, and Greek vocabulary in one object, worn against sickness, the evil eye, or difficult childbirth. That is what these stones did for the people who wore them: they were protective amulets, not membership badges.
Which forces an honest correction. Antiquarians from the eighteenth and nineteenth centuries — Montfaucon, Bellermann, Matter — labeled the whole class “Gnostic gems” or “Basilidean gems,” and museum catalogues repeated it for two hundred years. Specialists no longer do. Campbell Bonner's 1950 study of Greco-Egyptian amulets argued that almost none of them can be tied to any gnostic sect, and later work by Simone Michel and Attilio Mastrocinque has confirmed it: the anguipede is the common property of Mediterranean magic, and the name Abrasax appears on it because the name was powerful, not because the owner was a follower of Basilides. The gems are real, ancient, and abundant; the sect label attached to them is a modern museum habit.
Does Abrasax appear in the Nag Hammadi codices?
Yes, in three works, and never as a villain. Abrasax is named in the Apocalypse of Adam (NHC V,5), in the Holy Book of the Great Invisible Spirit — often called the Gospel of the Egyptians (NHC III,2 and IV,2) — and in Zostrianos (NHC VIII,1). In each he belongs to the world of light, a being who serves the rescue of the elect.
The Apocalypse of Adam is the clearest case. Abrasax appears there with Sablo and Gamaliel as figures who come down on a cloud of light and carry the chosen out of danger — a rescue party, not a jailer. These are Sethian writings with no doctrinal connection to Basilides at all, which is precisely the useful point: by the fourth century the name had detached from its inventor and circulated on its own, available to any scribe who needed a word of power. All three works came out of the same 1945 find. None of them is quoted on this page — they are not in this library's corpus, so they are described rather than put in quotation marks.
How did Abraxas become a demon?
By a chain of misreadings, each one traceable. Ancient sources place Abraxas at the top of a cosmos or among beings of light. The demon entry that dominates search results today has no ancient warrant: it was assembled from early-modern grimoire lists, nineteenth-century occult revivals, and twentieth-century fiction and games, in that order.
The mechanism is easy to reconstruct. Grimoire compilers swept up every strange name they found on amulets and in Greek spell books and filed them as spirits to be commanded; occult writers then treated the gem figure's snake legs and animal head as proof of demonic character, when in antiquity a composite body signaled power, not evil. A further confusion runs through modern popular sources: Abraxas is regularly conflated with Yaldabaoth, the blind creator of Sethian myth, on the strength of nothing but both being cosmic rulers with unusual heads. They come from different systems, different cities, and different centuries. Worth adding, since it is asked constantly: the link between abracadabra — first attested in a third-century medical poem by Serenus Sammonicus — and Abrasax is a guess, repeated for centuries and never demonstrated.
Hesse, Jung, Santana: why the name is still famous
Abraxas survived into modern culture through three steps taken within roughly fifty years. Carl Jung privately printed his Seven Sermons to the Dead in 1916 and attributed it, pseudonymously, to Basilides of Alexandria; Hermann Hesse gave the name a central place in Demian in 1919; and Santana used it for the title of their 1970 album.
The through-line is a single idea, and it is Jung's rather than Basilides': Abraxas as the power that stands beyond the opposition of good and evil because it contains both, and is therefore more terrible than either. Hesse's novel puts that thought in the mouth of a boy's mentor and made it the property of every reader who came to the book at seventeen — Santana's album carries a passage from Demian on the sleeve, wrapped around Mati Klarwein's painting, which is how a second-century Alexandrian's cosmology ended up in a million record collections.
None of that is what Basilides taught. He was doing arithmetic and cosmology, not depth psychology, and the man who first wrote the name down would not recognize the use it has been put to. But the modern Abraxas is at least honest about being modern, which is more than can be said for the demonology entries. What the ancient record actually holds is stranger and better documented than either: a lost Alexandrian teacher, a number hidden in a name, thousands of little stones carved with a rooster-headed guardian, and a word of light that outlived the school that coined it.
Common questions
Who is Abraxas?
Abraxas — spelled Abrasax on most of the ancient gems — is the ruler of 365 heavens in the system taught by Basilides of Alexandria around 130 CE. The Greek letters of the name add up to exactly 365, one heaven for each day of the solar year. Ancient writers call him a god or a ruler.
Is Abraxas a demon?
Not in any ancient source. Irenaeus and Epiphanius describe him as the ruler of the heavens in Basilides' teaching, the magical papyri invoke him for protection, and the Nag Hammadi texts list Abrasax among beings of light. His demonic reputation is early-modern and modern — grimoire compilations, occult revivals, and games.
Why is Abraxas associated with the number 365?
Through isopsephy, the Greek practice of adding a word's letters as numerals. Alpha 1, beta 2, rho 100, alpha 1, sigma 200, alpha 1, xi 60 totals exactly 365 for ΑΒΡΑΣΑΞ. Basilides matched that sum with 365 heavens — a number that also equals the days of the year.
What are Abraxas stones or Abraxas gems?
Carved gemstones from Roman Egypt, mostly second to fourth century, showing a figure with a rooster's head, an armored human torso, and two serpents for legs, usually inscribed ABRASAX or IAO. Thousands survive. Specialists now class them as Greco-Egyptian protective amulets, not objects of Basilides' school.
What did Carl Jung say about Abraxas?
In Seven Sermons to the Dead, privately printed in 1916 and attributed by Jung to Basilides of Alexandria, Abraxas stands beyond the opposition of God and devil as a power containing both. Hermann Hesse used the name similarly in Demian (1919), and Santana took it for an album title in 1970.