However, the viscosity is completely recovered when the pH of the solution is neutralised. Xanthan is an anionic polymer and as such the pH sensitivity of the viscosity is expected since changes in the pH will result in changes to the charge density of the xanthan which will in turn influence the molecular associations between xanthan molecules.