An electromagnetic urea pump for diesel engine exhaust treatment comprises a shell and a rear cover. An inner cavity is formed between the shell and the rear cover, a push rod is arranged in the inner cavity, the outer circle of the push rod is sleeved with a base, an armature and a spring, the portion between the base and the armature is sleeved with a wire frame and a varnished wire, the portion between the armature and the wire frame is sleeved with an embedding sleeve, and an electromagnet shell is arranged between the wire frame and the shell. A valve seat and a valve deck are arranged at the front end of the shell, two valve plates are arranged between the valve deck and the valve seat, and a water inlet and a water outlet are formed in the positions, corresponding to the two valve plates, of the valve deck. A membrane is arranged between the valve seat and the shell and provided with a first sealing line and a second sealing line. After the varnished wire is electrified, a main magnetic circuit is generated, so that the armature is made to drive the push rod to move, the push rod drives the membrane to reciprocate, and the process is repeated to continuous spray urea. Electromagnetic induction is adopted to drive the membrane to reciprocate, and the electromagnetic urea pump for diesel engine exhaust treatment has the advantages that the structure is simple, lubrication is not needed during membrane operation, the overall size is small, flow control is flexible, using is convenient, and cost is low.