A method by which butter is produced in a butter-making machine, which comprises at least one inlet, at least one butter-making cylinder with a rotatable beater, at least one butter-refining drum and at least one first extraction press, and at least one mixing section arranged downstream thereof, wherein at least the following steps are provided: - in one step 100), in the butter-making cylinder a rotatable beater is used to form butter grains and butter milk from cream supplied to the cylinder, - in one step 300), in the butter-refining drum, a butter-refining process is performed, in which a butter grain size is adjusted, - in one step 400), in the first extraction press, which comprises a hollow body containing one or two screw conveyors, the speed of which can be regulated by an adjustable-speed drive, the butter grains are kneaded, wherein the basic water content of the butter is also reduced, - in a step 500), in the first mixing section, the cross section of one or more outlet openings of a restrictor is varied, characterized in that - one or both of the steps 400) and 500) are performed in an electronically self-regulating manner, - wherein in the step 400), the pressure in the first extraction press exerted by the butter grains or the butter is determined and used as a first reference variable of the electronic control, - wherein in the step 400) a filling level in the extraction press is determined and is used as a further second reference variable of the electronic control, - wherein the first extraction press comprises a filling level sensor, wherein the position of the filling level sensor on the extraction press is selected so that the filling level sensor is able to sense a filling level in the extraction press which is equivalent to a complete filling of the first extraction press with butter grains or butter. - in one step 100), in the butter-making cylinder a rotatable beater is used to form butter grains and butter milk from cream supplied to the cylinder, - in one step 300), in the butter-refining drum, a butter-refining process is performed, in which a butter grain size is adjusted, - in one step 400), in the first extraction press, which comprises a hollow body containing one or two screw conveyors, the speed of which can be regulated by an adjustable-speed drive, the butter grains are kneaded, wherein the basic water content of the butter is also reduced, - in a step 500), in the first mixing section, the cross section of one or more outlet openings of a restrictor is varied, - one or both of the steps 400) and 500) are performed in an electronically self-regulating manner, - wherein in the step 400), the pressure in the first extraction press exerted by the butter grains or the butter is determined and used as a first reference variable of the electronic control, - wherein in the step 400) a filling level in the extraction press is determined and is used as a further second reference variable of the electronic control, - wherein the first extraction press comprises a filling level sensor, wherein the position of the filling level sensor on the extraction press is selected so that the filling level sensor is able to sense a filling level in the extraction press which is equivalent to a complete filling of the first extraction press with butter grains or butter.