Medieval history of Tallinn: from Danish fortress to Hanseatic capital
history-soviet

Medieval history of Tallinn: from Danish fortress to Hanseatic capital

Quick Answer

Why is Tallinn Old Town a UNESCO site?

Tallinn's Old Town was inscribed as a UNESCO World Heritage Site in 1997 for its exceptional preservation of a medieval North European merchant city. The historic centre retains its original street layout, an almost complete circuit of medieval defensive walls, Gothic churches, guild halls and merchant houses dating from the 13th to 16th centuries — a level of integrity rare in European cities of comparable age.

Eight hundred years of layered history

Most visitors to Tallinn Old Town experience its medieval fabric as backdrop — something beautiful and old that provides the setting for photographs and café terraces. This guide is for those who want to understand what they are actually looking at: how the city came to exist in this form, who built it and why, what it was used for, and why so much of it survived.

The short answer to the last question is contingent and somewhat ironic: Tallinn preserved its medieval architecture partly because the city declined in importance after the Hanseatic period and there was less pressure to modernise. Prosperity built the city; relative poverty preserved it.


Before Tallinn: pre-medieval settlement

The limestone escarpment of Toompea and the natural harbour below had been inhabited long before the medieval city was founded. Archaeological evidence indicates fortified Estonian settlements on Toompea from at least the 5th century CE. These were the centres of the Estonian tribal political structure — Toompea was the stronghold of the county of Rävala.

Medieval chronicles record that a wooden Estonian fortress stood on Toompea at the time of the Danish conquest. The Estonians who lived here were not yet Christian — the conversion of the Baltic peoples was one of the stated justifications for the 13th-century Northern Crusades.


The Danish conquest (1219)

Danish King Valdemar II landed on the Estonian coast at Lyndanisse (the area of present-day Toompea) in June 1219. According to the traditional account recorded in medieval chronicles, the Danes were losing a battle against the Estonian defenders when a red banner with a white cross appeared in the sky — the origin legend of the Danish flag (Dannebrog). The Danes rallied and won.

The historical reality of the conquest was a continuation of the broader Northern Crusades, in which German crusading orders, Danish kings and Swedish forces competed to control the pagan Baltic peoples and their territories. The crusade was religiously motivated but also commercially and politically driven — control of the Estonian coast meant control of trade routes to Russia and the profits of the growing Baltic commerce.

Valdemar built a stone fortress on Toompea and established a bishop’s see, creating the administrative and religious foundations of the new Danish city. The settlement below the hill began to develop as a trading port.

The name “Tallinn” (or “Taani linn” — Danish Town) may derive from this Danish founding, though the etymology is disputed among historians. The earliest documented form of the name appears in a 1219 chronicle.


The Teutonic Order and the German city (1227–1561)

The Danes lost control of northern Estonia to the Teutonic Order (a German crusading military order) in 1227, following a period of instability. The Teutonic Order ruled from a separate base at Toompea Castle; the Lower Town below developed under the jurisdiction of German merchants and the church.

The German merchant class that built the Lower Town was part of the broader Hanseatic League network — the trading consortium of Baltic and North Sea cities that dominated European commerce from the 13th to the 15th centuries. Tallinn (then known in German as Reval) became a full Hanseatic member in 1285 and quickly developed into one of the league’s most prosperous eastern cities.

The Hanseatic city

The Hanseatic merchants built the Lower Town as a functional commercial organism. Pikk Street (Long Street) was the main axis, running from the harbour to the market square. The Great Guild Hall (for the most senior merchants) and the Brotherhood of Blackheads (for unmarried foreign merchants) maintained the commercial and social order. Specialized guilds for craftsmen — blacksmiths, tanners, tailors — occupied their own streets and halls.

The wealth that flowed through Reval in the 14th and 15th centuries is visible in the architecture:

  • St Olaf’s Church: The original medieval spire reached approximately 159 metres — the tallest human-built structure in the world from 1549 to 1625.
  • The Great Guild Hall (Pikk 17): A limestone hall of considerable architectural quality.
  • The Three Sisters (Pikk 71): Three connected 15th-century merchant houses whose facades show the prosperity of individual merchant families.
  • The Town Hall: The only surviving Gothic town hall in the Baltic states, with its distinctive spire and arched loggia.

The city walls were progressively strengthened through the 14th and 15th centuries until Reval had one of the most formidable urban fortifications in the region — 28 towers and a circuit of approximately 2.4 kilometres. See Tallinn city walls and towers for the surviving sections.

The social structure

The medieval city had a clear hierarchy. The German-speaking nobility and higher clergy occupied Toompea. The German merchant class controlled the Lower Town. Estonian-speaking workers and craftsmen occupied the lower ranks of the economy. The legal code and the social order were structured to maintain these distinctions. Estonians were barred from membership in the Great Guild; the gap between the German Burgher class and the Estonian population was maintained legally and culturally.

This social structure — German ruling class over Estonian workers — persisted in modified form through successive political regimes until the 20th century. Understanding it illuminates the specific resentments that made both Soviet and Estonian nationalist histories of the 20th century so charged.


