The invention relates to a medium for analytic and preparative electrophoresis which includes a content of acids and bases of different pKa values. The medium contains at least two acids, where the difference in pKa values (ΔpKa) of adjacent acids are no greater than 1.0, preferably in the range from 0.8 to 0.5. The medium also contains at least two bases, whose pKa values range from approximately 1.5 to 11, and the difference of the pKa values (ΔpKa) of adjacent bases is no greater than 1.0, preferably in the range from 0.8 to 0.5.