StepWise USMLE
Immunology & Pathology

Hypersensitivity Types, Autoimmune Diseases, Immunodeficiency & HIV/AIDS

When the body's defenders overreact, attack the wrong target, go missing, or get destroyed. Start with the key words, then build up step by step.

🔤Key Words First

WordPlain meaning
AntigenAny molecule the immune system can recognize as foreign or as a target
Antibody (immunoglobulin, Ig)Y-shaped protein made by B cells that sticks to one specific antigen
IgE, IgG, IgM, IgA, IgDThe five antibody classes; IgE = allergy and parasites, IgG = main blood antibody, IgM = first responder, IgA = mucosal surfaces, IgD = B-cell surface sensor
Fc receptorDocking site on a cell that grabs the tail (Fc part) of an antibody
B cell / plasma cellB cell makes antibodies once activated; plasma cell is its antibody-factory form
T cellImmune cell matured in the thymus; helps or kills
CD4+ T cell (helper)T cell that coordinates other immune cells; carries the CD4 surface marker
CD8+ T cell (cytotoxic)T cell that kills infected or abnormal cells; carries the CD8 marker
TH1 cellHelper T cell subtype that activates macrophages
MacrophageLarge cell that eats debris and microbes and presents antigens
Mast cell / basophilCells packed with granules of inflammatory chemicals
DegranulationGranule contents bursting out of a mast cell or basophil
HistamineChemical that widens vessels, makes them leaky, and tightens airways
EosinophilWhite cell that fights parasites and amplifies allergy
NeutrophilMost common white cell; first-wave bacteria fighter that also damages tissue
ComplementGroup of blood proteins (C1 to C9) that punch holes in microbes and tag them for eating
OpsonizationCoating a target so phagocytes can eat it more easily
PhagocyteAny cell that engulfs particles (neutrophil, macrophage)
Immune complexClump of antibody stuck to antigen
AutoantibodyAntibody aimed at the body's own molecules
Self-toleranceNormal ability of the immune system to ignore the body's own tissues
Antinuclear antibody (ANA)Autoantibody that binds structures in the cell nucleus
HypersensitivityImmune response that is excessive or misdirected and causes damage
AnaphylaxisSudden whole-body allergic reaction with low blood pressure and airway narrowing
AtopyInherited tendency toward allergies such as eczema, hay fever, asthma
GranulomaTight ball of activated macrophages walling off something hard to destroy
Purified protein derivative (PPD) skin testTuberculosis protein injected under skin; swelling at 48 to 72 hours means prior exposure
Fibrinoid necrosisPink, protein-rich dead vessel wall caused by immune complexes
ImmunodeficiencyWeak or missing part of the immune system
Primary / secondaryPrimary = born with the defect; secondary = caused by another illness, drug, or infection
ThymusOrgan behind the breastbone where T cells mature
Pharyngeal pouchesEmbryo throat pockets that become thymus and parathyroids (3rd and 4th pouches)
Parathyroid glandsSmall neck glands that keep blood calcium normal
Hypocalcemia / tetanyLow blood calcium / muscle spasms caused by it
Hematopoietic stem cell transplantReplacing the blood-forming marrow with a donor's
Human leukocyte antigen (HLA)Human version of the cell identity tags; major histocompatibility complex (MHC) is the general name
MHC class IIIdentity tag that shows outside antigens to CD4+ T cells
RetrovirusRNA virus that copies its RNA into DNA using reverse transcriptase
Viremia / viral loadVirus in the blood / amount of virus per blood volume
SeroconversionTime when antibodies against an infection first become detectable
Opportunistic infectionInfection that mostly strikes people with weak immunity
ProphylaxisMedicine given to prevent an infection
LymphomaCancer of lymphocytes; non-Hodgkin is the broad group lacking Reed-Sternberg cells
RejectionRecipient immune attack on a transplanted organ

🧭Big Picture

Four ways immunity goes wrong

Too much

  • Allergy: reaction to harmless things
  • Hypersensitivity: damage from a normal response

Wrong target

  • Autoimmunity: attack on self
  • Rejection: attack on a donor organ

Too little, born that way

  • Primary immunodeficiency
  • One missing building block

Too little, acquired

  • Secondary immunodeficiency
  • HIV is the key example

Where this fits

