MED-114 · Lesson 5 of 12 · 23 min

Viral infections

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

Naveen Castellanos-Ruud, 27, comes to an urgent care clinic in late October with ten days of fever, sore throat, fatigue and a faint rash. He has swollen lymph nodes in his neck, armpits and groin, and mouth ulcers. A rapid strep test and a mononucleosis antibody test are both negative. The student taking his history asks about sexual partners in the last two months; Naveen mentions two new partners and says he stopped taking pre-exposure prophylaxis in the summer when his prescription lapsed. A fourth-generation HIV antigen-antibody test is reactive, and the HIV RNA level is several million copies per mL. He has acute HIV infection, and he is started on antiretroviral therapy within days.

Acute HIV looks like many other viral illnesses, and the diagnosis is made only when someone thinks of it and asks. That is true of viral infections generally: most are self-limited, a few are dangerous, and the clinician's task is to recognize the ones that need specific tests, treatment, isolation or public health action. This lesson covers the viruses most important in clinical practice: respiratory viruses, measles, herpesviruses, viral hepatitis, HIV, and a few others that a pre-clerkship student must not miss.

How viruses cause disease

Viruses are obligate intracellular parasites: they carry DNA or RNA genomes in a protein coat (some with a lipid envelope) and use the host cell's machinery to replicate. Disease results from direct killing of infected cells, from the host's immune response (much of the illness in hepatitis B is caused by T cells attacking infected liver cells), and in a few cases from transformation of cells toward cancer (human papillomavirus, hepatitis B and C, Epstein-Barr virus, human herpesvirus 8). Three patterns of infection are clinically useful:

  • Acute infection with clearance, as in influenza, norovirus and measles. - Latent infection with periodic reactivation, the hallmark of herpesviruses, which hide in neurons or lymphocytes for life. - Chronic infection with ongoing replication, as in HIV and chronic hepatitis B and C.

RNA viruses mutate rapidly because their polymerases make frequent errors; that is why influenza vaccines are updated each year and why HIV quickly becomes resistant to a single drug.

Respiratory viruses

Most upper respiratory infections are caused by rhinoviruses, seasonal coronaviruses, adenoviruses and parainfluenza viruses, and need only symptomatic care. Antibiotics do not help and cause harm (lesson 8).

Influenza

Influenza A and B cause seasonal epidemics each winter. Minor changes in the surface proteins hemagglutinin and neuraminidase (antigenic drift) allow repeated infection and require annual vaccine updates; rare major changes in influenza A, usually from reassortment with animal viruses (antigenic shift), can cause pandemics, as in 1918, 1957, 1968 and 2009. Influenza typically starts abruptly with fever, myalgia, headache, dry cough and exhaustion. Complications include primary viral pneumonia, secondary bacterial pneumonia (especially S. aureus and pneumococcus), myocarditis, exacerbation of chronic heart and lung disease, and, in older adults, a lasting loss of function.

Testing by NAAT confirms the diagnosis when results will change management. Neuraminidase inhibitors (oral oseltamivir, inhaled zanamivir, intravenous peramivir) and the cap-dependent endonuclease inhibitor baloxavir shorten illness when started early. Treatment is recommended as soon as possible for anyone hospitalized with influenza, anyone with severe or progressive illness, and outpatients at high risk of complications (older adults, pregnant people, those with chronic disease or immunosuppression), even after 48 hours from symptom onset in hospitalized patients. Healthy outpatients may be treated if seen within 48 hours.

Avian influenza A(H5N1) of clade 2.3.4.4b spread widely among wild birds, poultry and, from 2024, dairy cattle in the United States. About 70 human cases were reported in the United States from 2024 into 2026, mostly mild and mostly in farm workers, with a small number of severe cases and deaths, and Canada reported a severe case in a teenager in British Columbia in late 2024. As of late 2026, no sustained human-to-human spread had been identified. Clinicians ask about animal exposures in patients with conjunctivitis or respiratory illness and notify public health promptly when H5N1 is suspected; PUBH-420 Emergency Preparedness and Outbreak Response covers the public health response.

