The invention relates to a machine for preparing a cooled food product, comprising: - a receiving seat (1), for accommodating an essentially cup-shaped container, comprising a heat exchange element (1a) having a heat exchange contact surface (21) arranged to be in contact with an outer surface of a side wall (8d) of the container when the container is placed in the machine, - a cooling unit (4) arranged for cooling the heat exchange element (1a) and, - a stirring unit (5) connectable to a stirring member (9) and arranged for driving the stirring member (9) in at least one rotational movement; wherein it comprises - means for measuring the temperature of the product while being prepared, - a control unit for automatically setting output parameters according to input parameters received by the control unit and compared to threshold values stored in the unit; - wherein the output parameters comprises: at least one rotational velocity of the stirring member and the cooling power of the cooling unit, and -wherein the input parameters comprises any one or more of: the measured product temperature, the stirring time.L'invention concerne une machine de préparation d'un produit alimentaire refroidi qui comporte : - un siège de réception (1) pour accueillir un contenant sensiblement en forme de coupe, comprenant un élément d'échange de chaleur (1a) qui possède une surface de contact d'échange de chaleur (21) agencée pour être en contact avec une surface externe d'une paroi latérale (8d) du contenant lorsque celui-ci est placé dans la machine, - une unité de refroidissement (4) conçue pour refroidir l'élément d'échange de chaleur (1a) et - une unité d'agitation (5) pouvant être raccordée à un élément d'agitation (9) et conçue pour entraîner l'élément d'agitation (9) selon au moins un mouvement de rotation; ladite machine comportant également - un moyen de mesure de la température du produit en cours de préparation, - une unité de commande permettant de régler automatiquement d