MED-114 · Lesson 1 of 12 · 24 min

Innate and adaptive immunity

▶ Video coming soon A video version of this lesson is on the way.

Lucan Ferreira-Oduya, 24, comes to a student clinic with two days of sore throat, fever of 38.9 degrees Celsius and painful swallowing. His tonsils are red and swollen with white exudate, and the lymph nodes under the angle of his jaw are tender and enlarged. A rapid antigen test for group A streptococcus is positive. In those two days his body has already done a remarkable amount of work. Within minutes of the bacteria reaching his pharynx, cells in the tonsils recognized molecules that only microbes carry, released signaling proteins that raised his temperature and summoned neutrophils, and activated a cascade of blood proteins that coated the bacteria for destruction. Over the next several days, a much smaller number of lymphocytes that happened to recognize streptococcal proteins will multiply into an army, produce antibodies, and leave behind memory that will make the next encounter faster.

That sequence (a fast, broad first response followed by a slower, highly specific second response that remembers) is the core of immunology. This lesson builds the vocabulary and mechanisms used in every other lesson of the course. When later lessons explain why a patient without a spleen is at risk from encapsulated bacteria, why a patient with low CD4 cells develops Pneumocystis pneumonia, or how a vaccine protects, they will refer back to the components introduced here. The cell biology foundations from MED-101 Foundations of Medicine (cell signaling, inflammation and repair) are assumed.

Immunology and infectious diseases are also among the most heavily examined areas in medical licensing. Questions on the United States Medical Licensing Examination (USMLE) Step 1, reported as pass or fail since January 2022, and Step 2 CK commonly start from a clinical vignette like Lucan's and ask what mechanism explains a finding or which test or treatment comes next. Learning the mechanisms in clinical context is the most efficient preparation.

Two arms of one system

The immune system is usually described as having two arms. Innate immunity is present from birth, responds within minutes to hours, recognizes broad classes of molecules shared by many microbes, and does not improve with repeated exposure. Adaptive immunity takes days to develop on first exposure, recognizes specific molecular shapes with exquisite precision, and is strengthened by each subsequent encounter through immunological memory. The two arms are not separate systems: innate cells present antigen to start the adaptive response, and antibodies and T cells direct innate cells to their targets.

Line chart of response strength against days after infection. The innate response rises within hours and peaks in the first two to three days. The primary adaptive response begins after about four days and peaks around days 7 to 14. Labels mark barriers, complement and phagocytes early and T cells and antibodies later.
Figure 1. Timing of innate and adaptive responses to a first infection (schematic). Innate defenses act within hours; a primary adaptive response takes about one to two weeks to peak.

Barriers: the first line

Most potential pathogens never get past the body's barriers. Intact skin, with its dry keratinized surface, acidic pH, fatty acids and antimicrobial peptides, is extremely hard to penetrate; that is why burns, surgical wounds, intravenous catheters and injection drug use are such important routes of infection. Mucosal surfaces rely on mucus, cilia that sweep particles upward, tight junctions between epithelial cells, secreted enzymes such as lysozyme, antimicrobial peptides called defensins, and secretory IgA. Stomach acid kills many ingested organisms, which partly explains why people taking proton pump inhibitors have a modestly higher risk of some enteric infections. The normal microbiota competes with pathogens for space and nutrients; disrupting it with antibiotics allows Clostridioides difficile to flourish, a point that returns in lessons 8 and 9.

Clinically, think about barriers whenever you assess infection risk. A urinary catheter bypasses the flushing action of urine. An endotracheal tube bypasses the cough reflex and mucociliary clearance. Cystic fibrosis thickens airway mucus. Each of these has its own typical organisms.

Innate immunity: recognition

Innate cells recognize pathogen-associated molecular patterns (PAMPs), structures that are essential to microbes and absent from human cells: lipopolysaccharide in the outer membrane of Gram-negative bacteria, lipoteichoic acid and peptidoglycan in Gram-positive bacteria, flagellin, unmethylated CpG DNA, and double-stranded viral RNA. They also recognize damage-associated molecular patterns (DAMPs) released from injured human cells, such as ATP, uric acid crystals and DNA, which is why sterile injury and gout produce inflammation that looks infectious.

