The invention discloses a thermal spraying, machining and detecting integrated device for a motorcycle crankshaft. The thermal spraying, machining and detecting integrated device comprises an automatic feeding and discharging device, a workpiece clamping device, a composite rotating head device, a cross moving sliding table and a servo electric telescopic cylinder. The composite rotating head device comprises a composite rotating head base, the composite rotating head base is provided with an eddy current detection probe, a thermal spraying nozzle and a machining turning tool, and the thermal spraying nozzle, the machining turning tool and the eddy current detection probe are integrated on the composite rotating head base and are circumferentially distributed in a plane according to 120 degrees. According to the device, a traditional production mode of blank preparing, electroplating, machining and detection is changed into a production mode of blank preparing, thermal spraying, machining and detection, the machining mode is more environmentally friendly, environmental pollution is relieved, fixed-point spraying, machining and detection can be carried out on any selected surface of a part, metal electroplating and detection time is saved, and therefore the production cost is saved.