Religion

Who Is Gog And Magog In Islam

Gog and Magog, known as Ya’juj and Ma’juj in Islam, are mysterious and powerful beings mentioned in the Quran and Hadith. They are described as a corrupt and destructive force that will emerge near the end of times, causing chaos and destruction. Their story is linked to prophecies, the barrier built by Dhul-Qarnayn, and the Day of Judgment.

This topic explores their identity, characteristics, and role in Islamic eschatology based on Islamic scriptures and interpretations.

1. Who Are Gog and Magog in Islam?

In Islamic belief, Ya’juj and Ma’juj (Gog and Magog) are a group of people or a civilization that will cause widespread corruption and disorder. They are mentioned in two main places in the Quran:

  1. Surah Al-Kahf (18:94-98) – Describing their containment behind a great barrier built by Dhul-Qarnayn.
  2. Surah Al-Anbiya (21:96-97) – Predicting their release as a sign of the end times.

These verses indicate that they are a real group of people, separated from the rest of humanity until the appointed time when they will break free and spread chaos across the world.

2. The Story of Dhul-Qarnayn and the Barrier

Who Was Dhul-Qarnayn?

Dhul-Qarnayn is a righteous ruler mentioned in Surah Al-Kahf who traveled across the world. He was given divine power and knowledge to establish justice.

The Construction of the Barrier

During his travels, Dhul-Qarnayn encountered a group of people who sought his help against the destructive force of Ya’juj and Ma’juj. They described them as a barbaric people who caused immense suffering. In response, Dhul-Qarnayn built a massive iron and copper barrier between two mountains to trap them.

The Quran states:

"So they could neither scale it nor dig through it." (Quran 18:97)

This barrier was strong enough to hold them back, but Dhul-Qarnayn warned that when Allah’s promise comes to pass, the barrier will collapse, allowing Ya’juj and Ma’juj to spread once again.

3. The Role of Gog and Magog in Islamic Eschatology

The Release of Ya’juj and Ma’juj

According to Islamic eschatology, Ya’juj and Ma’juj will be released near the end of time. The Quran states:

"But when the promise of my Lord comes to pass, He will level it to the ground. And the promise of my Lord is ever true." (Quran 18:98)

When the Day of Judgment approaches, they will break through the barrier and spread across the world, consuming resources, killing people, and causing destruction.

The Hadith on Their Emergence

Several Hadiths of Prophet Muhammad (peace be upon him) provide more details about Ya’juj and Ma’juj:

  • They will be vast in number – Described as an overwhelming army, they will consume everything in their path.
  • They will drink up rivers – Some narrations state they will drink the Sea of Galilee dry.
  • They will claim superiority – After destroying everything, they will arrogantly declare themselves as rulers of the earth.

4. The Final Destruction of Gog and Magog

After their release, Ya’juj and Ma’juj will cause chaos until Prophet Isa (Jesus, peace be upon him) prays to Allah for help.

Divine Intervention

Allah will send diseases or worms that will infect them, leading to their destruction overnight. This is mentioned in Hadith sources, where the Prophet Muhammad (peace be upon him) described how they will be wiped out by Allah’s command.

After their death, Allah will send birds to remove their bodies, and rain will cleanse the earth of their corruption.

5. Are Gog and Magog Human or Supernatural?

Interpretations by Islamic Scholars

Scholars have debated whether Ya’juj and Ma’juj are a race of humans or supernatural beings.

  1. Human Interpretation – Some scholars believe they are a powerful nation or tribe that will emerge at the end of time.
  2. Supernatural Interpretation – Others suggest they are a unique creation with extraordinary strength and destructive abilities.

Regardless of their exact nature, their emergence is considered a major sign of the Last Day.

6. Connection to Other Religions

The concept of Gog and Magog also appears in Christianity and Judaism, though with some variations.

  • In the Bible (Ezekiel 38-39) – Gog and Magog are depicted as a great army that will attack Israel but will be defeated by divine intervention.
  • In the Book of Revelation (20:7-9) – They are mentioned as part of an apocalyptic war before the final judgment.

While there are similarities, Islamic teachings emphasize their emergence as a sign of the Last Day and their destruction through divine means.

7. Lessons from the Story of Ya’juj and Ma’juj

1. The Power of Allah

The story highlights that only Allah controls the fate of the world. No human effort can stop the events of the end times, as everything happens by Allah’s will.

2. The Test of Faith

The emergence of Ya’juj and Ma’juj will be a test of faith, where believers will need to remain steadfast and trust in Allah’s plan.

3. The Reality of the End Times

Islamic eschatology warns of many trials before the Day of Judgment, and Ya’juj and Ma’juj are among the most significant signs.


In Islamic teachings, Ya’juj and Ma’juj (Gog and Magog) are a major sign of the end times. Their story, as described in the Quran and Hadith, serves as a reminder of divine power, human limitations, and the coming of the Last Day.

Although much remains unknown about their exact nature, their emergence will mark one of the final trials before the Day of Judgment. Believers are encouraged to have faith in Allah’s wisdom and prepare for the ultimate reality of the Hereafter.