A machine for cleaning barns for farming birds, comprising a frame (2), locomotion means (3) with steering wheels, means for removing chicken excrement (8) from the floor of the barn and means (25) for lifting the projecting appendages of the cages, so as to be able to transit in the narrow spaces present in bird-farming barns. The machine can, with a single passage along the corridors of the breeding farm, collect the excrement and perform a washing and disinfection. If beneath the cages there is an accessible space for the birds, in a first step the machine can remove the excrement present along the corridor and extract the excrement present beneath the cages, accumulating it into the transit corridor, in a second step it can collect the excrement accumulated before along the corridor and perform washing and disinfection.