A separating device for a dairy farm livestock cubicle having a head region, a rear region, a first vertical separating unit, a second vertical separating unit spaced apart from the first vertical separating unit, and a substantially horizontally arranged crossmember extending through an obliquely arranged guide on one of the vertical separating units.