Most people glance at the name “Budapest” and assume it was always one city. It wasn’t. For centuries, what we now know as the Hungarian capital existed as three distinct urban settlements – each with its own government, its own personality, and its own idea of what it meant to be a city on the Danube.
The story of how they became one is part political calculation, part engineering ambition, and part national pride. It’s a story worth knowing before you ever set foot on the Chain Bridge.
Three Cities, One River

For most of its history, what is now Budapest consisted of three separate cities: Buda and Óbuda on the hilly western bank, and Pest on the flat eastern bank. People had been living and building on both shores since at least the 12th century, but the towns stayed politically apart for hundreds of years.
The city straddles the Danube in an exceptionally beautiful natural setting and was once popularly known as the “Queen of the Danube.” Its two main parts, Buda and Pest, sit on opposite sides of the river and are connected by a series of bridges. That physical divide between east and west shaped the character of each settlement in ways that are still visible today.
The Date That Changed Everything: November 17, 1873

Budapest was officially created on November 17, 1873, by merging Buda, Pest, and Óbuda into a single city. The unification wasn’t a sudden impulse. It had been debated, delayed, and dreamed about for decades before it finally happened.
In 1867, the Reconciliation that brought about the birth of Austria-Hungary made Budapest the twin capital of a dual monarchy. That political shift gave the unification real momentum, as a single, grand capital city was now needed to represent Hungary on the European stage.
Óbuda: The Forgotten Third City

Óbuda, meaning “Old Buda,” is the part most visitors forget. It’s the oldest settlement of the three, with Roman ruins from the city of Aquincum, which became a provincial capital around 106 AD, and it sits just north of the Castle District.
When Budapest was created in 1873, Buda and Pest were united with Óbuda, whose name literally means “Old Buda.” Óbuda lies to the north of central Buda and has an even longer history. The Roman town of Aquincum developed in this area, and traces of Roman Budapest are still visible today. Walking through Óbuda today, you can still find excavated Roman amphitheater remains tucked between modern apartment blocks, a quietly remarkable juxtaposition.
Buda: The Royal Capital on the Hill

Buda is the historic capital of the Kingdom of Hungary and forms the western part of the city of Budapest. Buda became the royal capital of Hungary in the 13th century after the Mongol invasion, with Buda Castle serving as a seat of Hungarian kings.
By the Middle Ages, Buda had grown into the royal seat, and it became the Hungarian capital around 1361, while Pest stayed a separate trading town across the river. From around 1300 to the incorporation of 1873, Buda was the capital of the Kingdom of Hungary for five periods of less than a century each. Its position on the hills gave it both strategic military value and a commanding sense of prestige.
Pest: The Commercial Powerhouse

Dynamic Pest grew into the country’s administrative, political, economic, and cultural hub. Pest in particular became the heart of Hungarian industrialization in the 19th century, which is part of why it grew so fast and so dense.
The population of Pest reached 50,000 in the 1820s, 100,000 in the 1840s, and 200,000 in the 1860s. That rate of growth was extraordinary for the era. While Buda retained its historic and royal character, Pest was transforming into a buzzing, crowded, commercially driven city that looked firmly toward the future.
The Population Divide at Unification

At the time of the unification, Buda and Óbuda had 69,543 inhabitants, while Pest was home to 227,294 people. The gap was striking. Pest was not just larger – it was roughly three times more populated than its two neighbors combined.
In 1720, Buda and Óbuda had only 9,600 residents, while Pest was a small town with just 2,600 inhabitants. The reversal of that demographic balance over the course of a century and a half tells the story of industrialization as clearly as any textbook. Pest’s flat terrain made expansion easy, and its riverside position made trade irresistible.
How the City Got Its Name

In 1873, the cities of Buda, Óbuda, and Pest were unified into a single city called “Budapest” – supposedly the name “Pestbuda” was considered but was rejected. The choice mattered politically. Buda, as the historic royal seat, was given precedence in the name, even if Pest was by far the larger and more energetic of the two.
As the two settlements were considered twin cities, they were usually referred to together, in order of size, as Pest-Buda, but Széchenyi first wrote about a united city in his 1831 work, calling it Buda-Pest. Although we usually talk about Buda and Pest, Budapest is really the result of three cities becoming one. The name simply didn’t have room for all three.
The Chain Bridge: Engineering That Helped Make Unification Possible

Before 1849, there was no permanent crossing between Buda and Pest. Until then, the cities had relied strictly on pontoon bridges or barges and ferries. Every winter, when ice clogged the Danube, even that limited connection could be severed entirely.
The Széchenyi Chain Bridge is the first permanent bridge ever built across the Danube between Buda and Pest. The first permanent bridge between Pest and Buda was built between 1839 and 1849. At the time of its opening, its center span of 202 metres was one of the largest in the world. Count István Széchenyi championed the project from its inception, and the bridge became a physical symbol of the city’s future unity long before the legal merger was signed.
The Population Explosion After Unification

Between the unification and World War I, Greater Budapest quadrupled its population. The population of Budapest was 302,000 in 1870 and 861,000 in 1900. That rate of growth placed it firmly among the fastest-expanding cities in Europe during the late 19th century.
The late 19th century was Budapest’s boom era, when it grew into one of Europe’s major cities, threw up much of the architecture you’ll photograph today, and finally stepped out from under the political shadow of Vienna. After the unification of the city, Budapest began to develop rapidly. Between 1870 and 1890, more than 500,000 people moved to Budapest.
Budapest’s Districts: A Legacy of Three Cities

Originally, Budapest had 10 districts after coming into existence upon the unification of the three cities in 1873. In 1950, Budapest was united with several neighboring towns and the number of its districts was raised to 22 to create Greater Budapest. Today the city has 23 districts, each with its own distinct atmosphere and history.
The old Óbuda, which became the third district, still carries a quieter, more village-like feeling compared to the grand boulevards of central Pest. Walk through it and you’ll understand, intuitively, why three separate identities were so hard to erase with a single parliamentary vote.
Budapest Today: A Capital Born from Merger

Budapest is a global city, consistently ranked among the 50 most important cities in the world, belongs to the narrow group of cities with a GDP over US$120 billion, and is among the 35 most liveable cities in the world.
It is Hungary’s primate city with 1.7 million inhabitants and its greater metro area has a population of about 3.3 million, representing one-third of the country’s population and producing more than 40% of the country’s economic output. The latest population figure for 2024 stands at 1,686,222 residents. From three modest, often rival cities to one of Central Europe’s defining capitals – the transformation took centuries to build and just one day, in November 1873, to make official.
What the Three-City Origin Means for Travelers Today

Understanding that Budapest was three separate cities transforms how you experience it. The steep hills of Buda feel genuinely different from the flat, café-lined avenues of Pest – because they always were different. These weren’t just two halves of the same place. They were competing visions of urban life that history eventually pressed together.
Óbuda rewards the curious traveler most of all. Far fewer visitors make it up to the third district, yet it holds the oldest layers of the city – Roman columns, quiet courtyards, and a scale of neighborhood life that the busier center has largely outgrown. Created in 1873 by unifying Buda, Pest, and Óbuda, the “Pearl of the Danube” is renowned for its stunning architecture, thermal baths, and ruin bars. Each of those elements traces back, in some way, to one of those three original cities finding its voice in the unified whole.
AI Disclaimer: This article was created with the assistance of AI tools and reviewed by a human editor.