The invention discloses a servo motor, which comprises an output shaft, a pressure sensor, a rotation speed sensor, an oil inlet, a sealing washer, fixed screw holes, a fixing baffle, a heat dissipation plate, an integrated electric box, wiring ports, a transmission shaft, a rotor, an oil seal washer, permanent magnet stators, a hall sensor, an N pole, an S pole, a shielding box, a V interface, aW interface and a U interface, wherein the pressure sensor is arranged in the output shaft; the side edge of the pressure sensor is provided with the rotation speed sensor; the side edge of the rotation speed sensor is provided with the oil inlet; one side of the wiring ports is provided with the transmission shaft; one side of the transmission shaft is connected with a rotor; the oil inlet is a one-way oil inlet channel for preventing leakage of lubricating oil; the fixing baffle and the body are integrally punched; the oil seal washer is made of wear-resisting silica gel to enable the engineto keep sealing effects; the permanent magnet stator is made of an iron nickel permanent magnet; and the shielding box is made of a lead nickel alloy-containing material, thereby shielding outer electromagnetic interference.