Reasoning GP · Diagnostic Compass · decision tree
Anogenital ulcers1 PAGE
A new genital or perianal ulcer: emergency, same day, cancer pathway, or which cause?
BASHH syphilis 2024 · herpes 2024 · HSV pregnancy 2024 · PEP 2021
BHIVA/BASHH/BIA 2020 · NICE NG60 · NG12 (Apr 2026)
Reviewed Oct 2026 · next review Apr 2027
Applies to: sexually active adults with a new genital or perianal ulcer; not children. Painless and indurated = syphilis until serology proves otherwise; test for every STI at the same visit.
Anogenital ulcer
Rapidly spreading painful ulceration, black eschar, crepitus or perineal spread with sepsis (Fournier's, necrotising fasciitis) · Progressive ulceration with systemic collapse
YES
CALL 999
Hospital gives IV antibiotics and immediate debridement: transfer is the treatment; do not wait for swabs or bloods.
NO
Urinary retention, parenteral-level pain, systemic illness, necrosis, ocular or neurological symptoms → hospital · Pregnant, suspected primary herpes or syphilis → hospital + obstetrics; first-episode herpes in third trimester → obstetric contact · HIV exposure ≤72 h → PEP; palms/soles rash → same-day GUM · HIV-positive, immunocompromised, or ulcer persisting → urgent GUM · Behçet's + painful red eye or visual change → ophthalmology · NG12: vulval lump, ulcer or bleeding; penile mass or ulcer, STI excluded or after treatment; anal mass or ulcer
Same day or cancer pathway?
YES
SAME DAY · CANCER PATHWAY
PEP: same-day sexual health / ED, ideally within 24 h. NG12: consider suspected cancer pathway referral; do not delay STI tests for biopsy.
NO
Primary syphilispainless, indurated, single
- Serology + quantitative RPR; urgent GUM.
- Treatment and partner notification by GUM.
- Warn: Jarisch-Herxheimer (within 24 h); pregnancy → obstetric advice.
Genital herpespainful, multiple, vesicles
- First episode: aciclovir 400 mg TDS or valaciclovir 500 mg BD 5–10 days; review day 5.
- Recurrent: aciclovir 800 mg TDS 2 days.
- Saline, analgesia, lidocaine 5% gel.
Mpox, LGVumbilicated; proctitis, MSM
- Mpox: swabs via sexual-health/ID; not routine HSV.
- LGV: rectal NAAT + genotyping via GUM.
- Not standard chlamydia treatment; partner notification by GUM.
Non-STIonly after STI tests
- Lipschütz, aphthae, lichen, trauma or assault.
- Fixed drug eruption → withdraw the drug.
- Behçet's → rheumatology; perianal fissures → colorectal.
EVERY PATIENT
Tests that change management
- HSV PCR with typing from a fresh lesion base; mpox/VZV PCR if features.
- Syphilis serology + RPR; 4th-generation HIV; hepatitis B/C if indicated.
- Gonorrhoea/chlamydia NAAT by site; history: anal sex, travel, skin-to-skin contact, exposure ≤72 h, pregnancy.
- Not routine: ANA, HLA-B51, Paul-Bunnell. Biopsy is arranged by the specialist service.
Safety-net · follow up
- 999: sore spreads fast, skin turns black, very unwell or collapse.
- Same day: no urine, severe pain, eye or vision change, headache, weakness, pregnant.
- Persists or unexplained → reassess urgently; review until healed or explained; not by phone or photo alone. Partner notification via sexual health.
Never: Reassure by a painless ulcer or spontaneous healing (a chancre heals in 3–6 weeks) · Trust early negative syphilis serology, an HSV PCR from a crusted lesion, or an HIV test within 45 days · Stop at one positive result or a Lipschütz label: test for every STI first
gpreasoning.uk