In 2024, Mexico raised 22.9% of GDP in general government revenue and spent 29.2% of GDP, a deficit of 6.3% of GDP.
Mexico ran a deficit in every one of the 22 years from 2003 to 2024.
See Mexico highlighted on the charts
| Year | Revenue, % GDP | Spending, % GDP | Balance, % GDP | Population |
|---|---|---|---|---|
| 2024 | 22.9 | 29.2 | -6.3 | 130,861,007 |
| 2023 | 22.7 | 27.4 | -4.7 | 129,739,759 |
| 2022 | 22.0 | 26.5 | -4.6 | 128,613,117 |
| 2021 | 21.5 | 26.7 | -5.2 | 127,648,148 |
| 2020 | 22.8 | 29.3 | -6.5 | 126,799,054 |
| 2019 | 21.8 | 27.1 | -5.3 | 125,762,982 |
| 2018 | 21.7 | 26.3 | -4.6 | 124,573,711 |
| 2017 | 22.9 | 26.8 | -3.9 | 123,400,057 |
| 2016 | 23.1 | 26.4 | -3.3 | 122,251,351 |
| 2015 | 22.4 | 27.6 | -5.2 | 121,072,306 |
| 2014 | 23.1 | 28.3 | -5.1 | 119,784,261 |
| 2013 | 23.3 | 26.9 | -3.6 | 118,343,573 |
| 2012 | 22.9 | 27.4 | -4.5 | 116,818,208 |
| 2011 | 22.7 | 27.7 | -5.0 | 115,243,504 |
| 2010 | 21.6 | 24.4 | -2.8 | 113,623,895 |
| 2009 | 21.5 | 24.4 | -2.9 | 111,999,721 |
| 2008 | 23.1 | 24.0 | -0.9 | 110,374,288 |
| 2007 | 20.1 | 20.7 | -0.6 | 108,774,360 |
| 2006 | 20.2 | 21.0 | -0.8 | 107,253,666 |
| 2005 | 19.7 | 20.2 | -0.6 | 105,811,504 |
| 2004 | 19.4 | 20.1 | -0.7 | 104,394,131 |
| 2003 | 19.0 | 19.7 | -0.7 | 102,978,515 |