[Durgical](https://durgical.com/en/) › [DurgiPedia](https://durgical.com/en/durgipedia/) › [Obstetrics and gynaecology](https://durgical.com/en/obstetrics-gynaecology/) › [Gynaecological infections](https://durgical.com/en/obstetrics-gynaecology/areas/infections/) › Genital ulcers: syphilis, herpes, chancroid, lymphogranuloma

# Genital ulcers: syphilis, herpes, chancroid, lymphogranuloma

- Approach to a problem

A genital ulcer is a door for HIV and, if it is [syphilis](https://durgical.com/en/conditions/syphilis/) in pregnancy, a danger to the baby. Pain and the nodes point to the cause; tests confirm it.

Updated Nov 15, 2026

**See it in 3D:** [Labia majora](https://durgical.com/en/anatomy/labium-majus-of-vulva/) · [Labia minora](https://durgical.com/en/anatomy/labium-minus-of-vulva/) · [Vestibule](https://durgical.com/en/anatomy/vestibule-of-vagina/) · [Cervix](https://durgical.com/en/anatomy/cervix-of-uterus/)

## Key points

- Painless ulcer + painless nodes = syphilis.
- Painful multiple shallow ulcers after vesicles = herpes.
- Painful deep ulcer + suppurative nodes = [chancroid](https://durgical.com/en/conditions/chancroid/).
- Transient ulcer then painful unilateral bubo = LGV.
- Every genital ulcer: syphilis + HIV tests.
- Syphilis in pregnancy: penicillin only.

On this page

- The basics Key points
- What it is
- How to think about it
- Step-by-step approach
- The four infectious ulcers
- Common traps
- Elsewhere in DurgiPedia

- Clinical Red flags
- Keys to the differential

- Treatment Next step / Initial management

- Study Test yourself

- Connections Connections

## What it is

Most genital ulcers in sexually active people are from [genital herpes](https://durgical.com/en/conditions/genital-herpes/) ([HSV-2](https://durgical.com/en/microbiology/herpes-simplex-virus-2/) and increasingly [HSV-1](https://durgical.com/en/microbiology/herpes-simplex-virus-1/)) or syphilis ([Treponema pallidum](https://durgical.com/en/microbiology/treponema-pallidum/)); chancroid ([Haemophilus ducreyi](https://durgical.com/en/microbiology/haemophilus-ducreyi/)), lymphogranuloma venereum (LGV, [Chlamydia trachomatis](https://durgical.com/en/microbiology/chlamydia-trachomatis/) serovars L1 to L3) and [granuloma inguinale](https://durgical.com/en/conditions/granuloma-inguinale/) are less common. Non-infectious causes include trauma, fixed drug eruption, [Behçet disease](https://durgical.com/en/conditions/behcet-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.

## How to think about it

Ask two questions: does the ulcer hurt, and what are the nodes doing? Painless ulcer, painless rubbery nodes: syphilis. Painful shallow ulcers after blisters, tender nodes: herpes. Painful deep ragged ulcer, tender nodes that suppurate: chancroid. Ulcer barely noticed, then a painful unilateral node mass: LGV. Then test anyway, because the bedside picture misleads often.

## Red flags

- Pregnancy: untreated syphilis causes [miscarriage](https://durgical.com/en/conditions/miscarriage/), [stillbirth](https://durgical.com/en/conditions/stillbirth/) and [congenital syphilis](https://durgical.com/en/conditions/congenital-infections-syphilis-toxoplasmosis-cmv-and-zika/); 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](https://durgical.com/en/conditions/acute-urinary-retention/) or meningism, or disseminated disease in the immunosuppressed: admit.
- An ulcer in a child: consider [sexual abuse](https://durgical.com/en/conditions/sexual-violence/).

## 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](https://durgical.com/en/epidemiology/public-health-surveillance/); review at follow-up to confirm healing.

## The four infectious ulcers

| Feature | Primary syphilis | Genital herpes | Chancroid | LGV |
| --- | --- | --- | --- | --- |
| [Ulcer](https://durgical.com/en/conditions/syphilis/) | Usually single, clean, indurated base | Multiple, shallow, after grouped vesicles | Deep, ragged edge, purulent base | Small papule or ulcer, often gone unnoticed |
| [Pain](https://durgical.com/en/conditions/genital-herpes/) | Painless | Painful | Painful | Painless ulcer |
| [Nodes](https://durgical.com/en/conditions/chancroid/) | 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](https://durgical.com/en/pharmacology/benzathine-benzylpenicillin/) | Antiviral ([aciclovir](https://durgical.com/en/pharmacology/aciclovir/), [valaciclovir](https://durgical.com/en/pharmacology/valaciclovir/)) | Macrolide or [ceftriaxone](https://durgical.com/en/pharmacology/ceftriaxone/) | [Doxycycline](https://durgical.com/en/pharmacology/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](https://durgical.com/en/nursing/preventing-mother-to-child-transmission-of-hiv-syphilis-hepatitis-b-and-chagas-t/) (ETMI-plus): screen every pregnant woman and her partner.

## Next step / Initial management

- Syphilis: benzathine [benzylpenicillin](https://durgical.com/en/pharmacology/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](https://durgical.com/en/biochemistry/enzymes/immunoglobulins/) 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.

[Add to my cards (4)](https://durgical.app/estudiar/?add=/en/obstetrics-gynaecology/genital-ulcers-syphilis-herpes-chancroid-lymphogranuloma/)

## Elsewhere in DurgiPedia

- [STI counselling: risk reduction, testing, partner notification and condom teaching](https://durgical.com/en/nursing/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](https://durgical.com/en/nursing/hiv-and-sti-prevention-in-the-community-counselling-rapid-testing-linkage-and-mo/)

## Connections

## See it in 3D 4

The structures of Durgical's 3D anatomy where it is found.

- [Labia majora](https://durgical.com/en/anatomy/labium-majus-of-vulva/)
- [Labia minora](https://durgical.com/en/anatomy/labium-minus-of-vulva/)
- [Vestibule](https://durgical.com/en/anatomy/vestibule-of-vagina/)
- [Cervix](https://durgical.com/en/anatomy/cervix-of-uterus/)

## Related 4

- [Vulvar itch, pain and lesions](https://durgical.com/en/obstetrics-gynaecology/vulvar-itch-pain-and-lesions/)
- [Cervicitis: chlamydia and gonorrhoea](https://durgical.com/en/obstetrics-gynaecology/cervicitis-chlamydia-and-gonorrhoea/)
- [Infections that harm the fetus: syphilis, HIV, toxoplasma, CMV, rubella, Zika, dengue, malaria, Chagas, hepatitis B](https://durgical.com/en/obstetrics-gynaecology/infections-that-harm-the-fetus-syphilis-hiv-toxoplasma-cmv-rubella-zika-dengue-m/)
- [Vaginal discharge: telling the three common causes apart](https://durgical.com/en/obstetrics-gynaecology/vaginal-discharge-telling-the-three-common-causes-apart/)

## Related conditions 4

- [Syphilis](https://durgical.com/en/conditions/syphilis/)
- [Genital herpes (herpes simplex infection)](https://durgical.com/en/conditions/genital-herpes/)
- [Chancroid](https://durgical.com/en/conditions/chancroid/)
- [Chlamydia infection](https://durgical.com/en/conditions/chlamydia-infection/)

## Microorganisms 5

- [Treponema pallidum](https://durgical.com/en/microbiology/treponema-pallidum/)
- [Herpes simplex virus 2](https://durgical.com/en/microbiology/herpes-simplex-virus-2/)
- [Herpes simplex virus 1](https://durgical.com/en/microbiology/herpes-simplex-virus-1/)
- [Haemophilus ducreyi](https://durgical.com/en/microbiology/haemophilus-ducreyi/)
- [Chlamydia trachomatis](https://durgical.com/en/microbiology/chlamydia-trachomatis/)

## In Pharmacology 6

- [Benzathine benzylpenicillin](https://durgical.com/en/pharmacology/benzathine-benzylpenicillin/)
- [Aciclovir](https://durgical.com/en/pharmacology/aciclovir/)
- [Valaciclovir](https://durgical.com/en/pharmacology/valaciclovir/)
- [Azithromycin](https://durgical.com/en/pharmacology/azithromycin/)
- [Ceftriaxone](https://durgical.com/en/pharmacology/ceftriaxone/)
- [Doxycycline](https://durgical.com/en/pharmacology/doxycycline/)

[← All of obstetrics and gynaecology](https://durgical.com/en/obstetrics-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](https://www.ncbi.nlm.nih.gov/books/NBK534780/) (StatPearls (NCBI Bookshelf), 2024); [Herpes Simplex Type 2 Infection](https://www.ncbi.nlm.nih.gov/books/NBK554427/) (StatPearls (NCBI Bookshelf), 2024); [Chancroid](https://www.ncbi.nlm.nih.gov/books/NBK513331/) (StatPearls (NCBI Bookshelf), 2023); [Lymphogranuloma Venereum Infection](https://www.ncbi.nlm.nih.gov/books/NBK544283/) (StatPearls (NCBI Bookshelf), 2025); [Genital Herpes: STI Treatment Guidelines](https://www.cdc.gov/std/treatment-guidelines/herpes.htm) (Centers for Disease Control and Prevention, 2021); [Syphilis: STI Treatment Guidelines](https://www.cdc.gov/std/treatment-guidelines/syphilis.htm) (Centers for Disease Control and Prevention, 2021); [Syphilis (fact sheet)](https://www.who.int/news-room/fact-sheets/detail/syphilis) (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.

---
Source: https://durgical.com/en/obstetrics-gynaecology/genital-ulcers-syphilis-herpes-chancroid-lymphogranuloma/
License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Cite as: DurgiPedia (durgical.com), https://durgical.com/en/obstetrics-gynaecology/genital-ulcers-syphilis-herpes-chancroid-lymphogranuloma/
