A budget deficit occurs when a government's total expenditures exceed its total revenues for a given period, typically a fiscal year. This imbalance between spending and income results in the government needing to borrow funds to finance the shortfall.