This is the Dhul-Qarnayn story for kids, told the way the Quran tells it. Dhul-Qarnayn was a king. He was very strong and very powerful, and he could travel almost anywhere on earth. But the most wonderful thing about him was not his power. It was what he did with it: he was fair, he helped people who were scared, and he never once said "look what I did".
His story is in Surah al-Kahf, the surah many families read every Friday. It is the last of the four stories in that surah, and children love it because it has long journeys, a people in danger, a giant wall, roaring fire and melted metal.
Everything on this page comes from the Quran and from the classical tafsir of al-Tafsir al-Muyassar, Ibn Kathir and al-Sa'di. Some books and videos add a name, a country or exciting battles to this story. We have left them out. Where the Quran does not tell us something, we say so.
If you want every ayah and the full tafsir discussion, including the questions adults ask, read our complete story of Dhul-Qarnayn in the Quran. This page is the one to read aloud.
How to use this page
Read the story aloud, one part at a time. The sentences are short on purpose, so you can stop whenever your child wants to ask something. Each ayah box shows the Arabic with its English meaning. Read the English, and if your child is learning Quran, point to the Arabic words.
After the story you will find the moral in one sentence, three questions to talk about, a guide for different ages, a short sentence from the Quran to learn together, and honest answers to the questions children ask most.
The story of Dhul-Qarnayn for children
A good king with a special gift
A long, long time ago, there was a king. The Quran calls him Dhul-Qarnayn. That is a big name, so you can practise it together: Dhul-Qar-nayn. The Quran does not tell us his real name or which country he came from. Al-Muyassar simply calls him "the righteous king", which means the good king.
Allah gave this king a special gift. The Quran says:
﴿إِنَّا مَكَّنَّا لَهُۥ فِى ٱلْأَرْضِ وَءَاتَيْنَـٰهُ مِن كُلِّ شَىْءٍ سَبَبًا ٨٤ فَأَتْبَعَ سَبَبًا ٨٥﴾(84) Indeed, We established him upon the earth, and We gave him from everything a way [i.e., means]. (85) So he followed a way
Allah made him strong on the earth and gave him “from everything a way”
(Quran 18:84). That means Allah gave him the tools and the knowledge to do great things. Al-Sa'di explains that Allah gave him a kingdom and made the lands of the earth open to him.
But here is something important. Having the tools is not enough. You have to use them! Al-Sa'di explains that the goal is reached only when someone has the means and also gets up and uses them. And that is just what Dhul-Qarnayn did: “So he followed a way”
(Quran 18:85). Al-Muyassar says he used his tools with hard work and effort.
Think of it like this: having a football does not make you a good player. You have to practise. Dhul-Qarnayn had the gift, and he worked hard with it.
Journey one: where the sun sets
Dhul-Qarnayn set off on a long journey to the west, the direction where the sun goes down in the evening. He travelled so far that he could not go any further.
There he saw the sun going down, and it looked as if it was sinking into dark, muddy water. Ibn Kathir explains that the sun did not really go into the water. It only looked that way, just as when you stand on a beach in the evening and the sun seems to sink into the sea. Al-Muyassar says the same: it looked to his eyes as if it was setting in the water.
Near that water, he found a group of people. And Allah gave Dhul-Qarnayn a choice about how to treat them. He could punish them, or he could treat them with goodness. Al-Muyassar explains that treating them with goodness meant teaching them the right way.
What would a powerful king do with people who could not stop him? Some kings would be cruel. But listen to what Dhul-Qarnayn said:
﴿قَالَ أَمَّا مَن ظَلَمَ فَسَوْفَ نُعَذِّبُهُۥ ثُمَّ يُرَدُّ إِلَىٰ رَبِّهِۦ فَيُعَذِّبُهُۥ عَذَابًا نُّكْرًا ٨٧ وَأَمَّا مَنْ ءَامَنَ وَعَمِلَ صَـٰلِحًا فَلَهُۥ جَزَآءً ٱلْحُسْنَىٰ ۖ وَسَنَقُولُ لَهُۥ مِنْ أَمْرِنَا يُسْرًا ٨٨﴾(87) He said, "As for one who wrongs, we will punish him. Then he will be returned to his Lord, and He will punish him with a terrible punishment [i.e., Hellfire]. (88) But as for one who believes and does righteousness, he will have a reward of the best [i.e., Paradise], and we [i.e., Dhul-Qarnayn] will speak to him from our command with ease."
He was fair. Anyone who did wrong would be punished. But anyone who believed in Allah and did good things would get the best reward from Allah, and the king himself would be kind to them. Al-Muyassar explains that he promised to be good to them, to speak gently to them and to make things easy for them.
That is what a good leader does. Being fair is not only about punishing the bad. It is also about being gentle with the good.
Journey two: where the sun rises
Then Dhul-Qarnayn turned around and travelled in the other direction, to the east, where the sun comes up in the morning. He travelled until he reached the place where the sun rises.
There he found a people who had nothing to protect them from the sun. Al-Muyassar explains that they had no buildings to cover them and no trees to give them shade. The Quran does not tell us more than this, and we do not need to know more.
Then the Quran tells us something lovely: “And We had encompassed [all] that he had in knowledge.”
(Quran 18:91) Allah knew everything about Dhul-Qarnayn: every place he went and everything he had. Al-Muyassar explains that Allah's knowledge was all around the good he had and his great tools, wherever he went. A king can travel to the ends of the earth, but he can never go anywhere that Allah does not see.
Journey three: a frightened people between two mountains
Then Dhul-Qarnayn set off once more. This time he came to a place between two big mountains. And there he found a people who could hardly understand what he said. Al-Muyassar explains that they barely knew the language of other people.

