The US embassy in Beirut has urged its citizens to leave Lebanon on “any ticket available”, amid soaring tensions in the Middle East.
The advisory follows a similar warning from UK Foreign Secretary David Lammy, who said the regional situation “could deteriorate rapidly”.
Iran has vowed “severe” retaliation against Israel, which it blames for the death of Hamas chief Ismail Haniyeh in Tehran on Wednesday. His assassination came hours after Israel killed Hezbollah commander Fuad Shukr in Beirut.
It is feared that Lebanon-based Hezbollah, an Iran-backed group, could play a heavy role in any such retaliation, which in turn could spark a serious Israeli response.
Jordan's Foreign Ministry has also issued advice to its citizens, telling those in Lebanon to leave immediately and warning others not to travel there.
The US embassy stated on Saturday that those who choose to stay in Lebanon should “prepare contingency plans” and be prepared to “shelter in place for an extended period of time”.
It said that several airlines have suspended and cancelled flights, and many have sold out, but “commercial transportation options to leave Lebanon remain available".
The Pentagon said it was deploying additional warships and fighter jets to the region to help defend Israel from possible attacks by Iran and its proxies.
The UK said it was sending extra military personnel, consular staff and border force officials to help with any evacuations - but urged UK citizens to leave Lebanon “while commercial flights are running".
Two British military ships are already in the region and the Royal Air Force has put transport helicopters on standby.
Mr Lammy said it was “in no-one’s interest for this conflict to spread across the region”.
In April, Iran launched an air attack on Israel using 170 drones, 30 cruise missiles and at least 110 ballistic missiles.
That was in retaliation for the Israeli bombing of an Iranian consulate in Damascus, Syria.
Many fear Iran’s retaliation on this occasion could take a similar form.
In a phone call with EU Foreign Policy Chief Josep Borrell on Friday, Iran's Acting Foreign Minister Ali Baqeri Kani said Iran would "undoubtedly use its inherent and legitimate right" to "punish" Israel.
On Friday, an announcer on Iran's state TV warned "the world would witness extraordinary scenes".
Israeli Prime Minister Benjamin Netanyahu has warned Israelis that "challenging days lie ahead... We have heard threats from all sides. We are prepared for any scenario".
Israeli ministers were sent home this weekend with satellite phones in case of an attack on the country's communication infrastructure.
Tensions between Israel and Iran initially escalated with the killing of 12 children and teenagers in a strike on the Israeli-occupied Golan Heights.
Israel accused Hezbollah and vowed “severe” retaliation, though Hezbollah denied it was involved.
Days later, senior Hezbollah commander Fuad Shukr was killed in a targeted Israeli air strike in Beirut. Four others, including two children, were also killed.
Hours after that, Hamas chief Ismail Haniyeh was assassinated in Iran, Hamas's main backer. He was visiting to attend the inauguration of Iran's new president, Masoud Pezeshkian.
At a funeral ceremony for Haniyeh in Tehran on Thursday, Iran's Supreme Leader, Ayatollah Ali Khamenei, led the prayers. He had earlier vowed that Israel would suffer a “harsh punishment” for the killing.
Meanwhile in Gaza, 10 people in a school sheltering displaced persons were killed by an Israeli strike, Hamas said on Saturday.
The Israeli military says the school in Gaza City was being used as a command centre for militants. Hamas has denied it operates from civilian facilities.