New carbonic anhydrase (EC 126.96.36.199) inhibitors were synthesized as potential drugs for the topical treatment of glaucoma. They were obtained by substituting the acetyl group of acetazolamide and methazolamide with bicarboxylic acids of different chain length (C4-C6). The terminal carboxyl was either kept free or esterified with alcohols of different size (C1-C12). A gamma-aminovaleric derivative was also prepared. All compounds proved active as carbonic anhydrase inhibitors in vitro, with an average IC50 of about 0.5 microM. Some proved also to be topically active in vivo in lowering the artificially elevated intraocular pressure in rabbits. The most active compound, carrying a succinic acid side chain, is the most soluble in aqueous buffers. Its duration of action is about 8 h and it is under evaluation as a topical antiglaucoma drug. It is hypothesized that the duration of action could be longer in compounds having both the same high water solubility and partition coefficient.