COVID-19 and RSV

SARS-CoV-2 continues to circulate year-round with seasonal peaks. Severe disease is now concentrated in older adults and people with immunocompromise or multiple chronic conditions. For outpatients at high risk of progression, nirmatrelvir-ritonavir started within five days of symptoms reduces hospitalization; its ritonavir component strongly inhibits CYP3A4 and causes many important drug interactions, which must be checked before prescribing. Remdesivir is an intravenous alternative, and hospitalized patients needing oxygen benefit from dexamethasone. Respiratory syncytial virus (RSV), long known as a cause of bronchiolitis in infants, also causes substantial illness and death in older adults and in adults with heart or lung disease, which led to adult RSV vaccines (lesson 11).

Measles: an old disease returns

Measles is one of the most contagious human infections, spread by airborne particles that can linger in a room for up to two hours. After an incubation period of about 10 to 14 days, a prodrome of high fever, cough, coryza and conjunctivitis is followed by Koplik spots (small white spots on the buccal mucosa) and then a red maculopapular rash that begins on the face and spreads downward. People are infectious from about four days before to four days after rash onset. Complications include otitis media, pneumonia (the usual cause of death), encephalitis, and, years later, the fatal subacute sclerosing panencephalitis. Measles also wipes out existing immune memory, leaving survivors vulnerable to other infections for months or years.

Falling vaccine coverage has brought measles back. Canada reported more than 5,000 cases in 2025, and in November 2025 the Pan American Health Organization announced that Canada had lost the measles elimination status it had held since 1998. The United States reported more than 2,000 cases in 2025 and continued outbreaks in 2026, and in November 2026 the Pan American Health Organization reported that the United States had also lost elimination status. Suspected measles is a public health emergency at the individual level: isolate the patient under airborne precautions, call ahead before referral so others are not exposed in waiting rooms, test with a throat or nasopharyngeal swab for NAAT, and notify public health immediately. Exposed susceptible contacts can be protected with MMR vaccine within 72 hours or immune globulin within six days, according to public health direction.

Herpesviruses

All eight human herpesviruses establish lifelong latency. Their antivirals (acyclovir, valacyclovir and famciclovir for herpes simplex and varicella-zoster; ganciclovir, valganciclovir and others for cytomegalovirus) suppress replication but do not eradicate latent virus.

Table 1. Human herpesviruses and their clinical patterns.
VirusPrimary infectionReactivation or special settings
Herpes simplex virus 1 and 2Oral or genital ulcers, sometimes with fever and lymph nodesRecurrent cold sores or genital lesions; encephalitis (temporal lobe); neonatal infection
Varicella-zoster virusChickenpoxShingles in a dermatome, postherpetic neuralgia; disseminated disease in immunocompromise
Epstein-Barr virusInfectious mononucleosisLymphomas and post-transplant lymphoproliferative disorder; nasopharyngeal carcinoma
CytomegalovirusMononucleosis-like illness or noneTransplant and advanced HIV (retinitis, colitis, pneumonitis); leading infectious cause of congenital hearing loss
Human herpesviruses 6 and 7Roseola in young childrenReactivation after stem cell transplantation
Human herpesvirus 8Often silentKaposi sarcoma and some lymphomas, mainly with immunosuppression

Infectious mononucleosis from Epstein-Barr virus causes fever, exudative pharyngitis, posterior cervical lymph node enlargement, fatigue that can last weeks, atypical lymphocytes and mildly raised liver enzymes. Splenic enlargement is common, so patients should avoid contact sports for several weeks to reduce the risk of splenic rupture. Many patients given amoxicillin develop a widespread rash that is not a true penicillin allergy, a frequent source of inaccurate allergy labels. Herpes simplex encephalitis presents with fever, confusion, behavioural change and seizures; intravenous acyclovir should be started on suspicion, because delay worsens outcomes, and HSV NAAT on cerebrospinal fluid confirms it. Shingles is treated with an oral antiviral ideally within 72 hours of rash onset, and involvement of the eye (rash on the tip of the nose is a warning sign) needs urgent ophthalmology assessment.

