Use of a composition for the treatment of the olive fly, said composition comprising an active part consisting of: (a) one or more compounds containing divalent copper, and (b) one or more alkaline earth metal hydroxides, wherein said alkaline earth metal is taken from the group consisting of calcium, magnesium and mixtures thereof, characterised in that the weight ratio between the compound (b) and the compound (a) is from 31/1 to 5/1, and wherein the compound containing divalent copper (a) is selected from a cupric salt, a basic cupric salt, a Bordeaux mixture, cupric oxychloride, cupric oxide, cupric hydroxide, and mixtures thereof.