0% • 7 min left

Aladdin and the Arabian Nights

November 16, 2026
The Arabian Nights, or One Thousand and One Nights, is a medieval collection of tales framed by Shahrazad, who tells a king a story each night to survive. Aladdin and Ali Baba are not in its oldest manuscripts: Antoine Galland added them in his French version, after hearing them from the storyteller Hanna Diyab.
Aladdin and the Arabian Nights

Key facts

Source
One Thousand and One Nights (Alf layla wa-layla); Antoine Galland's French version, Les mille et une nuits, 1704–1717
Also known as
Arabian Nights; Arabian Nights' Entertainments
Frame story
Shahrazad tells King Shahriyar a tale each night to avoid execution
Aladdin added by
Antoine Galland, from the storyteller Hanna Diyab (met in Paris, 1709)
Setting of Aladdin
A city in China, in Galland's French version
Other Galland additions
Ali Baba and the Forty Thieves
Oldest evidence
Arabic paper fragment, about the 9th century; Persian Hazar Afsan mentioned by 10th-century writers
Public-domain English translations
Lane (c. 1840), Payne (1882–84), Burton (1885–88)

Timeline

  1. About 9th century

    A small Arabic paper fragment carries the title of the Thousand Nights.

  2. 10th century

    Writers mention a Persian book, Hazar Afsan, with a king and a vizier's daughter.

  3. 1704–1717

    Antoine Galland publishes Les mille et une nuits in twelve volumes.

    Also in 1704:More from 1704

  4. 1706

    The first English translation, made from Galland's French, begins to appear.

  5. 1709

    Galland meets the Aleppo storyteller Hanna Diyab in Paris and notes the tales he tells.

  6. About 1712

    The volumes containing Aladdin are printed in French.

  7. 1835

    The Arabic text of the Nights is printed at Bulaq, Cairo.

    Also in 1835:More from 1835

  8. About 1840

    Edward Lane publishes his English translation from the Arabic.

    Also in 1840:More from 1840

  9. 1882–1888

    John Payne (1882–84) and Richard Burton (1885–88) publish full English versions.

In five minutes

The One Thousand and One Nights, known in English as the Arabian Nights, is a collection of tales from Arabic, Persian and Indian storytelling traditions, gathered over many centuries. Its Arabic title is Alf layla wa-layla.

One frame story holds it together. A clever woman, Shahrazad, tells a king a new story every night so that she is not put to death at dawn.

The most famous tales in the English-speaking world, Aladdin and Ali Baba and the Forty Thieves, are not in the oldest Arabic manuscripts of the book. They entered it through Antoine Galland's French version, Les mille et une nuits, published from 1704 to 1717.

Aladdin came to Galland from a storyteller named Hanna Diyab, a young man from Aleppo whom he met in Paris in 1709.

This page covers the frame story, the tales inside it, the Aladdin story as Galland told it, and how the book reached Europe.

The story

The frame: Shahrazad and the king

King Shahriyar discovers that his wife has betrayed him. In his anger he decides to marry a new bride each evening and have her executed the next morning.

When the city begins to run short of young women, the vizier's daughter Shahrazad (also spelled Scheherazade) asks her father to give her to the king.

Her plan is simple. Her sister Dunyazad waits in the room, and once the night is under way she asks Shahrazad for a story.

Shahrazad begins a tale and stops at dawn, at the most exciting point. The king wants to hear the ending, so he lets her live one more day.

Night after night, one story opens inside another, until the king gives up his cruel vow and keeps her as his queen. The number one thousand and one is partly a figure of speech for 'very many'.

The tales inside

The tales include the voyages of Sindbad the Sailor, the fisherman who frees a jinni from a sealed bottle, and the porter who meets three ladies in Baghdad. Others follow the caliph Harun al-Rashid as he walks his city in disguise.

Many are comic or romantic, some are frightening, and several are written for adults. The book was never meant only for children.

In Galland's French version, the two best-known additions are Aladdin and Ali Baba. Both reached English readers through him.

Aladdin, as Galland told it

Aladdin is an idle boy in a poor family, in a city in China. His father, a tailor, has died, and his mother spins cotton to feed them.

A stranger arrives and claims to be Aladdin's long-lost uncle. He is really a magician from North Africa, who has learned that only Aladdin can lift a certain lamp from a hidden underground treasure.

The magician leads the boy into the hills and opens the earth with spells. He sends Aladdin down, tells him to bring back only the old lamp, and lends him a ring for protection.

Below, Aladdin finds a garden whose fruit are jewels. He takes the lamp and fills his pockets, but when he will not hand it over before he is out, the furious magician seals the cave and leaves him there.

Aladdin wrings his hands in despair and rubs the ring. A jinni appears and carries him home.

Later his mother polishes the old lamp to sell it, and a far more powerful jinni, the slave of the lamp, appears. He obeys whoever holds it.

The family now has food on silver dishes. Aladdin glimpses the sultan's daughter, Badroulboudour (Badr al-Budur in Arabic, 'full moon of full moons'), and falls in love.

The jinni supplies jewels as a gift for the sultan and builds a palace in one night. The sultan agrees to the marriage, and Aladdin becomes a generous, well-liked man in the city.

Years later the magician learns that Aladdin is alive. He returns to the city calling out 'new lamps for old'.

The princess, who does not know the lamp's secret, trades the old one away. The magician orders the jinni to carry the palace and the princess to Africa.

Aladdin uses the ring's jinni to follow, and with the princess's help he poisons the magician's wine. He recovers the lamp and the palace.

One danger remains. The magician's brother arrives disguised as a holy woman named Fatima, and the princess welcomes her.

