ShareSaveAdd as preferred on GoogleMichael RaceBusiness reporterGetty ImagesGovernment borrowing costs jumped on Tuesday amid uncertainty over the future of Prime Minister Sir Keir Starmer.
The effective interest rate on borrowing over 10 years briefly hit 5.13%, near levels last seen during the 2008 global financial crisis.
Financial markets have been on edge due to fears higher oil prices caused by the Iran war will push up inflation and lead to interest rate hikes.
But the possibility of a change of leadership in the UK and perceived risk of looser public spending has further unsettled investors.
The UK's main stock index, the FTSE 100, fell 0.5% with shares in British banks leading the declines amid concerns of a tax raid by a potential new administration, and the pound also fell 0.5% against the dollar to $1.35.
While all governments have seen borrowing costs rise since the Iran war sent oil prices soaring above $100 a barrel, the UK has experienced elevated rates compared to countries with economies similar in size.
The risk that potential replacements to current Prime Minister Sir Keir might loosen public spending and increase borrowing by the government is concerning investors, say analysts.
The prime minister and Chancellor Rachel Reeves have consistently committed to "iron clad" rules on borrowing in a bid to reassure markets their economic plans are credible.
But some Labour MPs on the left of the party have questioned whether the UK's budget rules were "fit for long-term renewal".
Analysts at Capital Economics said they believed UK borrowing costs would rise and the pound would weaken if there was a change at the top of the Labour party.
"The UK's already fragile fiscal position means that investors will be on edge for any signs of fiscal loosening," they said.
"The likely replacements for Starmer/Reeves would probably not be as fiscally disciplined."
They suggested all frontrunners to potentially challenge Sir Keir - Andy Burnham, Angela Rayner and Wes Streeting - would "probably raise public spending".
Anna Macdonald, investment strategy director at Hargreaves Lansdown, said the bond market had been "frazzled" by concerns a different prime miniter might take a different view on borrowing, "relaxing fiscal rules or extending them".
"This would mean that investors, of which 25-30% are overseas buyers of UK government bonds, demand a higher risk premium," she added.
Governments get most of their income from taxes, but often want to spend more money than taxes raise.
To cover that gap, they borrow money from investors and issue something called a bond or gilt, which is a loan the government promises to pay back at the end of an agreed time.
But a major area investors seek when lending governments money is a degree of certainty and confidence that they will get a return.
On Tuesday, borrowing costs - as shown by the bond yield, or interest rate - across two, five, 10 and 30-year terms were all higher as the prime minister's future was in peril. The yield on 30-year bonds hit 5.80%, the highest since 1998.
The 10-year gilt is the benchmark for government bonds, while the two and five-year gilts have an influence on fixed-rate mortgage rates of the same time frame.
The amount of interest government pays on existing public debt is linked to inflation and interest rates on bonds. The sum has been rising in recent years and now accounts for about £1 in every £10 the government spends.