Ulcer

An ulcer is an open sore on the skin or inside the body, like in the mouth or stomach. It happens when the top layer of skin or tissue breaks down, often due to injury, infection, or inflammation.

Condition

What people with Ulcer report

Every report comes from a Lived member, sent anonymously.

Have you tried Prilosec (Omeprazole) for Ulcer?

NameHow it went

About Ulcer

What It Is

An ulcer is an open sore that forms where the surface layer of the skin, or the lining of an organ such as the stomach or mouth, breaks down and does not heal in the usual way. An ordinary cut closes over within days. In an ulcer, the tissue at the base stays raw, and the sore can deepen or spread while whatever caused it is still at work. Ulcer describes a kind of wound rather than a single disease, and the word covers several quite different problems. The ones people meet most often are peptic ulcers, which form in the lining of the stomach or the duodenum (the first part of the small intestine); long-lasting skin ulcers on the legs and feet, usually linked to circulation problems, diabetes or pressure on the skin; and mouth ulcers, also called canker sores. Each type has its own causes and treatment, so the most useful first step is working out which kind of ulcer it is and what is keeping it from healing.

Causes & Risk Factors

An ulcer forms when tissue is damaged faster than it can repair itself, or when something it needs to heal, such as a good blood supply or relief from pressure and irritation, is missing. Peptic ulcers are most often caused by infection with Helicobacter pylori (H. pylori), a common stomach bacterium, or by nonsteroidal anti-inflammatory drugs (NSAIDs), the pain relievers that include aspirin, ibuprofen and naproxen. The risk from NSAIDs rises with long-term use, high doses, more than one NSAID at a time, or combining them with medicines such as corticosteroids. Smoking, older age and a past ulcer also make peptic ulcers more likely. Stress and spicy food do not cause them, although they can make symptoms worse. Skin ulcers on the lower legs and feet usually reflect a problem beneath the skin. Venous ulcers, the most common long-lasting wound, develop when damaged leg veins let blood pool and pressure build, often after a minor knock; varicose veins, a past deep vein thrombosis (a blood clot in a leg vein), obesity and limited mobility raise the risk. Arterial ulcers come from narrowed arteries that leave the skin short of blood. Diabetic foot ulcers develop because nerve damage stops people feeling small injuries, while reduced blood flow slows healing. Pressure ulcers, or bedsores, form over bony areas such as the hips, heels and lower back when someone cannot change position often enough. A single mouth ulcer often follows a minor injury, such as biting the cheek or rubbing against a sharp tooth or a denture, and mouth ulcers can also appear with stress, hormonal changes or low levels of nutrients such as iron or folic acid. Frequent or multiple mouth ulcers sometimes accompany conditions such as Crohn's disease, celiac disease or a weakened immune system.

How It's Diagnosed

Diagnosis starts with where the ulcer is, what it looks like and what else is going on in a person's health, because those clues usually point to the cause. For a suspected peptic ulcer, a clinician asks about upper abdominal pain, NSAID use and past ulcers, and usually tests for H. pylori with a breath, stool or blood test. An upper endoscopy, in which a thin flexible tube with a camera is passed through the mouth into the stomach and duodenum, can confirm the ulcer and allow small tissue samples (biopsies) to be taken. For a skin ulcer on the leg or foot, the size, depth and appearance of the wound are recorded and circulation is checked. A common test is the ankle-brachial index (ABI), which compares blood pressure at the ankle with blood pressure in the arm. A value below about 0.8 suggests narrowed leg arteries. In people with diabetes, stiffened arteries can give a falsely high reading, so a toe measurement is often used instead. Ultrasound of the veins or arteries, a check of sensation in the feet, and imaging to look for infection reaching the bone may follow. An ulcer that looks unusual or has not healed after several months of good care is usually biopsied, since inflammatory diseases and, occasionally, skin cancer can cause ulcers. Most mouth ulcers are diagnosed simply by looking at them. One that lasts longer than three weeks is examined more closely, sometimes with a biopsy, because a long-lasting mouth sore is occasionally a sign of mouth cancer.

Treatment Options

