Diuretics are used to treat disorders such as hypertension and several types of edema that are caused by conditions such as heart failure and cirrhosis of the liver. However, use of diuretics can lead to complications, including dehydration and electrolyte imbalances. The action of carbonic anhydrase inhibitors reduces the rate of hydrogen ion secretion and there reabsorption of bicarbonate ions. The bicarbonate ions increase tubular osmotic pressure, causing osmotic diuresis. With long-term use, the diuretic effects of carbonic anhydrase inhibitors tends to be lost.