Skip navigation

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Secure .gov websites use HTTPS
A lock ( ) or https:// means you’ve safely connected to the .gov website. Share sensitive information only on official, secure websites.

URL of this page: //medlineplus.gov/ency/article/000250.htm

Ulcerative colitis

Ulcerative colitis is a condition in which the lining of the large intestine (colon) and rectum become inflamed. It is a form of inflammatory bowel disease (IBD). Crohn disease is another form of IBD.

Causes

The cause of ulcerative colitis is unknown. People with this condition have problems with their immune system. However, it is not clear if immune problems cause this illness. Stress and certain foods can trigger symptoms, but they do not cause ulcerative colitis.

Ulcerative colitis may affect any age group. The peaks age of onset is between ages 15 to 30, and again between ages 50 and 80.

The disease begins in the rectal area. It may stay in the rectum or spread to higher areas of the large intestine. However, the disease does not skip areas. It may involve the entire large intestine over time.

Risk factors include a family history of ulcerative colitis or other autoimmune diseases, or Jewish ancestry.

Symptoms

The symptoms can be more or less severe. They may start slowly or suddenly. Half of people only have mild symptoms. Others have more severe attacks that occur more often. Many factors can lead to attacks.

Symptoms may include:

  • Pain in the abdomen (belly area) and cramping.
  • A gurgling or splashing sound heard over the intestine.
  • Blood and possibly pus in the stools.
  • Diarrhea, from only a few episodes to very often.
  • Fever.
  • Feeling that you need to pass stools, even though your bowels are already empty (tenesmus). It may involve straining, pain, and cramping.
  • Weight loss.

Children's growth may slow.

Other symptoms that may occur with ulcerative colitis include the following:

  • Eye irritation
  • Joint pain and swelling
  • Nausea and vomiting
  • Skin lumps or ulcers

Exams and Tests

Colonoscopy with biopsy is most often used to diagnose ulcerative colitis. Colonoscopy is also used to screen people with ulcerative colitis for colon cancer.

Colonoscopy

Other tests that may be done to help diagnose this condition include:

Sometimes, tests of the small intestine are needed to differentiate between ulcerative colitis and Crohn disease, including:

Treatment

The goals of treatment are to:

  • Control the acute attacks
  • Prevent repeated attacks
  • Help the colon heal

During a severe episode, you may need to be treated in the hospital. Your health care provider may prescribe corticosteroids. You may be given nutrients through a vein (IV line).

DIET AND NUTRITION

Certain types of foods may worsen diarrhea and gas symptoms. This problem may be more severe during times of active disease. Diet suggestions include:

  • Eat small amounts of food throughout the day.
  • Drink plenty of water (drink small amounts throughout the day).
  • Avoid high-fiber foods (such as bran, beans, nuts, seeds, and popcorn).
  • Avoid fatty, greasy, or fried foods and sauces (butter, margarine, and heavy cream).
  • Limit milk products if you are lactose intolerant. Dairy products are a good source of protein and calcium.

STRESS

You may feel worried, embarrassed, or even sad or depressed about having a bowel accident. Other stressful events in your life, such as moving, or losing a job or a loved one can cause worsening of digestive problems.

Ask your provider for tips about how to manage your stress.

MEDICINES

You can take medicine to treat very bad diarrhea. Loperamide (Imodium) can be bought without a prescription. Always talk to your provider before using these medicines.

Medicines that may be used to decrease the number of attacks include:

  • 5-aminosalicylates such as mesalamine or sulfasalazine, which can help control mild to moderate symptoms. Some forms of the medicine are taken by mouth. Others must be inserted into the rectum.
  • Medicines to quiet the immune system.
  • Corticosteroids such as prednisone. They may be taken by mouth during a flare-up or inserted into the rectum.
  • Immunomodulators, medicines taken by mouth that affect the immune system, such as azathioprine and 6-MP.
  • Biologic and small molecule medicines.
  • Acetaminophen (Tylenol) may help relieve mild pain. Avoid medicines such as aspirin, ibuprofen (Advil, Motrin), or naproxen (Aleve, Naprosyn). These can make your symptoms worse.

SURGERY

Surgery to remove the colon will cure ulcerative colitis and removes the threat of colon cancer. You may need surgery if you have:

  • Colitis that does not respond to intensive medical therapy
  • Changes in the lining of the colon that suggests an increased risk for cancer
  • Severe problems, such as rupture of the colon, severe bleeding, or toxic megacolon

