An environmentally friendly pig house comprises at least one round or polyhedral pig house building (100, 200, 300, 400). Each polyhedron has five faces or more, and a ventilation shaft (102, 202) is provided in the middle of each storey of each pig house building (100, 200, 300, 400); each floor tilts from high to low towards the ventilation shaft from the outer edge; the top of each pig house building (100, 200, 300, 400) is provided with a waste gas collecting and treatment device (700) communicating with the ventilation shaft (102, 202); and the bottom of the buildings are provided with pig excreta collecting devices corresponding to the opening of the ventilation shaft. A first channel (3102) and a second channel (3103) are nested in the ventilation shaft (102, 202) in the middle of the pig house buildings (100, 200, 300, 400) in a direction along the axis of symmetry of the pig house building; the first channel (3102), which is located inside, is sealed on the top and connected to an air treatment chann