The invention discloses an anti-oxidation flux and a preparation method thereof. The anti-oxidation flux is prepared from, by weight, 100-200 parts of vegetable oil modified rosin, 120-150 parts of ethyl alcohol, 60-80 parts of carbitol, 40-120 parts of polyethylene glycol, 20-60 parts of sebacic acid, 50-80 parts of maleic acid, 90-100 parts of malic acid, 40-60 parts of citric acid, 20-30 parts of butyl acetate, 7-15 parts of malonic acid amide, 20-60 parts of nicotinamide, 10-20 parts of zinc nitrate, 20-60 parts of olein, 40-80 parts of isocyanate and 40-90 parts of dichlorodifluoromethane. The preparation method includes: adding the raw materials, performing heating reaction, adding the nicotinamide, and well stirring. The anti-oxidation flux is excellent in wettability, surface tension of welded materials is reduced, and accordingly surface oxidation of the welded materials is prevented.