Routine

Genital herpes (HSV) — management

STI · Genitourinary
Physician-written · Verified by three sets of doctors · Reviewed November 2026

Bedside summary

Genital herpes is caused by herpes simplex virus (HSV-1 or HSV-2), a lifelong infection with primary and recurrent episodes. First episodes can be severe (painful ulcers, systemic symptoms, dysuria, urinary retention); recurrences are usually milder. Diagnosis is clinical, confirmed by swabbing a lesion for HSV PCR with typing. Antivirals shorten episodes and can be used episodically or as suppression; they do not cure the infection.

Red flags

  • Urinary retention or severe systemic illness in primary infection
  • Immunocompromised host (severe/atypical/persistent disease)
  • Pregnancy near term with active lesions (neonatal herpes risk)
  • Aseptic meningitis / disseminated HSV

Assessment

Differential diagnosis

  • Primary syphilis (painless chancre)
  • Chancroid, lymphogranuloma venereum
  • Aphthous ulcers / Behçet disease
  • Candidiasis, fixed drug eruption
  • Traumatic ulceration

Investigations

  • HSV PCR (preferred) from a deroofed lesion/ulcer, with HSV typing (HSV-1 vs HSV-2 affects prognosis/recurrence risk)
  • Full STI screen including syphilis serology and HIV (genital ulcers increase HIV risk)
  • Assess for urinary retention, severe pain, aseptic meningitis in severe first episodes

Management

  • For a FIRST (primary) episode, start oral antiviral treatment, ideally within 5 days of onset or while new lesions are forming (see drugs).
  • Give symptomatic care: analgesia, topical anaesthetic/lidocaine, saline bathing, and advice to pass urine in a warm bath if dysuria is severe.
  • Watch for urinary retention and severe systemic illness — may need admission/catheterisation.
  • For RECURRENT episodes, offer either episodic antiviral treatment (patient-initiated at onset) or suppressive therapy if recurrences are frequent/distressing (e.g. ≥6/year).
  • Counsel on natural history, asymptomatic viral shedding, transmission reduction (condoms, suppressive therapy, avoiding sex during prodrome/lesions) and disclosure to partners.
  • Address pregnancy specifically: HSV acquired in late pregnancy or active lesions at delivery risks neonatal herpes — refer to obstetrics; consider suppressive aciclovir from ~36 weeks and discuss mode of delivery.

Drugs & doses

First episode: aciclovir 400 mg PO TDS for 5 days (or valaciclovir 500 mg PO BD) — per BASHH/CDC; confirm against local guidance; extend if new lesions still forming
Episodic recurrence: short-course oral antiviral (e.g. aciclovir 800 mg PO TDS for 2 days, or valaciclovir) per local guidance
Suppressive therapy: aciclovir 400 mg PO BD (or valaciclovir 500 mg PO OD) — review periodically
Pregnancy: aciclovir, including suppression from ~36 weeks in those with recurrent/first-episode herpes — confirm with obstetrics

Disposition

Outpatient/sexual-health management; admit for retention, severe systemic illness or immunocompromise. Refer pregnant patients to obstetrics.

Complications & pitfalls

  • Recurrent episodes and psychosexual distress
  • Urinary retention, secondary bacterial infection
  • Neonatal herpes (high morbidity/mortality)
  • Increased HIV acquisition/transmission

Exam pearls

  • HSV typing matters: HSV-2 recurs more often than HSV-1, which guides suppression decisions.
  • Antivirals control episodes but do not eradicate the virus — asymptomatic shedding still transmits.
  • Flag pregnancy early: late-pregnancy acquisition or delivery-time lesions risk neonatal herpes.

Educational — confirm all doses against local policy.

Disclaimer: Educational decision support for qualified clinicians and students — not a substitute for clinical judgement, local protocols or a full drug reference. Confirm every dose and contraindication against your formulary before prescribing.