An agricultural mowing machine, in particular for mowing grass, the machine comprising: - a frame having a coupling device for coupling the machine to a tractor; - a carrying arm which is pivotally connected to the frame; - a first hydraulic cylinder being configured to pivot the carrying arm relative to the frame; - a lateral displacement structure being connected to the carrying arm in such a manner that the lateral displacement structure can be displaced relative to the carrying arm in a lateral direction; - a second hydraulic cylinder being configured to move the lateral displacement structure relative to the carrying arm; - a mowing unit being connected to the lateral displacement structure, which mowing unit can be moved between an approximately horizontal working position, a raised headland position, and a transport position, characterised in that the first hydraulic cylinder and the second hydraulic cylinder are connected to each other in such a manner that when the mowing unit is in its transport position and the first hydraulic cylinder or the second hydraulic cylinder is actuated by means of pressurized hydraulic fluid, hydraulic fluid discharged from said first or second hydraulic cylinder (17, 19) is supplied under pressure to the other of the first or second hydraulic cylinder (17, 19) for pivoting the carrying arm so as to move the mowing unit from the transport position towards the headland position and displacing the lateral displacement structure outwards relative to the carrying arm simultaneously further characterised in that a fourth hydraulic cylinder is provided which is configured to adjust the working position of the mowing unit transversely to the direction of travel between a narrowest working position and a widest working position, wherein the second hydraulic cylinder and the fourth hydraulic cylinder have a common piston rod thereby constituting a second double cylinder arrangement. - a frame having a coupling device for coupling the machine to a tractor; - a carrying arm which is pivotally connected to the frame; - a first hydraulic cylinder being configured to pivot the carrying arm relative to the frame; - a lateral displacement structure being connected to the carrying arm in such a manner that the lateral displacement structure can be displaced relative to the carrying arm in a lateral direction; - a second hydraulic cylinder being configured to move the lateral displacement structure relative to the carrying arm; - a mowing unit being connected to the lateral displacement structure, which mowing unit can be moved between an approximately horizontal working position, a raised headland position, and a transport position, characterised in that the first hydraulic cylinder and the second hydraulic cylinder are connected to each other in such a manner that when the mowing unit is in its transport position and the first hydraulic cylinder or the second hydraulic cylinder is actuated by means of pressurized hydraulic fluid, hydraulic fluid discharged from said first or second hydraulic cylinder (17, 19) is supplied under pressure to the other of the first or second hydraulic cylinder (17, 19) for pivoting the carrying arm so as to move the mowing unit from the transport position towards the headland position and displacing the lateral displacement structure outwards relative to the carrying arm simultaneously further characterised in that a fourth hydraulic cylinder is provided which is configured to adjust the working position of the mowing unit transversely to the direction of travel between a narrowest working position and a widest working position, wherein the second hydraulic cylinder and the fourth hydraulic cylinder have a common piston rod thereby constituting a second double cylinder arrangement.