Switzerland will prohibit the purchase and import of Russian liquefied natural gas from April.
The Federal Council is following the latest EU sanctions.
A transitional period until the end of the year applies to long-term contracts.
The government has also decided on further measures in the energy and financial sectors.
These include a ban on transactions involving certain cryptocurrencies pegged to the ruble.
Ban on dogs in the workplace being challenged in Lausanne
Skyguide renovation in the Jura mountains
More German to be taught in the French speaking cantons
New Vaud campaign against domestic violence
Warning to Lausanne drivers for this evening
Rise in family allowances in Jura from early next year
