Location map: Trimbach
Municipality · Bezirk Gösgen · Solothurn

Trimbach: population and statistics

Trimbach has a population of 6,928 (2025) across 7.6 km², or 912 people per km². It ranks 286 of 2,115 municipalities by population. Its population is growing: +6.5% between 2015 and 2025.

  • 6,928 residents
  • 7.6 km²
  • 912 people/km²
  • 408 m

Key points

Among the 106 municipalities in Solothurn, Trimbach ranks No. 7 by population.

Share of foreign nationals: 44.7% in Trimbach, compared with an average of 25.9% in Solothurn and 27.7% nationally.

Oil or gas heating systems: 79.5% in Trimbach, compared with an average of 72.7% in Solothurn and 61.7% nationally.

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

Trimbach in numbers

Population
6,928
ranked 286 of 2,115
+6.5%over 10 years
2015–2025
Population density
912people/km²
ranked 285 of 1,806
Area
7.6km²
ranked 1,132 of 2,110
Elevation
408m
ranked 1,827 of 2,114
Share of foreign nationals
44.7%
ranked 39 of 1,811
Oil or gas heating systems
79.5%
ranked 107 of 1,806
Dwellings in buildings built since 2001
10.3%
ranked 1,674 of 1,806
Entities in the commercial register per 1,000 inhabitants
46.6
ranked 1,625 of 1,811

Where is Trimbach?

Population of Trimbach over time

6,4006,6006,8007,000201520172019202120232025
Population, 2015–2025

Trimbach had 6,505 residents in 2015 and 6,928 in 2025.

YearPopulation
20206,562
20216,556
20226,644
20236,667
20246,854
20256,928

Did you know?

All indicators for Trimbach

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.

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

Population

IndicatorTrimbachSolothurnNationalPosition?Rank
Share of people aged 65 and over (2025)18.3%21.7%20.7%ranked 1,345 of 1,811

Housing

IndicatorTrimbachSolothurnNationalPosition?Rank
Dwellings (2026)3,487148,9004,927,050ranked 313 of 2,108
Dwellings in buildings built before 1946 (2026)22.2%22.0%23.3%ranked 957 of 1,806
Dwellings in buildings built since 2001 (2026)10.3%21.9%25.3%ranked 1,674 of 1,806
Share of single-family houses among residential buildings (2026)69.4%70.1%69.5%ranked 910 of 1,806

Energy

IndicatorTrimbachSolothurnNationalPosition?Rank
Oil or gas heating systems (2026)79.5%72.7%53.5%ranked 107 of 1,806
Heat pumps as main heating (2026)6.9%11.4%13.7%ranked 1,513 of 1,806
Wood heating systems (2026)5.5%8.1%12.4%ranked 1,393 of 1,806
District heating (2026)2.7%2.7%1.4%ranked 675 of 1,806
Photovoltaic installations (2026)15511,211329,600ranked 707 of 2,108
Installed photovoltaic capacity per 1,000 inhabitants (2026)527.6 kW1,095 kW1,134 kWranked 1,645 of 1,806
Rooftop solar electricity potential (2026)34.0 GWh/year2,373 GWh/year64,783 GWh/yearranked 589 of 2,114
Rooftop solar potential per inhabitant (2026)4,912 kWh/inh.8,138 kWh/inh.9,356 kWh/inh.ranked 1,686 of 1,810

Economy

IndicatorTrimbachSolothurnNationalPosition?Rank
Establishments (2024)28518,596728,011ranked 534 of 2,112
Entities listed in the commercial register (2026)32318,362762,757ranked 466 of 2,115
Entities in the commercial register per 1,000 inhabitants (2026)46.663.064.9ranked 1,625 of 1,811
Share of limited companies (AG, GmbH) among registered entities (2026)62.5%65.9%65.7%ranked 1,190 of 1,808
Share of sole proprietorships among registered entities (2026)34.7%29.3%29.0%ranked 420 of 1,808

Employment

IndicatorTrimbachSolothurnNationalPosition?Rank
Jobs (2024)1,769151,6335,679,518ranked 529 of 2,111
Jobs per 1,000 inhabitants (2024)255.3520.0362.9ranked 1,343 of 1,810
Share of jobs in services (2024)68.0%67.4%63.6%ranked 731 of 1,804
Share of jobs in industry and construction (2024)29.7%27.9%24.2%ranked 638 of 1,776

Society

IndicatorTrimbachSolothurnNationalPosition?Rank
Share of foreign nationals (2025)44.7%25.9%18.9%ranked 39 of 1,811

Sunshine and temperatures: Trimbach

Annual solar output
1,125kWh
for 1 kWp tilted at 35°
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 Trimbach?

Trimbach has 6,928 residents (2025), ranking 286 of 2,115 municipalities.

How big is Trimbach?

Trimbach covers 7.6 km², with a density of 912 people per km².

Is the population of Trimbach growing?

Between 2015 and 2025, the population of Trimbach went from 6,505 to 6,928, a change of +6.5%.

Where is Trimbach?

Trimbach is in Solothurn. It belongs to Bezirk Gösgen (district). Latitude 47.364, longitude 7.900.

Share of foreign nationals: what is the figure for Trimbach?

In Trimbach, “Share of foreign nationals” stands at 44.7% (2025), ranking 39 of 1,811 municipalities; the national median is 18.9%.

Oil or gas heating systems: what is the figure for Trimbach?

In Trimbach, “Oil or gas heating systems” stands at 79.5% (2026), ranking 107 of 1,806 municipalities; the national median is 53.5%.

How much electricity does a solar panel produce in Trimbach?

In Trimbach, a 1 kWp south-facing system tilted at 35° produces about 1,125 kWh a year.

Which municipalities border Trimbach?

The nearest to Trimbach are Olten (1.3 km), Winznau (2.5 km), Starrkirch-Wil (2.6 km), Hauenstein-Ifenthal (2.7 km), Wangen bei Olten (3.2 km).