QuestionSlovenia

What Is the Capital of Slovenia? Ljubljana Explained

The Triple Bridge over the Ljubljanica River and Prešeren Square with the pink Franciscan Church in central Ljubljana, Slovenia
The Triple Bridge over the Ljubljanica River and Prešeren Square with the pink Franciscan Church in central Ljubljana, Slovenia. Photo: Petar Milošević (CC BY-SA 4.0), Wikimedia Commons

Ljubljana is the capital of Slovenia and, with about 300,000 residents in its city municipality, also the country’s largest city. It lies in the center of the country on the Ljubljanica River, between the Alps and the karst, and Article 10 of the Slovenian constitution names it as the capital.

Contents

Ljubljana, the capital of Slovenia

Ljubljana is home to all the main institutions of Slovenia: the National Assembly and National Council, the president’s office, the government and its ministries, the Constitutional Court and the Bank of Slovenia. Foreign embassies are based there too, along with the University of Ljubljana, the country’s oldest and largest university, founded in 1919.

According to the Statistical Office of the Republic of Slovenia, the City Municipality of Ljubljana had about 300,000 residents in 2025, roughly one in seven people in a country of about 2.13 million (World Bank estimate for 2025). The wider Central Slovenia statistical region has well over half a million people. Maribor in the northeast, the second-largest city, is little more than a third of Ljubljana’s size.

How did Ljubljana become the capital?

The site has been inhabited for thousands of years. People lived in pile dwellings on the nearby Ljubljana Marshes in prehistoric times, and a wooden wheel with an axle found there is among the oldest known in the world. The Romans founded the town of Emona around the start of the first century AD, and parts of its walls can still be seen.

The medieval town grew below a castle hill and was first mentioned in the 12th century. Under the Habsburgs it was known in German as Laibach and became the capital of the Duchy of Carniola, the heartland of the Slovenes. From 1809 to 1813 it served as the capital of Napoleon’s Illyrian Provinces, and in 1821 European powers met there for the Congress of Laibach.

On 14 April 1895 a strong earthquake damaged much of the city. The rebuilding that followed gave central Ljubljana many of its Art Nouveau facades, especially around Prešeren Square and along Miklošič Street, and helped turn a provincial town into a modern regional center.

After 1918 Ljubljana became the main city of the Slovene lands within Yugoslavia, and from 1945 the capital of the Socialist Republic of Slovenia. When Slovenia declared independence on 25 June 1991, Ljubljana naturally became the capital of the new state, and the constitution of December 1991 confirmed it.

Has Slovenia had other capitals?

As an independent country, Slovenia has had only one capital. Before independence, the Slovene lands were split between several Habsburg crown lands, each with its own capital: Ljubljana for Carniola, Graz for Styria, Klagenfurt for Carinthia and Trieste for the Austrian Littoral. Graz, Klagenfurt and Trieste now lie in Austria and Italy.

Earlier still, the early medieval Slovene principality of Carantania was centered on the Zollfeld plain near today’s Klagenfurt, where its dukes were installed on the Prince’s Stone. That is why Ljubljana’s role as the single national center is relatively modern, even though the city itself is very old.

The city today

Ljubljana is compact and green. Its old town lies along the Ljubljanica River beneath Ljubljana Castle, and much of the center is closed to most car traffic. In 2016 the city held the title of European Green Capital, awarded by the European Commission.

The architect Jože Plečnik shaped much of the modern city in the first half of the 20th century, designing bridges, embankments, squares, the National and University Library and the Central Market. In 2021 his works in Ljubljana were added to the UNESCO World Heritage List as an example of “human centred urban design.” The city is also a university town, with tens of thousands of students giving it a young atmosphere.

Famous landmarks in Ljubljana

  • Ljubljana Castle, on the hill above the old town, reachable by funicular.
  • The Triple Bridge and Prešeren Square, the city’s central meeting point, with the pink Franciscan Church and a statue of the poet France Prešeren.
  • The Dragon Bridge, guarded by four bronze dragons, the symbol of the city.
  • Ljubljana Cathedral (St. Nicholas) and the open-air Central Market.
  • Tivoli Park, a large park stretching from the center to the forested Rožnik hill.
  • Metelkova, a former army barracks turned into an alternative arts center.

Common confusions

Ljubljana is sometimes confused with Bratislava, the capital of Slovakia, because people mix up the two countries. Another frequent question is the spelling: the “lj” at the start and in the middle is a single sound in Slovene, similar to the “lli” in million. Ljubljana is not the capital of Croatia, whose capital Zagreb lies a little over 100 km (60 mi) to the southeast. Slovene, the language heard on its streets, is explained in our guide to what language is spoken in Slovenia, and the city’s sights feature in what Slovenia is known for.

More on Big World List

Frequently asked questions

Is Ljubljana the largest city in Slovenia?

Yes. Ljubljana is both the capital and the largest city of Slovenia, with about 300,000 residents in the City Municipality of Ljubljana according to the Statistical Office of the Republic of Slovenia. The second city, Maribor, is little more than a third of that size.

How do you pronounce Ljubljana?

In Slovene it sounds roughly like "lyoo-BLYAH-nah," with the "lj" pronounced like the "lli" in million. English speakers often say "loob-lee-AH-nah," which is close enough to be understood.

What was Ljubljana called in the past?

The Roman town on the site was called Emona. Under Habsburg rule the city was known in German as Laibach, a name still used in some historical documents and old maps.

When did Ljubljana become the capital of Slovenia?

Ljubljana was the capital of the Duchy of Carniola for centuries and of the Socialist Republic of Slovenia from 1945. It became the capital of an independent country when Slovenia declared independence on 25 June 1991.

Why is the dragon a symbol of Ljubljana?

A green dragon stands on the city's coat of arms above a castle tower. Local legend links it to the Greek hero Jason and the Argonauts, who were said to have slain a dragon in the marshes nearby, and dragon statues guard the Dragon Bridge in the city center.

Where is the government of Slovenia based?

The National Assembly, the government, the president's office and the Constitutional Court are all in Ljubljana. Unlike some countries, Slovenia does not split its main state institutions between several cities.

Sources and further reading

  • Constitution of the Republic of Slovenia (1991), Article 10
  • Statistical Office of the Republic of Slovenia, "Population by municipalities"
  • Encyclopaedia Britannica, "Ljubljana"
  • UNESCO World Heritage Centre, "The works of Jože Plečnik in Ljubljana – Human Centred Urban Design"

Cite this page

“What Is the Capital of Slovenia? Ljubljana Explained.” Countries of the World, https://countries.bigworldlist.com/questions/what-is-the-capital-of-slovenia/.

Slovenia: more questions and guides