Acyclovir is converted to acyclovir monophosphate by virus-specific thymidinekinase then further converted to acyclovir triphosphate by other cellular enzymes.
Acyclovir triphosphate inhibits DNA synthesis and viral replication by competing with deoxyguanosine triphosphate for viral DNA polymerase and being incomporated into viral DNA.