The present invention relates to a non-polluting thermal generator having a very good energy efficiency and a simple and economical design, low consumption of energy, all while being scalable, versatile and modular. In this thermal generator (1), the thermal elements (3) composed of magnetocaloric material each comprise two distinct collector circuits (31, 32), one hot collector circuit (31) being connected to a hot heat transfer fluid circuit (51) and one cold collector circuit (32) being connected to a cold heat transfer fluid circuit (52). The heat transfer fluid is set in alternating motion in one or the other collector circuit (31, 32) depending on whether the thermal elements (3) are subjected to or not subjected to the magnetic field generated by the magnets (40) rotating about a central axis (B) with regard to the thermal elements (3). The heat transfer fluid circuits (51, 52) are integrated, in part, in a plate (2) supporting the thermal elements (3) and are connected to external circuits comprising heat exchangers (55, 56) using the calories and the negative calories generated by the thermal elements (3). The applications of the invention include: heating, tempering, air-conditioning, and refrigeration in every industrial installation and every household application.