med study partner

Articles & Guides › Articles › Infectious Diseases

Antiviral, antifungal and antiparasitic drugs

How acyclovir, ganciclovir, foscarnet and cidofovir work against herpesviruses and how resistance arises, how influenza drugs act, how amphotericin, azoles, echinocandins and other antifungals target the fungal membrane and wall, and which drugs treat malaria, other protozoa and worms.

Infectious Diseases · 6 min read · Reviewed 2026-11-10

Viruses, fungi and parasites are harder to treat than bacteria because they are more like us. Viruses use our own cells to replicate, fungi are eukaryotes with membranes and ribosomes similar to ours, and parasites are animals. Each drug in this topic works by finding one difference: a viral enzyme our cells lack, a sterol in fungal membranes that ours do not use, or a parasite structure such as worm tubulin. Knowing that difference explains both why the drug is selective and how resistance develops.

Key points

  • Acyclovir must be activated by viral thymidine kinase, so it acts only in infected cells, and resistant herpes viruses lose that enzyme; foscarnet and cidofovir need no viral activation.
  • Ganciclovir treats cytomegalovirus and suppresses the bone marrow; foscarnet causes kidney injury and low calcium, magnesium and potassium.
  • Amphotericin and nystatin bind ergosterol, azoles block its synthesis, and echinocandins block cell wall glucan; echinocandins are first line for candidemia.
  • Primaquine kills the dormant liver forms of P. vivax and P. ovale but causes hemolysis in G6PD deficiency, so test first.
  • Albendazole and mebendazole treat most roundworms, praziquantel treats flukes and tapeworms, and ivermectin treats Strongyloides.

Antiviral drugs

Herpesvirus drugs

DrugHow it worksUsesToxicity and resistance
Acyclovir, valacyclovirPhosphorylated first by viral thymidine kinase, then by host enzymes; the triphosphate blocks viral DNA polymerase and ends the DNA chainHerpes simplex and varicella zoster: genital herpes, encephalitis, shinglesCrystals in the kidney (keep patients hydrated); resistance from lost or altered thymidine kinase
Ganciclovir, valganciclovirActivated by a cytomegalovirus kinase, then blocks viral DNA polymeraseCytomegalovirus retinitis, colitis and pneumonitis; prevention after transplantBone marrow suppression
FoscarnetBlocks viral DNA polymerase directly, needing no activationAcyclovir-resistant herpes and ganciclovir-resistant cytomegalovirusKidney injury; low calcium, magnesium, potassium and phosphate; seizures
CidofovirA nucleotide analog that needs no viral activationResistant cytomegalovirusSevere kidney injury, so it is given with probenecid and saline

Acyclovir's design is what makes it safe: uninfected cells lack the viral thymidine kinase, so they never activate the drug[1]. The same design explains resistance. A virus that loses its thymidine kinase cannot activate acyclovir, but foscarnet and cidofovir bypass that step entirely.

Influenza and other antivirals

Oseltamivir and zanamivir block neuraminidase, the enzyme that releases new virus particles from infected cells, and baloxavir blocks a viral enzyme the virus needs to start making its own messenger RNA. They work best when started within 48 hours of symptoms[2]. Older drugs that blocked the M2 channel are no longer used because of resistance.

Hepatitis B is treated with tenofovir or entecavir, and hepatitis C with direct-acting antivirals; these are covered in the gastroenterology articles. Ribavirin causes hemolytic anemia and birth defects, and interferon causes flu-like symptoms, depression and low blood counts. Ritonavir, used to boost other antivirals, strongly inhibits CYP3A4 and causes many drug interactions.

Antifungal drugs

Targets in the fungal cell

Fungal membranes use ergosterol where human membranes use cholesterol, and fungi have a wall of glucan that human cells lack. These two differences are the main targets. The similarity between the two sterols is also why amphotericin, which prefers ergosterol, still damages human kidney cells.

ClassHow it worksUsesToxicity
Amphotericin BBinds ergosterol and punches pores in the membraneSerious systemic fungal infection: cryptococcal meningitis (with flucytosine), mucormycosis, severe endemic mycosesKidney injury with potassium and magnesium loss; fever and chills during infusion; liposomal forms are gentler
Azoles (fluconazole, itraconazole, voriconazole, posaconazole, isavuconazole)Block 14-alpha-demethylase, the enzyme that makes ergosterolFluconazole: Candida and Cryptococcus maintenance. Voriconazole or isavuconazole: invasive aspergillosis. Posaconazole or isavuconazole: mold prevention and mucormycosis step-downInhibit CYP450, causing many interactions; liver injury; QT prolongation; voriconazole causes visual changes and sun sensitivity
Echinocandins (caspofungin, micafungin)Block beta-glucan synthesis in the cell wallFirst line for candidemia, including azole-resistant speciesVery well tolerated; no activity against *Cryptococcus*
FlucytosineConverted inside the fungus to 5-fluorouracil, disrupting DNA and RNACryptococcal meningitis, with amphotericinBone marrow suppression
TerbinafineBlocks squalene epoxidase, an earlier step in sterol synthesisNail and skin fungal infectionsLiver injury, taste changes
GriseofulvinDisrupts microtubules and deposits in keratinScalp ringworm in childrenBirth defects; induces CYP450
NystatinBinds ergosterol; too toxic for systemic useOral thrush and skin candidiasisLocal only