The receptors that detect these patterns are called pattern recognition receptors. Toll-like receptors sit on the cell surface (for example TLR4, which detects lipopolysaccharide) or in endosomes (TLR3, TLR7 and TLR9, which detect nucleic acids). Cytoplasmic sensors include NOD-like receptors, RIG-I-like receptors for viral RNA, and the cGAS-STING pathway for cytoplasmic DNA. Some NOD-like receptors assemble into the inflammasome, which activates caspase-1 to cleave pro-interleukin-1 beta into its active form. Inherited gain-of-function mutations in inflammasome components cause periodic fever syndromes, and the success of interleukin-1 blockers in these conditions demonstrates the pathway's role in human disease.

Innate immunity: cells

  • Neutrophils are the most abundant white blood cells and arrive first at sites of bacterial and fungal infection. They phagocytose organisms and kill them with a respiratory burst generated by NADPH oxidase, with granule enzymes such as myeloperoxidase, and by casting out neutrophil extracellular traps. Pus is largely dead neutrophils. A low neutrophil count, discussed in lesson 10, is one of the most important risk factors for severe bacterial and fungal infection. - Monocytes and macrophages phagocytose organisms and debris, secrete cytokines, present antigen and orchestrate tissue repair. Tissue-resident macrophages include Kupffer cells in the liver, alveolar macrophages in the lung and microglia in the brain. - Dendritic cells sample antigens in tissues, then migrate through lymphatics to lymph nodes, where they are the most effective cells at activating naive T cells. They are the bridge between innate and adaptive immunity. - Natural killer (NK) cells kill virus-infected and tumor cells that have reduced their surface MHC class I molecules, a strategy many viruses use to hide from cytotoxic T cells. NK cells also secrete interferon gamma, which activates macrophages. - Mast cells, basophils and eosinophils release histamine, leukotrienes and toxic granule proteins. They are central to allergy (lesson 2) and to defense against helminths (lesson 6). - Innate lymphoid cells resemble T cells in their cytokine output but lack antigen-specific receptors; they help maintain mucosal barriers.

Cytokines, fever and the acute phase response

Activated macrophages release interleukin-1, interleukin-6 and tumor necrosis factor alpha. These cytokines act on the hypothalamus to raise the temperature set point through prostaglandin E2, which is why antipyretics that block cyclooxygenase lower fever. They stimulate the liver to produce acute phase proteins such as C-reactive protein (CRP), fibrinogen and serum amyloid A, and they mobilize neutrophils from the bone marrow, raising the white cell count and releasing immature band forms (a left shift). In excess, the same cytokines produce the vasodilation, capillary leak and organ dysfunction of septic shock. Interferons alpha and beta, released by virus-infected cells, induce an antiviral state in neighboring cells and cause much of the malaise and muscle aching of viral illness.

Complement

Complement is a set of plasma proteins that, once triggered, amplifies itself in a cascade. Three pathways converge on cleavage of C3:

  • The classical pathway is triggered when C1q binds antibody (IgG or IgM) attached to an antigen. - The lectin pathway is triggered when mannose-binding lectin binds sugars on microbial surfaces. - The alternative pathway is triggered spontaneously on surfaces that lack the regulatory proteins present on human cells.

Cleavage of C3 produces C3b, which coats microbes so phagocytes can grab them (opsonization), and C3a; cleavage of C5 produces C5a, a powerful attractant for neutrophils, and C5b, which starts assembly of the membrane attack complex (C5b to C9) that punches holes in thin-walled organisms such as Neisseria. Clinical correlations are worth memorizing. Deficiency of the terminal components (C5 to C9) predisposes to recurrent Neisseria meningitidis infection. Patients receiving complement inhibitors such as eculizumab or ravulizumab for paroxysmal nocturnal hemoglobinuria or atypical hemolytic uremic syndrome carry the same risk and must be vaccinated against meningococcus. Deficiency of C1 inhibitor causes hereditary angioedema, in which bradykinin, not histamine, produces swelling that does not respond to antihistamines. Low C3 and C4 levels on blood tests point to complement consumption, as in active lupus nephritis.