Hypersensitivity (mechanisms)→Autoimmune disease (mechanisms used against self)→Immunodeficiency→HIV→Transplant
Analogy: a building security system
  • Alarm too sensitive = allergy.
  • Guards attack the tenants = autoimmunity.
  • Guards missing from the shift = immunodeficiency.
  • Guards attack a new tenant's furniture = rejection.

⚡The Four Hypersensitivity Types

Where this fits

  • Foundation for lupus, immune-complex kidney disease, and transplant rejection later.
TypeEffectorSpeedExamples
I, immediateIgE on mast cellsMinutesAnaphylaxis, food allergy, atopy, asthma
II, antibody on cell or tissueIgG or IgMMinutes to hoursAutoimmune hemolytic anemia, transfusion reaction, newborn Rh disease, pernicious anemia, Graves disease, myasthenia gravis
III, immune complexAntibody-antigen clumpsDays (1 to 2 weeks for serum sickness)Serum sickness, lupus, immune-complex glomerulonephritis
IV, delayed T cellT cellsDays (48 to 72 hours)PPD test, tuberculosis granulomas, type 1 diabetes, graft rejection, contact dermatitis

Type I IgE

First exposure: IgE made→IgE sticks to mast cells→Re-exposure: antigen bridges two IgE→Degranulation→Symptoms

Early mediators (seconds to minutes)

  • Histamine: vessel leak, itch, bronchospasm
  • Heparin: anticoagulant stored in granules
  • Prostaglandin D2: airway narrowing, vessel dilation
  • Leukotrienes C4 and D4: potent, long-lasting bronchoconstriction
  • Platelet-activating factor: leaky vessels, airway constriction

Recruiters (late phase, hours later)

  • Eosinophil chemotactic factor pulls in eosinophils
  • Leukotriene B4 and neutrophil chemotactic factor pull in neutrophils
  • Why: this keeps the reaction going after the first wave
  • Systemic form: anaphylaxis (bee stings, drugs)
    • Vessels dilate and leak: blood pressure falls
    • Airway swells and tightens: wheeze
    • Treatment: intramuscular epinephrine first
  • Local forms: food allergy, atopic disease, asthma

Type II Antibody vs. surface

  • Antibody (IgG or IgM) binds a target on a cell or in tissue
  • Three damage routes:
RouteWhat happensExamples
Complement-dependent killingComplement drills holes or tags the cell for eatingAutoimmune hemolytic anemia, transfusion reaction, newborn Rh disease (erythroblastosis fetalis)
Antibody-dependent cell-mediated killingKiller cells attach to the antibody tail and kill the coated cellPernicious anemia (stomach cell attack, vitamin B12 absorption lost)
Antireceptor antibodiesAntibody switches a receptor on or blocks it, with no cell deathGraves disease (thyroid receptor turned on), myasthenia gravis (muscle receptor blocked)

Type III Immune complexes

Antigen in excess forms small complexes→Not cleared; deposit in vessel walls, glomeruli, joints
Complement activated→Neutrophils and platelets arrive→Neutrophils release enzymes→Fibrinoid necrosis and inflammation
  • Complexes can form in the blood or in place within a tissue
  • Why small complexes cause trouble: large ones are eaten quickly, small ones slip into tissue
  • Complement is used up: low levels in active disease
  • Examples: serum sickness, lupus, glomerulonephritis

Type IV T cells

Delayed type (CD4+ TH1)

  • TH1 cells activate macrophages
  • Macrophages clump into granulomas
  • Examples: PPD test, tuberculosis

Direct killing (CD8+)

  • Cytotoxic T cells kill cells showing the target antigen
  • Examples: type 1 diabetes, virus-infected cells, tumor cells, graft rejection
Analogy: fire after a spark
  • Type I = a smoke alarm that goes off instantly.
  • Type II = a firefighter sprays the wrong house.
  • Type III = ash settling in pipes and clogging them.
  • Type IV = a slow fuse that takes days.
Exam traps
  • Type IV is the only type that needs no antibody.
  • Graves disease and myasthenia gravis are type II, not type I.
  • Lupus mixes types II and III.

🛡️Autoimmune Diseases

Where this fits

Loss of self-tolerance→Autoantibodies and T cells→Type II, III, or IV damage

Systemic lupus erythematosus Types II + III

  • Chronic, multi-organ autoimmune disease
  • Women far more than men (about 9 to 1)
  • Peak age 20 to 45
  • More common and more severe in African American patients
  • Hallmark: autoantibodies against nuclear material
