# Mexico Government Debt to GDP

Mexico Government Debt to GDP was 50.9% in Q3 2026, up 3.1 percentage points from Q2 2026 and up 3.1 percentage points from a year earlier.
Among the 38 economies Makrognosis covers on this measure, it is the 14th lowest.

- Source agency: U.S. Treasury FiscalData
- Makrognosis code: `MX.GOVDEBT.Q.NSA`
- Frequency: quarterly
- Units: % of GDP
- Coverage: 2024-03-01 to 2026-09-01 (11 observations)
- Page: https://makrognosis.robomacro.com/data/mexico/government-debt-to-gdp

## Recent data

| Period | Value |
|---|---:|
| Q3 2026 | 50.9% |
| Q2 2026 | 47.8% |
| Q1 2026 | 49.7% |
| Q4 2025 | 47.7% |
| Q3 2025 | 47.8% |
| Q2 2025 | 46.2% |
| Q1 2025 | 46.2% |
| Q4 2024 | 43.9% |
| Q3 2024 | 44.7% |
| Q2 2024 | 43.3% |
| Q1 2024 | 45.6% |

## API

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

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