Encapsulation of pyrrole in two kinds of zeolite Y (NaY and USY) with various concentrations of CuII ions has been attempted by a gas diffusion process, and the products have been characterized by means of thermoanalytic and spectroscopic methods. From the results, it was found that the progress of polymerization depended on the CuII content, i.e. pyrrole was encapsulated as polypyrrole in both NaY and USY with a high concentration of CuII ions, and predominantly as pyrrole oligomer and/or monomer in those with a low concentration of CuII ions. Furthermore, EPR spectra revealed that NaY with a high concentration of CuII ions was active for the formation of bipolaron polypyrrole in the framework, whereas USY with a high concentration of CuII ions was not.