Viral hepatitis

Five viruses cause most viral hepatitis. They share a liver target but differ in transmission, chronicity and prevention.

  • Hepatitis A spreads by the fecal-oral route through contaminated food and water or close contact, causes acute hepatitis that is more severe in adults, never becomes chronic, and is vaccine-preventable. - Hepatitis B spreads through blood, sex and from parent to infant at birth. The risk of chronic infection depends strongly on age at infection: around nine in ten infants infected at birth develop chronic infection, compared with fewer than one in twenty healthy adults. Chronic hepatitis B can lead to cirrhosis and hepatocellular carcinoma, sometimes even without cirrhosis. It is preventable by vaccination, and infants of infected parents receive vaccine and hepatitis B immune globulin at birth. - Hepatitis C spreads mainly through blood, today most often through shared drug-use equipment, and becomes chronic in most people infected. Direct-acting antiviral regimens of 8 to 12 weeks cure more than 95 percent of patients, making elimination a realistic public health goal. - Hepatitis D occurs only with hepatitis B and makes disease more severe. - Hepatitis E is usually spread by contaminated water or undercooked pork and game, and can be severe in pregnancy and chronic in transplant recipients.

Reading hepatitis B serology

Hepatitis B serology is a favourite examination topic because each marker answers a specific question. HBsAg (surface antigen) means current infection. Anti-HBs (surface antibody) means immunity, from recovery or vaccination. Anti-HBc (core antibody) means past or present infection and is never produced by vaccination; its IgM form indicates acute infection. HBeAg and HBV DNA reflect the level of viral replication.

Chart of markers over 40 weeks after acute hepatitis B infection that resolves. HBsAg rises from about week 4 and disappears by about week 24. IgM anti-HBc appears near week 8 and fades by week 32. Total anti-HBc rises and stays positive. Anti-HBs appears after HBsAg disappears and stays positive. A shaded gap between HBsAg loss and anti-HBs appearance is labelled window period.
Figure 1. Serological course of acute hepatitis B that resolves (schematic). During the window period, IgM anti-HBc may be the only positive marker.
Table 2. Interpreting common hepatitis B serology patterns.
HBsAgAnti-HBcAnti-HBsInterpretation
NegativeNegativePositiveImmune from vaccination
NegativePositivePositiveImmune after past infection
PositivePositive (IgM)NegativeAcute infection
PositivePositive (IgG)NegativeChronic infection if HBsAg persists more than six months
NegativeNegativeNegativeSusceptible; offer vaccination
NegativePositiveNegativeSeveral possibilities, including past infection or window period; further testing needed

Chronic hepatitis B is managed by monitoring viral load, liver enzymes and liver fibrosis, with treatment for those at risk of progression. The 2025 AASLD/IDSA guideline on chronic hepatitis B treatment, announced in November 2025, recommends entecavir, tenofovir disoproxil fumarate or tenofovir alafenamide as first-line oral therapy and emphasizes shared decision-making. People with chronic hepatitis B and cirrhosis or other risk factors are offered regular ultrasound surveillance for liver cancer. Before immunosuppressive therapy such as rituximab or chemotherapy, everyone should be tested for HBsAg and anti-HBc, because reactivation can cause fulminant hepatitis (lesson 2). Hepatitis C screening approaches differ: the United States recommends one-time testing of all adults, while Canadian guidance has focused on people with risk factors, with several expert groups and provinces advocating broader testing.

HIV

Human immunodeficiency virus is a retrovirus that infects CD4 T cells and macrophages, integrates a DNA copy of its genome into the host chromosome, and establishes a latent reservoir that current therapy cannot eliminate. It is transmitted through condomless anal or vaginal sex, shared injection equipment, from parent to infant, and rarely through occupational exposure; it is not transmitted by casual contact.

