Excessive sweating, diarrhea, vomiting, certain medications, and kidney dysfunction can result in an electrolyte imbalance. A deficiency or excess of key electrolytes leads to an imbalance.