The invention discloses a program control smoking and roasting betelnut production line, which comprises a smoking and roasting oven, a smoke generator, a heat conducting oil boiler, a drier, a fruit ripening machine, a bucket elevator and a conveyor, wherein a sensor, a smoking and roasting pipe and a first heating oil pipe are arranged in the smoking and roasting oven, an exhaust fan and a blast blower are arranged in positions, near the smoking and roasting box, on a flue, the smoking and roasting pipe is connected with the smoke generator through the flue, a second heating oil pipe is arranged in the fruit ripening machine, the first heating oil pipe and the second heating oil pipe are connected with the heat conducting oil boiler through an oil path, the sensor connects and controls a special control valve and the exhaust machine, a smoke inlet of the smoke generator is connected with the drier, and smoke exhausted by each exhaust fan is gathered in the drier. The program control smoking and roasting betelnut production line has the advantages and positive effects that the three-waste discharge of the production line conforms to national environment-protection discharge standards, the zero discharge is basically realized, the problems caused by the adoption of manual control on smoke degree, temperature, humidity and the like of the existing production equipment are solved, and the product quality qualification rate and the economic benefits are improved.