Demographics of Hungary

Demographic features of the population of Hungary include population density, ethnicity, education level, health of the populace, economic status, religious affiliations and other aspects.
Hungary's population has been slowly declining since 1980. The population composition at the foundation of Hungary (895) depends on the size of the arriving Hungarian population and the size of the Slavic (and remains of Avar-Slavic) population at the time. One source mentions 200 000 Slavs and 400 000 Hungarians, while other sources often don't give estimates for both, making comparison more difficult. The size of the Hungarian population around 895 is often estimated between 120 000 and 600 000, with a number of estimates in the 400-600 000 range. Other sources only mention a fighting force of 25 000 Magyar warriors used in the attack, while declining to estimate the total population including women and children and warriors not participating in the invasion. In the historical demographics the largest earlier shock was the Mongol Invasion of Hungary, several plagues also took a toll on the country's population.
According to demographers, about 80 percent of the population was made up of Hungarians before the Battle of Mohács. However, the Hungarian ethnic group became a minority in its own country in the 18th century due to centuries long Ottoman and Habsburg wars, the resettlement policies and continuous immigration from neighboring countries. Major territorial changes made Hungary ethnically homogeneous after World War I. Nowadays, more than nine-tenths of the population is ethnically Hungarian and speaks Hungarian as the mother tongue.
Note: The data refer to the territory of the Kingdom of Hungary, and not that of the present-day republic.
The total fertility rate is the number of children born per woman. It is based on fairly good data for the entire period in the present-day Hungary. Sources: Our World In Data and Gapminder Foundation.
Total Fertility Rate by county
Source: 2011 census
The infant mortality rate (IMR) decreased considerably after WW II. In 1949, the IMR was 91.0. The rate decreased to 47.6 in 1960, 35.9 in 1970, 23.2 in 1980, 14.8 in 1990, 9.2 in 2000 and reached an all-time low in 2023 at 3.1 per 1000 live born children.
Source: Hungarian Central Statistical Office
There are large variations in the birth rates as of 2016: Zala County has the lowest birth rate with 7.5 births per thousand inhabitants, while Szabolcs-Szatmár-Bereg County has the highest birth rate with 11.2 births per thousand inhabitants.
The death rates also differ greatly from as low as 11.3 deaths per thousand inhabitants in Pest County to as high as 15.7 deaths per thousand inhabitants in Békés County.
Hungary before the Treaty of Trianon (4 June 1920)
Hungary lost 64% of its total population in consequence of the Treaty of Trianon, decreasing from 20.9 million to 7.6 million, and 31% (3.3 out of 10.7 million) of its ethnic Hungarians, Hungary lost five of its ten most populous cities.
According to the census of 1910, the largest ethnic group in the Kingdom of Hungary were Hungarians, who were 54.5% of the population of Kingdom of Hungary, excluding Croatia-Slavonia. Although the territories of the former Kingdom of Hungary that were assigned by the treaty to neighbouring states in total had a majority of non-Hungarian population, they also included areas of Hungarian majority and significant Hungarian minorities, numbering 3,318,000 in total.
The number of Hungarians in the different areas based on census data of 1910. The present day location of each area is given in parentheses.
Non-Hungarian population in the Kingdom of Hungary, based on 1910 census data
Romanians, Slovaks, Ruthenians, Serbs, Croats and Germans, who represented the majority of the populations of the above-mentioned territories:
Post-Trianon Hungary
According to the 1920 census 10.4% of the population spoke one of the minority languages as mother language:
The number of bilingual people was much higher, for example 1,398,729 people spoke German (17%), 399,176 people spoke Slovak (5%), 179,928 people spoke Croatian (2.2%) and 88,828 people spoke Romanian (1.1%). Hungarian was spoken by 96% of the total population and was the mother language of 89%. The percentage and the absolute number of all non-Hungarian nationalities decreased in the next decades, although the total population of the country increased.
Note: 300.000 Hungarian refugees fled to Hungary from the territory of successor states (Romania, Czechoslovakia and Yugoslavia) after the WW I.
From 1938 to 1945
Hungary expanded its borders with territories from Czechoslovakia, Romania and Yugoslavia following the First Vienna Award (1938) and Second Vienna Award (1940). The remainder of Carpathian Ruthenia and parts of Yugoslavia were occupied and annexed in 1939 and 1941, respectively. Regarding Northern Transylvania, the Romanian census from 1930 counted 38% Hungarians and 49% Romanians, while the Hungarian census from 1941 counted 53.5% Hungarians and 39.1% Romanians. The territory of Bácska had 789,705 inhabitants, and 45,4% or 47,2% declared themselves to be Hungarian native speakers or ethnic Hungarians. The percentage of Hungarian speakers was 84% in southern Czechoslovakia and 25% in the Sub-Carpathian Rus.
After WW II: 1949–1990
After World War II, about 200,000 Germans were deported to Germany according to the decree of the Potsdam Conference. Under the forced exchange of population between Czechoslovakia and Hungary, approximately 73,000 Slovaks left Hungary. After these population movements Hungary became an ethnically almost homogeneous country except the rapidly growing number of Romani people in the second half of the 20th century.
For historical reasons, significant Hungarian minority populations can be found in the surrounding countries, notably in Ukraine (in Transcarpathia), Slovakia, Romania (in Transylvania), and Serbia (in Vojvodina). Austria (in Burgenland), Croatia, and Slovenia (Prekmurje) are also host to a number of ethnic Hungarians.
2001–2022
When the Hungarians invaded the Carpathian Basin, it was inhabited by Slavic and Avar peoples. Written sources from the 9th century also suggest that some groups of Onogurs and Bulgars occupied the valley of the river Mureș at the time of the Magyars’ invasion. There is a dispute as to whether Romanian population existed in Transylvania during that time.
The Roma minority
The first Romani groups arrived in Hungary in the fifteenth century from Turkey. Nowadays, the real number of Roma in Hungary is a disputed question.
In the 2001 census only 190 046 (2%) called themselves Roma, but experts and Roma organisations estimate that there are between 450,000 and 1,000,000 Roma living in Hungary. Since then, the size of the Roma population has increased rapidly. Today every fifth or sixth newborn child belongs to the Roma minority. Based on current demographic trends, a 2006 estimate by Central European Management Intelligence claims that the proportion of the Roma population will double by 2050, putting the percentage of its Roma community at around 14-15% of the country's population.
There are problems related to the Roma minority in Hungary, and the very subject is a heated and disputed topic.
Objective problems:
Kabars
Three Kabar tribes joined to the Hungarians and participated in the Hungarian conquest of Hungary. They settled mostly in Bihar county.
Böszörménys
The Muslim Böszörménys migrated to the Carpathian Basin in the course of the 10th-12th centuries and they were composed of various ethnic groups. Most of them must have arrived from Volga Bulgaria and Khwarezm.
Pechenegs
Communities of Pechenegs (Besenyő in Hungarian) lived in the Kingdom of Hungary from the 11-12th centuries. They were most numerous in the county of Tolna.
Oghuz Turks (Ouzes)
Smaller groups of Oghuz Turk settlers ('Úzok' or 'Fekete Kunok/Black Cumans' in Hungarian) came to the Carphatian Basin from the middle of the 11th century. They were settled mostly in Barcaság. The city of Ózd got its name after them.
Jassics
The Jassic (Jász in Hungarian) people were a nomadic tribe which settled -with the Cumans- in the Kingdom of Hungary during the 13th century. Their name is almost certainly related to that of the Iazyges. Béla IV, king of Hungary granted them asylum and they became a privileged community with the right of self-government. During the centuries they were fully assimilated to the Hungarian population, their language disappeared, but they preserved their Jassic identity and their regional autonomy until 1876. Over a dozen settlements in Central Hungary (e.g. Jászberény, Jászárokszállás, Jászfényszaru) still bear their name.
Cumans
During the Russian campaign, the Mongols drove some 200,000 Cumans, a nomadic tribe who had opposed them, west of the Carpathian Mountains. There, the Cumans appealed to King Béla IV of Hungary for protection. In the Kingdom of Hungary, Cumans created two regions named Cumania (Kunság in Hungarian): Greater Cumania (Nagykunság) and Little Cumania (Kiskunság), both located the Great Hungarian Plain. Here, the Cumans maintained their autonomy, language and some ethnic customs well into the modern era. According to Pálóczi's estimation originally 70–80,000 Cumans settled in Hungary.
Romanians
The oldest extant documents from Transylvania make reference to Vlachs too. Regardless of the subject of Romanian presence/non-presence in Transylvania prior to the Hungarian conquest, the first chronicles to write of Vlachs in the intra-Carpathian regions is the Gesta Hungarorum, while the first written Hungarian sources about Romanian settlements derive from the 13th century, record was written about Olahteluk village in Bihar County from 1283. The 'land of Romanians', Terram Blacorum (1222, 1280) showed up in Fogaras and this area was mentioned under different name (Olachi) in 1285. The first appearance of a probably Romanian name 'Ola' in Hungary derives from a charter (1258).
They were a significant population in Transylvania, Banat, Maramureș and Partium (Crișana). There are different estimations in connection with number of Romanians in Kingdom of Hungary. According to a research based on place-names made by István Kniezsa, 511 villages of Transylvania and Banat appear in documents at the end of the 13th century, however only 3 of them bore Romanian names, and around 1400 AD, Transylvania and Banat consisted of 1757 villages, though only 76 (4.3%) of them had names of Romanian origin. The number of Romanians started to increase significantly from the Early modern period, and by 1700 the Romanian ethnic group consisted of 40 percent of the Transylvanian population and their number raised even more in the 18th century. Although, in 1574, Pierre Lescalopier, relating his voyage from Venice to Constantinople, claimed that most of the inhabitants of Transylvania were Romanians and according to other estimates, the Romanian inhabitants who were primarily peasants, consisted of more than 60 percent of the population in 1600. Jean W. Sedlar estimates that Vlachs (Romanians) constituted about two-thirds of Transylvania's population in 1241 on the eve of the Mongol invasion, however according to Károly Kocsis and Eszter Kocsisné Hodosi the Hungarian ethnic group in Transylvania was in decent majority before Battle of Mohács and only lost its relative majority by the 17th century. Nevertheless, Grigore Ureche in Letopisețul Țării Moldovei (1642 - 1647) noticed that in Transylvania Romanians were more numerous than Hungarians. Official censuses with information on Hungary's ethnic composition have been conducted since the 19th century.
In 1881, Romanian-majority settlements projected to the present-day territory of Hungary were: Bedő, Csengerújfalu, Kétegyháza, Körösszakál, Magyarcsanád, Méhkerék, Mezőpeterd, Pusztaottlaka and Vekerd. Important communities lived in the villages of Battonya, Elek, Körösszegapáti, Létavértes, Nyíradony, Pocsaj, Sarkadkeresztúr, Zsáka and in the town of Gyula.
Slovaks
The Slovak people lived mainly in Upper Hungary, northern parts of the Kingdom of Hungary. Due to post-Ottoman resettlements, the regions of Vojvodina, Banat and Békés county received bigger Slovak communities in the 18th century, which revitalized many deserted villages and towns, such as Békéscsaba, where Slovaks became the biggest ethnic group, or Nyíregyháza, where they comprised more than a third of the population in 1881. After WWII a major population exchange with Czechoslovakia was carried out: 71,787 or 73,200 Slovaks from Hungary were transferred to Slovakia – the exact number depends on source consulted – were resettled in South Slovakia in exchange for, according to different estimations, 45,000 or 120,000 Hungarians.
Serbs
From the 14th century, escaping from the Ottoman threat, a large number of Serbs migrated to the Hungarian Kingdom. After the Battle of Mohács, most of the territory of Hungary got into Ottoman rule. In that time, especially in the 17th century, many Serb, and other Southern Slavic immigrants settled in Hungary. Most of the Ottoman soldiers in the territory of present-day Hungary were South Slavs (the Janissary). After the Turkish withdrawal, Kingdom of Hungary came under Habsburg rule, a new wave of Serb refugees migrated to the area around 1690, as a consequence of the Habsburg-Ottoman war. In the first half of the 18th century, Serbs and South Slavs were ethnic majority in several cities in Hungary.
Germans
Three waves of German migration can be distinguished in Hungary before the 20th century. The first two waves settled in Upper Hungary and in Southern Transylvania (Transylvanian Saxons), with the first being in the 11th century and the second in the 13th century.
The third, largest wave of German-speaking immigrants into Hungary occurred after the withdrawal of the Ottoman Empire from Hungarian territory, after the Treaty of Karlowitz. Between 1711 and 1780, German-speaking settlers immigrated to the regions of Southern Hungary, mostly region of Bánát, Bács-Bodrog, Baranya and Tolna counties (as well as into present-day Romania and Yugoslavia), which had been depopulated by the Ottoman wars. At the end of the 18th century, the Kingdom of Hungary contained over one million German-speaking residents (collectively known as Danube Swabians). In 2011, 131,951 people declared to be German in Hungary (1,6%).
Rusyns
Rusyns had lived mostly in Carpathian Ruthenia, Northeast Hungary, however significant Rusyn population appeared in Vojvodina from the 18th century.
Croats
Croatia was in personal union with Hungary from 1102. Croat communities were spread mostly in the western and southern part of the country and along the Danube, including Budapest.
Poles
The Poles lived at the northern borders of Kingdom of Hungary from the arrival of the Hungarians.
Slovenes
The Slovenes (Vendek in Hungarian) lived in the western part of the Carpathian basin before the Hungarian conquest. In the 11th and 12th century, the current linguistic and ethnic border between the Hungarian and Slovene people was established. Nowadays, they live in Vendvidék (Slovenska krajina in Slovenians) between the Mura and the Rába rivers. In 2001, there were around 5,000 Slovenes in Hungary.
Jews
The first historical document about Jews of Hungary is the letter written about 960 to King Joseph of the Khazars by Hasdai ibn Shaprut, the Jewish statesman of Córdoba, in which he says Jews living in "the country of Hungarin". There are Jewish inscriptions on tombs and monuments in Pannonia (Roman Hungary) dated to the second or third century CE.
Armenians
The first Armenians came to Hungary from the Balkans in the 10 - 11th century.
Greeks
Greeks migrated to Kingdom of Hungary from the 15th and 16th centuries. Mass migrations did not occur until the 17th century, the largest waves being in 1718 and 1760–1770; they were primarily connected to the economic conditions of the period. It is estimated that 10,000 Greeks emigrated to Hungary in the second half of the 18th century. A number of Greeks Communists escaped to Hungary after the Greek Civil War, notably in the 'Greek' village of Beloiannisz.
Bulgarians
The town of Szentendre and the surrounding villages were inhabited by Bulgarians since the Middle Ages. However, present day Bulgarians are largely descended from gardeners who migrated to Hungary from the 18th century.
The majority of Hungarians became Christian in the 11th century. Hungary remained predominantly Catholic until the 16th century, when the Reformation led to the first Lutherans, and later Calvinists, which were embraced by nearly the entire Hungarian population at the time.
In the second half of the 16th century, Jesuits led a successful campaign of counterreformation among the Hungarians, although Protestantism survived as the faith of a significant minority, especially in the far east and northeast of the country. Orthodox Christianity in Hungary has been the religion mainly of some national minorities in the country, notably Romanians, Rusyns, Ukrainians, and Serbs.
Faith Church, one of Europe's largest Pentecostal churches, is also located in Hungary. Hungary has historically been home to a significant Jewish community.
According to 2011 census data, Christianity is the largest religion in Hungary, with around 5.2 million adherents (52.9%), while the largest denomination in Hungary is the Catholic Church (38.9% — Latin Church 37.1%; Hungarian Greek Catholic Church 1.8%). There is a significant Calvinist minority (11.6% of the population) and smaller Lutheran (2.2%), Orthodox (0.1%) and Jewish (0.1%) minorities. However, these census figures are representative of religious affiliation rather than attendance; around 12% of Hungarians attend religious services more than least once a week and around 50% more than once a year, while 30% of Hungarians do not believe in God at all. The census showed a large drop of religious adherents who wish to answer, from 74.6% to 54.7% in ten years' time, replacing them by people either who do not wish to answer or people who are not following a religion.