Genital ulcers: syphilis, herpes, chancroid, lymphogranuloma
- Approach to a problem
A genital ulcer is a door for HIV and, if it is syphilis in pregnancy, a danger to the baby. Pain and the nodes point to the cause; tests confirm it.
See it in 3D: Labia majora · Labia minora · Vestibule · Cervix
What it is
Most genital ulcers in sexually active people are from genital herpes (HSV-2 and increasingly HSV-1) or syphilis (Treponema pallidum); chancroid (Haemophilus ducreyi), lymphogranuloma venereum (LGV, Chlamydia trachomatis serovars L1 to L3) and granuloma inguinale are less common. Non-infectious causes include trauma, fixed drug eruption, Behçet disease and cancer. Clinical diagnosis alone is unreliable, and more than one infection can coexist, so every patient with a genital ulcer is tested for syphilis and HIV and, where possible, for herpes by NAAT.
Red flags
- Pregnancy: untreated syphilis causes miscarriage, stillbirth and congenital syphilis; herpes acquired late in pregnancy carries a high risk to the newborn.
- Any genital ulcer raises HIV acquisition and transmission: test for HIV.
- A non-healing or indurated ulcer in an older woman: biopsy for cancer.
- Severe primary herpes with urinary retention or meningism, or disseminated disease in the immunosuppressed: admit.
- An ulcer in a child: consider sexual abuse.
Step-by-step approach
- Ask about pain, blisters before the ulcer, previous episodes, partners, travel, drugs and pregnancy.
- Examine the ulcer (number, depth, edge, base, induration) and the inguinal nodes (tenderness, laterality, fluctuation).
- Test every patient: syphilis serology (treponemal plus non-treponemal), HIV test, and HSV NAAT from the lesion.
- Where available, direct tests for T. pallidum from the ulcer, and tests for H. ducreyi or LGV when suspected.
- Treat at the first visit when follow-up is uncertain or syphilis is likely (syndromic treatment as national guidance sets).
- Treat and notify partners; report syphilis to public health surveillance; review at follow-up to confirm healing.
The four infectious ulcers
| Feature | Primary syphilis | Genital herpes | Chancroid | LGV |
|---|---|---|---|---|
| Ulcer | Usually single, clean, indurated base | Multiple, shallow, after grouped vesicles | Deep, ragged edge, purulent base | Small papule or ulcer, often gone unnoticed |
| Pain | Painless | Painful | Painful | Painless ulcer |
| Nodes | Bilateral, rubbery, painless | Tender, bilateral; fever in first episode | Tender, may suppurate (bubo) | Painful, usually unilateral, may suppurate; proctocolitis after anal exposure |
| Test | Serology; direct test of lesion | HSV NAAT of lesion | Diagnosis by exclusion plus culture or NAAT where available | C. trachomatis NAAT, LGV genotyping |
| Treatment class | Benzathine benzylpenicillin | Antiviral (aciclovir, valaciclovir) | Macrolide or ceftriaxone | Doxycycline |
Keys to the differential
- HIV chain: an ulcer breaks the epithelium and draws in inflammatory cells carrying CD4 receptors → easier entry of HIV and more shedding of it → test and offer prevention.
- Syphilis in pregnancy: only penicillin reliably treats the fetus; a woman with penicillin allergy is desensitised and then treated with penicillin.
- Herpes at delivery: recurrent lesions or prodrome at the onset of labour → caesarean birth; first-episode herpes in late pregnancy carries the highest neonatal risk and needs specialist care.
- Syphilis serology may be negative early in primary syphilis; repeat it, and treat on clinical grounds when the picture is typical.
- Syphilis in pregnancy is part of the elimination of mother-to-child transmission (ETMI-plus): screen every pregnant woman and her partner.
Next step / Initial management
- Syphilis: benzathine benzylpenicillin as the national guideline sets; treat partners; follow non-treponemal titres to confirm response.
- Herpes: start antivirals for a first episode even before results; episodic or suppressive treatment for recurrences; suppression from late pregnancy in women with recurrent herpes, as guidance advises.
- Chancroid and LGV: antibiotics as guidance sets; buboes may need needle aspiration.
- Refer: pregnant women with syphilis or a first episode of herpes, ulcers that do not heal, suspected cancer, and children.
Common traps
- A painless ulcer is not worrying: the painless chancre of syphilis is exactly the one that must not be missed.
- Herpes is obvious, so no other tests are needed: ulcers coexist and look alike; every ulcer gets syphilis and HIV tests.
- A negative syphilis serology excludes a chancre: antibodies may not yet be detectable in early primary syphilis; repeat it or test the lesion.
- A pregnant woman allergic to penicillin can be treated with another antibiotic: only penicillin reliably prevents congenital syphilis, so she is desensitised.
Test yourself
Think of the answer, then tap the question to see it.
A woman has a single painless, clean, indurated vulvar ulcer with painless rubbery inguinal nodes. What is the likely cause and which tests are needed?
Primary syphilis; treponemal and non-treponemal serology, a direct test of the lesion if available, and HIV testing.
Why should every patient with a genital ulcer be tested for HIV?
Ulcers break the epithelial barrier and recruit HIV target cells, raising the risk of acquiring and transmitting HIV, and the infections often travel together.
A pregnant woman with syphilis reports penicillin allergy. What is the management?
Desensitise and treat with penicillin, the only treatment reliable for the fetus; refer for specialist care.
A woman with recurrent genital herpes goes into labour with active lesions. What is advised?
Caesarean birth to reduce exposure of the baby to the virus.
Elsewhere in DurgiPedia
- STI counselling: risk reduction, testing, partner notification and condom teaching
- HIV and STI prevention in the community: counselling, rapid testing, linkage and mother-to-child elimination
Connections
See it in 3D4
The structures of Durgical's 3D anatomy where it is found.
Microorganisms5
← All of obstetrics and gynaecology
Educational content; it does not replace assessment by a doctor or your institution's protocols, and it contains no doses. For heavy bleeding, a severe headache or blurred vision, a seizure, fever, strong abdominal pain or fewer baby movements, go to an emergency department at once.
Sources: Syphilis (StatPearls (NCBI Bookshelf), 2024); Herpes Simplex Type 2 Infection (StatPearls (NCBI Bookshelf), 2024); Chancroid (StatPearls (NCBI Bookshelf), 2023); Lymphogranuloma Venereum Infection (StatPearls (NCBI Bookshelf), 2025); Genital Herpes: STI Treatment Guidelines (Centers for Disease Control and Prevention, 2021); Syphilis: STI Treatment Guidelines (Centers for Disease Control and Prevention, 2021); Syphilis (fact sheet) (World Health Organization, 2025).
Spotted a mistake?We are always improving for the community. Tell us what is wrong and our team will review it.Report a mistake
Representative model, for educational purposes only.