Chart over about ten years without treatment. CD4 count starts near 1,000 cells per cubic mm, drops sharply in the first weeks, partly recovers, then declines slowly over years until it falls below 200, when opportunistic infections and AIDS appear. Viral load peaks very high in acute infection, falls to a set point, then rises again late.
Figure 2. Natural history of untreated HIV infection (schematic). Antiretroviral therapy interrupts this course at any stage.

Acute HIV infection, two to four weeks after exposure, causes a mononucleosis-like illness in many people, with very high viral loads and high infectiousness, as in Naveen's case. Without treatment, a long asymptomatic period follows while CD4 cells decline at about 50 to 100 cells per cubic millimetre per year on average; below 200 cells, opportunistic infections such as Pneumocystis pneumonia appear, and AIDS is diagnosed by a CD4 count below 200 or an AIDS-defining illness (lesson 11). Testing uses a fourth-generation antigen-antibody screening test followed by a confirmatory differentiation assay and HIV RNA when acute infection is suspected. Routine opt-out testing in health care settings is recommended because many people with HIV are unaware of their infection.

Modern antiretroviral therapy (ART) combines drugs from different classes: nucleoside reverse transcriptase inhibitors (such as tenofovir with emtricitabine or lamivudine), integrase strand transfer inhibitors (dolutegravir, bictegravir, cabotegravir), non-nucleoside reverse transcriptase inhibitors, protease inhibitors and newer agents such as the capsid inhibitor lenacapavir. ART is recommended for everyone with HIV, started as soon as possible after diagnosis, often on the same day. Preferred initial regimens are usually integrase inhibitor-based, either three-drug combinations or, in selected patients without hepatitis B or resistance, the two-drug combination dolutegravir with lamivudine. Long-acting injectable cabotegravir with rilpivirine every one or two months is an option for people who are already suppressed. With consistent treatment, people with HIV now have near-normal life expectancy, and someone who maintains an undetectable viral load does not transmit HIV sexually, often summarized as undetectable equals untransmittable (U=U).

Prevention has expanded rapidly. Pre-exposure prophylaxis (PrEP) with daily oral tenofovir disoproxil fumarate plus emtricitabine (or event-driven dosing in some groups), tenofovir alafenamide plus emtricitabine for some groups, injectable cabotegravir every two months, and twice-yearly injectable lenacapavir, approved by the FDA in June 2025, recommended by the CDC in September 2025 and authorized by Health Canada in 2026, are highly effective. Post-exposure prophylaxis (PEP) with a three-drug regimen for 28 days should start as soon as possible and within 72 hours of a significant exposure. Detailed regimens and monitoring are covered in PHAR-341 Pharmacotherapy III: Infectious Diseases.

Other viruses not to miss

  • Rabies is almost always fatal once symptoms appear and entirely preventable after exposure. Any bite or scratch from a potentially rabid animal, and any bat contact in which a bite cannot be ruled out, needs prompt assessment with public health; post-exposure prophylaxis combines wound cleansing, rabies immune globulin and a series of vaccine doses. - West Nile virus, spread by mosquitoes in summer and early autumn, is usually asymptomatic or causes fever, but in older adults can cause encephalitis or acute flaccid paralysis. - Dengue, spread by mosquitoes in tropical and subtropical regions, is among the most common causes of fever in returning travellers; warning signs of severe dengue include abdominal pain, persistent vomiting, bleeding and a rising hematocrit with falling platelets. - Mpox spreads through close skin-to-skin, including sexual, contact and causes painful lesions; a two-dose vaccine is offered to people at higher risk. - Norovirus causes explosive outbreaks of vomiting and diarrhea in long-term care, hospitals and cruise ships (lesson 9). - Human papillomavirus causes genital warts and most cervical, anal and oropharyngeal cancers and is prevented by vaccination (lesson 11).

Worked problem

Interpreting hepatitis B serology before chemotherapy

Elspeth Marlow-Adeyemi, 61, is about to start rituximab-based chemotherapy for lymphoma. Her results: HBsAg negative, anti-HBc positive, anti-HBs positive, HBV DNA undetectable. What does this mean and what should happen?