AutoantibodyFrequencyMeaning
Antinuclear antibodyAbove 95%Best screening test; not specific
Anti-double-stranded DNA40 to 60%Specific; tracks kidney disease
Anti-Smith20 to 30%Very specific, less sensitive
AntihistoneDrug-induced lupusHydralazine, isoniazid, procainamide
Anti-Ro (SS-A)VariableCrosses placenta; fetal complete heart block
Antibodies to blood cellsVariableType II destruction of red cells, platelets, white cells
OrganFeaturesMechanism
BloodHemolytic anemia, low platelets, low neutrophils, low lymphocytesType II
JointsJoint pain and synovitis without deformityType III
SkinButterfly rash over cheeks, other rashes, ulcers, blistersType III
SerosaPericarditis, pleuritis, effusionsType III
BrainFocal deficits, seizures, psychosisType III
HeartLibman-Sacks endocarditis (sterile warty valve growths)Type III
KidneyLupus nephritis, the main cause of deathType III

Lupus nephritis classes

ClassPattern
IMinimal mesangial (mild, barely visible)
IIMesangial proliferative
IIIFocal, under 50% of glomeruli
IVDiffuse, over 50% of glomeruli; most common and most severe
VMembranous; protein leak
VIAdvanced sclerosis (scarred, end stage)
  • Treatment: steroids and immunosuppressive drugs
  • Course: relapsing and remitting
  • 10-year survival about 85%
  • Common causes of death: kidney failure and infection

Sjögren syndrome

  • Immune destruction of tear and salivary glands
  • Women, age 30 to 50
  • Dry eyes with corneal ulcers (keratoconjunctivitis sicca)
  • Dry mouth (xerostomia)
  • Gland swelling (Mikulicz syndrome)
  • Autoantibodies: anti-Ro (SS-A) and anti-La (SS-B)
  • Often coexists with rheumatoid arthritis
  • Raised risk of non-Hodgkin lymphoma

Scleroderma (systemic sclerosis)

Interleukin-1, platelet-derived and fibroblast growth factors→Fibroblasts switch on→Excess collagen→Skin and organ fibrosis
  • Women more than men, age 20 to 55
FeatureDiffuseLimited
AntibodyAnti-topoisomerase I (Scl-70), about 70%Anti-centromere
SkinWidespreadFace and hands
OrgansEarly and heavy: gullet (trouble swallowing), gut (malabsorption), lung fibrosis (breathless on exertion), heart fibrosis (rhythm problems), kidney fibrosisLate and mild
Typical featuresRapid skin thickeningCalcium deposits, cold-triggered finger color change, gullet slowness, tight finger skin, tiny dilated vessels
CourseAggressiveRelatively benign

Other overlap conditions

  • Dermatomyositis and polymyositis: muscle inflammation (covered with skeletal muscle disease)
  • Mixed connective tissue disease
    • Features of lupus, scleroderma, and polymyositis
    • Anti-ribonucleoprotein antibodies nearly always present
Exam traps
  • Antinuclear antibody is sensitive, not specific.
  • Anti-double-stranded DNA and anti-Smith are the specific ones.
  • Antihistone antibodies point to drug-induced lupus.
  • Anti-Ro in a mother means check the baby's heart rhythm.

🧬Primary Immunodeficiencies

Where this fits

Stem cell→B or T lineage→Maturation step blocked→Specific deficiency
  • Which step is blocked decides which infections appear
  • Antibody (B cell) problems: bacteria after maternal antibodies fade
  • T cell problems: viruses, fungi, protozoa

Block points in development

Pro-B cell→Bruton block→Pre-B cell→Immature B cell→Class-switch block→Mature B cells (IgM, IgG, IgA, IgE)
Pro-T cell→Cytokine receptor γ-chain block→Immature T cell→Thymus failure→MHC class II block→CD8+ and CD4+ T cells

B cell and antibody defects

DiseaseCauseFindings
X-linked agammaglobulinemia (Bruton)Loss-of-function mutation of Bruton tyrosine kinase (BTK); B cells stall before maturingBoys; infections start around 6 months when maternal antibody fades; sinus, ear, lung infections; Haemophilus influenzae, pneumococcus, Staphylococcus aureus; very few B cells and plasma cells; all antibody classes low
Common variable immunodeficiencyGroup of B-cell maturation defectsBoth sexes; low IgA or IgG; recurrent bacterial infections in childhood; Giardia; more autoimmunity, lymphoma, stomach cancer
Hyper-IgM syndromeOften a mutation in the CD40 ligand gene (X-linked); T cells cannot signal B cells to switch antibody classNormal B and T cell numbers; IgM normal or high; IgA, IgG, IgE low
Selective IgA deficiencyCause unknownOften silent; sinus and lung infections, diarrhea; reactions to transfusion; IgA undetectable with other classes normal; autoimmune link

