A device for moulding foodstuff masses comprises: - one or more moulds (14) provided with sockets (16) which define pouring cavities inserts (22) made of thermally conductive material associated, in a relationship of heat exchange, with the pouring cavities (16) and -thermal-conditioning cells, associated to the conductive material (2). There is present generating signals for conditioning units (24) thermal treatment of units (24), such as Peltier a inserts made of thermally control unit control of the so as to provide the material (34) for thermal-cycles of undergoing selectively pre-determined pouring. A preferential application is in the sector of the confectionery industry.