"The New Zealand government urges New Zealanders in Lebanon and Iran to leave now while options remain available," Foreign Affairs Minister Winston Peters said in a social media post on Sunday.
"We also recommend New Zealanders in Israel consider whether they need to remain in the country."
It comes after the government updated its Safetravel advisory, warning people not to travel to Lebanon due to what it called the volatile security situation.
The advisory elevated Lebanon to the highest level, meaning "extreme risk".The United States has urged citizens to leave Lebanon on "any available ticket", while the British Foreign Secretary warned British citizens in Lebanon to leave immediately or risk "becoming trapped in a warzone".
Iran has vowed to retaliate against Israel, which it blames for the death of Ismail Haniyeh, the head of the Hamas Political Bureau, earlier this week.
Just hours before his assassination, Israel killed Hezbollah commander Fuad Shukr in an air strike.
That, in turn, could result in a huge Israeli response.
Israel has been at war with Hamas since the terrorist group's attack on 7 October 2023 which saw nearly 1200 people killed.
Israel's ground and air campaigns have killed more than 38,000 people in Gaza in the months since, according to Palestinian health authorities.