Photo: NASA Goddard Space Flight Center/Reto Stöckli

Slovenia: population and ages

Slovenia: 2.12 million people on 1 January 2026.

The population peaked in 2024 at 2.12 million and is now 0.2% below that peak.

Figures for 2026 are UN projections (medium variant). Estimates end in 2023.

Population, 1 January 2026
2,115,975
Median age
45.0
Births in 2026
16,897
Deaths in 2026
22,306
Life expectancy at birth
82.1
Children per woman
1.58
Under 15
14.4%
65 and over
22.4%
Population pyramid, Slovenia, 1 January 2026MaleFemale0102030405060708090100+010K10K20K20K
Population pyramid, Slovenia, 1 January 2026 Projection

Where does your age fit here?

Only the year is needed. It stays in this browser.

Enter your birth year to see where you fit in.

Population over time

In mid-1950 there were 1.45 million people, so the population is now 1.5 times as large.

The UN projects 16,900 births and 22,300 deaths in 2026, 5,410 more deaths than births.

Deaths have outnumbered births every year since 2017.

More people move in than leave: net migration in 2026 is projected at plus 2,610.

Population, 1950 to 2100Projected from 20240500K1M1.5M2M2.5M1950197520002025205020752100
2026 Slovenia: 2.1M

Ages

The median age is 45.0, which is 13.9 years above the world’s 31.1.

14% of the people are under 15 and 22% are 65 or older (world: 24% and 11%).

People aged 65 and over have outnumbered children under 15 since 2004.

Women have 1.6 children on average at today’s rates (world: 2.2), against 3.0 in 1950.

Life expectancy at birth is 82.1 years, above the world’s 73.8. In 1950 it was 61.8.

Median age, 1950 to 2100Projected from 2024010203040501950197520002025205020752100SloveniaWorld
2026 Slovenia: 45World: 31

See how the pyramid changes from 1950 to 2100

Births, deaths and the years ahead

For mid-2050 the UN projects 1.98 million people, 6.3% fewer than now, with a median age of 47.9.

Births and deaths per year, 1950 to 2100Projected from 2024010K20K30K40K1950197520002025205020752100DeathsBirths
2026 Births: 16.9KDeaths: 22.3K

Compare Slovenia with other countries

Development and urbanisation

In 2025, 16% of the people lived in cities, 35% in towns and semi-dense areas and 49% in rural areas. For 2050 the UN projects 16% in cities.

Degree of urbanisation: one rule for every country, a city has at least 50,000 people at 1,500 or more per km². National definitions of “urban” differ.

IndicatorLatest valueYear
People using the internet90.8%2024
Access to electricity100.0%2024
Adult literacy (ages 15 and over)99.5%1991
99.6%2024
98.3%2024
98.0%2024
Human Development Index0.9312023

Each value is the latest one published, with the year it refers to. Countries publish in different years. Sources: World Bank, World Development Indicators (ITU, SDG 7.1.1, UNESCO UIS), UNDP, Human Development Report, UN, World Urbanization Prospects 2025.

Longevity, ageing and the future

By the death rates of 2023, life expectancy at birth was 81.6 years. People who had reached 65 could expect 21.5 more years for women and 17.9 for men.

On 1 January 2026, there are 35.5 people aged 65 or more for every 100 aged 15 to 64. For 2050, the UN projects 57.8.

For 2100 the UN projects a population of 1.63 million, with a 95 percent prediction interval of 1.18 million to 2.19 million.

Life expectancy at birth is a period measure. It sums up the death rates of one year and is not a forecast of how long the babies born that year will live.

Sources: World Population Prospects 2024, life tables, probabilistic projections, UN DESA Population Division (CC BY 3.0 IGO).

International migrants

In mid-2024, 315,000 international migrants lived here, 14.9% of the population.

In mid-2024, 78,800 people from here lived in other countries.

Largest countries of origin
CountryPeople
Bosnia and Herzegovina138,576
Serbia53,729
Croatia52,829
North Macedonia21,691
Germany8,709
Largest countries of destination
CountryPeople
Austria25,669
Croatia17,559
Serbia9,115
Canada6,412
Italy6,049

Counted by country of birth. A migrant stock counts people living outside their country at mid-year, not journeys or yearly moves. Sources: International Migrant Stock 2024, UN DESA Population Division (CC BY 3.0 IGO).

Cities

Cities of 50,000 people or more here, by the UN degree of urbanisation: 2.

CityPopulation 2025
Ljubljana246,671
Maribor82,053

Sources: World Urbanization Prospects 2025, UN DESA Population Division (CC BY 3.0 IGO).

All cities

Data and sources

Slovenia every ten years
YearPopulation (1 July)Median ageBirthsDeathsLife expectancyChildren per woman
19501,446,35826.034,05617,43561.82.99
19601,605,07428.028,72315,14868.52.19
19701,739,86129.828,16017,41769.02.11
19801,903,06930.432,12418,31571.82.10
19901,998,00733.222,33219,30973.51.46
20001,986,81637.018,09518,76775.81.25
20102,044,61240.522,37318,80079.31.58
20202,102,42043.018,65823,81280.41.59
20302,098,95646.416,25723,10782.71.59
20402,046,76448.817,80625,54784.11.60
20501,981,55347.916,96427,08485.41.60
20601,890,54547.814,88226,90186.61.61
20701,796,29248.315,08325,77087.81.61
20801,723,70447.614,82222,77388.91.62
20901,674,27148.013,50719,69890.01.62
21001,632,03149.413,19619,39891.11.63

Rows from 2024 on are UN projections (medium variant), shown in italics.

The UN estimates every country and area within its present borders for every year since 1950, also for years before it became independent or took its present shape. Figures for earlier years therefore describe the people who lived on today’s territory.

Sources: World Population Prospects 2024, UN DESA Population Division (CC BY 3.0 IGO).

All countries and areas