The invention relates to an agricultural machine comprising two side units and a chassis that extends in a longitudinal direction and is equipped with two wheels, each side unit being fitted to pivot in relation to the chassis via a respective longitudinal joint around a folding axis parallel to a median plane of the chassis; each side unit comprising a tool unit connected to the chassis by a respective arm and being able to occupy a work position in which it rests on the ground and in which the length of the respective tool unit extends transversely to the longitudinal direction; each side unit being also able to occupy a transport position in which it is remote from the ground and in which the length and width of the respective tool unit are substantially parallel to the median plane. The machine comprises at least a tilter articulated with the chassis around at least one tilting axis oriented transversely to the longitudinal direction, and in the transport position of the side units, each tool unit is closer to the median plane than the respective arm.