Thiourea formaldehyde resin (TFR) has been synthesized by condensation of thiourea and formaldehyde in acidic medium and its thermal degradation has been investigated using TG-FTIR-MS technique during pyrolysis and combustion. The results revealed that the thermal decomposition of TFR occurs in three steps assigned to drying of the sample, fast thermal decomposition of polymers, and further cracking. The similar TG and DTG characteristics were found for the first two stages during pyrolysis and combustion. The combustion process was almost finished at 680 A degrees C, while during pyrolysis a total mass loss of 93 wt% is found at 950 A degrees C. The release of volatile products during pyrolysis are NH3, CS2, CO, HCN, HNCS, and NH2CN. The main products in the second stage are NH3 CO2, CS2, SO2, and H2O during combustion. In the next stage, the combustion products mentioned above keep on increasing, but some new volatiles such as HCN, COS etc., are identified. Among the above volatiles, CO2 is the dominant gaseous product in the whole combustion process. It is found that the thermal degradation during pyrolysis of TFR produced more hazardous gases like HCN, NH3, and CO when compared with combustion in similar conditions.