Adaptive immunity: lymphocytes and antigen receptors

Adaptive immunity depends on T and B lymphocytes, each carrying a receptor of a single specificity generated by random rearrangement of gene segments (V, D and J recombination) during development. The random process generates millions of different receptors, so that almost any molecular shape can be recognized by some clone. Lymphocytes that recognize self strongly are deleted or silenced in the thymus and bone marrow (central tolerance), and further controls in the periphery, including regulatory T cells, maintain tolerance (peripheral tolerance). When tolerance fails, autoimmunity results, the subject of lesson 2.

B cells recognize intact antigen (proteins, polysaccharides, lipids) through surface antibody. T cells recognize only short peptides displayed in a groove on major histocompatibility complex (MHC) molecules, called human leukocyte antigens (HLA) in humans.

  • MHC class I (HLA-A, -B, -C) is on almost all nucleated cells and presents peptides from proteins made inside the cell, including viral proteins. It is recognized by CD8 T cells. - MHC class II (HLA-DR, -DP, -DQ) is on professional antigen-presenting cells (dendritic cells, macrophages, B cells) and presents peptides from proteins taken up from outside. It is recognized by CD4 T cells.

A mnemonic used by generations of students: CD8 times class I equals 8, and CD4 times class II equals 8. HLA genes are extremely variable between people, which explains both why transplant matching matters and why certain HLA types are linked with disease or drug reactions, such as HLA-B*57:01 with abacavir hypersensitivity, mentioned again in lesson 7.

T-cell activation and helper subsets

A naive T cell needs three signals to activate. Signal 1 is recognition of peptide on MHC by the T-cell receptor. Signal 2 is costimulation, mainly B7 molecules (CD80 and CD86) on the antigen-presenting cell binding CD28 on the T cell; antigen recognition without costimulation tends to produce tolerance rather than activation. Signal 3 is the cytokine environment, which steers which kind of helper cell develops. Checkpoint molecules such as CTLA-4 and PD-1 switch activated T cells off; cancer drugs that block them release this brake and can cause immune-related inflammation of almost any organ.

Table 1. CD4 helper T-cell subsets and their clinical relevance.
CD4 helper subsetKey cytokinesMain jobClinical link
Th1Interferon gamma, IL-2Activates macrophages to kill intracellular organismsGranulomas in tuberculosis; IFN-gamma release assays
Th2IL-4, IL-5, IL-13Drives IgE, eosinophils and mucus; defense against helminthsAllergy and asthma; biologics targeting IL-5 or IL-4 receptor
Th17IL-17, IL-22Recruits neutrophils; protects skin and mucosa from bacteria and CandidaChronic mucocutaneous candidiasis when defective; psoriasis when overactive
T follicular helperIL-21Helps B cells switch class and mature affinity in germinal centersNeeded for durable antibody responses to protein vaccines
Regulatory T cellsIL-10, TGF-betaSuppress other immune cells; maintain toleranceFOXP3 mutation causes IPEX syndrome with severe autoimmunity

CD8 cytotoxic T cells recognize infected or abnormal cells through MHC class I and kill them by releasing perforin and granzymes or by engaging the Fas death receptor. They are essential for clearing viral infections; a failing CD8 response contributes to chronic hepatitis B and to uncontrolled herpesvirus infections after transplantation.

B cells and antibodies

When a B cell binds its antigen and receives help from a T follicular helper cell that recognizes a peptide from the same antigen, it enters a germinal center in a lymph node. There it multiplies, switches the class of antibody it makes (class switching, which requires CD40 on the B cell to bind CD40 ligand on the T cell), and mutates its antibody genes so that clones with higher affinity are selected (affinity maturation). The result is plasma cells that secrete large quantities of antibody and long-lived memory B cells. Polysaccharide antigens, such as bacterial capsules, can activate B cells without T-cell help, but the response is mainly IgM, poorly remembered and weak in children under two; attaching the polysaccharide to a protein carrier (a conjugate vaccine) recruits T-cell help and solves the problem, as lesson 11 explains.

