Described is a machine (1) for making liquid and/or semi-liquid food products of the hot and cold type, comprising: a boiler (2) for heating a first basic liquid product; a first chamber (3) for processing a liquid product of the hot type, having at least one inlet (4) and one outlet (5), the inlet being connected to the heating boiler (2); a first dispensing unit (7), connectable to the outlet of the first processing chamber (3) for dispensing a hot product; a mixing and cooling unit (8) for making a cold type product, comprising a processing container (9) and a stirrer (10) mounted rotatably inside the container (9), the mixing and cooling unit (8) being connectable to the outlet of the first processing chamber (3) for receiving the hot product defining a basic ingredient for making a liquid or semi-liquid product of the cold type; means (11) for switching the outlet of the first processing chamber (3), switchable between a first configuration wherein the outlet (5) of the first processing chamber (3) is operatively connected to the mixing and cooling unit (8), to allow a transfer of hot product inside the processing container (9) of the mixing and cooling unit (8), and a second configuration wherein the outlet (5) of the first processing chamber (3) is operatively connected to the first dispensing unit (7) to allow hot product to be dispensed. [Figure 1]