Slovakia: a history from Great Moravia to independence

For almost a thousand years Slovakia was part of Hungary. It joined the Czechs in Czechoslovakia in 1918 and became independent in 1993.

By Last reviewed

Slovakia
Slovakia and its neighbours. Borders approximate.

Key facts

Capital
Bratislava
Independence
1 January 1993
Population
About 5.4 million
Language
Slovak
Memberships
European Union and NATO since 2004
Currency
Euro since 2009

Through the ages

The main periods of Slovakia's history, 833 CE to today. Recent centuries are drawn wider so they can be read.

  1. Great Moravia833 CE to 907 CE
  2. Kingdom of Hungary1000 to 1918
  3. Czechoslovakia1918 to 1939
  4. Slovak State1939 to 1945
  5. Communist Czechoslovakia1948 to 1989
  6. Slovak Republic1993 to today

Timeline

  1. 863 CE
    Culture and faith

    Cyril and Methodius

    The Byzantine missionaries Cyril and Methodius arrive in Great Moravia, whose lands include today's Slovakia, bringing a Slavic liturgy and alphabet.

  2. c. 1000
    Empires and dynasties

    Part of Hungary

    After Great Moravia falls, Slovakia becomes part of the Kingdom of Hungary for nearly nine centuries.

  3. 1465
    Culture and faith

    Academia Istropolitana

    King Matthias Corvinus founds the first university in what is now Slovakia, in Bratislava.

  4. 1536
    Empires and dynasties

    Bratislava becomes Hungary's capital

    With most of Hungary under Ottoman rule, Pressburg, today's Bratislava, becomes the capital of the Habsburg Kingdom of Hungary. Its kings are crowned there until 1830.

  5. 1843
    Culture and faith

    A written Slovak language

    Ľudovít Štúr and his followers codify the modern Slovak literary language.

  6. October 1918
    Independence

    Czechoslovakia

    Slovaks join the Czechs in the new state of Czechoslovakia.

  7. 1939
    Wars and conflict

    The Slovak State

    Under Nazi pressure, a Slovak state allied with Germany is set up. It deports most of Slovakia's Jews.

  8. 1944
    Wars and conflict

    The Slovak National Uprising

    Slovaks rise against the pro-Nazi government and German forces. The uprising is crushed after two months.

  9. 1968
    Politics

    Dubček and the Prague Spring

    The Slovak communist Alexander Dubček leads the reforms of the Prague Spring, crushed by a Soviet-led invasion.

  10. 1989
    Politics

    The Velvet Revolution

    Peaceful protests in Bratislava and Prague end communist rule.

  11. 1 January 1993
    Independence

    Independence

    Slovakia becomes an independent country after the peaceful split of Czechoslovakia.

  12. 2004
    Treaties and agreements

    EU and NATO

    Slovakia joins both NATO and the European Union, and adopts the euro in 2009.

  13. 2009
    Economy

    The euro

    Slovakia adopts the euro.

  14. 2018
    Politics

    A journalist's murder

    The murder of the investigative journalist Ján Kuciak and his fiancée sets off mass protests, and Prime Minister Robert Fico resigns.

  15. May 2024
    Politics

    An attack on the prime minister

    Prime Minister Robert Fico is shot and seriously wounded in Handlová. He survives.

Great Moravia and Hungary

Slavs settled the lands of today’s Slovakia in the sixth century. In the ninth century they were part of Great Moravia, which received the Byzantine missionaries Cyril and Methodius in 863, an event Slovaks still celebrate. After Great Moravia fell to Magyar raiders in the early tenth century, Slovakia became part of the Kingdom of Hungary, and remained so for nearly nine hundred years, known as Upper Hungary.

When the Ottomans conquered most of Hungary after 1526, Slovakia became the heart of what was left. Pressburg, today’s Bratislava, served as the capital of Habsburg Hungary from 1536, and Hungarian kings and queens were crowned in its cathedral until 1830. Slovakia’s mining towns, such as Banská Štiavnica, produced much of the silver and gold of the empire.

A national awakening

In the nineteenth century, Slovak writers led by Ľudovít Štúr codified a literary Slovak language, and a national movement grew in the face of pressure to adopt Hungarian. When Austria-Hungary collapsed in 1918, Slovaks joined the Czechs to form Czechoslovakia.

War and communism

When Hitler broke up Czechoslovakia in 1939, a Slovak state was created under German protection. Its government deported most of Slovakia’s Jews to their deaths. In 1944 Slovaks rose against it and the Germans in the Slovak National Uprising, which was crushed. After the war, Czechoslovakia was restored and, from 1948, ruled by the Communist Party. The Slovak Alexander Dubček led the Prague Spring reforms of 1968, crushed by Soviet tanks.

Independence

After the Velvet Revolution of 1989, Slovak and Czech leaders agreed to separate, and Slovakia became independent on 1 January 1993. It joined NATO and the EU in 2004 and the euro zone in 2009. Its economy is built largely on car manufacturing, and it is among the world’s largest car producers per person. The largest minority, about one in twelve people, is Hungarian, living mainly in the south, a legacy of the centuries in the Kingdom of Hungary.

Slovakia is a land of mountains and castles. The High Tatras, the highest part of the Carpathians, rise along the border with Poland, and its hills are dotted with hundreds of castles and ruins. Bratislava sits on the Danube right next to both Austria and Hungary. Most Slovaks are Roman Catholic, and the country also has significant Hungarian and Roma minorities.

For our latest reporting on Slovakia, see the news listed on this page.

Landmarks and heritage

Medieval to 18th century

Banská Štiavnica

Central Slovakia

A historic silver-mining town with a famous mining academy. A UNESCO World Heritage Site.

12th century onward

Spiš Castle

Eastern Slovakia

One of the largest castle complexes in central Europe. Part of a UNESCO World Heritage Site.

Rebuilt many times

Bratislava Castle

Bratislava

The castle above the Danube that was a seat of Hungarian kings.

Medieval ruin

Devín Castle

Bratislava

A ruined castle on a rock above the meeting of the Danube and Morava rivers.

Terms you will meet in the news

Great Moravia
A ninth-century Slavic state covering parts of today's Czechia, Slovakia and Hungary.
Velvet Divorce
The peaceful separation of Czechoslovakia into Czechia and Slovakia on 1 January 1993.
Upper Hungary
The historic name for the lands of Slovakia within the Kingdom of Hungary.
High Tatras
The highest part of the Carpathian mountains, on Slovakia's border with Poland.
Roma
A people whose ancestors came from northern India about a thousand years ago and who now live across Europe. Slovakia has one of the largest Roma communities in proportion to its population.
Academia Istropolitana
The first university in what is now Slovakia, founded in Bratislava in the 1460s.

Quick answers

When did Slovakia become independent?

On 1 January 1993, when Czechoslovakia split peacefully in two.

Why was Bratislava important to Hungary?

While the Ottomans held most of Hungary, Bratislava, then called Pressburg, was the capital of the Habsburg Kingdom of Hungary, from 1536.

Is Slovakia in the euro zone?

Yes. It adopted the euro in 2009.

Which countries does Bratislava border?

Bratislava lies on the borders of both Austria and Hungary, making it one of very few capitals next to two other countries.

When did Slovakia join the EU?

On 1 May 2004, a few weeks after joining NATO.

What language do Slovaks speak?

Slovak, a West Slavic language very close to Czech. Slovaks and Czechs understand each other easily.

Sources and further reading

Compiled by The Indus Compass from the sources above and standard reference works, and reviewed 27 November 2026. Dates before the modern era are approximate and some are debated by historians. Spotted a mistake? Tell the newsroom and we will correct it.