Diamox tablets and injection and Diamox SR capsules all contain the active ingredient acetazolamide, which is a type of medicine called a carbonic anhydrase inhibitor. Acetazolamide has a few different uses. Its main use is in treating glaucoma, which is a condition where the pressure inside the eyeball is too high.