But they found a way to explain their problem, because they were very worried. They said:
﴿قَالُوا۟ يَـٰذَا ٱلْقَرْنَيْنِ إِنَّ يَأْجُوجَ وَمَأْجُوجَ مُفْسِدُونَ فِى ٱلْأَرْضِ فَهَلْ نَجْعَلُ لَكَ خَرْجًا عَلَىٰٓ أَن تَجْعَلَ بَيْنَنَا وَبَيْنَهُمْ سَدًّا ٩٤﴾(94) They said, "O Dhul-Qarnayn, indeed Gog and Magog are [great] corrupters in the land. So may we assign for you an expenditure that you might make between us and them a barrier?"
Ya'juj and Ma'juj were causing terrible harm in the land. Al-Muyassar explains that they were two huge nations of people, children of Adam like us, who were destroying the crops on the farms and hurting people. The frightened people offered Dhul-Qarnayn money if he would build a wall to keep Ya'juj and Ma'juj out.
"No money, thank you. Just help me!"
What do you think the king said? Did he take the money? No! He said:
﴿قَالَ مَا مَكَّنِّى فِيهِ رَبِّى خَيْرٌ فَأَعِينُونِى بِقُوَّةٍ أَجْعَلْ بَيْنَكُمْ وَبَيْنَهُمْ رَدْمًا ٩٥﴾(95) He said, "That in which my Lord has established me is better [than what you offer], but assist me with strength [i.e., manpower]; I will make between you and them a dam.
Al-Muyassar explains his answer: what my Lord has given me is better for me than your money. Dhul-Qarnayn did not need their gold. Allah had already given him so much.
But he did not just say "no" and walk away. He asked them for something else: their help! Al-Sa'di explains that he asked them to help him with their strength, with their own hands. The king would lead the work, and the people would build their own wall.
That is a clever and kind way to help someone. He did not do everything for them while they watched. He showed them how, and they worked together.
Building the great wall
Now comes the exciting part. Dhul-Qarnayn gave the workers their instructions, one step at a time. Listen carefully, because there are steps to remember:
﴿ءَاتُونِى زُبَرَ ٱلْحَدِيدِ ۖ حَتَّىٰٓ إِذَا سَاوَىٰ بَيْنَ ٱلصَّدَفَيْنِ قَالَ ٱنفُخُوا۟ ۖ حَتَّىٰٓ إِذَا جَعَلَهُۥ نَارًا قَالَ ءَاتُونِىٓ أُفْرِغْ عَلَيْهِ قِطْرًا ٩٦﴾(96) Bring me bars of iron" - until, when he had leveled [them] between the two mountain walls, he said, "Blow [with bellows]," until when he had made it [like] fire, he said, "Bring me, that I may pour over it molten copper."
Step one: "Bring me iron." The workers brought big blocks of iron. Ibn Kathir explains that the blocks were piled up from the ground until they filled the gap between the two mountains. Al-Muyassar says the iron reached all the way up to the sides of the mountains.

