StepWise USMLE
Pharmacology · Antimicrobials

Antifungal Pharmacology: Mechanisms, Uses and Side Effects of Amphotericin B, Azoles and Echinocandins

How each drug attacks a fungus, what it is used for, and what it does to the patient. Built from the ground up, so you can start with zero background.

📖 Key Words First

WordPlain meaning
FungusLiving organism with a cell wall, like yeast or mold
Yeast / moldRound single cells / branching threads
Cell membraneThin fatty skin just inside the cell wall
Cell wallTough outer shell that human cells do not have
ErgosterolFatty molecule that keeps fungal membranes stable
CholesterolThe human version of that membrane molecule
Beta-glucanSugar chain that builds the fungal cell wall
EnzymeProtein that speeds up one chemical step
Cytochrome P450 (CYP)Family of enzymes, in fungi and in human liver, that process chemicals
FungicidalKills the fungus
FungistaticStops growth so the immune system can clear it
Drug of choice (DOC)First-pick drug for an infection
Intravenous (IV)Given into a vein
Cerebrospinal fluid (CSF)Fluid around the brain and spinal cord
Central nervous system (CNS)Brain and spinal cord
Glomerular filtration rate (GFR)How well the kidneys filter blood
DermatophyteFungus that eats keratin in skin, hair and nails
KeratinTough protein of skin, hair and nails
OnychomycosisFungal nail infection
CandidiasisInfection by Candida yeast, such as thrush
TopicalApplied on the skin or mucosa
ProphylaxisDrug given to prevent infection

🧫 Big Picture

Why fungi are hard to treat

  • Fungi are eukaryotes, like human cells
    • Their machinery resembles ours
    • Drugs must hit a feature humans lack, or use differently
  • So the drug targets are few
    • Ergosterol in the membrane
    • Ergosterol production
    • Beta-glucan in the cell wall
    • Fungal DNA/RNA building blocks

The four attack points

Squalene→Squalene epoxide→Lanosterol→Ergosterol→Membrane
  • Terbinafine blocks squalene → squalene epoxide
    • Enzyme: squalene epoxidase
  • Azoles block lanosterol → ergosterol
    • Enzyme: 14-alpha-demethylase
  • Amphotericin B and nystatin bind finished ergosterol
  • Echinocandins block the cell wall sugar chain beta-glucan
Analogy: a brick fort with a leather tent inside
  • Cell wall = brick outer fort wall
  • Membrane = leather tent lining inside it
  • Ergosterol = the stitching that holds the leather together
  • Echinocandins stop the brick-making
  • Azoles and terbinafine stop the stitching thread being made
  • Polyenes punch holes through the stitched leather
Exam trap
  • Human cells use cholesterol, so ergosterol drugs are more selective, not perfectly selective.

🕳️ Polyenes AMPHOTERICIN B · NYSTATIN

Where this fits

Ergosterol made→Sits in membrane→Polyene binds it

Mechanism

Drug binds ergosterol→Ring of drug forms a channel→Ions leak out (K⁺)→Cell dies
  • Drug has a water-loving side and a fat-loving side
    • This lets it sit across the membrane
  • Binds human cholesterol weakly
    • Explains the toxicity
  • Resistance: fungus has little ergosterol in its membrane
    • Less target, less binding

Amphotericin B

  • Broad fungicidal spectrum
  • Used for severe, life-threatening infection
    • Cryptococcal meningitis, with flucytosine
    • Mucormycosis
    • Severe invasive Candida, Aspergillus, endemic mycoses
  • Given slowly IV
    • Not absorbed from gut
  • Poor entry into CNS
    • Intrathecal route (into CSF) is possible
  • Very long half-life, over 2 weeks

Nystatin

  • Too toxic for IV use
  • Used only topically or as a swish-and-swallow
  • Typical use: oral thrush, mucosal Candida
  • Not absorbed, so no systemic effect

Adverse effects

TypeFeaturesWhy / prevention
Infusion reactionFever, chills, rigors, low blood pressureInflammatory chemical release; give test dose, slow rate, pre-treat with NSAIDs, antihistamines or steroids
Kidney injuryLower GFR, renal tubular acidosis, low K⁺, low Mg²⁺Drug constricts kidney vessels and leaks membranes; saline loading, liposomal form, lower dose with combination
AnemiaNormocyticDamaged kidneys make less erythropoietin (hormone that drives red cell production)
High-yield
  • Dose-dependent kidney toxicity limits use.
  • Liposomal forms are gentler on the kidney.
  • Check K⁺ and Mg²⁺ often.

⚗️ Azoles -CONAZOLES

Where this fits

Squalene→Lanosterol→Azole blocks here→Ergosterol

Mechanism

  • Azole enters the fungal cell
  • Binds fungal CYP enzyme 14-alpha-demethylase
  • Lanosterol cannot become ergosterol
  • Membrane becomes leaky and weak, with toxic sterol build-up
  • Effect is mainly fungistatic
    • Echinocandins and polyenes kill more reliably
  • Resistance: less drug accumulates inside the fungus
    • Pumps push drug out; the target enzyme may also mutate
Analogy: a sticky valve on a factory line
  • Azole is a wedge jammed in a machine that finishes the product.
  • Human liver machines look similar, so the wedge sometimes jams them too.

Drug by drug

DrugMain usesKey points
FluconazoleCandida (oral, esophageal, invasive), Coccidioides, cryptococcal maintenance after inductionBest CSF entry; cleared unchanged in urine; weakest liver-enzyme effects
ItraconazoleBlastomyces, Histoplasma, Sporothrix, nail infectionAbsorption needs stomach acid and food; liver metabolism; can depress heart pumping
VoriconazoleInvasive Aspergillus (first-line)Visual disturbance; many drug interactions
KetoconazoleRarely used orally now; topical for skinAbsorption falls with antacids; most hormone and liver toxicity
Clotrimazole, miconazoleTopical Candida and dermatophytesCreams, troches, vaginal forms

