A device for folding the working parts of agricultural machinery, in particular a device for folding the working parts of an agricultural machine consisting of at least one stationary part (1 ) and at least one, stored in the stationary part (1), swiveling folding part (2), where the stationary part (1) and the folding part (2) are connected by at least one swivel connection (3) stored in their outer edges, which contains, in the stationary part (1) stored a linear drive device (5) pivotally connected to a rod (4) which is pivotally connected to the folding part (2), where the linear drive device (5) is located below the frame (12) of the stationary part (1).