The foreign ministry said the move was necessary because of the deteriorating security situation.
The ambassador and four other diplomatic staff had left Ukraine with the support of a team of special forces from the Swiss army.
The ministry on Wednesday confirmed reports by several Swiss newspapers and online sites.
The embassy was closed on Monday. It had operated with reduced personnel and resources over the past week.
The foreign ministryExternal link has advised all Swiss citizens to leave Ukraine if possible. Swiss nationals who need assistance are told to contact the foreign ministry helpline by e-mail or telephone.
There were 268 registered Swiss nationals and family members in Ukraine until last Thursday.
However, it is not clear how many of them have already fled the country in the meantime.
More
More
Switzerland backs full EU sanctions against Russia
This content was published on
Switzerland has decided to adopt the full range of sanctions imposed by the European Union against Russia.
Should Switzerland take measures to support its struggling industries?
Industrial policies are back in fashion, not only in the United States but also in the EU. Should Switzerland, where various industries are struggling, draw inspiration from such policies?
As a Swiss Abroad, how do you feel about the emergence of more conservative family policies in some US states?
In recent years several US states have adopted more conservative policies on family issues, abortion and education. As a Swiss citizen living there, how do you view this development?
Nearly 2% of new Swiss disability insurance claims involve Long Covid
This content was published on
Just under 2% of new claims submitted to the disability insurance between 2021 and 2023 concern people suffering from Long Covid.
This content was published on
The watch industry had to contend with a weakening of its exports last year, which reached a volume of CHF25.9 billion ($28.5 billion).
Switzerland targets 65% cut in greenhouse gas emissions by 2035
This content was published on
Switzerland has set an ambitious goal to cut its greenhouse gas emissions by at least 65% by 2035, compared to 1990 levels.
Switzerland cuts foreign aid to Albania, Bangladesh and Zambia
This content was published on
This decision comes after the parliament allocated less funding for foreign aid in December than the government had requested.
This content was published on
The Swiss government has advised its citizens against travelling to Ukraine, but it stopped short of asking them to leave the country.
You can find an overview of ongoing debates with our journalists here . Please join us!
If you want to start a conversation about a topic raised in this article or want to report factual errors, email us at english@swissinfo.ch.