Show solution
  1. Anti-HBc positive means she has been infected with hepatitis B at some time; vaccination alone never produces anti-HBc.
  2. HBsAg negative and anti-HBs positive indicate that the infection resolved and she developed immunity.
  3. However, covalently closed circular DNA of hepatitis B persists in liver cells for life, and rituximab, which depletes B cells, carries a high risk of reactivation even in resolved infection.
  4. The usual approach is antiviral prophylaxis with entecavir or tenofovir during and for a period after rituximab, or close monitoring of HBsAg and HBV DNA, according to current guidance and specialist advice.

Answer: She has resolved past hepatitis B infection but is at real risk of reactivation with rituximab; antiviral prophylaxis or careful monitoring should be arranged before treatment begins.

Common mistakes

  • MistakeAntivirals for influenza are useless after 48 hours.

    InsteadHospitalized and high-risk patients benefit from treatment even after 48 hours; early treatment is best.

  • MistakeA rash after amoxicillin in mononucleosis proves penicillin allergy.

    InsteadThe rash is common in Epstein-Barr virus infection and usually does not indicate true allergy.

  • MistakeAnti-HBc can come from vaccination.

    InsteadThe vaccine contains only surface antigen; anti-HBc always indicates infection.

  • MistakePatients with suspected measles can wait in the general waiting room with a mask.

    InsteadThey need airborne precautions; call ahead and isolate immediately.

  • MistakeHIV treatment should be delayed until the CD4 count falls.

    InsteadART is recommended for all people with HIV as soon as possible after diagnosis.

Summary and key terms

  • Viruses cause acute, latent or chronic infection; RNA viruses mutate quickly.
  • Influenza is treated early with antivirals in high-risk and hospitalized patients; H5N1 is monitored with prompt public health notification.
  • Measles has resurged; Canada lost elimination status in November 2025 and the United States in November 2026; isolate, test and notify immediately.
  • Herpesviruses are latent for life; HSV encephalitis needs immediate intravenous acyclovir.
  • Hepatitis B serology distinguishes vaccination, past infection, acute and chronic infection; screen before immunosuppression.
  • Hepatitis C is curable with 8 to 12 weeks of direct-acting antivirals.
  • HIV is treated with ART for everyone at diagnosis; U=U; PrEP and PEP prevent infection.
Latency
Persistence of a virus in a dormant state with potential to reactivate.
Antigenic drift
Gradual mutation of influenza surface proteins causing seasonal epidemics.
Antigenic shift
Major change in influenza A surface proteins that can cause a pandemic.
Koplik spots
Small white spots on the buccal mucosa early in measles.
HBsAg
Hepatitis B surface antigen, indicating current infection.
Anti-HBc
Antibody to hepatitis B core antigen, indicating past or present infection.
Direct-acting antiviral
A drug that targets a specific viral protein, such as those that cure hepatitis C.
Antiretroviral therapy
Combination drug treatment that suppresses HIV replication.
U=U
Undetectable equals untransmittable: a sustained undetectable viral load prevents sexual transmission of HIV.
PrEP
Pre-exposure prophylaxis: antiretroviral medication taken to prevent HIV acquisition.
PEP
Post-exposure prophylaxis: a 28-day antiretroviral course started within 72 hours of exposure.

Practice problems

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

  1. Interpret: HBsAg negative, anti-HBc negative, anti-HBs positive.

    Show answer

    Immunity from vaccination.

  2. Why is an HIV test appropriate in a person with a mononucleosis-like illness and a negative heterophile test?

    Show answer

    Acute HIV causes a similar syndrome; a fourth-generation test, and HIV RNA if needed, can detect it.

  3. Over what period is a person with measles infectious?

    Show answer

    From about four days before to four days after rash onset.

  4. What drug interaction concern arises with nirmatrelvir-ritonavir?

    Show answer

    Ritonavir strongly inhibits CYP3A4, raising levels of many drugs such as some statins, anticoagulants, antiarrhythmics and calcineurin inhibitors.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz