The present invention provides methods and compositions for the treatment of ion imbalances. In particular, the invention provides compositions comprising potassium binding polymers and pharmaceutical compositions thereof. Methods of use of the polymeric and pharmaceutical compositions for therapeutic and/or prophylactic benefits are disclosed herein. Examples of these methods include the treatment of hyperkalemia, such as hyperkalemia caused by renal failure and/or the use of hyperkalemia causing drugs.