A model describing the dependence of the protonation level and the oxidation potential of polyaniline as a function of pH of equilibration and oxidation state has been derived. It is assumed that amine and imine sites do not function independently. Predictions are compared with previous experimental data.