Swedish control (1561–1710)

As the Livonian War (1558–83) destroyed the Teutonic Order’s political structure across the Baltic, Reval chose to submit to Swedish rather than Russian or Polish-Lithuanian control. Swedish rule began in 1561.

The Swedish period was, in many respects, positive for the city. The Swedish administration was more structured than the Order’s had been, trade continued (though the Hanseatic League was declining across Europe), and Swedish governance brought legal codification and educational investment. Tartu University was founded in 1632 (though Reval’s own university aspirations were not realised).

The most significant military development of the Swedish period was the construction of the Bastion Tunnels beneath Toompea — an underground fortification system built from 1688 to 1710 that supplemented the medieval wall circuit with modern artillery defences. See Kiek in de Kök and the Bastion Tunnels for visiting details.


Russian Imperial rule (1710–1917)

The Great Northern War (1700–21) ended Swedish control of the Baltic coast. Russian Imperial forces under Peter the Great besieged Reval in 1710; the city capitulated after a relatively brief siege. Russian rule would continue for over two centuries.

The Russian period brought the most visually incongruous addition to the Toompea skyline: the Alexander Nevsky Cathedral, built 1894–1900 as an assertion of Russian Orthodox authority at the symbolic heart of the city. See Alexander Nevsky Cathedral guide.

Under the tsarist administration, the German Baltic nobility retained much of their social and economic position. Estonians began to develop a national consciousness in the 19th century through cultural movements — the collection and publication of the Estonian national epic Kalevipoeg (1857–61) and the establishment of the Estonian national song tradition (the first Song Festival was held in Tartu in 1869).


The Hanseatic city at its peak: what Tallinn was in 1450

To understand what the medieval city was at its height, it helps to set the scene concretely.

In approximately 1450, Reval (Tallinn) was one of the most prosperous trading cities in the Baltic. The Hanseatic League connected it to Lübeck, Hamburg, Bruges, London and Novgorod — a commercial network that spanned from the Atlantic to the Russian interior. The city had approximately 5,000–8,000 inhabitants, a large number for the period and region.

Goods moving through the Reval harbour included:

  • East to West: Russian furs, wax, honey, forest products, and dried fish from the inland hunting and fishing territories
  • West to East: Cloth (Flemish and English wool textiles), salt (essential for fish preservation), metals (copper, tin) and finished goods from Western Europe
  • Local exports: Herring from the Gulf of Finland, grain from the Estonian countryside

The Hanseatic merchant who dominated this trade was not a free-market entrepreneur in the modern sense. He operated within a highly regulated system of guild restrictions, trading privileges and the Hanseatic League’s collective agreements. The Great Guild in Reval enforced rules about who could trade in what goods, where goods could be stored (in licensed warehouses, not in private houses), and what prices could be charged. Violations were dealt with by the guild court before they went to the civic magistrate.

The physical city reflected this regulation. The warehouses (kojas) that lined the harbour approach stored goods in transit under guild supervision. The scales used for weighing trade goods were officially certified and located in designated public weighing houses. The merchant who cheated the scales faced social and legal consequences from a community that depended on reliable commercial trust.

The system worked well for approximately 200 years. It began to break down in the late 15th and early 16th centuries as the Hanseatic League lost its competitive advantages — new ocean routes bypassed the Baltic, the English and Dutch developed their own merchant fleets, and the political instability of the Livonian War disrupted the trade routes that had made Reval prosperous.


The Livonian War and the end of the medieval order

The Livonian War (1558–1583), in which Ivan the Terrible’s Tsardom of Muscovy attempted to seize control of the Livonian territory (roughly modern Estonia and Latvia), ended the medieval political order in the Baltic. The Livonian Confederation that had governed the region — an arrangement of the Teutonic Order, various bishops and free cities — collapsed under the military pressure.

Reval chose to submit to Swedish protection in 1561 rather than face Russian conquest. The city’s fortifications — the walls, towers and Bastion Tunnels — were built and maintained specifically in response to the Russian threat. Ivan the Terrible’s forces besieged Reval in 1571 and 1577 without success; the cannonballs still embedded in the walls of Kiek in de Kök are the physical evidence of these attacks.

The city survived the war largely intact, but the Hanseatic trade that had made it prosperous was disrupted and never fully recovered. The late 16th and 17th centuries saw Reval as a moderately prosperous secondary city of the Swedish Empire — still functional, still significant, but no longer at the apex of Baltic commerce.


Estonian independence and what followed

The first Republic of Estonia was declared in February 1918 and secured through the Estonian-Soviet War of Independence (1918–20). For the first time since the 13th century, the city was governed by Estonians.

For what happened after 1940, see Soviet Tallinn guide and Vabamu Museum guide.


Guided historical tours

For context that connects the physical fabric of Old Town to its eight centuries of layered history:

Book the Tallinn medieval walking tour — covers Hanseatic history and fortifications Book the guided Old Town historical walking tour

Popular Georgia tours on GetYourGuide

Verified deep-linked GetYourGuide tours. Book through these links and we earn a small commission at no cost to you.