A substance which, when excreted by the kidneys, releases formaldehyde which has an antiseptic action. It is given to patients with recurrent CYSTITIS. It acts only in urine with an acid reaction, and, if the urine is alkaline, ascorbic acid may acidify it. Hexamine is used prophylactically and for long-term treatment of recurrent urinary-tract infections.