Hungarians can be divided into several subgroups according to local linguistic and cultural characteristics; subgroups with distinct identities include the Székelys, the Csángós, the Palóc and the Matyó. The Jász people are considered to be an originally Iranic ethnic group more closely related to the Ossetians than to other Hungarians.
The Hungarians' own ethnonym to denote themselves in the Early Middle Ages is uncertain. The exonym "Hungarian" is thought to be derived from Oghur-Turkic On-Ogur (literally "Ten Arrows" or "Ten Tribes"). Another possible explanation comes from the Old Russian "Yugra" ("?"). It may refer to the Hungarians during a time when they dwelt east of the Ural Mountains along the natural borders of Europe and Asia before their conquest of the Carpathian Basin.
The Hungarian people refer to themselves by the demonym "Magyar" rather than "Hungarian". "Magyar" possibly derived from the name of the most prominent Hungarian tribe, the "Megyer". The tribal name "Megyer" became "Magyar" in reference to the Hungarian people as a whole.
The obscure name kerel or keral, found in the 13th-century work the Secret History of the Mongols, possibly referred to Hungarians and derived from the Hungarian title király 'king'.
The historical Latin phrase "Natio Hungarica" ("Hungarian nation") had a wider and political meaning because it once referred to all nobles of the Kingdom of Hungary, regardless of their ethnicity or mother tongue.
The origin of Hungarians, the place and time of their ethnogenesis, has been a matter of debate. Due to the classification of Hungarian as an Ugric language, they are commonly considered an Ugric people that originated from the Ural Mountains, Western Siberia or the Middle Volga region. The relatedness of Hungarians with the Ugric peoples is almost exclusively founded on linguistic data and has been called into question. It is not backed with testimonies in historical sources or the results of natural science research. However, the current consensus among linguists is that the Hungarian language is a member of the Uralic family and that it diverged from its Ugric relatives in the first half of the 1st millennium BC, in western Siberia, east of the southern Urals.
"Hungarian pre-history", i.e. the history of the "ancient Hungarians" before their arrival in the Carpathian basin at the end of the 9th century, is thus a "tenuous construct", based on linguistics, analogies in folklore, archaeology and subsequent written evidence. In the 21st century, historians have argued that "Hungarians" did not exist as a discrete ethnic group or people for centuries before their settlement in the Carpathian basin. Instead, the formation of the people with its distinct identity was a process. According to this view, Hungarians as a people emerged by the 9th century, subsequently incorporating other, ethnically and linguistically divergent, peoples.
Pre-4th century AD
Map of the presumptive Hungarian prehistory
During the 4th millennium BC, the Uralic-speaking peoples who were living in the central and southern regions of the Urals split up. Some dispersed towards the west and northwest and came into contact with Iranian speakers who were spreading northwards. From at least 2000 BC onwards, the Ugric-speakers became distinguished from the rest of the Uralic community, of which the ancestors of the Magyars, being located farther south, were the most numerous. Judging by evidence from burial mounds and settlement sites, they interacted with the Indo-IranianAndronovo culture.
4th century to c. 830
In the 4th and 5th centuries AD, the Hungarians moved from the west of the Ural Mountains to the area between the southern Ural Mountains and the Volga River known as Bashkiria (Bashkortostan) and Perm Krai. In the early 8th century, some of the Hungarians moved to the Don River to an area between the Volga, Don and the Seversky Donets rivers. Meanwhile, the descendants of those Hungarians who stayed in Bashkiria remained there as late as 1241.
The Hungarians around the Don River were subordinates of the Khazarkhaganate. Their neighbours were the archaeological Saltov culture, i.e. Bulgars (Proto-Bulgarians, Onogurs) and the Alans, from whom they learned gardening, elements of cattle breeding and of agriculture. Tradition holds that the Hungarians were organized in a confederacy of seven tribes. The names of the seven tribes were: Jen?, Kér, Keszi, Kürt-Gyarmat, Megyer, Nyék, and Tarján.
c. 830 to c. 895
Around 830, a rebellion broke out in the Khazar khaganate. As a result, three Kabar tribes of the Khazars joined the Hungarians and moved to what the Hungarians call the Etelköz, the territory between the Carpathians and the Dnieper River. The Hungarians faced their first attack by the Pechenegs around 854, though other sources state that an attack by Pechenegs was the reason for their departure to Etelköz. The new neighbours of the Hungarians were the Varangians and the eastern Slavs. From 862 onwards, the Hungarians (already referred to as the Ungri) along with their allies, the Kabars, started a series of looting raids from the Etelköz into the Carpathian Basin, mostly against the Eastern Frankish Empire (Germany) and Great Moravia, but also against the Balaton principality and Bulgaria.
In 895/896, under the leadership of Árpád, some Hungarians crossed the Carpathians and entered the Carpathian Basin. The tribe called Magyar was the leading tribe of the Hungarian alliance that conquered the centre of the basin. At the same time (c. 895), due to their involvement in the 894-896 Bulgaro-Byzantine war, Hungarians in Etelköz were attacked by Bulgaria and then by their old enemies the Pechenegs. The Bulgarians won the decisive battle of Southern Buh. It is uncertain whether or not those conflicts were the cause of the Hungarian departure from Etelköz.
From the upper Tisza region of the Carpathian Basin, the Hungarians intensified their looting raids across continental Europe. In 900, they moved from the upper Tisza river to Transdanubia (Pannonia), which later became the core of the arising Hungarian state. At the time of the Hungarian migration, the land was inhabited only by a sparse population of Slavs, numbering about 200,000, who were either assimilated or enslaved by the Hungarians.
Archaeological findings (e.g. in the Polish city of Przemy?l) suggest that many Hungarians remained to the north of the Carpathians after 895/896. There is also a consistent Hungarian population in Transylvania, the Székelys, who comprise 40% of the Hungarians in Romania. The Székely people's origin, and in particular the time of their settlement in Transylvania, is a matter of historical controversy.
The Pope approved Hungarian settlement in the area when their leaders converted to Christianity, and Stephen I (Szent István, or Saint Stephen) was crowned King of Hungary in 1001. The century between the arrival of the Hungarians from the eastern European plains and the consolidation of the Kingdom of Hungary in 1001 was dominated by pillaging campaigns across Europe, from Dania (Denmark) to the Iberian Peninsula (contemporary Spain and Portugal). After the acceptance of the nation into Christian Europe under Stephen I, Hungary served as a bulwark against further invasions from the east and south, especially by the Turks.
Population growth of Hungarians (900-1980)
At this time, the Hungarian nation numbered around 400,000 people.
Early modern period
The first accurate measurements of the population of the Kingdom of Hungary including ethnic composition were carried out in 1850-51. There is a debate among Hungarian and non-Hungarian (especially Slovak and Romanian) historians about the possible changes in the ethnic structure of the region throughout history. Some historians support the theory that the proportion of Hungarians in the Carpathian Basin was at an almost constant 80% during the Middle Ages. Non-Hungarians numbered hardly more than 20% to 25% of the total population. The Hungarian population began to decrease only at the time of the Ottoman conquest, reaching as low as around 39% by the end of the 18th century. The decline of the Hungarians was due to the constant wars, Ottoman raids, famines, and plagues during the 150 years of Ottoman rule. The main zones of war were the territories inhabited by the Hungarians, so the death toll depleted them at a much higher rate than among other nationalities. In the 18th century, their proportion declined further because of the influx of new settlers from Europe, especially Slovaks, Serbs and Germans. In 1715 (after the Ottoman occupation), the Southern Great Plain was nearly uninhabited but now has 1.3 million inhabitants, nearly all of them Hungarians. As a consequence, having also the Habsburg colonization policies, the country underwent a great change in ethnic composition as its population more than tripled to 8 million between 1720 and 1787, while only 39% of its people were Hungarians, who lived primarily in the centre of the country.
Traditional Hungarian costumes, 1822
Other historians, particularly Slovaks and Romanians, argue that the drastic change in the ethnic structure hypothesized by Hungarian historians in fact did not occur. They argue that the Hungarians accounted for only about 30-40% of the Kingdom's population from its establishment. In particular, there is a fierce debate among Hungarians and Romanian historians about the ethnic composition of Transylvania through these times.
19th century to present
In the 19th century, the proportion of Hungarians in the Kingdom of Hungary rose gradually, reaching over 50% by 1900 due to higher natural growth and Magyarization. Between 1787 and 1910 the number of ethnic Hungarians rose from 2.3 million to 10.2 million, accompanied by the resettlement of the Great Hungarian Plain and Délvidék by mainly Roman Catholic Hungarian settlers from the northern and western counties of the Kingdom of Hungary.
Spontaneous assimilation was an important factor, especially among the German and Jewish minorities and the citizens of the bigger towns. On the other hand, about 1.5 million people (about two-thirds non-Hungarian) left the Kingdom of Hungary between 1890-1910 to escape from poverty.
Magyars (Hungarians) in Hungary, 1890 census
The Treaty of Trianon: Kingdom of Hungary lost 72% of its land and 3.3 million people of Hungarian ethnicity.
The years 1918 to 1920 were a turning point in the Hungarians' history. By the Treaty of Trianon, the Kingdom had been cut into several parts, leaving only a quarter of its original size. One-third of the Hungarians became minorities in the neighbouring countries. During the remainder of the 20th century, the Hungarians population of Hungary grew from 7.1 million (1920) to around 10.4 million (1980), despite losses during the Second World War and the wave of emigration after the attempted revolution in 1956. The number of Hungarians in the neighbouring countries tended to remain the same or slightly decreased, mostly due to assimilation (sometimes forced; see Slovakization and Romanianization) and to emigration to Hungary (in the 1990s, especially from Transylvania and Vojvodina).
After the "baby boom" of the 1950s (Ratkó era), a serious demographic crisis began to develop in Hungary and its neighbours. The Hungarian population reached its maximum in 1980, then began to decline.
There was a referendum in Hungary in December 2004 on whether to grant Hungarian citizenship to Hungarians living outside Hungary's borders (i.e. without requiring a permanent residence in Hungary). The referendum failed due to insufficient voter turnout. On 26 May 2010, Hungary's Parliament passed a bill granting dual citizenship to ethnic Hungarians living outside of Hungary. Some neighboring countries with sizable Hungarian minorities expressed concerns over the legislation.
Ethnic affiliations and genetic origins
The place of origin for the regional groups of Hungarians in the conquest period according to Kinga Éry
Hungarians are a Uralic people, however Hungarians are genetically distant from their closest linguistic relatives (Mansi and Khanty), despite the eastern root of the Hungarian language the Hungarians are today mostly similar to the neighbouring non-Uralic, Indo-European peoples. A small portion up to 4% of the haplogroup N can still be found among the Hungarians, which is sometimes associated with the spread of the Uralic languages and could be a genetic link with the Hungarians and Mansi. The Hungarian conquerer mtDNA has strong links to the populations of the Baraba region, Inner Asia, Eastern Europe, Northern Europe and Central Russia.
Archeological mtDNA haplogroups show a similarity between Hungarians and Bashkirs, while another study found a link between the Khanty and Bashkirs, suggesting that the Bashkirs are mixture of Turkic, Ugric and Indo-European contributions. The homeland of ancient Hungarians is around the Ural Mountains, and the Hungarian affinities with the Karayakupovo culture is widely accepted among researchers.
However, Neparáczki argues, based on archeogenetic results, that the Conqueror Hungarians were mostly a mixture of Hunnic, Slavic, and Germanic tribes having comparable proportion of European and Asian origin and this composite people evolved in the steppes of Eastern Europe between 400 and 1000 AD. According to Neparáczki: "From all recent and archaic populations tested the Volga Tatars show the smallest genetic distance to the entire Conqueror population" and "a direct genetic relation of the Conquerors to Onogur-Bulgar ancestors of these groups is very feasible."
According to Pamjav Horolma's study, which is based on 230 samples and expected to include 6-8% Gypsy peoples, the small Hungarian haplogroup distribution study from Hungary is as follows: 26% R1a, 20% I2a, 19% R1b, 7% I, 6% J2, 5% H, 5% G2a, 5% E1b1b1a1, 3% J1, <1% N, <1% R2. According to another study by Pamjav, the area of Bodrogköz suggested to be a population isolate found an elevated frequency of Haplogroup N: R1a-M458 (20.4%), I2a1-P37 (19%), R1a-Z280 (14.3%), and E1b-M78 (10.2%). Various R1b-M343 subgroups accounted for 15% of the Bodrogköz population. Haplogroup N1c-Tat covered 6.2% of the lineages, but most of it belonged to the N1c-VL29 subgroup, which is more frequent among Balto-Slavic speaking than Finno-Ugric speaking peoples. Other haplogroups had frequencies of less than 5%.
Among 100 Hungarian men, 90 of whom from the Great Hungarian Plain, the following haplogroups and frequencies are obtained: 30% R1a, 15% R1b, 13% I2a1, 13% J2, 9% E1b1b1a, 8% I1, 3% G2, 3% J1, 3% I*, 1% E*, 1% F*, 1% K*. The 97 Székelys belong to the following haplogroups: 20% R1b, 19% R1a, 17% I1, 11% J2, 10% J1, 8% E1b1b1a, 5% I2a1, 5% G2, 3% P*, 1% E*, 1% N. It can be inferred that Szekelys have more significant German admixture. A study sampling 45 Palóc from Budapest and northern Hungary, found 60% R1a, 13% R1b, 11% I, 9% E, 2% G, 2% J2. A study estimating possible Inner Asian admixture among nearly 500 Hungarians based on paternal lineages only, estimated it at 5.1% in Hungary, at 7.4 in Székelys and at 6.3% at Csangos.
The following information is inferred from 433 Hungarian samples from the Hungarian Magyar Y-DNA Project in Family Tree (29 May 2017):
Besides the various peoples mentioned above, the Magyars later were influenced by other populations in the Carpathian Basin. Among these are the Cumans, Pechenegs, Jazones, West Slavs, Germans, and Vlachs (Romanians). Ottomans, who occupied the central part of Hungary from c. 1526 until c. 1699, inevitably exerted an influence, as did the various nations (Germans, Slovaks, Serbs, Croats, and others) that resettled the depopulated central and southern territories of the kingdom (roughly present-day South Hungary, Vojvodina in Serbia and Banat in Romania) after their departure. Similar to other European countries, Jewish, Armenian, and Roma (Gypsy) ethnic minorities have been living in Hungary since the Middle Ages.
Hungarian diaspora in the world (includes people with Hungarian ancestry or citizenship).
Hungarian diaspora (Magyar diaspora) is a term that encompasses the total ethnic Hungarian population located outside of current-day Hungary.
Kniezsa's (1938) view on the ethnic map of the Kingdom of Hungary in the 11th century, based on toponyms. Kniezsa's view has been criticized by many scholars, because of its non-compliance with later archaeological and onomastics research, but his map is still regularly cited in modern reliable sources. One of the most prominent critics of this map was Emil Petrovici.
The "Red Map", based on the controversial 1910 census (peak of the magyarization). Regions with population density below 20 persons/km2 (51.8 persons/sq. mi.) are left blank and the corresponding population is represented in the nearest region with population density above that limit. The vibrant, dominant red color was deliberately chosen to mark Hungarians while the light purple color of the Romanians, who were already the majority in the whole of Transylvania back then, is shadow-like.
^Discrimination in the EU in 2012(PDF). Special Eurobarometer (Report). 383. European Commission. November 2012. p. 233. Archived from the original(PDF) on 2 December 2012. Retrieved 2013. The question asked was "Do you consider yourself to be...?" With a card showing: Catholic, Orthodox, Protestant, Other Christian, Jewish, Muslim, Sikh, Buddhist, Hindu, Atheist, and Non-believer/Agnostic. Space was given for Other (SPONTANEOUS) and DK. Jewish, Sikh, Buddhist, Hindu did not reach the 1% threshold.
^OED, s. v. "Ugrian": "Ugri, the name given by early Russian writers to a Finno-Ugric people dwelling east of the Ural Mountains".
^Köpeczi, Béla; Makkai, László; Mócsy, András; Kiralý, Béla K.; Kovrig, Bennett; Szász, Zoltán; Barta, Gábor (2001). Transylvania in the medieval Hungarian kingdom (896-1526) (Volume 1 of History of Transylvania ed.). New York: Social Science Monographs, University of Michigan, Columbia University Press, East European Monographs. pp. 415-416. ISBN0880334797.
^A MAGYAROK TÜRK MEGNEVEZÉSE BÍBORBANSZÜLETETT KONSTANTINOS DE ADMINISTRANDOIMPERIO CÍMÛ MUNKÁJÁBAN - Takács Zoltán Bálint, SAVARIAA VAS MEGYEI MÚZEUMOK ÉRTESÍTÕJE28 SZOMBATHELY, 2004, pp. 317-333 
^Róna-Tas, András (1999). Hungarians and Europe in the Early Middle Ages. p. 273.
^Obrusánszky, Borbála (2018). Angela Marcantonio (ed.). Are the Hungarians Ugric?(PDF). The state of the art of Uralic studies: tradition vs innovation. Sapienza Università Editrice. pp. 87-106, at p. 87-88.
^Nora Berend; Przemys?aw Urba?czyk; Przemys?aw Wiszewski (2013). "Hungarian 'pre-history' or 'ethnogenesis'?". Central Europe in the High Middle Ages: Bohemia, Hungary and Poland, c.900-c.1300. Cambridge University Press. p. 62.
^Róna-Tas, András (1999). "Hungarians and Europe in the Early Middle Ages": 96. Cite journal requires |journal= (help)
^Kovrig, Bennett (2000), Partitioned nation: Hungarian minorities in Central Europe, in: Michael Mandelbaum (ed.), The new European Diasporas: National Minorities and Conflict in Eastern Europe, New York City: Council on Foreign Relations Press, pp. 19-80.
^Raffay Ern?: A vajdaságoktól a birodalomig. Az újkori Románia története (From voivodeships to the empire. The modern history of Romania). Publishing house JATE Kiadó, Szeged, 1989, pp. 155-156)
^Pamjav, Horolma; Zalán, Andrea; Béres, Judit; Nagy, Melinda; Chang, Yuet Meng (May 2011). "Genetic structure of the paternal lineage of the Roma People". American Journal of Physical Anthropology. 145 (1): 21-29. doi:10.1002/ajpa.21454. PMID21484758.
^Pamjav, Horolma; Fóthi, Á.; Fehér, T.; Fóthi, Erzsébet (1 August 2017). "A study of the Bodrogköz population in north-eastern Hungary by Y chromosomal haplotypes and haplogroups". Molecular Genetics and Genomics. 292 (4): 883-894. doi:10.1007/s00438-017-1319-z. PMID28409264. S2CID10107799.
^Csányi, B.; Bogácsi-Szabó, E.; Tömöry, Gy.; Czibula, Á.; Priskin, K.; Csõsz, A.; Mende, B.; Langó, P.; Csete, K.; Zsolnai, A.; Conant, E. K.; Downes, C. S.; Raskó, I. (July 2008). "Y-Chromosome Analysis of Ancient Hungarian and Two Modern Hungarian-Speaking Populations from the Carpathian Basin". Annals of Human Genetics. 72 (4): 519-534. doi:10.1111/j.1469-1809.2008.00440.x. PMID18373723. S2CID13217908.