This document discusses the approach to hypokalemia. It begins by distinguishing between renal and extrarenal causes of hypokalemia based on urinary potassium levels and the transtubular potassium gradient. It then reviews various endocrine causes of hypokalemia related to the renin-angiotensin-aldosterone system. Primary aldosteronism is discussed in more detail, including criteria for diagnosis, screening methods such as the aldosterone-renin ratio, and distinctions between forms with and without an adrenal tumor. Tests for evaluating renal tubular function like the urine anion gap and methods for diagnosing renal tubular acidosis are also summarized.