A device and method is proposed for detecting lameness in a standing animal that comprises at least one optical imaging device (20) and a processing arrangement (30) with the optical imaging device. The optical imaging device (20) is arranged in a position to capture at least one image showing the lower portions of at least one leg of an animal (100) and to forward the image to the processing arrangement (30), which, in turn, is configured to analyse the image to determine a condition of lameness when said at least one leg is held in a raised position on or above ground level. The system is particularly suited to detecting lameness in dairy animals and can be integrated in a milking or feeding stall or with an automatic or semi-automatic milking system.