Electrolyte imbalances can be caused by a variety of factors including dehydration, kidney disorders, medications, excessive sweating, chronic diseases, and dietary imbalances. Specific conditions such as diabetes and heart failure can also contribute to imbalances.