page_title: Slovakia
section_title: Demographics
hierarchical_section_title: Slovakia / Demographics
caption_attribution_description: English: A map represtenting the population density in Slovakia, as of 01-01-2019
context_page_description: Slovakia, officially the Slovak Republic, is a landlocked country in Central Europe. It is bordered by Poland to the north, Ukraine to the east, Hungary to the south, Austria to the southwest, and Czech Republic to the northwest. Slovakia's territory spans about 49,000 square kilometres and is mostly mountainous. The population is over 5.4 million and consists mostly of ethnic Slovaks. The capital and largest city is Bratislava, and the second-largest city is Košice. The official language is Slovak.
  The Slavs arrived in the territory of present-day Slovakia in the 5th and 6th centuries. In the 7th century they played a significant role in the creation of Samo's Empire and in the 9th century established the Principality of Nitra, which was later conquered by the Principality of Moravia to establish Great Moravia. In the 10th century, after the dissolution of Great Moravia, the territory was integrated into the Principality of Hungary, which would become the Kingdom of Hungary in 1000. In 1241 and 1242, much of the territory was destroyed by the Mongols during their invasion of Central and Eastern Europe.
context_section_description: The population is over 5.4 million and consists mostly of Slovaks. The average population density is 110 inhabitants per km². According to the 2011 census, the majority of the inhabitants of Slovakia are Slovaks (80.7%). Hungarians are the largest ethnic minority (8.5%). Other ethnic groups include Roma (2%), Czechs (0.6%), Rusyns (0.6%) and others or unspecified (7.6%). Unofficial estimates on the Roma population are much higher, around 5.6%.
  In 2018 the median age of the Slovak population was 41 years.
  The largest waves of Slovak emigration occurred in the 19th and early 20th centuries. In the 1990 US census, 1.8 million people self-identified as having Slovak ancestry.
caption: Population density in Slovakia. The two biggest cities are clearly visible, Bratislava in the far west and Košice in the east.
exif: {}