Chancroid: The Painful Genital Ulcer, Single-Dose Azithromycin, Tests for Syphilis, Herpes and HIV, and Swollen Glands

🩺 A sore on the genitals that hurts is one of the most worrying things a person can find, and the first thought is usually herpes or syphilis. Chancroid is a third cause that many people, and even some clinics, rarely think about: a bacterial infection that produces one or more soft, ragged, very painful ulcers and, in about half of cases, a tender swollen gland in the groin. 🔍 It is uncommon in North America and Europe, more common in parts of Africa, Asia and the Caribbean, and it still turns up in travellers, in sex workers and their clients, and in small outbreaks. The good news is that it is easy to cure, often with a single 1 g dose of azithromycin. The hard part is getting the diagnosis right, because herpes and syphilis look similar, can occur at the same time, and need completely different treatment. This guide explains how chancroid looks, how it is told apart from other genital ulcers, which tests matter, how each antibiotic option works, what to expect while the ulcer heals and why partners and an HIV test are part of the plan.
🦠 What chancroid is
🔬 Chancroid is a sexually transmitted infection caused by the bacterium Haemophilus ducreyi, a small gram-negative rod that is a distant cousin of the germ behind some ear and chest infections. It spreads through direct skin contact with an open ulcer during vaginal, anal or oral sex, usually through tiny breaks in the skin of the penis, vulva or around the anus. It does not spread through toilet seats, towels or swimming pools, and it does not travel through the blood to the rest of the body the way syphilis does. The infection stays local: the ulcer and the nearby lymph glands in the groin.
🌍 Worldwide, chancroid has become much rarer over the last thirty years, mostly because syndromic treatment of genital ulcers and better condom use have reduced it in the regions where it used to be common. Rare does not mean gone: cases are still reported in parts of sub-Saharan Africa, South and Southeast Asia and the Caribbean, and sporadic outbreaks occur elsewhere. Because labs in low-incidence countries see it so seldom, many cases are probably missed or labelled as something else. 📖 Other common bacterial STIs on this site include chlamydia and how it is treated and gonorrhea treatment today.
📆 How the ulcer develops
📍 The first sign is usually a small red bump at the point of contact. Within a day or two the bump fills with pus and then breaks down into an open, painful ulcer. Men often notice it on the foreskin, the groove behind the head of the penis, the frenulum or the shaft. Women may have ulcers on the labia, at the entrance of the vagina, on the skin between the vagina and anus, or around the anus, and they may first feel burning when passing urine, pain during sex or light bleeding rather than see the sore.
🔎 What the ulcer looks like
👁️ Doctors describe a chancroid ulcer by a few typical features. The edge is ragged and undermined, the base is soft rather than hard, and it hurts, often quite a lot when touched or when urine runs over it. The floor is usually covered with a grey or yellow layer that bleeds when wiped. Ulcers range from a few millimetres to two centimetres or more, and several can merge into one large sore. A sore on one side can infect the skin touching it on the other side, which gives so-called kissing ulcers.
💢 The swollen groin gland, or bubo
🧬 About half of people with chancroid develop painful swelling of the lymph glands in the groin, usually on one side, one to two weeks after the ulcer appears. In some of them the gland fills with pus and becomes a soft, red, throbbing lump called a bubo, which can burst through the skin and leave a second ulcer in the groin. A painful ulcer together with a painful groin swelling is the classic combination that should make a clinician think of chancroid.
⚠️ A bubo should not be squeezed or cut at home. If it becomes large and soft, a clinician can drain it with a needle or a small cut, which relieves pain quickly and stops it bursting on its own and leaving a ragged wound. The antibiotics still have to be taken, because draining alone does not kill the bacteria.
⚖️ Chancroid, herpes or syphilis: the key differences
🤔 In most countries, genital herpes is by far the most common cause of a painful genital sore, and syphilis is the most important one not to miss. Chancroid sits between them. The table shows how they usually differ, but the overlap is large, and appearance alone gets the answer wrong often enough that tests are always needed.
| 🔎 Feature | 🦠 Chancroid | 🔥 Genital herpes | 🔵 Primary syphilis |
|---|---|---|---|
| Pain | Painful | Painful, burning, tingling first | Usually painless |
| How it starts | Bump, then pustule | Clusters of small blisters | Small firm spot |
| Ulcer | Deep, ragged, soft, grey base | Shallow, small, round erosions | Clean, round, firm edge and base |
| Number | One to several | Usually several | Usually one |
| Groin glands | Tender, one side, may form pus | Tender, both sides, first episode | Firm, rubbery, not tender |
| Comes back? | No, unless reinfected | Yes, recurrences are typical | No, but the disease moves to later stages |
| Treatment | Azithromycin and others | Antiviral tablets | Penicillin injection |
📖 Herpes treatment plans are covered in genital herpes: episodic and suppressive therapy. Syphilis treatment, including options for people allergic to penicillin, is explained in syphilis treatment with a penicillin allergy.
🧩 Other causes of genital ulcers
🧭 A doctor examining a genital ulcer keeps a short list in mind beyond the three main infections. Some are other tropical STIs, others are not infections at all. Knowing about them explains why a clinic may ask about travel, new medicines and mouth ulcers.
🌍 Who is most at risk
🧳 Most cases seen in low-incidence countries are linked to sex abroad or to a partner who had sex abroad. The main risk factors are new or multiple partners, paid sex, condomless sex, and travel to regions where chancroid still circulates. Men who are not circumcised appear to be at higher risk and may also heal more slowly, probably because the moist skin under the foreskin suits the bacteria.
🧪 Why chancroid is hard to confirm
🔬 Haemophilus ducreyi is a fussy germ. It grows only on special culture plates that most labs do not keep, and even in expert hands culture finds it in fewer than 8 in 10 true cases. PCR tests that detect its genetic material are more sensitive, but in many countries they are available only in reference or research labs. In practice, most diagnoses are made on clinical grounds: the typical appearance plus tests that rule out the more common causes.
📋 Tests to expect at the clinic
💉 A sexual health clinic will usually take swabs and blood on the same visit, and may start treatment before the results come back if the picture fits. Testing for HIV and syphilis is part of the routine for every genital ulcer, because they can be caught at the same time as chancroid and change the whole plan.
| 🧪 Test | 📋 What it looks for | ⏱️ Notes |
|---|---|---|
| Herpes PCR swab | Herpes simplex virus in the ulcer | Most useful early, from a fresh sore |
| Syphilis swab (darkfield or PCR, where available) | Treponema pallidum in the ulcer | Can be positive before blood tests turn positive |
| Syphilis blood test | Antibodies to syphilis | May be negative in the first weeks; repeated later |
| HIV test | HIV antibodies and antigen | Repeated about 3 months later if negative |
| H. ducreyi PCR or culture | The chancroid bacterium | Only where a lab offers it |
| Chlamydia and gonorrhea tests | Other common STIs | Urine or swab, often done at the same visit |
💡 Do not put creams, antiseptics or antibiotic powders on the sore before the visit. They can make swabs less reliable and some cause irritation that makes the ulcer look worse than it is.
💊 Treatment: four proven options
📘 International STI guidelines list four regimens that cure chancroid in the large majority of people. Single-dose options are preferred, because they are taken in front of the clinician and nothing depends on remembering tablets over several days. The choice depends on what is available locally, pregnancy, allergies and local resistance patterns.
🔍 Resistance of H. ducreyi to ciprofloxacin and erythromycin has been reported in some regions, but treatment failure with the recommended regimens is still uncommon. If an ulcer is not clearly better within a week, the first question is whether the diagnosis is right, and only then whether the antibiotic was the right one.
💊 Why single-dose azithromycin is the usual first choice
🧪 Azithromycin is a macrolide antibiotic that is absorbed into the tissues and then released slowly, so one 1 g dose keeps effective levels in the skin and glands for several days. That is why a single dose can do the work of a week of tablets of an older drug. It is also active against chlamydia, which is useful when several STIs are possible, and it is usually well tolerated. Taking the dose at the clinic, or at home right after the visit, means the full treatment is done before the person even leaves the pharmacy counter, and there is no half-finished packet to tempt anyone into self-treating the next sore.
📋 How the 1 g dose is usually taken
💊 Four 250 mg or two 500 mg tablets swallowed together
🍽️ With a light meal if the stomach is sensitive
⏱️ Antacids with aluminium or magnesium kept at least 2 hours apart
⚠️ Common side effects
🤢 Nausea, loose stools or stomach cramps for a day
🤕 Headache or dizziness, usually mild
🚨 Rare: rash, swelling of the face, palpitations or fainting
📞 Vomiting within an hour of the dose: ask whether to repeat it
🚫 When azithromycin may not suit
| 🚫 Situation | 📝 Why it matters |
|---|---|
| Past allergy to azithromycin, erythromycin or clarithromycin | Cross-reaction within the macrolide group |
| Long QT, very slow heart rate or serious heart rhythm problems | Macrolides can rarely prolong the QT interval |
| Other medicines that prolong QT | Some antiarrhythmics, antipsychotics and antidepressants add to the effect |
| Low potassium or magnesium | Raises the risk of rhythm problems |
| Past liver problems with azithromycin | Rare liver injury has been reported |
| Myasthenia gravis | Macrolides can worsen muscle weakness |
📖 Side effects and interactions are covered in more depth in the azithromycin product information. Anyone on warfarin should mention it, since even one dose can briefly change blood clotting tests.
🔄 Ciprofloxacin and erythromycin: the oral alternatives
💊 Ciprofloxacin for 3 days is a good oral choice when azithromycin cannot be used, for example after a macrolide allergy. It is not used in pregnancy or while breastfeeding, and it carries its own warnings: tendon pain or rupture, especially in older people and those on steroid tablets, nerve symptoms such as tingling, and interaction with antacids, iron, calcium and zinc, which must be taken well apart. 💊 Erythromycin for 7 days is the oldest option and the one with the most stomach side effects, so it is used mainly when nothing else is available or suitable. The estolate form, sold as Ilosone (Erythromycin), is not given in pregnancy because of a risk of liver inflammation; a different erythromycin salt is chosen instead.
🤰 Chancroid in pregnancy
👶 Chancroid has not been shown to harm the baby or the course of pregnancy, but the ulcers still need prompt treatment and the pregnant person needs full STI screening. Azithromycin or ceftriaxone are the usual choices in pregnancy, and a non-estolate erythromycin is an alternative. Ciprofloxacin is avoided during pregnancy and breastfeeding. Because syphilis and HIV can pass to the baby, the blood tests and their repeats matter even more than usual. 📖 More on antibiotic choice during pregnancy: chlamydia treatment, partners and pregnancy.
🛡️ Chancroid and HIV
⚠️ Open genital ulcers break the skin barrier and draw in the very immune cells that HIV infects. Chancroid therefore makes it easier both to catch HIV and to pass it on, which is one reason public health services take it seriously despite its rarity. An HIV test at diagnosis and again about 3 months later is standard.
💉 People who already live with HIV can heal more slowly and are more likely to have treatment fail. They are usually followed up more closely, and some specialists prefer the 7-day erythromycin course or a longer plan over a single dose. If a new HIV diagnosis is made, starting HIV treatment is the priority after the ulcer is treated; modern single-tablet regimens such as Viropil (Dolutegravir + Lamivudine + Tenofovir) are prescribed by an HIV specialist. 📖 See starting HIV treatment: the first regimen and the first year.
📅 What healing looks like after treatment
Pain starts to ease
Ulcer visibly cleaner and smaller; clinic check
Small ulcers closed
Large ulcers and buboes finish healing
🩹 While the ulcer heals, gentle care helps. Wash it once or twice a day with plain warm water, pat it dry, wear loose cotton underwear, and pour warm water over the area while passing urine if it stings. Simple painkillers such as paracetamol or ibuprofen are fine for most adults. Large ulcers can leave a scar, and in uncircumcised men severe swelling occasionally makes the foreskin hard to pull back until it settles.
🔍 If the ulcer does not improve
🔥 When herpes and chancroid occur together
🧬 A painful ulcer can carry more than one infection. A positive herpes PCR does not rule out chancroid, and a negative syphilis blood test in week one does not rule out syphilis. In mixed infections, the clinician may give an antibiotic for chancroid and an antiviral for herpes at the same visit. First-episode genital herpes is usually treated for 7 to 10 days with an antiviral such as Valtrex (Valacyclovir), Zovirax (Acyclovir) or Famvir (Famciclovir). Antivirals do nothing for chancroid, and antibiotics do nothing for herpes, which is why a correct swab result matters so much.
Needs an antibiotic: azithromycin, ceftriaxone, ciprofloxacin or erythromycin
Needs an antiviral: valacyclovir, acyclovir or famciclovir
Needs penicillin, or doxycycline in allergy
👥 Telling and treating partners
📢 Chancroid passes easily through contact with an open ulcer, and people can carry it with few or no symptoms, especially women. Anyone who had sex with the patient in the 10 days before the ulcer appeared should be examined and treated, whether or not they have symptoms. Clinics can help with anonymous partner notification if contacting someone directly feels impossible.
🧳 Treating a sore after sex abroad
✈️ Travellers sometimes carry antibiotics and are tempted to treat a new genital sore themselves. This is a situation where self-treatment often goes wrong, because a single antibiotic dose can make syphilis harder to diagnose without curing it, does nothing for herpes, and gives false reassurance about HIV. If a sore appears abroad, a local sexual health clinic or doctor is the best first stop. If none is available, a dose of azithromycin taken on the advice of a doctor over the phone is better than nothing, but the full set of tests is still needed on return home.
Local clinic: swabs, tests, treatment
Remote advice, treatment, full tests on return
Random leftover antibiotics and no tests
🧻 Prevention
🛡️ Condoms lower the risk of chancroid when they cover the sore, but ulcers on the scrotum, vulva, groin or around the anus can still pass the infection. The most reliable step is to avoid sex when either partner has any genital sore, and to have it checked before resuming. Regular STI screening for people with new or multiple partners, and HIV pre-exposure prophylaxis for those at high risk of HIV, are part of the same picture. Male circumcision appears to lower the risk of chancroid, as it does for some other STIs, but it is not a substitute for other protection.
📋 Other STIs treated with the same antibiotics
🔗 The antibiotics used for chancroid also appear in the treatment of other infections a clinic may find at the same visit. That overlap is helpful, but each infection still has its own dose and length of course.
| 🦠 Infection | 💊 Usual first choice | 📝 Note |
|---|---|---|
| Chancroid | Azithromycin 1 g once or ceftriaxone | Partners from the last 10 days |
| Chlamydia | Doxycycline for 7 days | Azithromycin in pregnancy or when doxycycline cannot be used |
| LGV | Vibramycin (Doxycycline) for 21 days | Longer than plain chlamydia |
| Gonorrhea | Ceftriaxone injection | Resistance limits tablet options |
| Mycoplasma genitalium | Doxycycline, then a second drug chosen by resistance | Often behind urethritis that keeps returning |
📖 When discharge and burning keep coming back after treatment, see persistent urethritis in men and Mycoplasma genitalium.
🗿 Myths about genital ulcers and chancroid
🚨 When to see a doctor
⛔ Get checked promptly if you have:
🔹 Any new sore, blister or ulcer on the penis, vulva, around the anus or in the mouth after sex.
🔹 A painful, swelling lump in the groin, especially if it turns red or soft.
🔹 A sore that is not clearly better 7 days after starting treatment.
🔹 Fever, spreading redness, severe swelling of the foreskin or vulva, or trouble passing urine.
🔹 A rash, swollen face or lips, fainting or a racing irregular heartbeat after taking an antibiotic: seek urgent care.
📖 For STIs that cause discharge rather than sores, see gonorrhea treatment and chlamydia treatment.
❓ Frequently asked questions
What is chancroid?
Chancroid is a sexually transmitted infection caused by the bacterium Haemophilus ducreyi. It causes painful genital ulcers and, in about half of cases, a tender swollen gland in the groin.
How is chancroid different from herpes?
Herpes starts as clusters of small blisters that leave shallow erosions and tends to come back. Chancroid gives deeper, ragged, soft ulcers that do not recur once treated. A swab test is needed to be sure.
How is chancroid different from syphilis?
The syphilis sore is usually single, firm and painless with a clean base. The chancroid ulcer is painful, soft and ragged. Both can occur together, so syphilis testing is always done.
What is the treatment for chancroid?
Recommended options are azithromycin 1 g once, ceftriaxone 250 mg as one injection, ciprofloxacin 500 mg twice daily for 3 days, or erythromycin 500 mg three times daily for 7 days.
Does one dose of azithromycin really cure chancroid?
Yes, in most people. Azithromycin stays in the tissues for days, so a single 1 g dose works. A clinic check after 3 to 7 days confirms that the ulcer is healing.
How long does a chancroid ulcer take to heal?
Pain usually eases within 3 days and the ulcer looks better within a week. Small ulcers close in 1 to 2 weeks; large ulcers and swollen glands can take longer.
Does the swollen gland need to be drained?
Only if it becomes large and soft with pus. A clinician can drain it with a needle or small cut. Antibiotics are still needed, and the gland may settle more slowly than the ulcer.
Do my partners need treatment?
Yes. Anyone you had sex with in the 10 days before the ulcer appeared should be examined and treated, even without symptoms, to avoid passing it back and forth.
Why is an HIV test needed with chancroid?
Open genital ulcers make it easier to catch and pass on HIV. Testing is done at diagnosis and repeated about 3 months later, together with a syphilis test.
Can chancroid be treated in pregnancy?
Yes. Azithromycin or ceftriaxone are usual choices, and a non-estolate erythromycin is an alternative. Ciprofloxacin is avoided in pregnancy and breastfeeding.
📑 Sources and editorial
- 📘 National and international sexually transmitted infection treatment guidelines on genital ulcer disease and chancroid
- 🧪 Laboratory reviews on culture and PCR detection of Haemophilus ducreyi
- 🌍 Public health reviews on the global decline of chancroid and remaining endemic regions
- 🛡️ Studies on genital ulcer disease as a cofactor for HIV transmission
- 💊 Prescribing information for azithromycin, ciprofloxacin and erythromycin
- 🤰 Guidance on antibiotic use in pregnancy and breastfeeding
- 📖 Related reading: genital herpes treatment, syphilis with a penicillin allergy, chlamydia treatment, gonorrhea treatment, starting HIV treatment, persistent urethritis
- 🛒 Related products: Zithromax (Azithromycin), Cipro (Ciprofloxacin), Ilosone (Erythromycin), Vibramycin (Doxycycline), Valtrex (Valacyclovir), Zovirax (Acyclovir), Famvir (Famciclovir)
- 🩺 RXshop Editorial Team — reviewed by Emily Chen, MD — Internal Medicine
Medical Disclaimer: The information in this article is for educational and informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek guidance from a qualified healthcare provider with any questions you may have regarding a medical condition, and before starting, stopping or changing any medication.