A machine for harvesting maize, comprises:- a transverse structure (12), provided with a worm conveyor (14) including a transverse harvesting channel (16) having a central discharge opening (20) and a shaft (18), which rotates about a transverse axis (A) and is provided with helical surfaces (22), which are designed to convey the product contained in said harvesting channel towards said central discharge opening and- a plurality of harvesting units (24), carried by said transverse structure and set at a distance from one another in a transverse direction,wherein said transverse structure comprises a central frame (28) and two lateral frames (30) carrying respective harvesting units, the lateral frames being mobile between a working position and an inoperative position, wherein the central frame supports in rotation a central shaft section (18C) and the lateral frames support in rotation respective lateral shaft sections (18L), wherein said lateral shaft sections are supported in rotation in cantilever fashion by the respective lateral frames at respective external lateral ends (18L), and wherein said central shaft section is supported in rotation by said central frame only in one of its central portions (18C) located in front of said central discharge opening.