As of May 2026, the population of Hungary is 9.8 million. The number of inhabitants has decreased by 57 thousand in the last year, representing a decline of 0.82%. The median age of the population has increased in recent years, rising from 41.1 years in 2016 to 43.4 years in 2026. Currently, life expectancy at birth is 77.6 years and population density is 108.1 inhabitants per square kilometer.
The population growth rate of Hungary peaked in 2022, reaching around 5.6% annually, but has since declined to approximately -0.58% in 2026. The annual increase in the number of people has also decreased from a peak of around 557.52 thousand in 2022 to nearly -57.24 thousand in 2026.
In Hungary, life expectancy at birth has been increasing, with the indicator rising from 73.3 years in 2006 to 77.6 years in 2026, representing an increase of more than 4 years over the past 2 decades.
Hungary has several cities considered medium-sized by their number of inhabitants, but there are also some large ones. The most populous city is Budapest, with approximately 1.7 million inhabitants. It is followed by Pest, Budapest with 1 million and Buda, Budapest with 510.1 thousand.
These are the 20 most populous cities in Hungary:
| # | City | Population |
|---|---|---|
| 1 | Budapest | 1,741,041 |
| 2 | Pest, Budapest | 1,001,748 |
| 3 | Buda, Budapest | 510,108 |
| 4 | Debrecen, Hajdú-Bihar | 202,402 |
| 5 | Szeged, Csongrád | 160,766 |
| 6 | Miskolc, Borsod-Abaúj-Zemplén | 154,521 |
| 7 | Pécs, Baranya | 145,347 |
| 8 | Budapest XI. kerület, Budapest | 139,049 |
| 9 | Zugló, Budapest | 130,000 |
| 10 | Győr, Győr-Moson-Sopron | 129,301 |
| # | City | Population |
|---|---|---|
| 11 | Budapest III. kerület, Budapest | 123,723 |
| 12 | Nyíregyháza, Szabolcs-Szatmár-Bereg | 117,689 |
| 13 | Budapest XIII. kerület, Budapest | 113,531 |
| 14 | Kecskemét, Bács-Kiskun | 109,847 |
| 15 | Székesfehérvár, Fejér | 101,600 |
| 16 | Újpest, Budapest | 100,694 |
| 17 | Budapest IV. kerület, Budapest | 98,374 |
| 18 | Budapest XVIII. kerület, Budapest | 93,225 |
| 19 | Budapest II. kerület, Budapest | 88,729 |
| 20 | Budapest VIII. kerület, Budapest | 82,222 |