Adverse effects: why they happen

  • Inhibit human CYP enzymes
    • Raise levels of many other drugs
  • Higher liver enzymes
    • Rare liver failure
  • Block steroid hormone synthesis (mostly ketoconazole)
    • Less testosterone → low libido, gynecomastia (male breast growth)
    • Less cortisol → adrenal insufficiency risk
    • Menstrual irregularity
  • Teratogenic in pregnancy, especially higher-dose fluconazole
Exam trap
  • Antacids reduce ketoconazole and itraconazole capsule absorption.
  • Only fluconazole is the dependable oral azole for meningitis.

💊 Other Antifungals

Flucytosine

Flucytosine→Fungal cytosine deaminase→5-fluorouracil (5-FU)→Wrong RNA + less thymine
  • Fungus has the activating enzyme; human cells mostly do not
    • This gives selectivity
  • 5-FU is built into RNA as a faulty letter
  • A second product blocks thymidylate synthase
    • Enzyme that makes thymine for DNA
  • Resistance appears fast if used alone
    • Always paired, usually with amphotericin B
  • Enters CSF well
    • Used for severe Candida and cryptococcal meningitis
  • Toxic to bone marrow
    • Gut bacteria convert some drug to 5-FU, adding to toxicity

Griseofulvin

  • Oral only, effective only on dermatophytes
  • Drug deposits in newly forming keratin
    • New hair and nail grow resistant to the fungus
  • Disrupts microtubules, the cell's internal scaffolding
    • Cell division fails
  • Adverse effects
    • Headache, GI upset, liver enzyme rise
    • Disulfiram-like reaction with alcohol (flushing, nausea)
    • Induces liver enzymes, so lowers warfarin and contraceptive effect
    • Avoid in pregnancy
  • Needs weeks to months of therapy

Terbinafine

  • Blocks squalene epoxidase
    • Ergosterol falls
    • Squalene builds up and is toxic to the fungus
  • Active against dermatophytes, taken orally
    • Often preferred over griseofulvin for nail infection
  • Adverse effects: GI upset, rash, headache, raised liver enzymes with possible liver injury

Echinocandins CASPOFUNGIN · MICAFUNGIN · ANIDULAFUNGIN

Drug→Blocks beta-glucan synthase→Wall weak→Cell bursts
  • Given IV only
  • Candida: killed (fungicidal)
  • Aspergillus: growth slowed (fungistatic)
  • No effect on Cryptococcus or Mucor
  • Uses: invasive Candida, and Aspergillus when first-line drugs fail
  • Few side effects: liver enzymes, flushing from histamine release
  • Human cells have no cell wall, so toxicity is low
Analogy: pest control for a hive
  • Echinocandins dissolve the wax cells the hive is built from.
  • Humans have no hive, so the dissolving agent harms little else.

🎯 Drug Matching

InfectionTypical choiceNotes
Oral thrush, skin CandidaNystatin, clotrimazole, miconazole (topical)Fluconazole if more extensive
Esophageal CandidaFluconazoleEchinocandin if resistant
Invasive CandidaEchinocandin or fluconazoleAmphotericin B if severe
Cryptococcal meningitisAmphotericin B + flucytosine, then fluconazoleEchinocandins do not work
Invasive AspergillusVoriconazoleEchinocandin or amphotericin B as backup
MucormycosisAmphotericin BAzoles used are not effective except newer agents; echinocandins fail
Dermatophytes, nailsTerbinafine, itraconazole, griseofulvinTopical azoles for skin
Blastomyces, Histoplasma, SporothrixItraconazoleAmphotericin B if severe
CoccidioidesFluconazoleAmphotericin B if severe or meningitis

Side-by-side targets

ClassTargetKills?
PolyenesErgosterol (bind)Yes
Azoles14-alpha-demethylaseMostly no
TerbinafineSqualene epoxidaseYes in dermatophytes
EchinocandinsBeta-glucan synthaseCandida only
FlucytosineRNA and thymine productionWeak alone
GriseofulvinMicrotubulesNo

⚠️ Traps & Recap

Exam traps
  • Amphotericin B toxicity is kidney, potassium and magnesium, plus infusion reactions.
  • Flucytosine must never be used alone.
  • Echinocandins miss Cryptococcus and Mucor.
  • Griseofulvin and terbinafine work only on dermatophytes.
  • Azoles raise levels of many other drugs.
  • Ketoconazole is the azole that lowers sex steroids and cortisol.
Recap
  • Fungal drugs target ergosterol, its synthesis, or the cell wall.
  • Amphotericin B makes holes in ergosterol membranes.
  • Amphotericin B causes kidney injury, low K⁺ and Mg²⁺, and infusion reactions.
  • Nystatin is topical only.
  • Azoles block 14-alpha-demethylase.
  • Azoles inhibit human CYP enzymes and raise liver tests.
  • Fluconazole is the azole that reaches the CSF.
  • Voriconazole is first-line for Aspergillus.
  • Itraconazole is the choice for several endemic mycoses.
  • Flucytosine becomes 5-FU inside fungi and suppresses the bone marrow.
  • Terbinafine blocks squalene epoxidase.
  • Griseofulvin is oral, binds new keratin and disrupts microtubules.
  • Echinocandins block beta-glucan and are IV backups for Candida and Aspergillus.