A milking module comprising at least two milking places arranged side by side after each other along a longitudinal axis (x), each milking place being configured to receive a respective animal to be milked, a primary end and a secondary end (1") opposite to the primary end, wherein the milking module extends along the longitudinal axis (x) from the primary end to the secondary end (1"), a front side and a rear side, which both extend in parallel with the longitudinal axis (x), a front gate assembly movable between a lower position, closing the front side to prevent the animals from leaving the respective milking place through the front side, and an upper position, configured to permit the animals to leave the respective milking place through the front side, a further gate assembly being movable between a lower position and an upper position above the animals, and a stationary support structure supporting the front gate assembly and the further gate assembly, wherein the front gate assembly comprises a front gate and at least one guide bar, and the front gate, by means of the at least one guide bar, is movable along a curved path when the front gate assembly is moved between its lower position and its upper position, characterized in that the further gate assembly comprises at least two sequence gates, which are openable from a closing position in which they extend in parallel with the longitudinal axis (x) to an opening position in which they extend transversely to the longitudinal axis (x) and give access to the respective milking place, wherein the sequence gates are in the closing position when the further gate assembly is in its upper position, and wherein the sequence gates are in the closing position when the further gate assembly is moved from its upper position to its lower position thereby exerting a pushing force on the animals in the respective milking place to leave the milking module through the front side. at least two milking places arranged side by side after each other along a longitudinal axis (x), each milking place being configured to receive a respective animal to be milked, a primary end and a secondary end (1") opposite to the primary end, wherein the milking module extends along the longitudinal axis (x) from the primary end to the secondary end (1"), a front side and a rear side, which both extend in parallel with the longitudinal axis (x), a front gate assembly movable between a lower position, closing the front side to prevent the animals from leaving the respective milking place through the front side, and an upper position, configured to permit the animals to leave the respective milking place through the front side, a further gate assembly being movable between a lower position and an upper position above the animals, and a stationary support structure supporting the front gate assembly and the further gate assembly, wherein the front gate assembly comprises a front gate and at least one guide bar, and the front gate, by means of the at least one guide bar, is movable along a curved path when the front gate assembly is moved between its lower position and its upper position, characterized in that the further gate assembly comprises at least two sequence gates, which are openable from a closing position in which they extend in parallel with the longitudinal axis (x) to an opening position in which they extend transversely to the longitudinal axis (x) and give access to the respective milking place, wherein the sequence gates are in the closing position when the further gate assembly is in its upper position, and wherein the sequence gates are in the closing position when the further gate assembly is moved from its upper position to its lower position thereby exerting a pushing force on the animals in the respective milking place to leave the milking module through the front side.