# Switzerland Government Debt to GDP

Switzerland Government Debt to GDP was 40.1% in 2025, down 0.3 percentage points from 2024.
That is the lowest reading since 2022.
Among the 38 economies Makrognosis covers on this measure, it is the 8th lowest.
Over the past ten years it has ranged from 39.2% (2022) to 45.3% (2020), averaging 41.9%.

- Source agency: Swiss National Bank
- Makrognosis code: `CH.GOVDEBT.A.NSA`
- Frequency: annual
- Units: % of GDP
- Coverage: 1996-01-01 to 2025-01-01 (30 observations)
- Page: https://makrognosis.robomacro.com/data/switzerland/government-debt-to-gdp

## Recent data

| Period | Value |
|---|---:|
| 2025 | 40.1% |
| 2024 | 40.4% |
| 2023 | 40.2% |
| 2022 | 39.2% |
| 2021 | 43.3% |
| 2020 | 45.3% |
| 2019 | 41.9% |
| 2018 | 41.7% |
| 2017 | 42.6% |
| 2016 | 42.5% |
| 2015 | 43.7% |
| 2014 | 43.4% |
| 2013 | 43.1% |
| 2012 | 43.6% |
| 2011 | 42.9% |
| 2010 | 42.5% |
| 2009 | 44.2% |
| 2008 | 46.2% |
| 2007 | 45.9% |
| 2006 | 47.9% |
| 2005 | 54.2% |
| 2004 | 57.2% |
| 2003 | 56.4% |
| 2002 | 57.0% |

## API

```
curl -H "X-API-Key: $MAKROGNOSIS_KEY" \
  "https://makrognosis.robomacro.com/v1/series/CH.GOVDEBT.A.NSA"

# Python
import requests
r = requests.get("https://makrognosis.robomacro.com/v1/series/CH.GOVDEBT.A.NSA",
                 headers={"X-API-Key": KEY})
obs = r.json()["observations"]
```
