Anal cancer consultations, second opinions and treatment planning across CION centres in Hyderabad · Call 1800 202 8726

CION Cancer Clinics

Herpes, syphilis and other infections that cause anal ulcers

An open sore at the anus is often caused by an infection, most commonly herpes or syphilis, and sometimes tuberculosis. All of these are treatable once the right test names the cause. A swab or a blood test usually gives the answer. This page explains how the common infections look, how they are tested without judgement, and why a sore that does not heal after treatment needs a biopsy. At CION Cancer Clinics, our specialists help you judge which changes need an examination soon, in private and without judgement.

Call 1800 202 8726

Speak to an oncologist

VS
Medically reviewed by Dr. Venkata Sushma PConsultant Radiation Oncologist · MBBS, MD (Radiation Oncology) · last reviewed November 2026, next review due November 2027
17+specialists on panel
15,000+patients treated
35+centres across Telangana & AP
4.8★ / 800+Google rating

The short answer

Can an infection cause an ulcer at the anus?

Yes, and infections are among the most common reasons for an open sore at the anus. Herpes and syphilis are the two doctors think of first. Both are passed by close skin contact, both are common in every part of society, and both are treated with medicine. Tuberculosis and a few rarer infections can also cause anal ulcers.

Why it matters to name the cause

Each infection needs its own treatment. An antiviral that settles herpes does nothing for syphilis, and a cream from the chemist treats neither. A simple swab or blood test usually gives the answer, and treatment often clears the sore within a few weeks.

Where cancer fits in

An anal cancer can also look like an ulcer that will not heal. It is far less common than an infection. The key difference is behaviour over time: an infected ulcer heals once the right treatment is given, and a cancer does not. That is why a sore which persists after treatment, or keeps coming back in the same place, needs a biopsy rather than another course of medicine.

An infection is a medical problem, not a judgement on anyone. Doctors who treat these see them every day.

The usual infections

Which infections cause sores around the anus?

These are the ones a doctor will consider. Each looks and behaves a little differently, but only a test confirms which one it is.

Herpes

Clusters of small painful blisters that burst into shallow, raw sores. A first episode can come with fever and tender groin glands. The virus stays in the body and can flare again, though later episodes are usually milder.

Often comes with

  • Tingling or burning before the sores appear
  • Marked pain, especially passing stool
  • Sores that come and go in the same area

Syphilis

A single firm, round sore that is often painless, so it can be missed or mistaken for a fissure. It heals by itself, but the infection carries on inside the body unless treated. A blood test confirms it, and injections or tablets treat it.

Tuberculosis

Still seen in India. It causes a slow, ragged ulcer or a fistula that does not heal with ordinary treatment. It needs a biopsy to confirm and a full course of TB medicine. See tuberculosis of the anal region.

Rarer infections

Chancroid, lymphogranuloma venereum and donovanosis can cause anal sores, sometimes with large groin glands. In people whose immune system is weakened, viruses such as CMV can too. Specialist clinics test for these when the common causes are ruled out.

Crohn's disease, a bowel condition, can also cause anal ulcers without any infection.

Not sure whether this applies to you?

Ask an oncologist
!
When this needs a doctor soon

Any sore at the anus should be seen by a doctor who looks at it, because the right treatment depends on the cause. A sore that has not healed after a few weeks of treatment, or keeps coming back in the same place, needs a biopsy. Heavy bleeding, or bleeding with dizziness, needs an emergency department today.

Finding the cause

How do doctors find out which infection it is?

A look at the sore

You lie on your side and the doctor looks at the area. You can say or point to where it hurts, ask for a chaperone or a woman doctor, and ask them to stop at any time.

A swab from the sore

A soft swab is wiped gently across the sore and sent to the laboratory. This is the usual test for herpes. It stings for a moment and takes seconds.

A blood test

Blood is checked for syphilis. You will often be offered tests for HIV and hepatitis at the same time. This is routine for anyone with an anal or genital sore and is not an assumption about you.

A biopsy if it does not heal

