A method for producing sorbic anhydride is described in which alkali metal or alkaline earth metal salts of sorbic acid are reacted with phosgene with one another in an inert organic solvent. In addition use thereof as preservative in foods in particular drinks is described.