British nationals are being warned against all travel to large swathes of Iraq amid the ratcheting of tensions after the US's fatal drone strike on Iran's top general.
The Foreign Office was also advising against all but essential travel to Iran and for those in the region to "remain vigilant" after the United States announced it was sending nearly 3,000 extra troops to the Middle East.
Travel advice updated on Saturday morning urged Britons against all travel to Iraq outside the Kurdistan region, and for those there already to consider fleeing by commercial means.
The warning came as thousands began to gather on the streets of Iraq for the funeral of General Qassem Soleimani, who was killed by strike at Baghdad's international airport a day earlier.
Foreign Secretary Dominic Raab said the updated advice was issued due to "heightened tensions in the region" and would be kept under review.
"The first job of any government is to keep British people safe," he added.
Gen Soleimani was head of Iran's elite Quds Force and masterminded Tehran's regional security strategy.
US President Donald Trump said he ordered the strike to prevent a conflict, but Iran was threatening harsh retaliation.
The Foreign Office's advice also cited violent demonstrations outside the US embassy in Baghdad at the turn of the new year and warned further protests could take place.
Britons in the region were being urged to "remain vigilant and monitor the media carefully". A warning against all but essential travel to the Kurdistan region remained in place.
Amid fears wider conflict could break out, an American official denied the US was behind a second deadly air strike on two vehicles being reported north of Baghdad.
Mr Trump continued with his rhetoric despite widespread calls for calm, saying that Gen Soleimani's "reign of terror is over" and describing him as having a "sick passion" for killing.
Former foreign secretary Jeremy Hunt warned of the peril being faced after recent "extreme" actions by both the US and Iran, which have simmered since Mr Trump tore up a nuclear deal between the nations
"Well it's an incredibly dangerous game of chicken that's going on at the moment, because both sides have calculated that the other side cannot afford, and doesn't want, to go to war," he told BBC Radio 4's Today programme.
Mr Hunt warned the tensions created a "very difficult situation" for the UK as an ally of the States, saying Britain "cannot afford to be neutral".
"But this is a very, very risky situation, and I think the job that we have to do as one of the US's closest allies is to use our influence to argue for more consistent US policy," he said.
Although not confirmed by the Government, there has been criticism of the US for apparently not giving warning of the attack to the UK, which has hundreds of troops deployed in Iraq.
Mr Hunt said a failure to notify would be "regrettable" because allies should ensure "there are no surprises in the relationship".
Boris Johnson has been on holiday on the private Caribbean island of Mustique. He has not commented on the general's killing and Number 10 has not said when he will return.
Outgoing Labour leader Jeremy Corbyn wrote to the PM calling for an urgent meeting of the Privy Council in part to discuss whether the "assassination" had heightened the terror risk to the UK.
"The UK Government should urge restraint on the part of both Iran and the US, and stand up to the belligerent actions and rhetoric coming from the United States," Mr Corbyn had warned.
"All countries in the region and beyond should seek to ratchet down the tensions to avoid deepening conflict, which can only bring further misery to the region, 17 years on from the disastrous invasion of Iraq."