The invention discloses a method for preparing a polystyrene/sodium monofluorophosphate microcapsule corrosion inhibitor, which comprises the following steps of preparing the sodium monofluorophosphate into water solution of sodium monofluorophosphate, adding emulgator and stirring for dissolution so as to prepare water phase, dissolving the polystyrene into PS (poly styrene) solvent to prepare oil phase, mixing the water phase and the oil phase for preparing W/O type emulsion, preparing protective colloid into water solution, adding the water phase into the prepared W/O type emulsion and stirring for mixing to obtain W/O/W complex phase emulsion, taking the mixed liquid out for standing and taking out a sediment layer after full volatilization of PS solvent, washing the precipitated particles with water, after sedimentation and filtration, drying in a vacuum drying box, thus obtaining the polystyrene/sodium monofluorophosphate microcapsule corrosion inhibitor particles. The polystyrene/sodium monofluorophosphate microcapsule corrosion inhibitor prepared by the method has good water resistance performance, can reduce the effect of external effect and additives, can be directly mixed into the cement or coated on the rebar of cement, and is contributed to improving the durability of the reinforced cement, and the size of the particle is convenient to regulate.