Long-lasting diarrhea and belly pain could be caused by inflammatory bowel disease (IBD). Learn about IBD causes, diagnosis and treatment.
Update Date: 21.08.2026
Inflammatory bowel disease (IBD) refers to a group of long-term conditions that cause inflammation in the digestive tract. The digestive tract is the part of the body that breaks down and absorbs food.
IBD is not the same as irritable bowel syndrome (IBS). IBS does not cause the inflammation or intestinal damage seen with IBD.
The most common types of IBD include:
IBD often comes and goes. There may be times when symptoms get worse. These are called flare-ups. There also may be times when symptoms get better or go away. This is called remission.
For some people, IBD causes mild symptoms. For others, it can be more serious and may lead to complications.
Symptoms of inflammatory bowel disease depend on where the inflammation is and how severe it is.
Common symptoms include:
Some people notice early signs before a flare-up, such as feeling more tired than usual, changes in bowel habits or a loss of appetite.
See a healthcare professional if your bowel habits change or if you have symptoms of IBD. Get care soon if you have:
The exact cause of inflammatory bowel disease is not known. Diet and stress do not cause IBD, but they may make symptoms worse for some people. Experts think several factors may play a role.
Risk factors for inflammatory bowel disease include:
IBD can affect people at any stage of life, including children and those who are pregnant. Specialized care may be needed in these situations.
Ulcerative colitis and Crohn's disease have some complications in common and others that are specific to each condition. Some complications can happen with both conditions, although some are more common with one type than the other. The risk of complications often depends on how long the disease has been active and how well it is controlled.
Complications found in both conditions may include:
Colon cancer. Having ulcerative colitis or Crohn's disease that affects most of your colon can increase your risk of colon cancer. Screening for cancer with a colonoscopy usually starts about 8 to 10 years after the IBD diagnosis is made. It may be repeated every 1 to 5 years depending on the findings.
If you also have primary sclerosing cholangitis (PSC) and colonic disease, colon cancer screening is recommended every year starting at diagnosis. This is due to an elevated risk of colon cancer. Ask a healthcare professional whether you need to have this test done sooner and more frequently.
Crohn's disease also may lead to:
Ulcerative colitis also may lead to:
To find out if someone has inflammatory bowel disease, a healthcare professional may use several tests and procedures. Diagnosis usually includes stool tests, blood tests and a colonoscopy. It also may include imaging tests.
These may include:
Blood tests. Blood tests can check for signs of infection, inflammation or anemia — a condition in which there are reduced numbers of red blood cells.
These tests also may be used to check liver function or the presence of infections that aren't active, such as tuberculosis.
These tests use a thin tube with a light and camera to look inside the digestive tract:
Common imaging tests used to help diagnose inflammatory bowel disease include:
CT scan. A CT scan is a special X-ray technique that provides more detail than a standard X-ray does. This test looks at the entire bowel as well as at tissues outside the bowel.
CT enterography is a special CT scan that involves drinking an oral contrast material and getting intravenous contrast images of the intestines. This test provides better images of the small bowel and has replaced barium X-rays in many medical centers.
MRI. An MRI scan uses a magnetic field and radio waves to create detailed images of organs and tissues. MRI used with a contrast fluid, called MR enterography, is particularly useful for evaluating a fistula around the anal area or the small intestine.
Sometimes MR enterography can be performed to check for disease status or progression. This test may be used instead of CT enterography to reduce the risk of radiation, especially in younger people.
Capsule endoscopy. This test involves swallowing a capsule with a camera in it. The camera takes pictures of the small intestine and sends them to a recorder worn on a belt. The images are then downloaded to a computer, displayed on a monitor and checked for signs of Crohn's disease. The camera exits the body painlessly in stool.
Endoscopy with biopsy may still be necessary to confirm a diagnosis of Crohn's disease. Those with Crohn's disease of the small intestine may be at a higher risk of the capsule getting stuck in the intestine, especially if there is a history of narrowing or surgery of the small intestine. Capsule endoscopy should not be done if there is a suspected stricture or blockage, also called an obstruction, in the bowel.
Treatment for inflammatory bowel disease aims to lower inflammation, improve symptoms and help prevent complications. Treatment may include medicines, surgery or both.
The type of treatment recommended depends on several factors, including how severe the disease is, which parts of the digestive tract are affected, and whether complications are present. Treatment plans often change over time based on how the condition responds.
Medicines may include:
If weight loss is serious, a healthcare professional may suggest special nutrition through a feeding tube or a vein. If there is a narrowing in the bowel, a low-residue diet may be recommended.
Surgery may be recommended if medicines and lifestyle changes do not help enough.
Healthy habits may help manage symptoms, but they do not replace medical treatment.
There is no clear proof that food causes IBD. Still, some foods and drinks may make symptoms worse, especially during a flare-up.
These tips may help:
Smoking raises the risk of Crohn's disease and can make it worse. People with Crohn's disease who smoke are more likely to have relapses and need medicines and repeat surgeries.
Stress may make symptoms harder to manage for some people. These steps may help:
Many people with digestive disorders use some form of complementary or alternative medicine. But there is little research on how safe and effective these treatments are. Talk with your healthcare team before taking these treatments.
IBD doesn't just affect you physically — it takes an emotional toll as well. If signs and symptoms are severe, your life may revolve around a constant need to run to the toilet. Even if your symptoms are mild, you may find it difficult to be out in public. All of these factors can alter your life and may lead to depression. Here are some things you can do:
Although you may feel discouraged about living with IBD, research is ongoing, and treatment continues to improve.
Symptoms of inflammatory bowel disease may first lead to a visit with your main healthcare team. However, you may then be referred to a professional who specializes in treating digestive disorders, called a gastroenterologist.
Because appointments can be brief, and there's often a lot of information to discuss, it's a good idea to be well prepared. Here's some information to help you get ready and what to expect at your visit.
When you make the appointment, ask if there's anything you need to do in advance, such as fasting before having a specific test. Make a list of:
Take a family member or friend along, if possible, to help you remember the information you're given.
For inflammatory bowel disease, some basic questions to ask your doctor include:
Your healthcare team is likely to ask you a number of questions. Being ready to answer them may reserve time to go over points you want to spend more time on. You may be asked about:
© 2026 Mayo Foundation for Medical Education and Research. All rights reserved. Terms of Use