Diarrhea can cause or worsen kidney failure by reducing blood flow to the kidneys. Diarrhea leads to dehydration, electrolyte imbalances, and malnutrition, impairing kidney function and potentially causing kidney failure. While most cases of renal failure from diarrhea can be treated successfully, 10-20% of patients may not fully recover kidney function and require long-term dialysis. Diarrhea is usually diagnosed and treated by replacing lost fluids to prevent dehydration, and identifying and treating its underlying cause such as infection.