A memory aid: amphotericin and nystatin bind ergosterol, azoles block its synthesis, echinocandins attack the wall, terbinafine acts earlier in the sterol pathway, and flucytosine attacks nucleic acids[3].

One distinction often decides treatment: voriconazole covers *Aspergillus* but not the Mucorales, so mucormycosis is treated with amphotericin and, later, posaconazole or isavuconazole[4]. Echinocandins work against azole-resistant Candida because they do not depend on ergosterol synthesis.

Antiparasitic drugs

Antimalarials

DrugUseNotes
Artemisinins (artesunate)Severe malaria (intravenous artesunate) and, in combinations, uncomplicated malariaClear parasites fast; used in combination to slow resistance
ChloroquineMalaria where still susceptibleRetinal damage with long use; P. falciparum is widely resistant
Primaquine, tafenoquineKill dormant liver forms (hypnozoites) of P. vivax and P. ovaleHemolysis in G6PD deficiency: test first; avoided in pregnancy
Atovaquone-proguanilTreatment and preventionWell tolerated
MefloquinePreventionNeuropsychiatric effects
DoxycyclinePreventionSun sensitivity
QuinineOlder treatmentCinchonism: tinnitus, headache and nausea; low blood glucose

P. vivax and P. ovale can hide in the liver as hypnozoites and cause relapses months later. Blood-stage drugs do not reach them, so primaquine is added for a "radical cure"[5].

Other antiprotozoal drugs

  • Metronidazole or tinidazole for Giardia, Entamoeba and Trichomonas, with a luminal agent such as paromomycin to clear Entamoeba cysts from the bowel.
  • Pyrimethamine with sulfadiazine for toxoplasmosis, plus leucovorin, because pyrimethamine blocks dihydrofolate reductase and would otherwise suppress the marrow.
  • Nitazoxanide for Cryptosporidium; benznidazole or nifurtimox for Chagas disease; amphotericin or miltefosine for leishmaniasis.

Drugs for worms

DrugHow it worksCovers
Albendazole, mebendazoleBind worm beta-tubulin, blocking microtubulesMost roundworms (pinworm, Ascaris, hookworm, whipworm), neurocysticercosis and hydatid cysts
IvermectinOpens worm chloride channels, paralyzing the worm*Strongyloides*, onchocerciasis, scabies and lice
PraziquantelLets calcium flood into the worm, paralyzing itFlukes such as Schistosoma and most adult tapeworms
Pyrantel pamoateParalyzes the worm's musclesPinworm, hookworm, Ascaris

A simple rule: "-bendazoles" for roundworms, praziquantel for flatworms (flukes and tapeworms), and ivermectin for Strongyloides and Onchocerca[6].

Common confusions

  • Acyclovir versus foscarnet: acyclovir needs viral thymidine kinase; foscarnet does not, so it treats thymidine kinase-deficient resistant virus.
  • Voriconazole versus amphotericin for molds: voriconazole covers Aspergillus but misses the Mucorales.
  • Echinocandins and *Cryptococcus*: echinocandins do not cover it; amphotericin with flucytosine does.
  • Albendazole versus praziquantel in tapeworm disease: albendazole treats larval cysts in the brain (neurocysticercosis); praziquantel treats the adult worm in the gut.

References

  1. Whitley RJ, Roizman B. Herpes simplex virus infections. Lancet. 2001;357(9267):1513-1518. doi:10.1016/S0140-6736(00)04638-9 Link ↩
  2. Uyeki TM, Bernstein HH, Bradley JS, et al. Clinical practice guidelines by the Infectious Diseases Society of America: 2018 update on diagnosis, treatment, chemoprophylaxis, and institutional outbreak management of seasonal influenza. Clin Infect Dis. 2019;68(6):e1-e47. doi:10.1093/cid/ciy866 Link ↩
  3. Vanderah TW, ed. Katzung's Basic and Clinical Pharmacology. 16th ed. McGraw Hill; 2024. ↩
  4. Cornely OA, Alastruey-Izquierdo A, Arenz D, et al. Global guideline for the diagnosis and management of mucormycosis: an initiative of the European Confederation of Medical Mycology in cooperation with the Mycoses Study Group Education and Research Consortium. Lancet Infect Dis. 2019;19(12):e405-e421. doi:10.1016/S1473-3099(19)30312-3 Link ↩
  5. White NJ, Pukrittayakamee S, Hien TT, Faiz MA, Mokuolu OA, Dondorp AM. Malaria. Lancet. 2014;383(9918):723-735. doi:10.1016/S0140-6736(13)60024-0 Link ↩
  6. Jourdan PM, Lamberton PHL, Fenwick A, Addiss DG. Soil-transmitted helminth infections. Lancet. 2018;391(10117):252-265. doi:10.1016/S0140-6736(17)31930-X Link ↩

Test yourself in the Question Bank · Listen to the podcasts