In view of their sensitivity to oxidation and to doping gases, it would seem natural to use conducting polymers as chemical sensors. The first graft copolymer of polypyrrole films has been synthesized by chemical and electrochemical polymerization of pyrrole in the presence of poly(para-chloromethylstyrene-co-styrene-co-pyrrolemethylstyrene), PCMS-co-S-co-PMS. Electrochemical synthesis of PCMS-co-S-g-PPy was carried out using a conventional three electrodes system with a SCE reference, platinum wire counter electrode, GC disk working electrode and tetrabutylammonium hexafluorophosphate in acetonitrile. The copolymer produced exhibits an electrical conductivity comparable to that of polypyrrole. Then prepared films were exposed to hydrogen halides, hydrogen cyanide, halogens, 1-3-5 trichloromethyl benzene (TCMB), methylbenzyl bromide (MBB), bromoacetone (BA) and cyanogen bromide (CB). Thermal stability of PCMS-co-S-g-PPy was investigated by scanning thermal analysis (STA), differential scanning calorimetry (DSC) and thermal gravimetry analysis (TGA). TGA thermogramme of copolymer showed a multi-step thermal degradation behaviour. This measurement showed that copolymer has excellent thermal stability. The response mechanism of this compound to a selection of gases and vapours was investigated, by measuring its electrical conductivity by a four-point probe method. This gas sensor may have advantages compared to other sensors in its ability to operate at room temperature, low gas and vapour concentration and solubility, stability in air, sufficient diffusion, and its selectivity.