Potassium sparing diuretics work by interfering with sodium reabsorption in the collecting duct of the nephron, thereby inhibiting the indirect secretion of potassium. The main classes are aldosterone antagonists like spironolactone and eplerenone, and epithelial sodium channel inhibitors like amiloride and triamterene. They are used to treat edema and hypertension while preserving potassium levels. Adverse effects include hyperkalemia and hypokalemia, so monitoring of electrolyte levels is important when using these drugs.