We have measured the N(1s) binding energy of polypyrrole in states of different conductivity using XPS. The conductivity changes were produced either electrochemically or chemically by a base/acid treatment. In both cases reversible effects on the N(1s) photoelectron spectrum were observed