Nigeria vs Spain
Nigeria vs Spain: Government debt
Government debt in 2025: 36.1% of GDP in Nigeria and 100.5% of GDP in Spain, by IMF estimates. In 2025 the value was higher in Spain, by 64.4 percentage points, or 2.79 times that in Nigeria.
% of GDP · IMF
What the numbers say
- Spain has been higher since 1993, when it overtook Nigeria.
- In 2025, Nigeria ranked 114 and Spain ranked 14 of 149 countries, counting from the highest.
- The IMF projection (World Economic Outlook, October 2026) puts Nigeria at 31.9% of GDP and Spain at 89.4% of GDP in 2031.
Every year
% of GDP · IMF
| Year | Nigeria | Spain |
|---|---|---|
| 2025 | 36.1 | 100.5 |
| 2024 | 39.3 | 101.4 |
| 2023 | 36.3 | 105.2 |
| 2022 | 29.8 | 109.2 |
| 2021 | 26.6 | 115.6 |
| 2020 | 25.7 | 119.2 |
| 2019 | 21.4 | 97.6 |
| 2018 | 20.4 | 99.7 |
| 2017 | 18 | 101.1 |
| 2016 | 17.4 | 102 |
| 2015 | 14.9 | 102.4 |
| 2014 | 15.8 | 104.4 |
| 2013 | 13 | 100 |
| 2012 | 12.5 | 89.6 |
| 2011 | 12.4 | 69.5 |
| 2010 | 6.7 | 60.3 |
| 2009 | 6.1 | 53.1 |
| 2008 | 5.2 | 39.6 |
| 2007 | 5.8 | 35.7 |
| 2006 | 6.7 | 39 |
| 2005 | 13.5 | 42.4 |
| 2004 | 25.2 | 45.3 |
| 2003 | 29.9 | 47.7 |
| 2002 | 30.7 | 51.2 |
| 2001 | 37.7 | 54.1 |
| 2000 | 40.9 | 57.8 |
| 1999 | 46.1 | 60.9 |
| 1998 | 15.8 | 62.4 |
| 1997 | 17.1 | 64.3 |
| 1996 | 17.9 | 65.4 |
| 1995 | 24.2 | 61.6 |
| 1994 | 39.7 | 57 |
| 1993 | 50.4 | 54.6 |
| 1992 | 49.8 | 44.1 |
| 1991 | 53.2 | 41.9 |
| 1990 | 50.9 | 41.3 |
| 1989 | – | 39.9 |
| 1988 | – | 38.5 |
| 1987 | – | 41.9 |
| 1986 | – | 42.1 |
| 1985 | – | 40.9 |
| 1984 | – | 36 |
| 1983 | – | 29.5 |
| 1982 | – | 24.4 |
| 1981 | – | 19.5 |
| 1980 | – | 16.1 |
IMF projection (World Economic Outlook, October 2026) · 2026–2031
| Year | Nigeria | Spain |
|---|---|---|
| 2026 | 34.7 | 97.6 |
| 2027 | 32.8 | 95.2 |
| 2028 | 32.9 | 93.2 |
| 2029 | 32.5 | 92 |
| 2030 | 32.2 | 90.7 |
| 2031 | 31.9 | 89.4 |
Each country on its own
Good to know
- What the government owes, as a share of the economy’s yearly output.
- Source: IMF, World Economic Outlook, October 2026.
- The dashed line is the IMF projection (World Economic Outlook, October 2026), a scenario rather than a forecast.
- Ranks count the 149 countries with a value in 2025, highest first.
How the layers work, where their data comes from and what they can’t tell you: Countries through time
Nigeria vs Spain
Health
- Life expectancyNigeria: 54.5 years in 2023Spain: 83.7 years in 2023
- Child mortalityNigeria: 11.6 per 100 live births in 2024Spain: 0.3 per 100 live births in 2024
- Infant mortalityNigeria: 69.5 per 1,000 live births in 2023Spain: 2.4 per 1,000 live births in 2023
- Safe drinking waterNigeria: 29% in 2022Spain: 99.6% in 2022
- DepressionNigeria: 3.92% in 2017Spain: 3.54% in 2017
- Suicide rateNigeria: 7.5 per 100,000 people in 2017Spain: 5.5 per 100,000 people in 2017
People
- PopulationNigeria: 228 million people in 2023Spain: 47.9 million people in 2023
- Population growthNigeria: 2.1% a year in 2023Spain: 0.02% a year in 2023
- Fertility rateNigeria: 4.48 births per woman in 2023Spain: 1.21 births per woman in 2023
- Urban populationNigeria: 63.8% in 2025Spain: 80.5% in 2025
- Median ageNigeria: 17.8 years in 2023Spain: 44.9 years in 2023
- People aged 65 and overNigeria: 3% in 2023Spain: 20.7% in 2023
- Net migration rateNigeria: -0.3 per 1,000 people in 2023Spain: 2.5 per 1,000 people in 2023
Economy
Education
Politics
Conflict
Military
- Military spendingNigeria: 0.91% of GDP in 2025Spain: 2.13% of GDP in 2025
- Military spending in US dollarsNigeria: $1.76B in 2025Spain: $37.7B in 2025
- Military spending per personNigeria: $9 in 2025Spain: $839 in 2025
- Military share of state spendingNigeria: 5.9% of government spending in 2025Spain: 4.7% of government spending in 2025
- Armed forces personnelNigeria: 223,000 people in 2020Spain: 199,000 people in 2020
- National powerNigeria: 1.16% of world capability in 2022Spain: 0.66% of world capability in 2022
- Armed forces, share of workersNigeria: 0.23% of the labour force in 2020Spain: 0.87% of the labour force in 2020
- Arms importsNigeria: 21 million TIV in 2025Spain: 237 million TIV in 2025
- Arms exportsNigeria: 4 million TIV in 2022Spain: 341 million TIV in 2025