The invention discloses a sanitary and environment-friendly facility for captive breeding of livestock farms, which comprises a captive breeding house. A house foundation is fixedly laid on the lowersurface of the captive breeding house, an entrance-exit is formed in the surface of the captive breeding house, ventilation nets are fixedly installed on the portions, located on the two sides of theentrance-exit, of the surface of the captive breeding house, and a drainage roof is fixedly installed on the upper surface of the captive breeding house. A mounting rod is fixedly mounted on the surface of the inner side of the captive breeding room, residue discharge channels are formed in the positions, close to the two sides, of the upper surface of the house foundation, an enclosing wall is fixedly mounted on the upper surface of the house foundation, and feeding troughs are fixedly mounted on the side, close to the residue discharge channels, of the surface of the enclosing wall. According to the sanitary and environment-friendly facility for captive breeding of livestock farms, troubles caused by manual excrement removal can be avoided, most harmful bacterium residues can be eliminated, bacterium propagation is inhibited, the risk caused by virus infection of livestock is reduced, a good ventilation and drying effect can be achieved, and breeding of harmful bacteria is prevented.