Foscarnet (phosphonomethanoic acid), known by its brand name Foscavir, is an antiviral medication which is primarily used to treat viral infections involving the Herpesviridae family. It is classified as a pyrophosphate analog DNA polymerase inhibitor. Foscarnet is the conjugate base of a chemical compound with the formula HO2CPO3H2 (Trisodium phosphonoformate). Foscarnet was approved for medical use in 1991.