The present invention relates to a machine for producing candy from a mass (2) of sugar bar or similar material, comprising:- a rotatable die-ring (6) having an axis of rotation and a number of circumferentially spaced, radially extending press chambers (11),- supply means (4,5) for feeding a bar (2) into the press chambers (11)- shear-means (7,10) at each press chamber (11) for cutting off pieces (1) off the bar of material,- a pair of inner- and outer stamps (9,8) per press chamber (11) for pressing, the piece into the desired shape, whereas at least the inner stamp (9) is displaceable during pressing and the inner stamp (9) is driven by a pressure curve (15).