Antibodies protect by neutralizing toxins and viruses, opsonizing organisms for phagocytosis, activating complement, and directing NK cells to kill antibody-coated cells (antibody-dependent cellular cytotoxicity).

Table 2. Antibody classes.
ClassStructure and locationKey functionsClinical notes
IgMPentamer; mainly in bloodFirst antibody made; strong complement activationIgM antibody to a pathogen suggests recent infection
IgGMonomer; most abundant in blood and tissuesOpsonization, neutralization, complement; crosses the placentaIgG antibody indicates past infection or vaccination; four subclasses
IgADimer in secretionsMucosal defense in gut, airways, breast milkSelective IgA deficiency is the most common primary immunodeficiency
IgEMonomer bound to mast cellsAllergy and anti-helminth defenseCross-linking on mast cells triggers immediate hypersensitivity
IgDOn naive B-cell surfaceB-cell receptorLittle clinical role
Chart of antibody level over time after a first and a second exposure to the same antigen. After the first exposure, a small IgM peak appears at about one week, followed by a modest IgG rise. After the second exposure, IgG rises faster, higher and lasts longer, while IgM stays low.
Figure 2. Primary and secondary antibody responses (schematic). Memory makes the second response faster, larger and dominated by high-affinity IgG.

Matching the response to the pathogen

The immune system tailors its response to the type of threat, and this explains many clinical patterns:

  • Extracellular bacteria (for example streptococci, Escherichia coli) are controlled by antibodies, complement and neutrophils. Defects in these produce recurrent pyogenic infections such as pneumonia, sinusitis and abscesses. - Encapsulated bacteria (Streptococcus pneumoniae, Haemophilus influenzae type b, Neisseria meningitidis) resist phagocytosis unless opsonized by antibody and complement, and the spleen is the main site where opsonized organisms are filtered from blood. People without a functioning spleen are therefore at risk of overwhelming infection with these organisms. - Intracellular bacteria and fungi (Mycobacterium tuberculosis, Listeria, Histoplasma) survive inside macrophages and require Th1 cells and interferon gamma to activate killing. The result is often a granuloma, an organized collection of activated macrophages walling off the infection. Drugs that block tumor necrosis factor impair granuloma maintenance, so latent tuberculosis must be screened for before starting them. - Viruses are first held back by interferons and NK cells, then cleared by CD8 T cells, while neutralizing antibodies prevent reinfection. - Helminths are too large to be phagocytosed and trigger Th2 responses with IgE, eosinophils and mast cells.

Reading the immune system in routine tests

Several everyday tests reflect immune activity. The complete blood count with differential reports neutrophils, lymphocytes, monocytes, eosinophils and basophils. Neutrophilia with a left shift suggests bacterial infection, but also follows steroids, stress and tissue injury. Lymphocytosis is typical of some viral infections and of pertussis; atypical (reactive) lymphocytes suggest infectious mononucleosis. Eosinophilia raises the possibility of allergy, drug reaction or helminth infection. CRP rises within hours of inflammation and falls quickly when it resolves, so trends are more useful than single values. Quantitative serum immunoglobulins (IgG, IgA, IgM) and vaccine antibody titers assess antibody function, and flow cytometry counts lymphocyte subsets such as CD4 cells. These tests are considered in more detail in lessons 3 and 11; the hematology behind the blood count is developed in MED-214 Hematology and Oncology.

Worked problem

Interpreting a white cell differential

Three adults have a white cell count of 15.0 x 10^9/L (15,000 per microliter). Patient A has 85 percent neutrophils with band forms. Patient B has 60 percent lymphocytes with many atypical lymphocytes. Patient C has 20 percent eosinophils. What does each pattern suggest?

Show solution
  1. Convert the percentages to absolute counts, because absolute numbers matter more than proportions: A has about 12.8 x 10^9/L neutrophils, B about 9.0 x 10^9/L lymphocytes, and C about 3.0 x 10^9/L eosinophils.
  2. Patient A has neutrophilia with a left shift, the classic response to acute bacterial infection, although corticosteroids, stress and tissue injury can also raise neutrophils.
  3. Patient B has lymphocytosis with atypical lymphocytes, suggesting a viral infection such as Epstein-Barr virus mononucleosis; atypical lymphocytes are activated CD8 T cells responding to infected B cells.
  4. Patient C has marked eosinophilia, which points toward allergic disease, a drug reaction or a helminth infection, especially with relevant travel or exposure.