Most of the time, the entire colon, including the rectum, is removed. After surgery, you may have:

  • An opening in your belly called the stoma (ileostomy). Stool will drain out through this opening.
  • A procedure that connects the small intestine to the anus to gain more normal bowel function.

Support Groups

Social support can often help with the stress of dealing with illness, and support group members may also have useful tips for finding the best treatment and coping with the condition.

More information and support for people with Crohn disease and ulcerative colitis and their families can be found at:

www.crohnscolitisfoundation.org

Outlook (Prognosis)

Symptoms are mild in about one half of people with ulcerative colitis. More severe symptoms are less likely to respond well to medicines.

Cure is only possible through complete removal of the large intestine.

The risk for colon cancer increases in each decade after ulcerative colitis is diagnosed.

Possible Complications

You have a higher risk for colon cancer if you have ulcerative colitis. Your provider will recommend a colonoscopy to evaluate for colon cancer at particular intervals.

More severe episodes that recur may cause the walls of the intestines to become thickened, leading to:

  • Colon narrowing or blockage (more common in Crohn disease)
  • Episodes of severe bleeding
  • Severe infections
  • Sudden widening (dilation) of the large intestine within one to a few days (toxic megacolon)
  • Tears or holes (perforation) in the colon
  • Anemia, low blood count

Problems absorbing nutrients may lead to:

  • Problems maintaining a healthy weight
  • Slow growth and development in children
  • Anemia or low blood count

Less common problems that may occur include:

  • A type of arthritis that affects the bones and joints at the base of the spine, where it connects with the pelvis (ankylosing spondylitis)
  • IBD-associated peripheral arthritis (such as hands, knees, ankles).
  • Liver disease
  • Tender, red bumps (nodules) under the skin, which may turn into skin ulcers
  • Inflammation in the eye

When to Contact a Medical Professional

Contact your provider if:

  • You develop ongoing abdominal pain, new or increased bleeding, fever that does not go away, or other symptoms of ulcerative colitis
  • You have ulcerative colitis and your symptoms worsen or do not improve with treatment
  • You develop new symptoms

Prevention

There is no known prevention for this condition.

Alternative Names

Inflammatory bowel disease - ulcerative colitis; IBD - ulcerative colitis; Colitis; Proctitis; Ulcerative proctitis

References

Ananthakrishnan AN, Reguerio MD, Rubin DT. Management of inflammatory bowel diseases. In: Chung RT, Rubin DT, Wilcox CM, eds. Sleisenger and Fordtran's Gastrointestinal and Liver Disease. 12th ed. Philadelphia, PA: Elsevier; 2026:chap 118.

Horesh N, Emile S, Wexner SD. Colon and rectum. In: Tyler DS, ed. Sabiston Textbook of Surgery: The Biological Basis of Modern Surgical Practice. 22nd ed. Philadelphia, PA: Elsevier; 2026:chap 95.

Kaplan GG, Ng SC. Epidemiology, pathogenesis, and diagnosis of inflammatory bowel diseases. In: Chung RT, Rubin DT, Wilcox CM, eds. Sleisenger and Fordtran's Gastrointestinal and Liver Disease. 12th ed. Philadelphia, PA: Elsevier; 2026:chap 117.

Lichtenstein GR. Inflammatory bowel disease. In: Goldman L, Cooney KA, eds. Goldman-Cecil Medicine. 27th ed. Philadelphia, PA: Elsevier; 2024:chap 127.

Rubin DT, Ananthakrishnan AN, Siegel CA, Barnes EL, Long MD. ACG Clinical Guideline update: ulcerative colitis in adults. Am J Gastroenterol. 2025;120(6):1187-1224. PMID: 40701556 pubmed.ncbi.nlm.nih.gov/40701556/.

Review Date 1/13/2026

Updated by: Todd Eisner, MD, Private practice specializing in Gastroenterology in Boca Raton and Delray Beach, Florida at Gastroenterology Consultants of Boca Raton. Affiliate Assistant Professor, Florida Atlantic University School of Medicine. Review provided by VeriMed Healthcare Network. Also reviewed by David C. Dugdale, MD, Medical Director, Brenda Conaway, Editorial Director, and the A.D.A.M. Editorial team.

Related MedlinePlus Health Topics