The killing of Hamas and Hezbollah leaders this week has heightened regional tensions amid Israel's Gaza war.
"The foreign ministry has instructed its staff to leave Beirut and travel to Cyprus, and the foreign ministry is planning a temporary relocation of its embassy," Foreign Minister Tobias Billstrom told Swedish Radio.
The decision had been taken "initially for the month of August but may be extended depending on the security situation."
"The ministry is monitoring developments closely," he said.
According to the foreign ministry, as many as 10,000 Swedish nationals may have travelled to Lebanon this summer, defying a travel warning in place for the country since October 2023.
"I urge Swedes in Lebanon to leave the country by whichever means possible, while they still can," he said.
Short link: