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 channel (3104) on the bottom and communicates with an air outlet of an air intake device (3105); the second channel (3103), which is located outside, communicates with the pig excreta collecting device on the bottom and communicates with the outside air on the top, the air treatment channel (3104) having a blowing device, a sensor, a shower cooling device, a refrigerating device, and a heating device. Pig excreta can automatically flow into the ventilation shaft, and can be collected by the pig excreta collecting device at the bottom of the building; waste gas is collected, treated, and discharged into the atmosphere; the pig house occupies a small area, has strong wind and snow resistant functions, and is sturdy and durable. The culturing process is pollution-free, and piglets, pigs, and sows can be accommodated appropriately.