Behind a great wall of iron and brass, somewhere in the remote mountains of the earth, two wild and savage nations — Gog and Magog — are said to be imprisoned. Day after day, they dig at the wall with their tools, trying to break through. Every evening, they say: "Tomorrow we will finish." But when morning comes, the wall has been restored by divine will. One day — at the appointed hour of the apocalypse — the wall will crumble, and Gog and Magog will pour forth across the earth, devouring everything in their path. They will drink the waters of the rivers, destroy the crops of the fields, and bring terror to the world. Their release is one of the major signs of the Last Hour in Islamic eschatology and a recurring motif in Jewish and Christian apocalyptic literature. But who are Gog and Magog? Are they legendary monsters, or do they have historical roots in the nomadic tribes of the Eurasian steppe? The mystery of Yajuj and Majuj spans the sacred texts of three religions, the legends of Alexander the Great, and the ancient fears of settled civilizations threatened by the barbarians beyond the mountains. This is the story of the most terrifying prophecy in the Abrahamic apocalypse — and the wall that still holds them back.
Summary: Gog and Magog (Yajuj wa Majuj in Arabic) are mentioned in the Hebrew Bible (Ezekiel 38-39, Genesis 10), the New Testament (Revelation 20:7-9), and the Quran (Surah Al-Kahf 18:83-98, Surah Al-Anbiya 21:96-97). In the Quranic narrative, the righteous ruler Dhul-Qarnayn (often identified with Alexander the Great or Cyrus the Persian) builds a massive iron wall reinforced with molten brass to imprison the corrupting tribes behind a mountain pass until the Day of Judgment. In Islamic eschatology, the release of Gog and Magog is a major sign of the Hour. In the Bible, Gog is described as the prince of Magog, a land from the "far north," who leads a vast army against Israel in the final days. Historically, Gog and Magog have been associated with various nomadic peoples: the Scythians, the Huns, the Khazars, the Mongols, and the tribes of the Caucasus. The identity of the "wall of Dhul-Qarnayn" has been the subject of speculation for centuries, with candidates ranging from the Caucasus Gates of Derbent to the Great Wall of China.
📜 The Biblical Gog and Magog
The first appearance of Gog and Magog is in the Table of Nations in Genesis 10, where Magog is listed as a son of Japheth, one of the three sons of Noah. Later, the prophet Ezekiel delivers a dramatic prophecy against "Gog, of the land of Magog, the chief prince of Meshech and Tubal." In Ezekiel's vision, Gog leads a vast army from the "uttermost parts of the north" against a restored Israel, only to be defeated by God in a cataclysm so great that it will take seven months to bury the dead. This prophecy has captivated Jewish and Christian exegetes for millennia. Who is this Gog from the north? The most common identification points to Gyges, a king of Lydia in Anatolia (7th century BC), or to the Scythians, the fierce nomadic horsemen of the Eurasian steppe who terrorized the ancient Near East. In the Book of Revelation, Gog and Magog are invoked once more: "Satan will be released from his prison and will go out to deceive the nations in the four corners of the earth — Gog and Magog — to gather them for battle."
The Wall of Dhul-Qarnayn — Quran, Surah Al-Kahf
"Bring me blocks of iron." They worked until, when he had leveled between the two mountains, he said: "Blow!" Until, when he had made it fire, he said: "Bring me molten brass to pour over it." So Gog and Magog were unable to pass over it, nor were they able to dig through it. He said: "This is a mercy from my Lord. But when the promise of my Lord comes to pass, He will make it level. And the promise of my Lord is ever true."
👑 Dhul-Qarnayn: The Builder of the Wall
In Surah Al-Kahf of the Quran, a righteous ruler known as Dhul-Qarnayn — "the Two-Horned One" — travels to the ends of the earth. He journeys to the setting place of the sun (found it setting in a spring of dark mud), to the rising place of the sun, and finally to a region between two mountains where he encounters a people who complain of the corruption caused by Gog and Magog. In exchange for tribute, Dhul-Qarnayn builds a massive barrier of iron blocks and molten brass across the mountain pass. The wall cannot be scaled or penetrated. It will stand until the Day of Judgment, when God will reduce it to dust. The identity of Dhul-Qarnayn is one of the great questions of Quranic exegesis. The most common identification is with Alexander the Great, who was depicted on coins with two horns (associated with the Egyptian god Amun). Alexander's campaigns took him to the Caucasus Mountains, where he was said to have built gates against the wild tribes of the north. Others identify Dhul-Qarnayn with Cyrus the Great of Persia.
🌄 The Real Wall?
For centuries, travelers and scholars have sought to identify the physical location of the wall. The most prominent candidate is the "Gates of Alexander" or the "Caspian Gates" — a series of fortifications built by the Sassanian Persians in the 5th-6th centuries at the Derbent Pass in the Caucasus Mountains (modern Dagestan, Russia). The Derbent wall runs between the mountains and the Caspian Sea, controlling the strategic pass. Another candidate is the "Iron Gate" in the Tian Shan mountains of Central Asia. Yet another is the Great Wall of China. Each of these walls was built by a settled empire to defend against nomadic invaders from the steppe — the Scythians, the Huns, the Mongols. The historical reality behind the legend is clear: Gog and Magog represent the persistent fear of the "barbarians beyond the mountains," the wild tribes that periodically swept out of the Eurasian steppe and devastated the civilizations of the south and west.
📖 The Legacy: Ancient Fear, Future Prophecy
The legend of Gog and Magog endures as both a historical memory and an apocalyptic expectation. They represent the terror of the outsider — the barbarian horde, the Mongol army, the chaos that threatens civilization. Their release is a terrifying promise in Islamic eschatology, one of the final signs of the Hour. Their wall — wherever it is — holds back the forces of destruction. And one day, according to all three Abrahamic faiths, it will fall. The name "Gog and Magog" has been invoked throughout history: by medieval maps labeling the barbaric lands of the north, by modern geopolitics theorizing about Russia's role in the apocalypse, and by the fears of every generation that the walls holding back chaos are thinner than they appear.