An apparatus for preparing a hot beverage. The apparatus includes a hot steam source for supplying a flow of steam into a vessel, a rotary stirring device including a rotatable shaft which carries a stirring rotor and a cleaning container. A control unit controls movement of the stirring device between its rest position and its working position the activation of the steam source and of the stirring device while the shaft and the rotor of the latter extend inside a vessel and the activation of the steam source and of the stirring device while the shaft and the rotor of the latter extend in the cleaning container.