The Ugly Duckling by Hans Christian Andersen
Quick answer: The Ugly Duckling by Hans Christian Andersen: full summary with the ending, themes of identity and belonging, the autobiography behind it, and the tale's craft.
One egg in the nest hatches late and wrong, and everything in the farmyard, from the ducks to the hens to the girl who feeds them, agrees on a single fact: this bird is ugly. Hans Christian Andersen published The Ugly Duckling in 1843, at the height of his powers, and it became at once his most beloved tale and his most transparent one, since nobody has ever doubted whose story it is.
The plot everyone remembers, mocked duckling becomes swan, hides a harsher and better story: a full year of homelessness, near-freezing and failed adoptions before the transformation. Students meet it as the classic tale of identity and belonging; writers should read it for how Andersen keeps a foregone conclusion suspenseful, and for the famous sentence about the swan's egg that carries the whole meaning.
The story in brief, ending included
On a summer farm, a mother duck hatches her brood; the largest egg opens last, producing a big, grey, awkward chick. The farmyard passes judgment instantly, and life becomes a schedule of pecks, shoves and insults, until even his mother wishes him far away. He runs. On the moor, he meets wild ducks and two young ganders who are promptly shot by hunters around him; a terrifying dog sniffs him and leaves him, and the duckling concludes, in one of Andersen's saddest jokes, that he is too ugly even for the dog to bite. He winters briefly with an old woman, her hen and her cat, who measure all worth by egg-laying and purring and find him useless; his longing for water is treated as absurd. One autumn evening he sees a flight of great white birds and is shaken by a yearning he cannot name.
The winter nearly kills him: he freezes into the ice, is rescued by a peasant, panics in the farmhouse and flees again, and survives the cold months in misery the narrator declines to detail. Then spring lifts him; his wings are suddenly strong; and he descends on a canal where three white swans come gliding toward him. Expecting to be killed by these royal birds, he bows his head toward the water, and sees his own reflection: he is a swan. Children throw bread, everyone declares the new swan the loveliest of all, and the elder swans bow to him. He thinks how little it matters to have been born in a duckyard, if one has lain in a swan's egg, and, remembering all his persecution, he is almost humble in his happiness. The tale ends with him crying that he never dreamed of such happiness when he was the ugly duckling.
The characters
Everyone in the tale exists to measure the duckling by the wrong ruler.
Themes: identity, belonging and that famous sentence
The surface moral, suffering now, swan later, is the version printed on posters, and it is genuinely there: the tale is literature's great consolation for the misfit child. Belonging is its real subject, though; every community in the story defines worth by its own habits, egg-laying, purring, quacking in the right accent, and the duckling fails each test because he is being measured against the wrong species. The tale's judgment falls on the measurers, not the measured.
The sharp edge is the swan's egg sentence: it does not matter being born in a duckyard if one has lain in a swan's egg. Read cold, that is not a promise that effort transforms you; it says the duckling was a swan all along, and suffering merely delayed the reveal. Critics have long noted the aristocratic flavour of that idea, nature over nurture, and biographers note that Andersen, the shoemaker's son courted by kings, rather liked believing he had hatched from a finer egg. Strong essays confront this: the tale consoles outsiders while quietly endorsing born superiority, and its warmth and its snobbery come from the same sentence.
The craft: a foregone conclusion kept alive
Every reader over the age of six knows the ending, some from the title alone, so the tale's suspense must come from somewhere other than outcome. Andersen gets it from cost: each episode strips the duckling of another possible home, farmyard, moor, cottage, until winter reduces him to bare survival, and the reader's question shifts from what will he become to what will be left of him when it happens. Structuring a predictable arc around accumulating loss rather than mystery is a professional trick disguised as a nursery tale.
The other device worth stealing is the reflection. Andersen withholds all narrator confirmation of the transformation until the duckling himself sees it in the water, so recognition and revelation land in the same instant, from inside the character. And the yearning planted in autumn, the flight of white birds that shakes him before he knows why, is foreshadowing done through the body rather than through information. Writers preparing a contest piece can note how the tale's emotional payoff is engineered: judges who score character and emotional impact separately are really scoring whether you built the yearning before you paid it.
The autobiography under the feathers
Andersen called the tale a reflection of his own life, and the mapping is close: the gawky boy from Odense, mocked for his looks and his voice, freezing through years of poverty and patronising sponsors in Copenhagen, then admitted at last to the drawing rooms and palaces of Europe. He was tall, huge-footed and famously odd-looking, and the theatre world he first begged into treated him much as the hens treat the duckling. The tale appeared in 1843 in New Fairy Tales, the collection where Andersen dropped the label told for children, and he reportedly wept when composing the ending. It has since become the tale every biography of him quotes, because he built it so it would be.
What poets can take from this
- For exams, organise by failed homes, farmyard, moor, cottage, winter, and show how each community's test measures the wrong thing.
- Engage the swan's egg sentence directly and take a position on its nature-over-nurture implication; that is where top marks live.
- Use the autumn flight of swans as your example of foreshadowing through unexplained longing.
- Cite the reflection scene as the tale's recognition device: the truth arrives through the character's own eyes, not the narrator's.
- As a writer, when your ending is predictable, build suspense from what the journey costs instead of what it reveals.
- Plant your character's true nature as a physical yearning early, and pay it off in the same sense, sight for sight, sound for sound.
Try it yourself
Write a story about a character who fails, in sequence, the entry tests of three different communities, each measuring a virtue they do not have, and let the final scene reveal, through their own senses rather than another character's speech, the community whose test they were built for.
Questions
What happens at the end of The Ugly Duckling?
After surviving a brutal winter alone, the duckling flies to a canal in spring and approaches three swans, expecting to be killed. Bowing his head, he sees his reflection: he has become a swan himself. Children and the older swans hail him as the most beautiful of all.
What is the theme of The Ugly Duckling?
Identity and belonging: every community judges the duckling by its own standards, and he suffers because he is measured against the wrong species. The tale consoles outsiders with the promise that their true nature will eventually find its true company.
Is The Ugly Duckling about Andersen himself?
Andersen said so directly, calling the story a mirror of his life: an odd-looking, mocked boy from a poor Odense family who endured years of humiliation before European fame. The tale's arc from farmyard scorn to royal recognition follows his biography closely.
By the Writory editorial team, reviewed by working poets. Updated July 2026.
Enter a Writory poetry contest
Enter the August contest and have your own poem read and scored.