The method involves scanning a surveillance zone by a distance measuring sensor, and recording a set of distances measured by a scanning angle. The measured distances are compared with corresponding reference values in absence of overlap in the surveillance zone, where the reference values are calculated at separation height between a free stalling zone and a feeding passage and/or measured. Independent claims are also included for the following: (1) a device for detecting standing overlapping in a mammal confined in a delimited surveillance zone (2) a computer program comprising a set of instructions for implementing a method for detecting standing overlapping in a mammal confined in a delimited surveillance zone (3) a computer readable data storage unit comprising a set of instructions for implementing a method for detecting standing overlapping in a mammal confined in a delimited surveillance zone.La présente invention se rapporte à une méthode de détection de chevauchements chez des mammifères confinés dans une zone de surveillance délimitée, comprenant les étapes suivantes:- balayage de la zone de surveillance à laide dun capteur de mesure de distance (15) et enregistrement dune pluralité de distances mesurées en fonction dun angle de balayage,- comparaison desdites distances mesurées avec des valeurs de référence correspondantes en labsence de chevauchement dans la zone de surveillance, lesdites valeurs de référence étant calculées et/ou mesurées.