The Kingdom of Hungary held a noble class of individuals, most of whom owned landed property, from the 11th century until the mid-20th century. Initially, a diverse body of people were described as noblemen, but from the late 12th century only high-ranking royal officials were regarded as noble. Most aristocrats claimed ancestry from chieftains of the period preceding the establishment of the kingdom around 1000; others were descended from western European knights who settled in Hungary. The lower-ranking castle warriors also held landed property and served in the royal army. From the 1170s, most privileged laymen called themselves royal servants to emphasize their direct connection to the monarchs. The Golden Bull of 1222 established their liberties, especially tax exemption and the limitation of military obligations. From the 1220s, royal servants were associated with the nobility and the highest-ranking officials were known as barons of the realm. Only those who owned allods – lands free of obligations – were regarded as true noblemen, but other privileged groups of landowners, known as conditional nobles, also existed.
In the 1280s, Simon of Kéza was the first to claim that noblemen held authority in the kingdom. The counties developed into institutions of noble autonomy, and the nobles' delegates attended the Diets (parliaments). The wealthiest barons built stone castles allowing them to control vast territories, but royal authority was restored in the early 14th century. In 1351, King Louis I introduced an entail system and enacted the principle of "one and the selfsame liberty" of all noblemen, but legal distinctions between true noblemen and conditional nobles prevailed. The most powerful nobles employed lesser noblemen as their familiares (retainers) but this private link did not sever the familiaris' direct subjection to the monarch. According to customary law, only males inherited noble estates, but under the Hungarian royal prerogative of prefection the kings could promote "a daughter to a son", allowing her to inherit her father's lands. Noblewomen who had married a commoner could also claim their inheritance – the daughters' quarter (that is one-quarter of their father's possessions) – in land.
Although the Tripartitum – a frequently cited compilation of customary law published in 1514 – reinforced the idea that all noblemen were equal, the monarchs granted hereditary titles (mainly baron and count) to powerful aristocrats, and the poorest nobles lost their tax exemption from the mid-16th century. In the early modern period, because of the expansion of the Ottoman Empire, Hungary was divided into three parts: Royal Hungary, Transylvania and Ottoman Hungary. The princes of Transylvania supported the noblemen's fight against the Habsburg dynasty in Royal Hungary, but prevented the Transylvanian noblemen from challenging their own authority. Ennoblement of whole groups of people was not unusual in the 17th century. Examples include the 10,000 hajdú who received nobility as a group in 1605. After the Diet was divided into two chambers in Royal Hungary in 1608, noblemen with a hereditary title had a seat in the upper house, other nobles sent delegates to the lower house.
After the Ottomans' defeat in the Great Turkish War in the late 17th century, Transylvania and Ottoman Hungary were integrated into the Habsburg monarchy. The Habsburgs confirmed the nobles' privileges several times, but their attempts to strengthen royal authority regularly brought them into conflicts with the nobility, who represented nearly five percent of the population. Reformist noblemen demanded the abolition of noble privileges from the 1790s, but their program was enacted only during the Hungarian Revolution of 1848. Most noblemen lost their estates after the emancipation of their serfs, but the aristocrats preserved their distinguished social status. State administration employed thousands of impoverished noblemen in Austria-Hungary. Prominent (mainly Jewish) bankers and industrialists were awarded with nobility, but their social status remained inferior to traditional aristocrats. Noble titles were abolished only in 1947, months after Hungary was proclaimed a republic.
The Magyars (or Hungarians) lived in the Pontic steppes when they first appear in written sources from the mid-9th century. Muslim merchants described them as wealthy nomadic warriors, but they also noticed the Magyars had extensive arable lands. The Magyars crossed the Carpathian Mountains after the Pechenegs invaded their lands in 894 or 895. They settled in the lowlands along the Middle Danube, annihilated Moravia and defeated the Bavarians in the 900s. According to some scholarly theories, at least three Hungarian noble clans were descended from Moravian aristocrats who survived the Magyar conquest. Historians who are convinced that the Vlachs (or Romanians) were already present in the Carpathian Basin in the late 9th century propose that the Vlach knezes (or chieftains) also endured. Neither of these hypotheses are universally accepted.
Around 950, the Byzantine Emperor Constantine VII Porphyrogenitus (r. 913–959) wrote that the Hungarians were organized into "tribes", and each had its own "prince". The tribal leaders most probably bore the title úr (now "lord"), as it is suggested by Hungarian terms deriving from this word, such as ország (now "realm") and uralkodni ("to rule"). The Emperor noted the Magyars spoke both Hungarian and "the tongue of the Chazars" (a powerful steppe people), showing that at least their leaders were bilingual.
The Magyars lived a nomadic or semi-nomadic life but archaeological research shows that most settlements consisted of small pit-houses and log cabins in the 10th century. Tents in use are only mentioned in 12th-century literary sources. No archaeological finds evidence fortresses in the Carpathian Basin in the 10th century, but fortresses were also rare in Western Europe during the same period. A larger log cabin – measuring five by five metres (16 ft × 16 ft) – which was built on a foundation of stones in Borsod was tentatively identified as the local leader's household.
More than a 1,000 graves yielding sabres, arrow-heads and bones of horses show that mounted warriors formed a significant group in the 10th century. The highest-ranking Hungarians were buried either in large cemeteries (where hundreds of their men were buried without weapons around their leader's burial place), or in small cemeteries with 25–30 graves. The wealthy warriors' burial sites yielded richly decorated horse harness, and sabretaches ornamented with precious metal plaques. Rich women's graves contained their braid ornaments and rings made of silver or gold and decorated with precious stones. The most widespread decorative motifs which can be regarded as tribal totems – the griffin, wolf and hind – were rarely applied in Hungarian heraldry in the following centuries. Defeats during the Hungarian invasions of Europe and clashes with the paramount rulers from the Árpád dynasty had decimated the leading families by the end of the 10th century. The Gesta Hungarorum, a chronicle written around 1200, claimed that dozens of noble kindred flourishing in the late 12th century had been descended from tribal leaders, but most modern scholars do not regard this list as a reliable source.
Stephen I (r. 997–1038), who was crowned the first king of Hungary in 1000 or 1001, defeated the last resisting tribal chieftains. Earthen forts were built throughout the kingdom and most of them developed into centers of royal administration. About 30 administrative units, known as counties, were established before 1040; more than 40 new counties were organized during the next centuries. Each county was headed by a royal official, the ispán. The royal court provided further career opportunities. As the historian Martyn Rady noted, the "royal household was the greatest provider of largesse in the kingdom" where the royal family owned more than two thirds of all lands. The palatine – the head of the royal household – was the highest-ranking royal official.