Spending More Than You Earn

When a government spends more than it collects in taxes in a given year, it runs a budget deficit. To cover the gap, it borrows — typically by issuing government bonds. Over time, these annual deficits accumulate into the national debt: the total stock of money the government owes to bondholders.
A surplus occurs when tax revenue exceeds spending. Most governments run deficits in most years, particularly during recessions when tax revenue falls and welfare spending rises automatically.