The invention relates to automatic disinfection equipment for farms, and relates to the technical field of agricultural disinfection equipment, in particular to the automatic disinfection equipment for farms. At present, the farms are all subjected to artificial medicine-dispensing disinfection which is time-consuming and laborious, is slow in speed, and endangers the health of operators. The disinfection work is artificially affected, so that the standard proportion of a disinfection solution and regular disinfection are difficult to achieve for a long time. The equipment can automatically and regularly complete the disinfection work of the farms without the need of operators, the non-standard disinfection caused by human factors can be reduced, the labor cost of the farms is reduced, andthe long-term, stable and reliable disinfection effects are ensured. The equipment comprises a medicine-dispensing unit, a control unit and a spraying unit, wherein the medicine-dispensing unit comprises a medicine-dispensing barrel, a medicine-storage barrel, a medicine-adding pump, a water-adding solenoid valve, a stirrer, liquid level meters, and the like; the control unit comprises a medicine-adding and water-adding control system, a stirring and medicine-discharging control system, and a work termination system; and the spraying unit comprises a pressurization pump, a liquid conveying pipeline, and sprinklers. The equipment is used for regular and automatic disinfection of livestock and poultry farms.