The invention discloses a locomotive video monitoring fire prevention alarm fire extinguishing system, which comprises a video monitoring, prevention, alarm and fire extinguishing system of a control module, a fire extinguishing module, a detection module and a power supply module. It is characterized in that the power supply module is used to supply power to the control module, fire extinguishing module, detection module, and power supply module, and the control module includes an arithmetic unit 2, a fire extinguishing controller, a remote reset button, an emergency start button, and video monitoring. The fire extinguishing module is heptafluoropropane, and the aerosol fire extinguishing system includes fire extinguishing gas cylinders, solenoid valves, and nozzles. The detection module includes flame detectors such as temperature detectors, photosensitive detectors, and smoke detectors, and a thermal wire activation system. The power module includes a power bus and an output line, and a solenoid valve is arranged between the spray head and the fire extinguishing gas cylinder.