T cell and combined defects

DiseaseCauseFindings
DiGeorge syndrome3rd and 4th pharyngeal pouches fail to formNo thymus (T cell deficiency); no parathyroids (low calcium, tetany in newborn); viral and fungal infections
Severe combined immunodeficiencyProgenitor defect; X-linked common γ-chain of interleukin receptors (IL-2, 4, 7, 9, 15, 21) or autosomal recessive adenosine deaminase deficiencyInfections by bacteria, fungi, viruses, protozoa; Candida, cytomegalovirus, Pneumocystis jirovecii; severe reaction to live vaccines; fatal within a year without stem cell transplant
Wiskott-Aldrich syndromeX-linked recessive mutation of the WAS protein geneTriad: infections, very low platelets, eczema; transplant treats; risk of lymphoma, infection, bleeding death
MHC class II deficiencyFailed positive selection of CD4+ cells; regulator genes such as CIITA mutatedFew CD4+ T cells; severe immunodeficiency; CD8+ cells normal
  • Adenosine deaminase deficiency chain:
    • Enzyme missing
    • Deoxyadenosine builds up in lymphoid precursors
    • Precursors die: B and T cells lost

Complement defects

Missing partResult
C3Recurrent bacterial infection and immune-complex disease
C5, C6, C7, C8Recurrent Neisseria infection (meningitis, gonorrhea)
C1q, C1r, C1s, C2, C4 (classical pathway)Marked immune-complex disease and pus-forming bacterial infection
Factor B, properdin (alternative pathway)More Neisseria infections
C1 inhibitorHereditary angioedema: swelling of mucosal surfaces; low C2 and C4
  • Phagocyte defects such as chronic granulomatous disease are covered with inflammation
Analogy: a relay race
  • Each deficiency is a runner who drops the baton at one handoff.
  • Where the baton drops decides which later runners never get to run.
Exam traps
  • Bruton disease waits until about 6 months because maternal antibody protects earlier.
  • DiGeorge: seizure or tetany from low calcium comes first.
  • Severe combined immunodeficiency: never give live vaccines.
  • Immune-complex disease with a complement defect: think early classical pathway parts.

🦠Secondary Immunodeficiency and HIV

Secondary immunodeficiency

  • More common than primary
  • Causes: diabetes, lupus and similar diseases, heavy alcohol use

Where this fits

Missing CD4+ T cells (seen in MHC class II deficiency)→Same pattern, but acquired through a virus

Acquired immunodeficiency syndrome (AIDS) definition

  • HIV-positive and CD4 count under 200 cells per microliter, or
  • HIV-positive with any AIDS-defining disease
  • Men affected more often than women

Virus basics

  • Human immunodeficiency virus (HIV): enveloped RNA retrovirus
  • Carries reverse transcriptase to copy RNA into DNA
  • Targets: CD4+ T cells, macrophages, follicular dendritic cells in lymph nodes, Langerhans cells of skin
gp120 binds CD4→gp120 changes shape→gp120 binds co-receptor CCR5 or CXCR4→gp41 punches into membrane→Membrane fusion→RNA enters cell
  • CCR5 is a β-chemokine receptor; CXCR4 is an α-chemokine receptor
  • Macrophages and follicular dendritic cells act as hidden reservoirs

Transmission

  • Sexual contact: most common route
    • Herpes and syphilis ulcers raise risk
  • Blood: transfusion, including in hemophilia
  • Injection drug use
  • Needle-stick injury in healthcare workers
  • Mother to child (vertical)

Diagnosis and monitoring

  1. Antigen/antibody combination immunoassay (screen)
  2. HIV-1/HIV-2 antibody differentiation immunoassay (confirm)
  3. If that is negative: HIV-1 nucleic acid test
  • CD4 count: shows immune health and when to start prophylaxis
  • Viral load: shows treatment success
  • Treatment: combination antiretroviral therapy (includes reverse transcriptase and protease inhibitors)
CD4 count (cells/µL)Usual prophylaxis
Below 200Trimethoprim-sulfamethoxazole against Pneumocystis
Below 100Add toxoplasmosis cover
Below 50Add Mycobacterium avium cover

