Pre-drying and mechanical agitation device for the production of pasta comprising: - a containment structure, provided with an inlet opening and an outlet opening for pasta; - agitation and transport means, suitable for mechanically agitating pasta, transporting it at the same time from said inlet opening to said outlet opening; - heating means, suitable for heating a flow of air that passes through them; - ventilation means, suitable for generating one or more air flows which pass through said heating means and said agitation and transport means, and then return cyclically, at least in part, into said ventilation means; - conveying means suitable for conveying dust carried by said one or more air flows into one or more accumulation and decantation regions present inside said containment structure; - automatic extraction means positioned at least partially in said one or more accumulation and decantation regions to automatically remove dust from them and transport it outside said containment structure; wherein said ventilation means are positioned below said agitation and transport means, and wherein said one or more accumulation and decantation regions are positioned below and laterally with respect to said ventilation means; wherein said conveying means comprise one or more bulkheads positioned laterally to said agitation and transport means to guide said one or more air flows, after their passage through said agitation and transport means, and before their return to said ventilation means, towards said one or more accumulation and decantation regions, in such a way that said one or more air flows deposit there at least part of the dust present therein; wherein said agitation and transport means comprise one or more vibrating shelves (7a, 7b, 7c), suitable for housing pasta which enters said containment structure through said inlet opening, having a perforated structure and having a substantially rectangular plan, positioned inside said containment structure in such a way to be crossed by said one or more air flows generated by said ventilation means, wherein said ventilation means are positioned below said one or more vibrating shelves, wherein said one or more accumulation and decantation regions are positioned below and laterally with respect to said one or more vibrating shelves (7a, 7b, 7c) and to said ventilation means, wherein said bulkheads are at least two, and they are positioned respectively at the two long sides of said two or more shelves (7a, 7b, 7c). - a containment structure, provided with an inlet opening and an outlet opening for pasta; - agitation and transport means, suitable for mechanically agitating pasta, transporting it at the same time from said inlet opening to said outlet opening; - heating means, suitable for heating a flow of air that passes through them; - ventilation means, suitable for generating one or more air flows which pass through said heating means and said agitation and transport means, and then return cyclically, at least in part, into said ventilation means; - conveying means suitable for conveying dust carried by said one or more air flows into one or more accumulation and decantation regions present inside said containment structure; - automatic extraction means positioned at least partially in said one or more accumulation and decantation regions to automatically remove dust from them and transport it outside said containment structure; wherein said ventilation means are positioned below said agitation and transport means, and wherein said one or more accumulation and decantation regions are positioned below and laterally with respect to said ventilation means; wherein said conveying means comprise one or more bulkheads positioned laterally to said agitation and transport means to guide said one or more air flows, after their passage through said agitation and transport means, and before their return to said ventilation means, towards said one or more accumulation and decantation regions, in such a way that said one or more air flows deposit there at least part of the dust present therein; wherein said agitation and transport means comprise one or more vibrating shelves (7a, 7b, 7c), suitable for housing pasta which enters said containment structure through said inlet opening, having a perforated structure and having a substantially rectangular plan, positioned inside said containment structure in such a way to be crossed by said one or more air flows generated by said ventilation means, wherein said ventilation means are positioned below said one or more vibrating shelves, wherein said one or more accumulation and decantation regions are positioned below and laterally with respect to said one or more vibrating shelves (7a, 7b, 7c) and to said ventilation means, wherein said bulkheads are at least two, and they are positioned respectively at the two long sides of said two or more shelves (7a, 7b, 7c).