If tests are negative, or the sore persists after treatment, a tiny piece of tissue is taken under local anaesthetic. This confirms TB or Crohn's disease, and rules cancer in or out. See why a non-healing ulcer needs a biopsy.

Leave a number, we will call you

One field. No form to fill in, and no charge for the call.

Commonly believed

Four things people worry about with an infected sore

"Only certain kinds of people get these infections."

Herpes and syphilis occur in married and unmarried people, in every community and at every age. Many people with herpes never knew they had it until a sore appeared. A diagnosis says nothing about who you are.

"A painless sore cannot be serious."

Syphilis sores are often painless and heal on their own, which is exactly why the infection can be missed. A painless anal ulcer still needs a doctor to look at it and a blood test.

"Once the sore heals, the problem is over."

Herpes can return, and untreated syphilis continues inside the body after the sore has gone. Finishing the treatment you are given, and any follow-up blood tests, is what actually clears or controls the infection.

"Being offered an HIV test means the doctor thinks I have HIV."

Testing is offered routinely to everyone with these sores. It is good practice and a chance to rule something out. You can say yes or no, and the result is private.

Being straight with you

What this page cannot tell you

It cannot tell you what your sore is. Infections, a fissure, Crohn's disease and, less often, cancer can look alike. Only an examination and the right tests can separate them.

Who this page does not apply to

If you are living with HIV and have an anal sore, see your HIV physician soon, because some causes behave differently when immunity is low. If you have already been treated for anal cancer, report any new sore to your treating team. And if what you have is a raised growth rather than an open sore, our page on anal warts is the better place to start.

Where to be tested

A skin and sexual health clinic, often called a dermatology and venereology department, tests for and treats these infections. Many government hospitals run free clinics for this, and the visit is confidential. CION does not treat these infections itself. If a biopsy shows cancer, CION's tumour board plans the treatment from there.

You do not have to explain how you think you got an infection to be tested or treated for it.

Questions we are asked

Common questions about infections and anal ulcers

How can I tell herpes from syphilis?

Herpes usually starts as a cluster of painful blisters that break into raw sores and can return. Syphilis is more often a single firm sore that may not hurt at all. They can overlap, so a swab and a blood test are the only reliable way to know.

Can an anal ulcer be cancer?

It can, though infections, fissures and other causes are far more common. The warning sign is an ulcer that does not heal after treatment or keeps returning in the same place. That ulcer needs a biopsy so a pathologist can look at the tissue directly.

Are these infections treatable?

Yes. Syphilis is cleared with antibiotics. Herpes is controlled with antiviral tablets that shorten outbreaks and make them less frequent. TB is cleared with a full course of TB medicine. Each needs the right diagnosis first.

Does my partner need to be tested?

For syphilis and some other infections, yes, partners are usually advised to be tested and treated so the infection is not passed back. The clinic can advise you on how to raise it. You decide what you share and with whom.

Can I use an ointment from the chemist meanwhile?

Plain soothing creams can ease discomfort, but steroid or antibiotic creams can hide the sore without treating it and can make some infections worse. It is better to be tested first so the right medicine is given from the start.

Is HPV one of these infections?

HPV usually causes warts, which are raised growths rather than open sores. Certain HPV types are also linked to anal cancer, though most people with HPV never develop it. Our page on how HPV is spread explains the virus.

Will the test results stay private?

Medical results are confidential and are shared with the people treating you. You can ask the clinic who sees your records and how results will reach you. If privacy at home is a worry, tell them how you would like to be contacted.

What if the sore comes back after treatment?

A herpes sore can return and is usually treated again. Any sore that keeps coming back in exactly the same place, or never fully heals, should be seen again and biopsied. Do not keep retreating it on your own.

Your Specialists

Meet CION's anal cancer specialists. Bring your biopsy, scan or pathology report.

Our radiation, medical and surgical oncologists plan anal cancer care together: chemoradiation first, surgery only when it is needed, and the follow-up that comes after.

Dr. Naresh Gundu
Medical Oncologist

Dr. Naresh Gundu

MBBS, DNB (Internal Medicine), DM (Medical Oncology)

View Profile
Dr. C. Raghavendra Reddy
Medical Oncologist