He persuades the princess to ask for a roc's egg to hang in the palace dome. The jinni is angered at the request, Aladdin understands the trick, and he kills the false visitor.

When the old sultan dies, Aladdin takes the throne and rules with the princess for many years.

Where the story comes from

The anchor text for this page is the One Thousand and One Nights (Arabic Alf layla wa-layla). Its first European version is Antoine Galland's Les mille et une nuits, a twelve-volume French translation published between 1704 and 1717.

The book was never a single fixed text. Medieval manuscripts from Syria and Egypt hold different numbers of tales, and stories were added over the centuries.

Tenth-century writers describe a Persian book called Hazar Afsan ('A Thousand Tales') with a king and a vizier's daughter. A small Arabic paper fragment from about the ninth century already carries the Arabic title.

Galland, a French scholar of Oriental languages, translated from a Syrian manuscript of the Nights. Once that supply of tales ran out, he turned to stories he had heard from others.

His diary records that in 1709 he met Hanna Diyab, a Maronite Christian from Aleppo who was visiting Paris. It notes the tales Diyab told him, including those that became Aladdin and Ali Baba.

Diyab later wrote an account of his own travels, which has since been published in modern editions. The man who gave the Nights two of their most famous tales was long left out of their history.

Galland's volumes with Aladdin appeared around 1712. The Arabic texts of Aladdin that survive were written after Galland's French version.

English readers first met Galland through an anonymous English translation made from his French, beginning in 1706. It gave the book its familiar English title, Arabian Nights' Entertainments.

Later translators worked from Arabic. Edward Lane published his version around 1840, John Payne followed in 1882–84, and Richard Burton in 1885–88.

The Arabic text printed at Bulaq, Cairo, in 1835 was one of their sources.

Variants

Aladdin changes with the teller. Galland names no city and places the story in China, and later retellings have turned Aladdin into a street boy or moved the setting elsewhere.

The roles of the two jinn, the magician's brother and the ending also differ from one retelling to the next. This page follows Galland's French.

What it means

At its heart the frame story is about storytelling as survival. Shahrazad does not fight the king.

She changes him with patience, curiosity and a well-timed pause.

Many tales ask who deserves good fortune. Aladdin gains his wealth through luck and a jinni, not through work, yet the story pays close attention to whether he uses it with generosity.

The tale also warns about false kinship: the 'uncle' who is a stranger with a purpose. And its objects have power only for the person who knows how to command them.

There is a second reading about history. The Nights became a Western symbol of the 'Orient', full of palaces and magic, and Galland's China-set Aladdin shows how loosely that picture was drawn.

Behind it stands a mixed tradition: Persian, Indian, Arab and Egyptian stories, and later a Syrian storyteller in Paris.

Common misconceptions

'Aladdin is one of the oldest Arabian Nights tales.'

No Arabic text of it older than Galland's French version is known. Aladdin was added to the Nights in the early 1700s.

'Aladdin is set in Arabia.'

In Galland's version the story takes place in a city in China. The magician comes from North Africa.

'Open Sesame' belongs to Aladdin.

It belongs to Ali Baba and the Forty Thieves, Galland's other well-known addition.

'Aladdin has a flying carpet.'

Galland's Aladdin has no magic carpet. A carpet that carries its owner through the air appears in a different tale, about Prince Ahmed.

'It is a children's book.'

The Nights holds tales of love, cruelty and trickery that were written for adult listeners. Many modern editions for children are heavily shortened.

Read next

Hansel and Gretel is another famous tale that reached readers through a collector, the Brothers Grimm. Compare how a folk story changes when it is written down.

Greek mythology explained shows a different tradition of gods and heroes, and how ancient poets shaped the stories we still tell.

Frequently Asked Questions

Where does Aladdin come from?

Aladdin comes from the French version of the One Thousand and One Nights published by Antoine Galland in the early 1700s. Galland heard it from Hanna Diyab, a storyteller from Aleppo, in 1709. No Arabic text of the tale older than Galland's version is known.

Is Aladdin really in the Arabian Nights?

It is in the Arabian Nights as most people know it, but not in the oldest Arabic manuscripts. Galland added it, together with Ali Baba, and it then entered later editions and translations.

Why does Shahrazad tell stories?

King Shahriyar has vowed to marry a new bride each night and execute her at dawn. Shahrazad stops each tale at a cliffhanger, so the king spares her to hear the ending. After one thousand and one nights he gives up the vow.

Who was Hanna Diyab?

Hanna Diyab was a Maronite Christian from Aleppo who travelled to France. In 1709 he told Antoine Galland stories in Paris, including the ones that became Aladdin and Ali Baba. He later wrote an account of his own travels.

Where is Aladdin set?

In Galland's French version, Aladdin lives in a city in China. The magician who tricks him comes from North Africa. The story is not set in Arabia.

What is the best English translation to read?

Lane, Payne and Burton are the old public-domain translations from Arabic, and you can read them free. Galland's French is the source of Aladdin and Ali Baba, so a version based on his text is needed to find those two.

Check Your Understanding

Pick an answer for each question to see if you were right.

  1. Who is the storyteller in the frame story of the Nights?

  2. Who added Aladdin to the Nights in the early 1700s?

  3. Where did Galland hear the tale of Aladdin?

  4. Where is Aladdin set in Galland's version?

  5. Which tale contains the words 'Open Sesame'?

Share:

About the Writer

Alex Ng
Alex Ng

Software Engineer & Writer

Software engineer with a passion for distilling complex ideas into actionable insights. Writes about finance, investment, entrepreneurship, and technology.

Read more →

Keep reading

Explore the topic: Folk & Fairy Tales

Articles

Summaries