Answer: A suggests acute bacterial infection, B a viral illness such as mononucleosis, and C allergy, drug reaction or helminth infection; each pattern narrows the differential but must be interpreted with the history and examination.

Common mistakes

  • MistakeInnate immunity is primitive and unimportant once adaptive immunity develops.

    InsteadInnate immunity controls most infections before adaptive immunity starts and is required to activate adaptive responses through antigen presentation and costimulation.

  • MistakeCD4 T cells recognize antigen on MHC class I.

    InsteadCD4 T cells recognize peptides on MHC class II; CD8 T cells recognize peptides on MHC class I.

  • MistakeA positive IgG antibody to a pathogen proves current infection.

    InsteadIgG usually indicates past infection or vaccination; IgM or a rising IgG titer between paired samples suggests recent infection.

  • MistakeRecurrent meningococcal infection is just bad luck.

    InsteadIt should prompt testing for terminal complement deficiency and review of complement-inhibiting drugs.

  • MistakeFever is always harmful and should always be suppressed.

    InsteadFever is a regulated host response; antipyretics improve comfort but do not treat the cause.

Summary and key terms

  • Innate immunity acts within hours through barriers, pattern recognition receptors, phagocytes, NK cells, cytokines and complement.
  • IL-1, IL-6 and TNF cause fever, acute phase proteins such as CRP, and neutrophil mobilization; in excess they drive septic shock.
  • Complement opsonizes (C3b), recruits neutrophils (C5a) and lyses thin-walled organisms (C5b-9); terminal deficiency predisposes to Neisseria.
  • T cells recognize peptides on MHC: CD8 with class I, CD4 with class II; activation needs antigen, costimulation and cytokines.
  • CD4 subsets (Th1, Th2, Th17, Tfh, Treg) tailor the response; B cells with T-cell help switch class and mature affinity.
  • Memory makes secondary responses faster and stronger, the basis of vaccination.
  • The pattern of infections a patient gets reveals which arm of immunity is weak.
PAMP
Pathogen-associated molecular pattern; a conserved microbial molecule recognized by innate receptors.
Toll-like receptor
A pattern recognition receptor that detects microbial molecules and triggers cytokine production.
Inflammasome
A cytoplasmic protein complex that activates caspase-1 and interleukin-1 beta.
Opsonization
Coating of a microbe with antibody or complement to promote phagocytosis.
Membrane attack complex
Complement components C5b to C9 forming a pore in the target membrane.
MHC (HLA)
Cell-surface molecules that present peptides to T cells.
Costimulation
The second signal (such as B7 binding CD28) needed to activate a naive T cell.
Class switching
Change in the antibody class a B cell produces, requiring CD40-CD40 ligand help.
Affinity maturation
Selection of B cells with mutated, higher-affinity antibodies in germinal centers.
Granuloma
An organized collection of activated macrophages that walls off persistent organisms.
Left shift
Increase in immature neutrophils (bands) in the blood, typical of acute bacterial infection.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. Why are people without a spleen at special risk from Streptococcus pneumoniae?

    Show answer

    It is encapsulated and resists phagocytosis unless opsonized; the spleen filters opsonized bacteria and makes early IgM, so its loss allows overwhelming bacteremia.

  2. A patient starting a TNF inhibitor is screened for latent tuberculosis. Explain why.

    Show answer

    TNF is needed to maintain granulomas that contain M. tuberculosis; blocking it can reactivate latent infection.

  3. Which complement product is the main opsonin, and which is the main neutrophil attractant?

    Show answer

    C3b is the main opsonin; C5a is the main chemoattractant.

  4. Why do conjugate polysaccharide vaccines work better in infants than plain polysaccharide vaccines?

    Show answer

    Linking the polysaccharide to a protein recruits T-cell help, producing class switching, memory and responses in children under two.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz