A key question in systems biology is how diverse physiologic processes are integrated to produce global homeostasis. Genetic analysis can contribute by identifying genes that perturb this integration. One system orchestrates renal NaCl and K+ flux to achieve homeostasis of blood pressure and serum K+ concentration. Positional cloning implicated the serine-threonine kinase WNK4 in this process; clustered mutations in PRKWNK4, encoding WNK4, cause hypertension and hyperkalemia (pseudohypoaldosteronism type II, PHAII) by altering renal NaCl and K+ handling. Wild-type WNK4 inhibits the renal Na-Cl cotransporter (NCCT); mutations that cause PHAII relieve this inhibition. This explains the hypertension of PHAII but does not account for the hyperkalemia. By expression in Xenopus laevis oocytes, we show that WNK4 also inhibits the renal K+ channel ROMK. This inhibition is independent of WNK4 kinase activity and is mediated by clathrin-dependent endocytosis of ROMK, mechanisms distinct from those that characterize WNK4 inhibition of NCCT. Most notably, the same mutations in PRKWNK4 that relieve NCCT inhibition markedly increase inhibition of ROMK. These findings establish WNK4 as a multifunctional regulator of diverse ion transporters; moreover, they explain the pathophysiology of PHAII. They also identify WNK4 as a molecular switch that can vary the balance between NaCl reabsorption and K+ secretion to maintain integrated homeostasis.