Origins and History

The legend of the Pied Piper is unusual among European folk tales because it seems to preserve the memory of a real event. Hamelin's civic tradition holds that on 26 June 1284, the feast of Saints John and Paul, 130 children left the town and never returned. The oldest known witness to this tradition was a stained-glass window in Hamelin's Market Church (Marktkirche), made around 1300. It showed a colourfully dressed piper and a procession of children in white. The window was destroyed around 1660, but it survives through a description and sketch by the traveller Augustin von Moersperg (c. 1592), from which modern reconstructions have been made.

The earliest surviving written account is a Latin note in a mid-fifteenth-century manuscript from Lüneburg (c. 1440–1450). It records that a young man of thirty, handsome and finely dressed, came over the Weser bridge, played a silver pipe, and led 130 children out through the east gate to a place of execution near the 'Koppen' hill, where they vanished. Later Hamelin sources say the town once dated its records from 'the departure of our children.'

The rats, which are central to the modern story, do not appear in the early accounts. They first show up in the sixteenth century, most notably in the Zimmern Chronicle (c. 1559–1565). From then on the tale spread through learned writings such as Johann Weyer's De praestigiis daemonum (1566) and Richard Verstegan's A Restitution of Decayed Intelligence (1605). It reached its classic German form in the Brothers Grimm's Deutsche Sagen (1816).

Scholars have offered many explanations for the lost children:

  • Plague or disease, with the piper as a figure of Death leading a danse macabre.
  • Dancing mania, the medieval outbreaks of compulsive dancing.
  • A Children's Crusade, or a pilgrimage that never came home.
  • A battle, such as the defeat of Hamelin's men at Sedemünder in 1260.
  • Emigration during the Ostsiedlung, the medieval German settlement of the east.

The emigration theory has found much favour. Linguist Jürgen Udolph pointed to Hamelin-area family and place names that reappear in Brandenburg and Pomerania. Others linked the piper to recruiters, or Lokatoren, working for eastern lords such as Bishop Bruno of Olomouc. In medieval usage, the town's 'children' may simply have meant its young people or citizens.

The Story

In the year 1284, Hamelin was overrun by rats. They gnawed through grain stores, spoiled food, bit infants in their cradles, and could not be driven out by cats or poison. One day a stranger arrived dressed in a coat of many bright colours, which is why he was called 'pied.' He named himself a rat-catcher and offered to clear the town for a fixed fee. The mayor and council eagerly agreed.

The piper took out his pipe and played a strange tune. From every cellar, attic, and gutter the rats poured out and followed him. He led them to the River Weser, waded in, and the rats followed him into the water and drowned. Freed from the plague, the burghers decided the job had been too easy. They mocked the piper, found excuses, and refused to pay what they had promised.

The piper left in anger, vowing revenge. On the morning of Saints John and Paul's Day, while the adults were in church, he came back. This time he wore a hunter's green and a red hat, and he played a different melody. Every child in Hamelin over the age of four came running and followed him. He led them out of the town gate to a mountain, and the children were never seen again.

In most versions two or three children were left behind. One was lame and could not keep up. One was blind and could not see where the others went. One was deaf and could not hear the music. A child who turned back for a coat lived on to tell the tale. Later versions say the children came out of a cave in distant Transylvania, which explained the German-speaking Saxon communities there.

Key Characters

  • The Pied Piper: An unnamed, possibly supernatural stranger whose music can command animals and people alike. He is a just avenger, a sinister abductor, and an otherworldly figure all at once.
  • The Mayor and Council of Hamelin: The civic leaders whose greed and broken word bring disaster on the town.
  • The Children of Hamelin: The 130 innocents who pay for their elders' dishonesty.
  • The Left-Behind Children: The lame, blind, or deaf child who survives and serves as witness to what happened.
  • The Rats: An embodiment of plague, filth, and disorder.

Symbolism and Themes

The central moral is the sanctity of a promise. A community that cheats its benefactor brings punishment not only on its guilty leaders but on its whole future, represented by its children. The piper's music stands for an irresistible, almost demonic power that overrides will and reason. Early-modern writers often read him as the Devil himself. His motley clothing marks him as an outsider: a wandering minstrel, jester, or traveller from beyond the ordered world of the town. The mountain or cave into which the children disappear echoes old ideas of fairy hills and the underworld. Modern readers have also found in the tale themes of collective trauma, the loss of a generation, and the danger of charismatic leaders.

Cultural Significance

For Hamelin, the legend has long been part of civic identity. The 'Rat-Catcher's House' (Rattenfängerhaus, 1602–1603) bears an inscription recalling the children's departure. By tradition, no music or dancing is permitted in the Bungelosenstrasse ('drumless street'), through which the children are said to have walked. Today the town stages open-air performances of the legend every summer. It sells rat-shaped bread and sweets, and it marks its pavements with rat motifs. The phrase 'to pay the piper' became an English idiom for facing the consequences of one's choices.

Legacy and Influence

The tale entered world literature through the Brothers Grimm and Robert Browning's 1842 poem The Pied Piper of Hamelin, which gave the story its best-known English form. It has inspired:

  • Operas, including Viktor Nessler's Der Rattenfänger von Hameln (1879).
  • Animated and live-action films, from Disney's 1933 short to Jacques Demy's The Pied Piper (1972).
  • Atom Egoyan's The Sweet Hereafter (1997), which uses Browning's poem as a framing device.
  • Terry Pratchett's The Amazing Maurice and His Educated Rodents.

In psychology and politics, 'pied piper' has come to mean anyone who lures followers with enticing but dangerous promises.

The Pied Piper shares motifs with many traditions:

  • The Children's Crusade (1212): Accounts of youths who marched away and never returned.
  • Orpheus: The Greek musician whose playing enchanted animals and even stones.
  • Abduction by fairies or elves: The many European tales of people led into fairy mounds by music.
  • The Erlking: The Germanic spirit who lures children away.
  • Rat legends: Tales such as that of Bishop Hatto of Mainz, devoured by mice in the Mouse Tower on the Rhine.
  • Similar stories elsewhere: A comparable story is attached to Lorch in Germany and Brandenburg-area villages.