A method for producing a stator or for processing the inner wall of a stator for an eccentric screw or an eccentric screw motor by milling the stator tube, wherein at least one milling head is inserted into the tube interior to form the inner contour of the tube or threads, - wherein, for processing the inner wall of the stator tube, at least two milling heads (4, 4') are used and, at the start of processing, one of the milling heads approaches the stator tube and is brought into a predetermined position in relation to this end of the stator tube, - wherein the milling head accelerates to processing speed from this defined position with regard to its rotary axis and with regard to its linear axis and is retracted along its linear axis into the tube interior and a thread is worked out until the milling head reaches at least the longitudinal centre of the stator tube or exceeds the same by a predetermined value, characterised - in that, depending on the course of the individual threads and the position of the milling head and/or the location of its impact on the stator tube, the exit point or the exit contour of the thread to be formed by this milling head or another thread to be formed at the other opposite end of the stator tube is determined or calculated, and the second milling head at this point begins its processing of the inner wall surface of the stator tube and this milling head is displaced along its linear axis and rotated about its rotary axis (C') until this milling head reaches the centre of the stator tube or exceeds the same by a predetermined value, and - in that the threads formed halfway down by the respective milling head (4, 4') are continued by the respective other milling head (4', 4) in the respective other half of the stator tube or are further milled from the centre to the respective other end (I, II). - wherein, for processing the inner wall of the stator tube, at least two milling heads (4, 4') are used and, at the start of processing, one of the milling heads approaches the stator tube and is brought into a predetermined position in relation to this end of the stator tube, - wherein the milling head accelerates to processing speed from this defined position with regard to its rotary axis and with regard to its linear axis and is retracted along its linear axis into the tube interior and a thread is worked out until the milling head reaches at least the longitudinal centre of the stator tube or exceeds the same by a predetermined value, characterised - in that, depending on the course of the individual threads and the position of the milling head and/or the location of its impact on the stator tube, the exit point or the exit contour of the thread to be formed by this milling head or another thread to be formed at the other opposite end of the stator tube is determined or calculated, and the second milling head at this point begins its processing of the inner wall surface of the stator tube and this milling head is displaced along its linear axis and rotated about its rotary axis (C') until this milling head reaches the centre of the stator tube or exceeds the same by a predetermined value, and - in that the threads formed halfway down by the respective milling head (4, 4') are continued by the respective other milling head (4', 4) in the respective other half of the stator tube or are further milled from the centre to the respective other end (I, II).