Hungarians (Szerbiai magyarok, Mađari u Srbiji) are the second-largest ethnic group in Serbia. According to the 2022 census, there are 184,442 ethnic Hungarians composing 2.8% of the population of Serbia. The vast majority of them live in the northern autonomous province of Vojvodina, where they number 182,321 or 10% of the province's population, and almost 99% of all Hungarians in Serbia. Most Hungarians in Serbia are Roman Catholics by faith, while smaller numbers of them are Protestant (mostly Calvinist). Hungarian is listed as one of the six official languages of the Vojvodina, an autonomous province that traditionally fosters multilingualism, multiculturalism and multiconfessionalism.
Parts of the Vojvodina region were included in the medieval Kingdom of Hungary in the 10th century, and Hungarians then began to settle in the region, which before that time was mostly populated by West Slavs. During the Hungarian administration, Hungarians formed the largest part of the population in northern parts of the region, while southern parts were populated by sizable Slavic peoples. Following the Ottoman conquest and inclusion of Vojvodina into the Ottoman Empire in the 16th century, most Hungarians fled the region. During Ottoman rule, the Vojvodina region was mostly populated by Serbs and Muslim Slavs (Great Migrations of the Serbs). New Hungarian settlers started to come to the region with the establishment of the Habsburg administration at the beginning of the 18th century, mostly after the Peace of Passarowitz (Požarevac).
Count Imre Csáky settled Hungarians in his possessions in Bačka in 1712. In 1745, Hungarian colonists settled in Senta, in 1750 in Topola, in 1752 in Doroslovo, in 1772 in Bogojevo, in 1760 in Stara Kanjiža, in 1764 in Iđoš, in 1767 in Petrovo Selo, in 1776 in Martonoš, in 1786 in Pačir and Ostojićevo, in 1787 in Piroš, and in 1789 in Feketić. Between 1782 and 1786, Hungarians settled in Crvenka and Stara Moravica, and in 1794 in Kula.