A device and method for warming a cup in a machine for preparing a hot drink or beverage involving transmitting by conduction a part of the surface heat of the heating body to a cup holder. The heating body is also used to heat water in the machine. The device and method also at least partially dampen a vibration transmissible by the heating body to the surface of the cup holder.