The objective of the paper was estimation of the impact of cooling manure in a pigpen with deep bedding through the use of the heat recovery installation on emission of gas pollution (NH3, N2O andCH4) from the fattening house. The research was carried out in the building for pigs maintained in deep bedding equipped with the heat recovery installation within one year. Central heating and utility hot water installations of a residential building constituted the upper source. The paper presents that between the amount of the collected heat and percentage emission of gas pollutions (NH3, N2O, CH4) there is a correlation (p<0.05). These relations were expressed with logarythmic regression curves: y = 10.8ln(x) - 2.2 (R2=0.83) for ammonia, y = 11.5ln(x) – 28.8 (R2=0.9) for nitrous oxide and y = 6.9ln(x) – 13.4 (R2=0.7) for methane. Cooling manure in a pigpen with deep bedding through the use of the heat recovery installation reduced emission of harmful gases at the average by 15.7% for NH3, and 16.2% for N2O and by 12.1% for CH4.