The invention discloses a synthesis method of a calcium-magnesium salicylate composite detergent in the field of lubricant additives. The method comprises the following steps: adding alkyl salicylic acid and solvent xylene in a reaction container, adding calcium oxide, accelerant, auxiliary promoter and the like in a stirring state, and carrying out a neutralization reaction when a reaction temperature rises to the temperature needed by the neutralization reaction; after the neutralization reaction is ended, adding magnesium oxide, water, ammonia water, auxiliary promoter and the like, charging carbon dioxide and carrying out a carbonation reaction; after the carbonation reaction is ended, carrying out product post-treatment to obtain a lubricant detergent product. The method disclosed by the invention achieves the following beneficial effects: the alkali number of the calcium-magnesium salicylate composite detergent prepared by the method is greater than 400mg KOH / g, the thermal oxidation stability and the high-temperature detergency of lubricant oil are obviously improved, the dispersibility and the wear resistance of the lubricant oil are improved to a certain extent, and the product stability is great.