This paper is a contribution to assessing the Swiss energy transition, with an emphasis on the consequences of decommissioning the nuclear power plants for the electricity market and the whole economy. We expect that increased renewable generation and demand-side policies of the type already envisioned will not suffice to close the supply gap, so that Switzerland will have to rely on more imports of electricity, moving away from the export surpluses realized almost every year since 1910. As this reference scenario is contrary to desired energy security, a policy scenario is proposed in which net electricity trade is constrained to balance over the year and the supply gap is closed by relaxing the existing restrictions on gas-fired power pla...