The present invention relates to a haymaking machine comprising a collection and displacement device (4) comprising a rotor (8) animated about an axis (9) substantially horizontal and perpendicular to a direction of advance (A) of the machine , teeth (10) with tooth tips (11) describing a curved envelope when the rotor (8) is animated about said axis (9), and a conveyor (12) moving the plants transversely to the direction of advancement ( A), the machine also having a deflector (32) which cooperates with the pick-up and displacement device (4) so as to form a windrow, the deflector (32) being connected to an arm (33) connected, by means of a first hinge (35), at the pick-up and displacement device (4), around which first hinge (35) the arm (33) can be pivoted between a first position in which the deflector (32) is arranged next to a lateral end (38) of the ispositif pickup and displacement (4) and is remote from said lateral end (38), and a second position. According to the invention, in the second position, the deflector (32) and the arm (33) extend at least partially above the pick-up and displacement device (4) and in a plane (P) which, at the work, is substantially parallel to the ground.La présente invention concerne une machine de fenaison comportant un dispositif de ramassage et de déplacement (4) comportant un rotor (8) animé autour d'un axe (9) sensiblement horizontal et perpendiculaire à une direction d'avancement (A) de la machine, des dents (10) avec des pointes de dents (11) décrivant une enveloppe courbe lorsque le rotor (8) est animé autour dudit axe (9), et un convoyeur (12) déplaçant les végétaux transversalement à la direction d'avancement (A), la machine comportant également un déflecteur (32) qui coopère avec le dispositif de ramassage et de déplacement (4) de manière à former un andain, le déflecteur (32) étant relié à un bras (33) relié, au moyen d'une première articulation (35), au dispositif de ramassage et de déplacement (4), autour de laque