Phases

PhaseFeatures
AcuteVirus in blood, CD4 dips, mononucleosis-like illness, swollen nodes, seroconversion
Latent (about 10 years)Few or no symptoms; persistent swollen nodes; virus replicates in nodes and spleen; low blood virus; mild infections such as thrush and shingles
AIDSCD4 under 200; virus returns to blood; AIDS-defining diseases; possible death
Analogy: a key and a back door
  • gp120 is the key that fits the CD4 lock.
  • The co-receptor is the door handle.
  • gp41 is the battering ram that pushes the door open.

🔬AIDS Complications

Where this fits

CD4 falls→Opportunists get in→AIDS-defining illness
OrganismCommon sites
Pneumocystis jiroveciiLung (pneumonia), bone marrow
Mycobacterium tuberculosisLung, spread through body
Mycobacterium avium-intracellulareLung, gut, spread through body
CoccidioidomycosisLung, spread
HistoplasmosisLung, spread
CytomegalovirusLung, retina, adrenals, gut
Giardia lambliaGut
CryptosporidiumGut
Herpes simplex virusGullet, brain (encephalitis)
CandidaMouth, throat, gullet
AspergillusBrain, lungs, blood vessels (branching, septate hyphae)
ToxoplasmaBrain
CryptococcusBrain and meninges (meningitis; encapsulated yeast)
JC virusBrain (progressive multifocal leukoencephalopathy)
BartonellaSkin, mucosa, bone (bacillary angiomatosis)

AIDS-defining diseases (count regardless of CD4)

  • Hairy leukoplakia
    • Epstein-Barr virus infects squamous cells
    • White plaques on the tongue
  • Kaposi sarcoma
    • Most common AIDS tumor
    • Purple skin patches and plaques
  • Non-Hodgkin lymphoma
    • Usually high-grade B cell
    • Often in the brain (primary CNS lymphoma)
  • Cervical cancer
  • HIV wasting syndrome
  • AIDS nephropathy
  • AIDS dementia complex
Exam traps
  • Brain mass in AIDS: toxoplasmosis versus lymphoma.
  • Meningitis in AIDS: think Cryptococcus.
  • Candida in the mouth alone does not equal AIDS; esophageal candidiasis does.

🫀Transplant Rejection

Where this fits

Type II (antibody)→Type IV (CD8+ killing)→Both attack a graft
  • Main cause: HLA differences between donor and recipient
  • Prevention: immunosuppressive drugs
TypeTimingMechanism
HyperacuteMinutes to hoursAntibodies already in the recipient; mostly eliminated by cross-matching
AcuteFirst 6 monthsCellular (CD8+ T cells kill graft cells) or antibody-mediated
ChronicMonths to yearsCell- or antibody-mediated; targets graft vessels; appearance depends on organ
Analogy: a mismatched ID badge
  • HLA is the badge.
  • A different badge makes security treat the organ as an intruder.

📌Clinical Pearls and Recap

Pearls

  • Low complement plus kidney disease suggests immune complexes.
  • Many infections in a boy after 6 months suggests Bruton disease.
  • Tetany plus infections in a newborn suggests DiGeorge syndrome.
  • Eczema plus bleeding plus infections suggests Wiskott-Aldrich.
  • Anaphylaxis after blood product suggests IgA deficiency.
Recap
  • Type I is IgE on mast cells and acts within minutes.
  • Type II is antibody against a cell, killing it or altering its receptor.
  • Type III is immune complexes depositing in tissue.
  • Type IV is T cell driven and delayed.
  • Lupus mixes types II and III and has antinuclear antibodies.
  • Anti-double-stranded DNA and anti-Smith are specific for lupus.
  • Class IV is the worst lupus nephritis.
  • Sjögren has anti-Ro and anti-La with dry eyes and mouth.
  • Diffuse scleroderma has Scl-70; limited has anti-centromere.
  • Bruton disease is a BTK mutation with no mature B cells.
  • DiGeorge is a pouch failure with no thymus or parathyroids.
  • Severe combined immunodeficiency needs stem cell transplant.
  • Hyper-IgM is a CD40 ligand defect.
  • HIV enters through gp120, CD4, CCR5 or CXCR4, and gp41.
  • AIDS means CD4 under 200 or an AIDS-defining disease.
  • Kaposi sarcoma is the commonest AIDS tumor.
  • Hyperacute rejection is antibody mediated; acute is mainly CD8+ T cells.