The invention provides an electromagnetic pump which comprises a stator assembly, a casing pump case assembly and screws. The casing pump case assembly is composed of a casing pipe, a casing pipe spring, a plug spring, a piston, a piston sealing ring, a plug, a check ring, a sleeve inner sealing ring, a sleeve, a sleeve outer sealing ring, a pump sealing ring, a one-way valve, a one-way valve spring and a pump case. The electromagnetic pump is characterized in that a protrusive boss is arranged on the bottom of a casing pipe inner cavity, another protrusive boss is arranged on the bottom of an inner cavity of the pump case, due to the fact that the casing pipe spring is positioned by the protrusive boss on the bottom of the casing pipe inner cavity, the one-way valve spring is positioned by another protrusive boss on the bottom of the pump case inner cavity, noise is reduced effectively, and the service life of the casing pipe spring and the service life of the one-way valve spring are prolonged. In addition, the electromagnetic pump is simple and reasonable in structure, low in noise and long in service life.