Metabolic alkalosis can be caused by repeated vomiting,  resulting in a loss of hydrochloric acid in the stomach contents. Severe dehydration , and the consumption of alkali are other causes. It can also be caused by administration of diuretics  and endocrine disorders such as Cushing's syndrome . Compensatory mechanism for metabolic alkalosis involve slowed breathing by the lungs to increase serum carbon dioxide,  a condition leaning toward respiratory acidosis . As respiratory acidosis often accompanies the compensation for metabolic alkalosis, and vice versa, a delicate balance is created between these two conditions.