The U.S. budget deficit surpassed $1 trillion for the fiscal year through February but was sharply lower than the same period a year earlier, Treasury Department data showed Wednesday.

Outlays exceeded receipts by $308 billion in February, roughly in line with the deficit recorded in the same month a year ago.

For the fiscal year to date, the deficit totaled $1.004 trillion, about 12% lower than the comparable period in 2025, as government revenues rose faster than spending.

Helping narrow the gap was a sharp increase in tariff collections. Customs duties totaled $151 billion through the first five months of the fiscal year, up about $113 billion, or 294%, from a year earlier.

The recent Supreme Court decision striking down many of President Donald Trump’s tariffs has not shown up in the data yet. Economists say that could reflect duties collected earlier still being processed, a possible surge in imports ahead of the ruling, and lingering questions over whether and to what extent the U.S. will need to issue refunds on tariffs already collected.