The kidney excretes electorlytes in order to provide homeostatis in the organism. Accordingly with excess salt intake the compensatory mechanisms will start a pathophysiological process to maintain a homeostatis with a state known as 'allostatis', i.e. maintaing ballance with higher energy consumption (more 'effort' involved). Salt intake per se is not damaging (since the kidney can compensate acutely), but long-term allostasis since it involves renin-angiotensin-aldosterone system activation (RAAS). These hormones are exerting their effects on the endothelium (causing vasoconstriciton), heart (causing remodelling) and finally kidney (suffering from hypertension). This process is initiated due to kidney trying to compensate the salt intake with a larger filtration capacity at the glomerulus. However, potassium is lost due to aldosterone and this can also damage the kidney (kalipenic nephropathy). In chronic kidney disease in terminal stages, the elecotrolytic balance can no longer be maintained and potassium (and all other ions/molecules) are in excess in the body, very much depending on the intake/formation.