ABSTRACT Exposure of electrostatically assembled polyelectrolyte films comprised of the anionic carboxylic conjugated polymer poly[2-(3-thienyl)-ethanolhydroxycarbonylmethyl-urethane], hereafter referred to as H-PURET, and polycations such as poly(diallyldimethylammonium) chloride, here after referred to as PDADMAC, to aqueous ammonia vapor leads to dra matic changes in the ultraviolet-visible absorption spectrum. In the case of H-PURET/PDADMAC, a shift from 442 to 494 nm is observed upon overnight ammonia exposure. X-ray photoelectron spectroscopy has been used to investigate the mechanism of the changes in optical properties. The C1s, O1s and S2p core levels exhibit negligible ammonia-induced changes. Two N1s peaks are observed in virgin H-PURET/PDADMAC assemblies, and ammonia exposure causes the nitrogen peak corresponding to the H-PURET side chain to become more intense relative to that of the PDADMAC layer. This selective change in the N1s feature suggests that ammonia interacts with the polythiophene side-chain, presumably by deprotonating the fraction of carboxylic acid groups that remain in the H-PURET layer. This deprotonation apparently leads to structural or single chain conformational changes in the conjugated polymer layers that alter the electronic absorption spectrum.