![](https://webarchive.library.unt.edu/web/20201218093823im_/https://datalab.usaspending.gov/americas-finance-guide/images/surplus.svg)
A surplus occurs when the government collects more money than it spends. The last surplus for the federal government was in 2001.
![](https://webarchive.library.unt.edu/web/20201218093823im_/https://datalab.usaspending.gov/americas-finance-guide/images/balanceBudget.svg)
A balanced budget occurs when the amount the government spends equals the amount the government collects. Sometimes the term balanced budget is used more broadly to refer to instances where there is no deficit.
![](https://webarchive.library.unt.edu/web/20201218093823im_/https://datalab.usaspending.gov/americas-finance-guide/images/deficit.svg)
A deficit occurs when the government spends more money than it collects. The federal government has run deficits for the last 19 years.