Step two: "Blow!" Then they lit fires all along the iron and blew air into the fire to make it hotter and hotter. Al-Muyassar explains that he told the workers to make the fire blaze, until all the iron became like fire. Imagine a whole wall of iron glowing bright orange!

Step three: "Bring me copper." Last of all, Dhul-Qarnayn poured melted copper over the hot iron. Ibn Kathir reports from early scholars that this was melted copper. It flowed into every little gap between the iron blocks and made the whole wall into one strong, smooth piece.

Iron, then fire, then copper. Can your child remember the three steps?
Watch this story in QASASDhul-Qarnayn's WallHow did Dhul-Qarnayn build a wall Gog and Magog could not break?Open on Google Play →The wall that nobody could get past
Did the wall work? Yes! The Quran says that Ya'juj and Ma'juj could not climb over it, and they could not dig through it. Al-Muyassar explains why: it was too high and too smooth to climb, and too thick and strong to dig through.
The frightened people were safe at last.
"This is a mercy from my Lord"
Now, if you had built the biggest, strongest wall in the world, what would you say? Maybe "Look at me! Look what I built!"
But Dhul-Qarnayn said something much better:
﴿قَالَ هَـٰذَا رَحْمَةٌ مِّن رَّبِّى ۖ فَإِذَا جَآءَ وَعْدُ رَبِّى جَعَلَهُۥ دَكَّآءَ ۖ وَكَانَ وَعْدُ رَبِّى حَقًّا ٩٨﴾(98) [Dhul-Qarnayn] said, "This is a mercy from my Lord; but when the promise of my Lord comes [i.e., approaches], He will make it level, and ever is the promise of my Lord true."
He said: “This is a mercy from my Lord”
(Quran 18:98). He did not say "I did it". He said that the wall was a gift from Allah. Al-Sa'di explains that he said this because he knew the wall was built by the kindness and gift of Allah, not by his own strength.
Al-Sa'di also explains something wonderful about good kings: the more Allah gives them, the more thankful they become. Prophet Sulayman, peace be upon him, was the same. When he received a great gift, he said it was from the favour of his Lord.
And Dhul-Qarnayn said one more thing. He said that one day, when Allah's promise comes, Allah will flatten the wall to the ground. Even the strongest wall in the world will not last forever. Only Allah lasts forever, and Allah's promise is always true.
The moral of the Dhul-Qarnayn story for kids
The moral of the story is: whatever Allah gives us, we use it to help others, we stay fair and humble, and we say "it is from Allah".
Dhul-Qarnayn had more power than almost anyone. He could have been proud and cruel. Instead, he was fair to everyone, he helped the people who were scared, he did not take their money, he worked hard, and when it was all finished he thanked Allah.
Smaller lessons to point out along the way:
- Gifts are for using. Allah gave Dhul-Qarnayn tools, and he used them with hard work.
- Be fair to everyone. He judged the people the same way whether or not anyone was watching.
- Be gentle with good people. He promised the believers kind words and easy treatment.
- Help the people who are scared. When the frightened people asked for help, he said yes.
- Do not help only for a reward. He said "what Allah gave me is better" and refused their money.
- Working together is better. He asked the people to help, and they built the wall together.
- Do a job well, step by step. Iron, fire, copper: he did each step properly.
- Thank Allah when things go well. "This is a mercy from my Lord."
Three questions to talk about after the story
Ask these after reading. There are no wrong answers; the point is to talk.
- The people offered Dhul-Qarnayn money. Why did he say no? (He said what Allah had given him was better. Talk about helping someone because it is right, not because we get something back: helping a sibling, a friend or a neighbour.)
- What did Dhul-Qarnayn say when the wall was finished? (He said "This is a mercy from my Lord". Talk about something your child is proud of, like a drawing, a good mark or learning a surah, and practise saying "Alhamdulillah, it is from Allah".)
- Allah gave Dhul-Qarnayn special tools. What gifts has Allah given you, and how can you use them to help others? (Talk about strong hands, a kind heart, being good at reading or drawing, and one way to use each gift this week.)
Telling the Dhul-Qarnayn story by age
The facts stay the same for every age; what changes is how much you tell.
Ages 4 to 6. Keep it to three simple scenes. First, a good king whom Allah made strong. Second, scared people between two mountains who asked him for help, and he said yes without taking money. Third, the wall: iron, fire, copper, which you can act out together by stacking blocks, blowing, and "pouring" with your hands. End with the king's words: "This is a mercy from my Lord."
Ages 7 to 9. Add the three journeys, west, east and between the mountains, and draw them on a simple map together. Explain that the sun only looked as if it was going into the water, like at the beach. Talk about how he was fair to the people in the west. Ask all three questions.
Ages 10 to 12. Read Surah al-Kahf 18:83-98 together and find each scene. Talk about al-Sa'di's point that having tools is not enough unless you use them, and about why a strong person thanks Allah instead of boasting. Older children can also read the story of the People of the Cave from the same surah in our People of the Cave story for kids.
For every age: no made-up names, no invented battles, and no pictures of faces. The Quran's own version already has journeys to the ends of the earth, a frightened people, a glowing wall and melted copper. It does not need extras.
A sentence to learn together
Dhul-Qarnayn's words when the wall was finished are short enough for any child to learn: "Hadha rahmatun min Rabbi", which means "This is a mercy from my Lord."
Practise it in two halves. First, "hadha rahmatun": "this is a mercy". Then, "min Rabbi": "from my Lord". Say it together the next time something goes well: a finished puzzle, a tidy room, a safe trip home.
It teaches children something every parent wants them to know: when good things happen, we do not just say "I did it". We say "Alhamdulillah", and we remember that it came from Allah.
What the Quran does not tell us (and how to answer)
Children ask great questions, and the honest answer to some of them is "the Quran does not say".
- "What was Dhul-Qarnayn's real name?" The Quran does not tell us his name, his country or when he lived. Al-Muyassar calls him "the righteous king".
- "Was Dhul-Qarnayn a prophet?" The Quran does not say he was a prophet. It tells us he believed in Allah and was a good, fair king. The full discussion is in our story of Dhul-Qarnayn in the Quran.
- "Where is the wall now?" The Quran does not tell us where it is. It only says it was between two mountains, and that Allah will flatten it when His promise comes.
- "What do Ya'juj and Ma'juj look like?" The Quran does not describe them. Al-Muyassar explains that they are two great nations from the children of Adam. Stories about how they look are not from the Quran.
- "How tall was the wall?" The Quran does not give its size. Ibn Kathir notes that scholars gave different answers about its height and width.
Teaching a child to say "the Quran does not tell us" is a gift. It helps them love the Quran as it is, without stories that were added later.
The story at a glance
| Part | What happens | Ayat |
|---|---|---|
| The gift | Allah makes the good king strong and gives him the means | 18:83-85 |
| The west | Where the sun sets, he treats a people fairly | 18:86-88 |
| The east | Where the sun rises, a people with no shade | 18:89-91 |
| The mountains | A frightened people ask for a wall against Ya'juj and Ma'juj | 18:92-94 |
| No money | "What Allah gave me is better: help me with strength" | 18:95 |
| The wall | Iron, then fire, then melted copper | 18:96 |
| Safe | Nobody can climb over it or dig through it | 18:97 |
| Thank you, Allah | "This is a mercy from my Lord" | 18:98 |
Watch and read Dhul-Qarnayn's Wall in QASAS
In QASAS, the story "Dhul-Qarnayn's Wall" follows the ayat of Surah al-Kahf, from the frightened people between the mountains to the iron, the fire and the copper. Each chapter is tied to its ayah. Children can read it page by page with you, look at the pictures, which show no faces, and then try a short quiz to see what they remember.
It is a calm way to share Islamic stories for kids at bedtime, especially on a Friday when the family reads Surah al-Kahf: read the episode in the app, read this page, ask the three questions and learn "hadha rahmatun min Rabbi" together. The same Quran stories app also has the full mushaf with tafsir, prayer times, the qibla, a 3D tasbih and adhkar, all free with no ads and no account. QASAS is on Google Play for Android and on the App Store for iPhone.
Good stories to tell next: the People of the Cave story for kids, from the same surah, and our plan of Islamic bedtime stories for kids for a whole week of calm Quran stories.
Frequently asked questions
What is the story of Dhul-Qarnayn for kids in short?
Dhul-Qarnayn was a good king whom Allah made strong. He travelled to the far west, where he ruled fairly, and to the far east. Between two mountains he met a frightened people, refused their money, and built them a wall of iron and melted copper against Ya'juj and Ma'juj. Then he said: "This is a mercy from my Lord" (18:83-98).
What is the moral of the story of Dhul-Qarnayn?
The moral is to use what Allah gives us to help others, to stay fair and humble, and to thank Allah for every success. Dhul-Qarnayn was very powerful, but he refused payment, worked hard with the people, and gave the credit to Allah instead of himself.
Who are Ya'juj and Ma'juj, explained for kids?
Ya'juj and Ma'juj (Gog and Magog) are two great nations of people, children of Adam, who caused harm in the land, as al-Tafsir al-Muyassar explains at 18:94. The Quran does not describe what they look like, so we do not add stories about them.
Why did Dhul-Qarnayn refuse the money?
He said that what his Lord had given him was better than their money (18:95). Al-Muyassar explains that he meant the kingdom and power Allah had given him. Instead, al-Sa'di explains, he asked the people to help him with their own strength and hands.
How was the wall of Dhul-Qarnayn built?
It was built in three steps (18:96). First, blocks of iron were piled up between the two mountains. Second, fires were lit and blown until the iron glowed like fire. Third, melted copper was poured over it, which Ibn Kathir reports from early scholars, binding it into one strong wall.
Was Dhul-Qarnayn a prophet?
The Quran does not say he was a prophet. It tells us he was a believing, fair king who did good with his power. Al-Tafsir al-Muyassar calls him "the righteous king", and that is the safest way to describe him to children.
What age is the story of Dhul-Qarnayn suitable for?
The story of Dhul-Qarnayn suits children from about age 4, told around the frightened people, the wall and "This is a mercy from my Lord". Ages 7 to 9 can add the three journeys on a map; ages 10 to 12 can read Surah al-Kahf 18:83-98 and find each scene.
Sources
Quran: Surah al-Kahf 18:83-98 (Uthmani text and Saheeh International translation), with a reference to Surah an-Naml 27:40. Tafsir: al-Tafsir al-Muyassar (King Fahd Complex: 18:83-98), Ibn Kathir (18:86, 18:96) and al-Sa'di (Taysir al-Karim al-Rahman: 18:84-85, 18:95, 18:98).
Updated: · By QASAS


