A machine for repeated production of ice cream in small doses, comprising a body (T), wherein cavity (T1) thereof houses two linearly movable pistons (P, H) located behind each other, the lower perforated piston (P) having a set of through-holes (P2) and a piston rod (PI) and the upper piston (H) having a piston rod (HI), wherein the hollow piston rod (P1) of the lower perforated piston (P) with cavity (D) for air or liquid supply runs through the upper piston (H) and is parallel to the piston rod (HI) of the upper piston (H), while the bottom (T3) of the body (T) is provided with the opening (E1) for non- frozen liquid ice cream supply with forwarded servo valve and lockable opening (E2) for dispensing the finished ice cream (Z), wherein the lid (T4) of the body (T) is provided at least one guiding hole (O) for the piston rods (P,H).