Skip to content
Official and academic sources Verified

Permanent resident population by commune (STATPOP)

bfs-commune-population

Publisher
OFS/BFS
Access method
api
Table id
CH1.STATPOP/DF_STATPOP_NATCAT_SEX_AGE_GEO 1.0.0
Licence
opendata.swiss terms of use "terms_by": "Open use. Must provide the source."
Coverage
Geography communes (commune state of the dataflow's codelist, 2025 on 2026-10-31) · referenceDay 31 December · from 2010 · to 2025
Gaps
Only two years are kept — 2010 (first STATPOP year) and the latest year; the dataflow has every year 2010–latest. No commune data before 2010 in this dataflow.
Used on
STORY-09, AGORA-20, AGORA-22
Known limits
Permanent resident population on 31 December (BFS definition, incl. persons in the asylum process with at least 12 months of residence). Small communes have small numbers; growth rates on them are volatile.
Verification
verification date: 2026-10-31 · method: Fetched from stats.swiss (DF_STATPOP_NATCAT_SEX_AGE_GEO). The 2115 communes of 2025 add up to 9 127 125 persons, the national value of the same dataflow and of bfs-population-historic, which matches the BFS press release of 20.08.2026 ("9 127 100 Personen", rounded to the hundred). · checkedValue: Σ communes 2025 = 9127125 (press release: 9 127 100); 261 Zürich 2025 = 440935 · checkedAgainst: https://dam-api.bfs.admin.ch/hub/api/dam/assets/36680491/master

How current is this data?

Freshness
Up to date

According to its update rhythm, no newer edition is expected yet.

Period covered
2010–2025
Last change of the data
Last check of the source
Update rhythm
Yearly

Ledger note (in English): Yearly; definitive results in late August (2025 data on 20.08.2026).

Votara checks the source
Every week, and every day from 3 days before to 14 days after an announced publication date

The state is computed each time the site is built; this page shows it as of . Results of the accuracy checks

Transformations

  1. SDMX-CSV requests: national series (8100._T._T._T.A) to find the latest year, then all units for 2010 and for the latest year (key ._T._T._T.A, totals over citizenship, age class and sex). Rows with numeric GEO codes other than 8100 are communes; cantons (ZH…) and districts (B_…) are dropped. Script: scripts/fetch/bfs-commune-population.ts
  2. Values copied as published (persons). The fetcher warns if the communes of a year do not add up to the national total (they do for 2010 and 2025).
  3. The dataflow presents all years on the same (2025) commune state, so both years are comparable per bfs_number. To join with the current register (bfs-communes), map old numbers through bfs-commune-mutations (1.1.2026: six communes abolished by mergers, Moutier renumbered 700 → 6831).