The U.S. government recorded its highest deficit ever in 2020, during the worst of the COVID-19 pandemic. That year's $3.1 trillion deficit eclipsed the previous record of $1.4 trillion in 2009.