the present invention relates to a machine for heat exchange with a product including a vat , with a first end , a second end and an outer surface , for containing the product to be treated , a shaft , at least one element for heating or cooling a product and for being coupled in the shaft and at least one scraper blade . the machine for heat exchange with a product additionally includes a plurality of separators configured to be coupled in the shaft , at least one separator being located between two contiguous elements . between two contiguous elements there may be located inner scraper blades anchored in structures fixed to the shaft of the machine at their ends , which in their rotation movement will scrape the outer surfaces of the elements and separators . additionally , outer scraper blades may be arranged between the structures and the vat to scrape the inner surface of said vat .