Who is Dhul-Qarnayn in the Quran?

Mostly, we know him only from the Quran: a righteous, powerful ruler who travelled east and west and built a barrier against Gog and Magog. The Quran never gives his real name, era or homeland, and scholars have suggested several identities. What matters most is the lesson: power used with faith, justice and humility.
What the Quran says about him
His story is in Surah al-Kahf. Allah tells the Prophet ﷺ: "They ask you about Dhul-Qarnayn. Say, 'I will relate to you something of his narrative'", and says He established him in the land and gave him the means to all things (Quran 18:83-84). The name Dhul-Qarnayn means "the one with two horns" (or "two ages"), and the Quran doesn't explain it.
His three journeys
- West: he reached the place where the sun seemed to set in murky water and found a people there. He was told to punish or treat them kindly (Quran 18:85-86). He said that whoever does wrong would be punished, and whoever believes and does good would have the finest reward and easy commands (Quran 18:87-88).
- East: he reached the place where the sun rises and found a people with no shelter from it (Quran 18:90).
- Between two mountains: he found people who begged for protection from Gog and Magog, who were spreading corruption. They offered to pay him, but he refused payment, saying what his Lord had given him was better, and asked only for their help to build a barrier (Quran 18:93-95).
Gog and Magog (Ya'juj and Ma'juj) have their own article. See Who are Gog and Magog in Islam?
His humility
After building the barrier, he did not boast. He gave the credit to Allah and acknowledged that it, too, would one day end:
Who was he?
The Quran does not say, so scholars have offered different ideas. Some have suggested Alexander the Great, although others object because Alexander is not known to have been a believer in One God. Some classical scholars thought he was a righteous king from an earlier age, perhaps from Yemen. Some modern writers have proposed Cyrus the Great of Persia. None of these is certain, and Muslims are not required to choose one. The Quran leaves his identity out because the lesson does not depend on it.
Lessons from his story
- Power is a trust from Allah, to be used for justice and to help the weak.
- He declined payment for protecting people and asked only for their help.
- Success comes from effort and faith together: he asked the people to help him build.
- Remain humble, because everything made by humans ends one day.
This story is one of four in Surah al-Kahf, which many Muslims read on Fridays. See Should I read Surah al-Kahf on Fridays? The same surah tells of the young believers in the cave. See What is the story of the People of the Cave?
- Dhul-Qarnayn is a righteous ruler mentioned in Surah al-Kahf (verses 83-98).
- The Quran does not name him or say when he lived.
- He travelled west and east and built a barrier against Gog and Magog.
- The lesson is justice, service and humility in power.
People also ask
Why is the Quran in Arabic?
The Quran is in Arabic because it was revealed in its first audience's language. The Arabic is kept for worship; translations explain the meaning.
Read the full answer →Why are there different recitations of the Quran?
Mostly because the Prophet taught the Quran in more than one authentic way. These qira'at are small differences that don't change the message.
Read the full answer →Where in the Quran does it say to wear hijab?
Mainly Quran 24:31 (veils over the chest) and 33:59 (outer cloaks). Scholars of the four schools read them as covering hair and body.
Read the full answer →Where does the Quran forbid alcohol?
Yes, the Quran forbids alcohol, most clearly in Surah al-Ma'idah 5:90-91, after earlier verses (16:67, 2:219, 4:43) prepared believers step by step.
Read the full answer →What kind of Quran should I buy as a new Muslim?
It depends, but most new Muslims do best with a bilingual Arabic-English Quran, ideally with transliteration or tajweed colours and clear print.
Read the full answer →