The population of San Marino is expected to grow by 34 in 2026 and reach 34,178 in 2027. Migration (including immigration and emigration) increases population by 127 people yearly. On average there are 165 births and 277 deaths in San Marino per year. The population density of San Marino has changed from 359.8 in 1980 to 555.2 in 2024.
| Current population | 34,174 people at present (Tuesday 17th of November 2026) | |
| Median Age | 46.8 years |
| Life expectancy | 86.0 years | |
| Population density | 550.9 per km2 |
| Year | Population | Year change | Migrants | Median age | Fertility rate | Density (Ppl/km2) | Urban population |
|---|---|---|---|---|---|---|---|
| 2026 | 34,143 | 34 (0.1%) | 127 | 46.8 | 1.17 | 551 | 33,195 (97.2%) |
| 2025 | 34,109 | 132 (0.4%) | 122 | 46.5 | 1.16 | 550 | 33,150 (97.2%) |
| 2024 | 0 | 0 (0.0%) | 37 | 46.2 | 1.16 | 555 | 33,011 (97.2%) |
| 2023 | 0 | 0 (0.0%) | -190 | 45.7 | 1.15 | 553 | 32,889 (97.1%) |
| 2022 | 0 | 0 (0.0%) | -403 | 45.3 | 1.14 | 552 | 32,781 (97.1%) |
| 2021 | 0 | 0 (0.0%) | -368 | 44.9 | 1.13 | 571 | 33,260 (97.1%) |
| 2020 | 34,770 | 107 (0.3%) | 247 | 44.6 | 1.11 | 580 | 33,762 (97.1%) |
| 2019 | 0 | 0 (0.0%) | 187 | 44.3 | 1.10 | 578 | 33,658 (97.1%) |
| 2018 | 0 | 0 (0.0%) | 172 | 44.0 | 1.08 | 575 | 33,521 (97.1%) |
| 2017 | 0 | 0 (0.0%) | 234 | 43.6 | 1.05 | 564 | 32,844 (97.1%) |
| 2016 | 0 | 0 (0.0%) | 291 | 43.4 | 1.13 | 552 | 32,141 (97.1%) |
| 2015 | 32,897 | 242 (0.7%) | 273 | 43.1 | 1.20 | 548 | 31,943 (97.1%) |
| 2010 | 33,270 | 204 (0.6%) | 592 | 41.9 | 1.46 | 555 | 32,297 (97.1%) |
| 2005 | 29,836 | 379 (1.3%) | 314 | 40.9 | 1.20 | 497 | 28,238 (94.6%) |
| 2000 | 26,799 | 340 (1.3%) | 233 | 40.0 | 1.40 | 447 | 25,130 (93.8%) |
| 1995 | 25,158 | 335 (1.3%) | 262 | 39.3 | 1.17 | 419 | 23,162 (92.1%) |
| 1990 | 23,475 | 321 (1.4%) | 289 | 38.0 | 1.16 | 391 | 21,247 (90.5%) |
| 1985 | 22,485 | 139 (0.6%) | 166 | 36.4 | 1.17 | 375 | 20,125 (89.5%) |
| 1980 | 21,585 | 265 (1.2%) | 169 | 35.0 | 1.53 | 360 | 17,610 (81.6%) |
| 1975 | 19,046 | 16 (0.1%) | -133 | 33.8 | 2.05 | 317 | 13,594 (71.4%) |
| 1970 | 18,168 | 142 (0.8%) | -39 | 33.0 | 2.32 | 303 | 10,864 (59.8%) |
| 1965 | 17,305 | 328 (1.9%) | 99 | 33.1 | 2.33 | 288 | 9,240 (53.4%) |
| 1960 | 15,428 | 371 (2.4%) | 229 | 33.4 | 2.43 | 253 | 7,544 (48.9%) |
In 2025 the population of San Marino was 34,109 and the average age increased from 33.4 in 1960 to 46.5. Urban population has increased from 25,130 (93.8%) in 2000 to 33,195 (97.2%) in the current year. The population density of San Marino has changed from 359.8 in 1980 to 555.2 in 2024.
| Year | Population | Year change | Migrants | Median age | Fertility rate | Density (Ppl/km2) | Urban population |
|---|---|---|---|---|---|---|---|
| 2020 | 0 | 0 (0.0%) | 247 | 44.6 | 1.11 | 580 | 33,762 (97.1%) |
| 2025 | 0 | 0 (0.0%) | 122 | 46.5 | 1.16 | 550 | 33,150 (97.2%) |
| 2030 | 34,282 | 21 (0.1%) | 130 | 48.0 | 1.20 | 553 | 33,403 (97.4%) |
| 2035 | 34,369 | 28 (0.1%) | 149 | 49.2 | 1.23 | 555 | 33,624 (97.8%) |
| 2040 | 34,512 | 2 (0.0%) | 124 | 50.0 | 1.25 | 557 | 33,945 (98.4%) |
| 2045 | 34,463 | -41 (-0.1%) | 129 | 50.5 | 1.27 | 556 | 34,115 (99.0%) |
| 2050 | 34,235 | -44 (-0.1%) | 179 | 50.7 | 1.29 | 552 | 34,139 (99.7%) |
The life expectancy at birth should reach 88.7 (87.2 years for male and 90.1 years for females). Population density will go up to 552.4 people per square kilometer.
The population growth rate is 0.10% (132 residents, including 255 deaths). The demographics of San Marino constitutes of 17,352 women and 16,791 men, which means there are 968 men per 1000 women. As far as age distribution goes, 16.8% of population (5,733) is 19 or younger, 59.4% of population (20,271) is between age 20 and 64 and 23.8% of population (8,136) is over 65.