The Pied Piper of Hamelin by Robert Browning
Quick answer: The Pied Piper of Hamelin by Robert Browning: full story summary, the moral explained, rhyme and form, plus answers to common exam questions.
Browning wrote The Pied Piper of Hamelin in 1842 as a sickbed entertainment for a friend's young son, and it shows in the best possible way. The poem romps. Rats swarm through larders, a mysterious stranger in a half-yellow, half-red coat names his price, and a whole town of children vanishes into a mountainside. Yet under the fun sits one of the coldest morals in Victorian poetry: break your word and you will pay with what you love most.
This guide walks through what actually happens in the poem, how Browning builds his headlong music, why the story still unsettles readers who met it as children, and which of its tricks a working poet can lift for their own narrative verse.
What the poem says
The setup is swift. Hamelin, a prosperous town in Brunswick, is overrun by rats. They fight the dogs, kill the cats, bite babies in their cradles, and spoil the soup. The desperate townsfolk corner their Mayor and Corporation, who are useless until a strange piper appears at the council door and offers to clear the rats for a thousand guilders. The Mayor, giddy with relief, promises fifty thousand.
The Piper plays, and every rat in Hamelin follows him to the river Weser and drowns, all but one, who swims home to tell the tale. With the plague gone, the Mayor haggles. A thousand guilders for a bit of piping? He offers fifty. The Piper warns him that people who cross him regret it, then lifts the pipe again. This time the children come dancing, every boy and girl in Hamelin, and follow him not to the river but to Koppelberg Hill, which opens, swallows them, and closes. One lame boy, too slow to keep up, is left behind to describe the wonderful land the music promised him.
Browning ends by addressing the child the poem was written for, drawing the moral plainly: keep your promises, especially to pipers.
How it works
The poem is built on irregular rhymed verse, mostly four-beat lines that speed up and slow down as the story demands. Browning stacks rhymes in greedy clusters rather than tidy couplets, sometimes rhyming four or five lines in a row, which gives the verse its tumbling, breathless feel. Listen to the rat catalogue early on: the rhymes arrive so fast they mimic the swarm itself.
His other great tool is the list. Rats are not just numerous, they are itemised: great rats, small rats, lean rats, brawny rats, and on through a whole census of vermin. The catalogue technique returns when the children pour out of the houses. Repetition with variation makes the crowd feel physically real.
Notice too how Browning controls tone through his narrator, who is chatty, ironic, and fond of a sly aside at the Mayor's expense. The comedy of the first half makes the silence after the mountain closes land much harder. The single surviving rat and the single lame child mirror each other structurally: each catastrophe leaves one witness, and each witness reports that the music promised paradise.
Why it lasts
The legend of the lost children of Hamelin is centuries older than Browning, but his version became the standard one in English because he found the right voice for it: playful enough for children, barbed enough for adults. The poem endures as a study in civic hypocrisy. The Mayor and Corporation, gowned and gluttonous, are recognisable in any era, and the poem's justice falls not on them alone but on the whole community that let them govern.
There is also something genuinely uncanny at its core. The Piper is never explained. He is not a devil, not an angel, just a figure who keeps bargains absolutely and expects the same. That refusal to explain is why the poem still chills.
What today's poet can steal
First, the rhyme cluster. Instead of neat ABAB patterns, try letting three or four rhymes pile up when your poem's energy peaks, then spacing them out when it rests. Rhyme density can do the work of tempo markings.
Second, the surviving witness. Ending a narrative poem on the one figure left out of the main event, the lame boy who heard the music but lost the ending, gives you grief and wonder in a single image. When judges score a contest poem on emotion and structure together, this kind of ending tends to do the heavy lifting.
What poets can take from this
- Vary your line length inside a rhymed narrative to control pace instead of keeping every line uniform.
- Use itemised lists (of creatures, objects, names) to make a crowd or a chaos feel physical.
- Let comic tone in the first half deepen the shock of a dark turn later.
- Leave your most mysterious character unexplained; explanation kills the uncanny.
- Try ending a story poem on a minor witness rather than the main actor.
Try it yourself
Write a narrative poem about a bargain your speaker's town made and broke, told years later by the one person who was left out of the consequences.
Questions
What is the moral of The Pied Piper of Hamelin?
Browning states it directly at the end: keep your promises. The town cheats the Piper of his agreed fee, and the price of that broken word is the loss of every child in Hamelin. The poem is a fable about honouring debts, aimed at adults as much as children.
Is The Pied Piper of Hamelin based on a true story?
It draws on a genuine medieval legend from the German town of Hamelin, where records from the late thirteenth century mention the loss of the town's children. Historians still debate what actually happened, but Browning worked from the folk tale, not from history.
What form is The Pied Piper of Hamelin written in?
It is written in irregular rhymed verse with lines of varying length, mostly carrying four stresses. Browning clusters rhymes unpredictably, sometimes several in a row, to create the poem's galloping, playful momentum.
By the Writory editorial team, reviewed by working poets. Updated July 2026.
Enter a Writory poetry contest
Enter the September contest and have your own poem read and scored. That first entry makes you a Writorian.