Abstract The influence of the nature of the anions on the conductivity of polypyrrole films in aqueous solution was investigated by photocurrent spectroscopy combined with electrochemical impedance spectroscopy in dependence on the potential. As demonstrated, the conductivity of polypyrrole films at negative potentials can vary from a semiconducting to an ionic conducting state, depending on the size of the charge-compensating counter-anion incorporated during the electropolymerization. The reduced polypyrrole shows semiconducting properties when small anions are inserted, releasing the polymer matrix during the reduction process. The polymer can than be considered as a two-layer system, consisting of a semiconducting layer and a porous layer. Measurements at different thickness of polypyrrole films have shown that the position of the semiconducting layer is in the electrode/polymer interface. The ohmic resistance of the semiconducting layer is in the range 15k, the capacitance approaches a value of 100500nF and the flatband potential is 0.62VSCE. If large anions are incorporated, cation insertion takes place during reduction, the electrolyte content in the polymer then is relatively high and the polymers behaviour is similar to that of an ionic conductor. The results are presented and discussed together with the example of methylsulfonate as a relatively small anion and polystyrenesulfonate as a large anion.