Acyclovir is an antiviral agent with activity against herpesvirus types 1 and 2 and varicella zoster virus. Acyclovir is converted by a herpesvirus enzyme into acyclovir triphosphate) that inhibits the synthesis of deoxyribonucleic acid (DNA) molecules in the virally infected cells, thereby inhibiting viral replication.