Food and non-alcoholic beverages

Foodstuffs and non-alcoholic beverages that exceed the allowances and/or value limits and that are destined for transit through Switzerland must be declared upon entry (see also Duty-free allowances: foodstuffs, alcohol and tobacco).

When foodstuffs and non-alcoholic beverages that are not subject to maximum amounts and that are worth a total of less than CHF 5,000 are transported through Switzerland, customs clearance generally occurs informally at the border. When it is suspected that the goods will not be re-exported, the customs office may require a deposit even for goods worth a total of less than CHF 5,000.

Food and non-alcoholic beverages liable to duty

A transit receipt is issued upon entry for foodstuffs and non-alcoholic beverages that exceed the maximum amounts or are worth more than CHF 5,000.

You need to pay a deposit, which is refunded by the customs office of exit if all of the goods are re-exported. The deposit amounts to roughly the equivalent of the import duties (see also Duty-free allowances: foodstuffs, alcohol and tobacco). If the deposit is paid in cash (CHF, EUR, USD, GBP), it will always be refunded in Swiss francs. It can also be paid by credit card; the sum is credited to the same credit card upon re-exportation.

Opening hours and addresses

You must leave Switzerland via a manned border crossing in order for the exportation of the goods to be confirmed. The deposit can be refunded only during clearance times. Opening hours and addresses

Note:
You leave the EU Customs Union when transiting through Switzerland. To ensure unproblematic exportation and re-importation into the EU, contact all relevant customs administrations beforehand:

Germany: www.zoll.de 
France: www.douane.gouv.fr 
Italy: www.agenziadogane.it 
Austria: www.bmf.gv.at/zoll 
Other countries: WCO - National customs websites

https://www.ezv.admin.ch/content/ezv/en/home/information-individuals/travel-and-purchases--allowances-and-duty-free-limit/transit-through-switzerland/food-and-non-alcoholic-beverages.html