Ya’juj and Ma’juj in Islam, commonly known as Gog and Magog (يَأْجُوجُ وَمَأْجُوجُ), are mentioned in the Qur’an and authentic Islamic tradition.
Their story is one of the most mysterious subjects connected with the Last Day and end-time events.
The Qur’an tells us that Ya’juj and Ma’juj were associated with corruption in the land. Dhul-Qarnayn, a powerful ruler mentioned in Surah Al-Kahf, constructed a barrier to protect a people from them.
But the story does not end with the construction of the barrier.
According to the Qur’an, the barrier will eventually be breached, and Ya’juj and Ma’juj will emerge as part of the events associated with the approaching Last Hour.
This raises several fascinating questions:
- Who exactly are Ya’juj and Ma’juj?
- Who built their barrier?
- Where is the barrier today?
- Is the Great Wall of China their wall?
- Are Gog and Magog supernatural monsters?
- When will Ya’juj and Ma’juj emerge?
- What will happen after their emergence?
- What do authentic Hadith tell us about them?
Let us separate what Islam establishes from what remains unknown.
Read more like Islamic mystery articles.
Ya’juj and Ma’juj in Islam: Who Are Gog and Magog?

Ya’juj and Ma’juj are two groups mentioned explicitly in the Qur’an.
They are known in English as Gog and Magog.
The Qur’an connects them with corruption and tells us about a barrier built by Dhul-Qarnayn to prevent them from reaching the people living beyond it.
However, Islamic revelation does not give us every detail people often claim to know about them.
For example, their:
- exact modern location,
- precise physical appearance,
- current population,
- modern national identity,
- and exact date of emergence
are not established with certainty by the Qur’an.
This distinction is extremely important when discussing Ya’juj and Ma’juj in Islam. The source material itself stresses that many popular descriptions circulating online are not established by authentic revelation.
The Qur’an gives us unusual details about the construction.
Dhul-Qarnayn ordered the people to bring pieces or blocks of iron.
The iron was placed between the mountain sides.
Then it was heated intensely.
Afterward, molten material was applied to the structure.
The relevant passage is found in Surah Al-Kahf 18:96.
The uploaded source likewise identifies iron and molten material as established elements of the Qur’anic description.
This is one reason the barrier should not casually be equated with every ancient wall or fortification proposed online.
Ya’juj and Ma’juj: The Terrifying Mystery of the Hidden Nation
Who are Ya’juj and Ma’juj? Where is the mysterious barrier? What does the Qur’an actually reveal about Gog and Magog? This complete visual guide follows their story through the Qur’an and authentic hadith while separating established Islamic facts from historical speculation.
Who Are Ya’juj and Ma’juj in Islam?
Ya’juj and Ma’juj, written in Arabic as يَأْجُوجُ وَمَأْجُوجُ, are mentioned explicitly in the Qur’an and authentic Islamic tradition. They are commonly known in English as Gog and Magog.
The Qur’an connects Ya’juj and Ma’juj with corruption and tells the story of a barrier constructed by Dhul-Qarnayn. The Qur’an also states that this barrier would not remain forever and that their eventual release is connected with the events of the Last Hour.
Islamic sources establish their reality, but many details frequently circulated online — including their exact location, modern identity and physical appearance — are not established by authentic revelation.
“Surely Gog and Magog are spreading corruption throughout the land.”Qur’an 18:94
The Complete Ya’juj and Ma’juj Story
The following flowchart follows the Qur’anic account of Dhul-Qarnayn and the information provided by authentic hadith about the future emergence of Ya’juj and Ma’juj.
Dhul-Qarnayn Enters the Story
People asked the Prophet Muhammad ﷺ about Dhul-Qarnayn. Allah then revealed an account describing his journeys, authority and encounters with different communities.
Qur’an 18:83Dhul-Qarnayn Reaches Two Mountain Barriers
During his journey, Dhul-Qarnayn reaches a location between two mountain barriers and encounters a people there.
Qur’an 18:93The People Fear Ya’juj and Ma’juj
The people tell Dhul-Qarnayn that Ya’juj and Ma’juj are spreading corruption throughout the land.
Qur’an 18:94They Ask Dhul-Qarnayn to Build a Barrier
The people offer compensation if Dhul-Qarnayn will construct a barrier between them and Ya’juj and Ma’juj.
Qur’an 18:94Dhul-Qarnayn Refuses Their Payment
Dhul-Qarnayn says that what his Lord has given him is better. He asks the people to assist with manpower and resources instead.
Qur’an 18:95Blocks of Iron Are Collected
Dhul-Qarnayn orders the people to bring pieces or blocks of iron and place them between the two mountain sides.
Qur’an 18:96The Iron Is Heated
He instructs them to blow on the structure until the iron becomes intensely heated.
Qur’an 18:96Molten Material Is Added
Molten material is poured over the heated iron structure, completing the barrier described in the Qur’an.
Qur’an 18:96Ya’juj and Ma’juj Cannot Overcome the Barrier
The Qur’an states that Ya’juj and Ma’juj were unable to climb over the barrier or penetrate through it.
Qur’an 18:97Dhul-Qarnayn Calls It a Mercy From Allah
Dhul-Qarnayn attributes the protection to the mercy of Allah rather than claiming the achievement as his own.
Qur’an 18:98The Barrier Will Not Last Forever
Dhul-Qarnayn explains that when Allah’s promise arrives, the barrier will be leveled.
Qur’an 18:98Ya’juj and Ma’juj Will Eventually Be Released
The Qur’an later describes the release of Ya’juj and Ma’juj as an event connected with the approach of the promised end-time events.
Qur’an 21:96–97Ya’juj and Ma’juj Emerge
When released, they are described in the Qur’an as swarming down from every elevation.
Qur’an 21:96Their Emergence Becomes a Tremendous End-Time Trial
Authentic hadith describe their emergence as a major trial connected with the final events of human history.
Sahih Muslim 2937Isa عليه السلام and the Believers Seek Allah’s Help
In the authentic end-time narration, Isa عليه السلام and the believers face this enormous trial and seek Allah’s protection.
Sahih Muslim 2937Allah Brings About Their Destruction
The authentic narration states that Allah ultimately destroys Ya’juj and Ma’juj by His command.
Sahih Muslim 2937The Final Events Continue
Their emergence and destruction form part of the wider sequence of events associated with the Last Hour.
What Does the Qur’an Say About Ya’juj and Ma’juj?
The Qur’an gives the central account of Ya’juj and Ma’juj in Surah Al-Kahf and mentions their future release in Surah Al-Anbiya.
Surah Al-Kahf 18:83–99
This passage contains the detailed account of Dhul-Qarnayn, the people who feared Ya’juj and Ma’juj, and the construction of the barrier.
- Dhul-Qarnayn is introduced.
- His journeys are described.
- He reaches a place between two mountain barriers.
- A people complain about Ya’juj and Ma’juj.
- They request protection.
- Iron is used to construct the barrier.
- The iron is heated.
- Molten material is added.
- Ya’juj and Ma’juj cannot overcome it.
- Dhul-Qarnayn calls it a mercy from Allah.
- The barrier will eventually be leveled.
Surah Al-Anbiya 21:96–97
This passage describes the future release of Ya’juj and Ma’juj and connects their emergence with the approach of the True Promise.
- Ya’juj and Ma’juj are released.
- They swarm down from every elevation.
- The event occurs near the end of human history.
- The passage refers to the approach of the True Promise.
“Until Gog and Magog have broken loose, swarming down from every hill.”Qur’an 21:96
What Do Authentic Hadith Tell Us About Ya’juj and Ma’juj?
Authentic hadith add important details about the barrier, their numbers and the events surrounding their future emergence.
The Prophet ﷺ Warned About an Opening in the Barrier
Zaynab bint Jahsh رضي الله عنها reported that the Prophet ﷺ warned about an opening made in the barrier of Ya’juj and Ma’juj. This narration is found in both Sahih al-Bukhari and Sahih Muslim.
Sahih al-Bukhari 7135 • Sahih Muslim 2880aTheir Numbers Are Extraordinary
Authentic hadith describe the enormous number of Ya’juj and Ma’juj in relation to humanity in the context of the Resurrection.
Sahih al-Bukhari 3348Their Emergence Is a Major End-Time Event
Sahih Muslim contains a detailed narration connecting the emergence of Ya’juj and Ma’juj with the events involving Dajjal, Isa عليه السلام and the believers.
Sahih Muslim 2937What Is Established and What Remains Unknown?
One of the most important parts of studying Ya’juj and Ma’juj is separating authentic Islamic information from later theories, legends and internet speculation.
What Islam Establishes
- Ya’juj and Ma’juj are mentioned in the Qur’an.
- They are associated with corruption.
- Dhul-Qarnayn constructed a barrier against them.
- Iron was used in the barrier.
- Molten material was applied.
- They could not climb over the barrier.
- They could not penetrate it.
- The barrier will eventually be breached.
- Their emergence is connected with the Last Days.
- Authentic hadith describe their enormous numbers.
What Remains Unknown
- The exact modern location of the barrier.
- The precise dimensions of the barrier.
- The exact modern country where it stands.
- Their current population.
- Their exact physical appearance.
- The exact date of their emergence.
- Their definitive identification with a modern nation.
The Great Mysteries of Ya’juj and Ma’juj
Islamic revelation gives us the essential information while leaving several geographical and chronological details unknown.
Where Is the Barrier?
The exact modern location of the barrier is not established by an authentic source giving modern geographical coordinates.
Who Exactly Are They?
Revelation establishes their existence but does not identify them with a specific modern nation.
When Will They Emerge?
Their emergence is an end-time event, but no exact calendar date has been revealed.
Where Is the Wall of Ya’juj and Ma’juj?
Many people search for the location of the barrier today. Islamic sources describe its setting but do not provide a modern map coordinate.
What the Qur’an Tells Us
Dhul-Qarnayn reached a place between two mountain barriers and constructed the barrier there.
Qur’an 18:93–96Historical Theories Exist
Historical writers have proposed different locations, including regions around the Caucasus and Central Asia. These proposals should be treated as theories rather than revealed certainty.
The Exact Modern Location Is Not Proven
The Qur’an does not provide modern geographical coordinates. Therefore, a particular modern structure should not be declared to be the barrier without reliable evidence.
Allah Knows Best
The safest approach is to affirm what revelation establishes while avoiding unsupported geographical claims.
Is the Great Wall of China the Barrier of Ya’juj and Ma’juj?
The Great Wall of China is frequently identified online with the barrier of Dhul-Qarnayn. However, this identification is not established by an authentic Islamic text.
The Qur’an describes a construction between mountain barriers involving iron and molten material. Therefore, the Great Wall of China should not be confidently presented as Dhul-Qarnayn’s barrier without reliable evidence.
The exact location of the barrier remains unknown to us.
Was Dhul-Qarnayn Alexander the Great?
Some historical traditions have attempted to identify Dhul-Qarnayn with famous ancient rulers, including Alexander the Great.
However, the Qur’an does not explicitly identify Dhul-Qarnayn with Alexander the Great. His historical identity has been discussed differently by scholars and historians.
Historical theories should not be presented as revealed certainty.
Ya’juj and Ma’juj: Myth vs. Established Evidence
Many dramatic claims about Gog and Magog circulate online. This table separates what is established from claims that lack definitive Islamic evidence.
| Claim | Status |
|---|---|
| Ya’juj and Ma’juj are mentioned in the Qur’an | ✅ Established |
| Dhul-Qarnayn built a barrier | ✅ Established |
| Iron was used | ✅ Established |
| Molten material was used | ✅ Established |
| They could not climb over or penetrate the barrier | ✅ Established |
| They will eventually emerge | ✅ Established |
| They are supernatural monsters | ❌ Not established |
| The Great Wall of China is definitely their wall | ❌ Not established |
| They are definitely the Mongols | ❌ Not established |
| Their exact modern location is known | ❌ Not established |
| Their exact modern population is known | ❌ Not established |
Ya’juj and Ma’juj Timeline
This timeline summarizes the major stages in chronological flow, from Dhul-Qarnayn’s encounter with the people to the future emergence of Ya’juj and Ma’juj.
What Can We Learn From the Story of Ya’juj and Ma’juj?
The story is not merely about discovering a hidden wall. It also teaches important lessons about power, humility, truth and dependence upon Allah.
Ya’juj and Ma’juj in One Complete Flow
Here is the entire story in a simplified visual sequence.
Dhul-Qarnayn Travels
↓
He reaches two mountain barriers.
Ya’juj and Ma’juj Cause Corruption
↓
The people ask Dhul-Qarnayn for protection.
The Barrier Is Built
↓
Iron + heat + molten material.
They Cannot Overcome It
↓
The barrier remains by Allah’s permission.
Allah’s Appointed Time Arrives
↓
The barrier is eventually breached.
Ya’juj and Ma’juj Emerge
↓
They swarm across the land.
A Tremendous End-Time Trial
↓
The believers seek Allah’s protection.
Allah Destroys Them
↓
The remaining events of the Last Hour continue.
The Greatest Mystery Is Not Just “Where Are They?”
The deeper question is not simply where the barrier is. The story reminds us that worldly power, structures and human achievements are temporary.
Islam gives us the essential truth about Ya’juj and Ma’juj while leaving many details hidden from us.
“This is a mercy from my Lord.”
— Qur’an 18:98
What Allah has revealed, we accept. What Allah has concealed, we do not invent.
Primary Islamic References
- Qur’an — Surah Al-Kahf 18:83–99: Dhul-Qarnayn, Ya’juj and Ma’juj, and the barrier.
- Qur’an — Surah Al-Anbiya 21:96–97: The release of Ya’juj and Ma’juj and the approach of the True Promise.
- Sahih al-Bukhari 3347: Narration concerning Ya’juj and Ma’juj.
- Sahih al-Bukhari 3348: Narration concerning their extraordinary numbers.
- Sahih al-Bukhari 7135: Warning concerning an opening in the barrier.
- Sahih Muslim 2880a: Narration concerning the barrier and approaching trials.
- Sahih Muslim 2881: Narration concerning the opening of the barrier.
- Sahih Muslim 2937: Detailed end-time events involving Dajjal, Isa عليه السلام and Ya’juj and Ma’juj.
Frequently Asked Questions About Ya’juj and Ma’juj
Who are Ya’juj and Ma’juj in Islam?
Ya’juj and Ma’juj are a people mentioned in the Qur’an and authentic hadith. They are associated with corruption and are connected with a barrier constructed by Dhul-Qarnayn.
Are Ya’juj and Ma’juj the same as Gog and Magog?
Yes. Gog and Magog is the common English rendering of the Arabic names Ya’juj and Ma’juj.
Where are Ya’juj and Ma’juj located?
Their exact modern location is not established by an authentic Islamic source providing modern geographical coordinates.
Who built the wall of Ya’juj and Ma’juj?
The Qur’an states that Dhul-Qarnayn constructed the barrier.
What was the barrier made from?
The Qur’an mentions iron and molten material in the construction of the barrier.
Can Ya’juj and Ma’juj climb the barrier?
The Qur’an states that they could neither climb over it nor penetrate it. See Qur’an 18:97.
Will the barrier eventually be destroyed?
Yes. Dhul-Qarnayn states that when Allah’s promise comes, the barrier will be leveled. See Qur’an 18:98.
Are Ya’juj and Ma’juj monsters?
The Qur’an does not describe them as supernatural monsters. Sensational descriptions should not be presented as established Islamic facts without authentic evidence.
Is the Great Wall of China the barrier?
There is no authentic Islamic evidence establishing that the Great Wall of China is Dhul-Qarnayn’s barrier.
Are Ya’juj and Ma’juj the Mongols?
Some historical theories have compared them with various Central Asian peoples, but identifying them definitively with the Mongols is not established by revelation.
When will Ya’juj and Ma’juj emerge?
Their emergence is an end-time event, but the Qur’an does not provide an exact calendar date.
What happens after Ya’juj and Ma’juj emerge?
Authentic hadith describe their emergence as a tremendous trial associated with the end-time events involving Isa عليه السلام and the believers.
Final Conclusion: The Real Mystery of Ya’juj and Ma’juj
The story of Ya’juj and Ma’juj in Islam is undoubtedly one of the most fascinating subjects connected with the Qur’an and the signs of the Last Day.
But the greatest lesson is not simply discovering a mysterious wall.
Islam gives us certain information:
Ya’juj and Ma’juj are real.
They are mentioned in the Qur’an.
Dhul-Qarnayn constructed a barrier against them.
Iron and molten material were involved in its construction.
They could not overcome the barrier.
The barrier will eventually be breached.
Their emergence is connected with the end times.
Authentic Hadith provide further details about their emergence and destruction.
At the same time, many questions remain unanswered.
We do not have definitive revealed evidence identifying their exact modern location, modern nation, present population, physical appearance or exact emergence date.
That is where responsible Islamic content should stop.
Instead of turning uncertainty into sensational claims, we should say:
Allah knows best.
The mystery remains—but the guidance is clear.
Ya’juj and Ma’juj are among the great mysteries connected to the unseen and future events described in Islamic tradition. To explore related subjects, read about the world of Jinn in Islam, the concept of Hell in Islam, and the chronological journey of human life according to Islamic teachings.
