This marks the third-highest borrowing level since 1947, trailing only the figures recorded during the Covid-19 pandemic and the 2010 global financial crisis.
Increased government expenditure, particularly on wages and benefits, contributed to the higher borrowing despite a rise in Treasury income.
Economists are expressing concern over the impact of US tariffs on UK economic growth, potentially exacerbating the strain on public finances.
They are warning that taxes may need to be raised in the October budget to bridge the gap.