The invention discloses a preparation method for flucloxacillin sodium. The method comprises: (1) adding an initial raw material 1 into dichloromethane, dropwise adding triethylamine, and then dropwise adding pivaloyl chloride for reaction, so as to obtain a mixed anhydride; (2) adding 6-APA into dichloromethane, then adding triethylamine, reacting until the material solution is clear, so as to obtain a 6-APA triethylamine salt solution; dropwise adding the mixed anhydride into the 6-APA triethylamine salt solution for reaction, then distilling at a reduced pressure to remove dichloromethane, so as to obtain an oily substance, then adding acetone into the oily substance, stirring, and filtering off triethylamine hydrochloride, so as to obtain an acetone solution of flucloxacillin triethylamine salt; and (4) adding water and an ethyl acetate solution of sodium 2-ethylhexanoate into the acetone solution of flucloxacillin triethylamine salt, controlling the temperature to be 0-40 DEG C after adding is finished, and crystallizing, so as to obtain flucloxacillin sodium monohydrate. The preparation method has the advantages of mild reaction conditions, high yield, good purity, simple operation, friendliness to environment, and the like.