Machine for producing liquid or semiliquid food products, comprising: ➢ a container adapted to contain a liquid or semiliquid food product and/or a basic mixture and/or a semifinished product for producing said food product, said container having a substantially vertical extension and a top opening; ➢ at least one tool extending inside said container to work said food product and/or said basic mixture and/or said semifinished product; ➢ an actuator coupled to said tool to move said tool for the production of said food product; ➢ a thermal treatment system comprising a thermal exchange structure associated with said container and comprising: i. an annular wall surrounding said container and having through holes extending in the axial direction of the annular wall; ii. substantially straight tubular ducts housed in said through holes; iii. joints for jointing said tubular ducts so as to form a path for a thermal fluid; wherein said annular wall comprises a first portion and a second portion, each one of said first and second portions (510a, 510b) having a substantially C-shaped cross-section, wherein said mutually facing first portion and second portion define said annular wall; wherein said machine comprises a coupling system for removably coupling the first portion and the second portion of said annular wall in such a way that said annular wall can be moved between a closed condition, in which radial ends (510a', 510a") of the first portion adhere to respective radial ends (510b', 510b") of the second portion, and an open condition, in which at least one of the radial ends (510a', 510a") of the first portion is spaced apart from the respective end (510b', 510b") of the second portion. ➢ a container adapted to contain a liquid or semiliquid food product and/or a basic mixture and/or a semifinished product for producing said food product, said container having a substantially vertical extension and a top opening; ➢ at least one tool extending inside said container to work said food product and/or said basic mixture and/or said semifinished product; ➢ an actuator coupled to said tool to move said tool for the production of said food product; ➢ a thermal treatment system comprising a thermal exchange structure associated with said container and comprising: i. an annular wall surrounding said container and having through holes extending in the axial direction of the annular wall; ii. substantially straight tubular ducts housed in said through holes; iii. joints for jointing said tubular ducts so as to form a path for a thermal fluid; i. an annular wall surrounding said container and having through holes extending in the axial direction of the annular wall; ii. substantially straight tubular ducts housed in said through holes; iii. joints for jointing said tubular ducts so as to form a path for a thermal fluid; wherein said annular wall comprises a first portion and a second portion, each one of said first and second portions (510a, 510b) having a substantially C-shaped cross-section, wherein said mutually facing first portion and second portion define said annular wall; wherein said machine comprises a coupling system for removably coupling the first portion and the second portion of said annular wall in such a way that said annular wall can be moved between a closed condition, in which radial ends (510a', 510a") of the first portion adhere to respective radial ends (510b', 510b") of the second portion, and an open condition, in which at least one of the radial ends (510a', 510a") of the first portion is spaced apart from the respective end (510b', 510b") of the second portion.