Location map: Gretzenbach
Municipality · Bezirk Olten · Solothurn

Gretzenbach: population and statistics

Gretzenbach has a population of 2,825 (2025) across 5.8 km², or 485 people per km². It ranks 763 of 2,115 municipalities by population. Its population is growing: +6.9% between 2015 and 2025.

  • 2,825 residents
  • 5.8 km²
  • 485 people/km²
  • 401 m

Key points

Among the 106 municipalities in Solothurn, Gretzenbach ranks No. 32 by population.

Share of single-family houses among residential buildings: 82.0% in Gretzenbach, compared with an average of 70.1% in Solothurn and 56.9% nationally.

Share of jobs in industry and construction: 48.4% in Gretzenbach, compared with an average of 27.9% in Solothurn and 22.0% nationally.

A 1 kWp solar panel tilted at 37° generates about 1,151 kWh a year here.

Gretzenbach in numbers

Population
2,825
ranked 763 of 2,115
+6.9%over 10 years
2015–2025
Population density
485people/km²
ranked 553 of 1,806
Area
5.8km²
ranked 1,373 of 2,110
Elevation
401m
ranked 1,876 of 2,114
Share of single-family houses among residential buildings
82.0%
ranked 137 of 1,806
Share of jobs in industry and construction
48.4%
ranked 141 of 1,776
Heat pumps as main heating
8.0%
ranked 1,409 of 1,806
Share of foreign nationals
26.4%
ranked 457 of 1,811

Where is Gretzenbach?

Population of Gretzenbach over time

2,6002,6502,7002,7502,8002,850201520172019202120232025
Population, 2015–2025

Gretzenbach had 2,643 residents in 2015 and 2,825 in 2025.

YearPopulation
20202,772
20212,758
20222,759
20232,800
20242,789
20252,825

Did you know?

All indicators for Gretzenbach

Value for the municipality, then the regional average and the national median (for counts: regional and national totals). The gauge places the municipality between the lowest and highest value in the country.

GretzenbachNational medianHover over or tap a bar to see what it shows.

Population

IndicatorGretzenbachSolothurnNationalPosition?Rank
Share of people aged 65 and over (2025)21.7%21.7%20.7%ranked 746 of 1,811

Housing

IndicatorGretzenbachSolothurnNationalPosition?Rank
Dwellings (2026)1,295148,9004,927,050ranked 879 of 2,108
Dwellings in buildings built before 1946 (2026)19.3%22.0%23.3%ranked 1,098 of 1,806
Dwellings in buildings built since 2001 (2026)24.6%21.9%25.3%ranked 945 of 1,806
Share of single-family houses among residential buildings (2026)82.0%70.1%69.5%ranked 137 of 1,806

Energy

IndicatorGretzenbachSolothurnNationalPosition?Rank
Oil or gas heating systems (2026)65.4%72.7%53.5%ranked 509 of 1,806
Heat pumps as main heating (2026)8.0%11.4%13.7%ranked 1,409 of 1,806
Wood heating systems (2026)9.1%8.1%12.4%ranked 1,131 of 1,806
District heating (2026)3.9%2.7%1.4%ranked 546 of 1,806
Photovoltaic installations (2026)9711,211329,600ranked 1,111 of 2,108
Installed photovoltaic capacity per 1,000 inhabitants (2026)1,145 kW1,095 kW1,134 kWranked 893 of 1,806
Rooftop solar electricity potential (2026)29.0 GWh/year2,373 GWh/year64,783 GWh/yearranked 704 of 2,114
Rooftop solar potential per inhabitant (2026)10,273 kWh/inh.8,138 kWh/inh.9,356 kWh/inh.ranked 752 of 1,810

Economy

IndicatorGretzenbachSolothurnNationalPosition?Rank
Establishments (2024)16718,596728,011ranked 898 of 2,112
Entities listed in the commercial register (2026)20918,362762,757ranked 710 of 2,115
Entities in the commercial register per 1,000 inhabitants (2026)74.063.064.9ranked 598 of 1,811
Share of limited companies (AG, GmbH) among registered entities (2026)66.5%65.9%65.7%ranked 839 of 1,808
Share of sole proprietorships among registered entities (2026)30.6%29.3%29.0%ranked 757 of 1,808

Employment

IndicatorGretzenbachSolothurnNationalPosition?Rank
Jobs (2024)895151,6335,679,518ranked 882 of 2,111
Jobs per 1,000 inhabitants (2024)316.8520.0362.9ranked 1,085 of 1,810
Share of jobs in services (2024)48.4%67.4%63.6%ranked 1,412 of 1,804
Share of jobs in industry and construction (2024)48.4%27.9%24.2%ranked 141 of 1,776

Society

IndicatorGretzenbachSolothurnNationalPosition?Rank
Share of foreign nationals (2025)26.4%25.9%18.9%ranked 457 of 1,811

Sunshine and temperatures: Gretzenbach

Annual solar output
1,151kWh
for 1 kWp tilted at 37°
Warmest month
19.3°C
July
Coldest month
0.7°C
January
Most productive month
137kWh
July

0100200300−10°0°10°20°30°JanFebMarAprMayJunJulAugSepOctNovDec
Monthly sunshine (kWh/m²)Average temperature (°C)

Frequently asked questions

What is the population of Gretzenbach?

Gretzenbach has 2,825 residents (2025), ranking 763 of 2,115 municipalities.

How big is Gretzenbach?

Gretzenbach covers 5.8 km², with a density of 485 people per km².

Is the population of Gretzenbach growing?

Between 2015 and 2025, the population of Gretzenbach went from 2,643 to 2,825, a change of +6.9%.

Where is Gretzenbach?

Gretzenbach is in Solothurn. It belongs to Bezirk Olten (district). Latitude 47.358, longitude 7.999.

Share of single-family houses among residential buildings: what is the figure for Gretzenbach?

In Gretzenbach, “Share of single-family houses among residential buildings” stands at 82.0% (2026), ranking 137 of 1,806 municipalities; the national median is 69.5%.

Share of jobs in industry and construction: what is the figure for Gretzenbach?

In Gretzenbach, “Share of jobs in industry and construction” stands at 48.4% (2024), ranking 141 of 1,776 municipalities; the national median is 24.2%.

How much electricity does a solar panel produce in Gretzenbach?

In Gretzenbach, a 1 kWp south-facing system tilted at 37° produces about 1,151 kWh a year.

Which municipalities border Gretzenbach?

The nearest to Gretzenbach are Däniken (1.3 km), Schönenwerd (1.6 km), Niedergösgen (1.8 km), Eppenberg-Wöschnau (2.9 km), Kölliken (3.0 km).