Treatment depends on the type of ulcer, but the principle is the same: remove or manage what is causing the damage, and give the tissue the conditions it needs to heal. Peptic ulcers usually heal with medicines that lower stomach acid. Proton pump inhibitors (PPIs) such as omeprazole (Prilosec) are the main choice, and histamine-2 (H2) blockers such as famotidine (Pepcid), which lower acid in a different way, are an alternative. If H. pylori is found, it is treated with a combination of two or more antibiotics plus a PPI, sometimes with bismuth. Taking every dose matters, because stopping early can leave resistant bacteria behind, and a follow-up test at least four weeks after finishing checks that the infection is gone. For an ulcer caused by NSAIDs, a clinician may suggest stopping them, switching to a different pain reliever, lowering the dose, or adding a PPI when an NSAID is still needed. Stopping smoking helps healing. Surgery is rarely needed and is reserved for ulcers that do not heal or for complications. Long-lasting skin ulcers are treated with careful wound care: removing dead tissue (debridement), controlling infection, and using dressings that keep the wound moist rather than letting it dry out in the air. Antibiotics are used when a wound is infected, but they do not make an uninfected ulcer heal. Beyond that, treatment targets the cause. Venous ulcers heal mainly with compression bandages or stockings, raising the leg and walking. Compression is started only after circulation has been checked, because squeezing a leg with poor arterial blood flow can make things worse. Arterial ulcers need a vascular specialist, since restoring blood flow with angioplasty (widening the artery with a balloon), a stent or bypass surgery is often what allows healing. Diabetic foot ulcers need pressure taken off the wound, often with a special cast or boot, along with blood sugar control and treatment of any circulation problem. Pressure ulcers are treated by relieving pressure through regular repositioning and pressure-relieving mattresses and cushions; ring-shaped donut cushions are avoided because they can reduce blood flow and worsen the sore. Most mouth ulcers heal on their own. Soft foods, avoiding very spicy, acidic or rough foods, and pharmacy gels, sprays or mouthwashes that numb pain or protect the sore can make eating easier in the meantime. A dentist or doctor can prescribe steroid treatments for severe or persistent ones.

What to Expect

Once the cause is treated, most peptic ulcers heal. They tend to come back if H. pylori is not cleared or NSAID use continues, so the follow-up test and a longer-term plan for pain relief matter as much as the first course of medicine. Clearing H. pylori makes another ulcer much less likely. Skin ulcers on the legs and feet are slower. Most venous leg ulcers heal within about six months with good compression care, but some take longer and a few never fully close. They often return, especially in the same leg, unless the underlying problem is managed, so wearing compression stockings long term, staying active, raising the legs when resting and stopping smoking are lasting habits rather than short-term fixes. Regular dressing changes and clinic visits are a normal part of treatment, and a wound that lasts for months can affect sleep, mobility, mood and social life. For people with diabetes, daily foot checks, well-fitting shoes and a foot examination at health care visits remain important for life, because foot ulcers are the most common route to amputation and are far easier to treat early. For someone who spends most of the day in bed or a wheelchair, regular changes of position and skin checks by the person or their caregivers help prevent new pressure ulcers. Mouth ulcers usually clear within one to two weeks, although some people get them repeatedly.

When to Seek Help

See a clinician if you have recurring burning or gnawing pain in the upper abdomen, a sore on the skin that has not healed within two weeks, or a mouth ulcer that lasts longer than three weeks or looks different from ones you have had before. If you have diabetes, contact your care team right away about a cut, blister or sore on your foot that does not start to heal within a few days, or skin on the foot that becomes red, warm or painful. Anyone with a skin ulcer that grows, becomes more painful or swollen, or starts to smell should also contact their care team promptly, since these can be signs of infection. Peptic ulcers can bleed or break through the wall of the stomach or duodenum. Get emergency care for vomiting blood or vomit that looks like coffee grounds, black or tarry stools, sudden severe abdominal pain that does not go away, or fainting, sweating or confusion that could mean significant blood loss.

Questions to Ask Your Doctor

  1. 1.What type of ulcer is this, and what do you think is keeping it from healing?
  2. 2.Do I need to be tested for H. pylori, and how will we confirm it has been cleared after treatment?
  3. 3.Is my circulation good enough for compression, or do I need a vascular assessment first?
  4. 4.If I need pain relief, what can I take that will not make a stomach ulcer worse?
  5. 5.What can I do day to day to help this heal and lower the chance of another ulcer?

Last reviewed • Oct 2026

Educational content, not medical advice.