Dr. C. Raghavendra Reddy

MBBS(Gold Medal), DNB(General Medicine), DM(Medical Oncology)(Gold Medal)

View Profile
Dr. Bharati Devi Gorantla
Medical Oncologist

Dr. Bharati Devi Gorantla

MBBS, MD(General Medicine), DM(Medical Oncology)(Adyar,Chennai), ECMO, MRCP SCE(UK)

View Profile
Dr. Owais Mohammed
Medical Oncologist

Dr. Owais Mohammed

MBBS, MD (General Medicine), DrNB (Medical Oncology), ECMO, MRCP SCE (Medical Oncology) (UK)

View Profile
Dr. T. Raghavender Reddy
Medical Oncologist

Dr. T. Raghavender Reddy

MBBS, DM (Medical Oncology), MD (Radiation Oncology)

View Profile
Dr. N. Kiranmayee
Medical Oncologist

Dr. N. Kiranmayee

MBBS, DM (Medical Oncology), MD (Internal Medicine)

View Profile
Dr. Muralidhar Muddusetty
Surgical Oncologist

Dr. Muralidhar Muddusetty

MBBS (AIIMS), MS (Surgery) (AIIMS), DNB (Surgical Oncology), MRCS (Edinburgh)

View Profile
Dr. Mohammed  Imaduddin
Surgical Oncologist

Dr. Mohammed Imaduddin

M.B.B.S, MS (General Surgery), M.Ch (Surgical Oncology)

View Profile
Dr. Venkata Sushma P
Radiation Oncologist

Dr. Venkata Sushma P

MBBS, MD (Radiation Oncology)

View Profile

Want a specific doctor for your case? Mention them when booking.

Book Free Consultation

Patient stories

Hear it from people we have treated

Every story is a video, in the patient's own words. Nothing here is a written testimonial.

Where to find us

Our centres in and around Hyderabad

Addressed by landmark, because that is how this city navigates. One helpline books a consultation at any of these centres, and your team will tell you where each test and operation takes place.

CION Ameerpet

Beside Blue Fox Hotel, Satyam Theatre Road

Begumpet SR Nagar Punjagutta
CION Kukatpally

Opposite Big Bazaar, Mumbai Highway

KPHB JNTU Bharat Nagar
CION L.B. Nagar

Anu Arcade, next to L.B. Nagar Metro station

Vanasthalipuram Nagole Hayathnagar
CION Tolichowki

Inside Premier Hospital, Khader Bagh Road

Mehdipatnam Attapur Rethibowli
CION Masab Tank

Mahavir Hospital, AC Guards, Lakdikapul

Lakdikapul Khairatabad Basheer Bagh
CION Banjara Hills

Road No. 12

Jubilee Hills Madhapur Film Nagar
CION Kompally

Suchitra Circle, NH-44

Suchitra Circle Alwal Dundigal
CION Balanagar

Balanagar Main Road

Balanagar Fatehnagar Moosapet
CION Siddipet

Lohith Sai Hospital, Shivaji Nagar

Gajwel Husnabad Dubbaka
CION Sangareddy

X Roads, Pothreddipalle

Narayankhed Zaheerabad Patancheru

Sources

  1. NHS — Symptoms of anal cancer
  2. American Cancer Society — Signs and Symptoms of Anal Cancer
  3. NHS — HIV and AIDS
  4. MedlinePlus — Anal Cancer

This page is general information, not a prescription. Do not change or stop any treatment based on what you read here. If anything is worrying you, contact your own treating team — or call our helpline and we will help you reach the right specialist.

Talk to us

Has a sore at the anus not healed?

Tell us how long it has been there and what has been tried, and we will tell you honestly whether it needs a biopsy and where to go. One helpline serves every CION centre.

Call 1800 202 8726

Speak to an oncologist

Explore more

Anal Cancer Topics

Browse CION’s anal cancer guide — lumps, warts and symptoms, HPV and precancer, tests and staging, chemoradiation, life after treatment, cost and care in Hyderabad. Tap any topic to read more.

Call 1800 202 8726Book a consultation
Call now Book free consultation