There is no single "best" medicine for ulcerative colitis—the right one depends on how severe your symptoms are and how your body responds

Doctors choose ulcerative colitis medications based on where the inflammation is in your colon, how often you have flares, and whether you've tried other treatments before. A medicine that works well for one person may not work for another, and you may need to switch medications or combine them. The main categories are aminosalicylates (which reduce inflammation), corticosteroids (which suppress immune response quickly), immunosuppressants (which calm an overactive immune system long-term), and biologic drugs (which target specific immune cells). Your gastroenterologist will start with the mildest option that fits your situation and move to stronger treatments only if needed.

Most people stay on a maintenance medication even when symptoms disappear, because stopping treatment usually brings the inflammation back. Finding the right medication often takes trial and adjustment—your doctor will monitor your response and change the plan if needed.

Key Takeaways

  • Aminosalicylates like mesalamine are usually the first treatment tried for mild to moderate ulcerative colitis and work best when taken regularly, not just during flares.
  • Corticosteroids like prednisone work fast to stop acute flares but are not meant for long-term use because of side effects with extended exposure.
  • Immunosuppressants and biologic drugs are reserved for moderate to severe cases or when other medications have not worked.
  • Most people need to stay on a maintenance medication even when symptoms disappear, because stopping treatment usually brings the inflammation back.
  • Finding the right medication often takes trial and adjustment—your doctor will monitor your response and change the plan if needed.

Aminosalicylates: The first-line treatment for mild to moderate disease

Aminosalicylates, most commonly mesalamine (also called 5-ASA), reduce inflammation in the colon lining. They come as oral tablets, capsules, granules you mix with food, or rectal forms like enemas and suppositories. The rectal forms work best for inflammation in the lower colon and rectum; oral forms treat the entire colon. Mesalamine is usually tried first because it has fewer serious side effects than stronger medications.

Mesalamine works best when you take it every day, even when you feel fine. Many people mistakenly stop taking it once symptoms improve, then have a flare weeks or months later. Your doctor will tell you the dose and form that matches where your inflammation is. If mesalamine alone does not control your symptoms after 4 to 8 weeks, your doctor will add or switch to a different medication rather than increase the mesalamine dose further.

Corticosteroids: Fast relief during acute flares

Corticosteroids like prednisone, methylprednisolone, and budesonide work quickly to calm severe inflammation and are often used when a flare is active. They suppress the immune system broadly, which stops the inflammatory response fast—many people feel better within days. Prednisone is oral; budesonide is designed to release in the colon and has fewer whole-body side effects; methylprednisolone is given by IV in hospital settings for severe flares.

Corticosteroids are not maintenance medications. Doctors prescribe them for a set period—usually 4 to 12 weeks—then taper the dose down gradually. Long-term use causes bone loss, weight gain, mood changes, increased infection risk, and other complications. Once your flare is controlled, you move to a maintenance medication like mesalamine or an immunosuppressant to prevent the next flare. If you need corticosteroids more than twice a year, your doctor will likely recommend switching to or adding a stronger long-term medication.

Immunosuppressants: Long-term control when aminosalicylates are not enough

Immunosuppressants like azathioprine (Imuran) and 6-mercaptopurine (6-MP) calm an overactive immune system over weeks to months. They are used for moderate to severe ulcerative colitis or when mesalamine has not worked. These drugs take 8 to 12 weeks to reach full effect, so they are often started alongside a corticosteroid to control symptoms while waiting for the immunosuppressant to kick in.

Immunosuppressants require regular blood tests to monitor your liver and blood cell counts, because they can lower white blood cells and affect liver function. They also increase infection risk and, rarely, the risk of certain cancers with very long-term use. Your doctor will weigh these risks against the benefit of avoiding repeated corticosteroid courses or surgery. If you become pregnant or plan to become pregnant, tell your doctor—some immunosuppressants can affect pregnancy.

Biologic drugs: Targeting specific immune pathways in severe disease

Biologic medications are made from living cells and target specific parts of the immune system. The main types used for ulcerative colitis are TNF inhibitors (infliximab, adalimumab, golimumab), integrin inhibitors (vedolizumab), and IL-23 inhibitors (ustekinumab). They are given by IV infusion or injection and are used for moderate to severe disease that has not responded to aminosalicylates and immunosuppressants, or to avoid surgery.

Biologic drugs work faster than traditional immunosuppressants—some people see improvement in weeks rather than months. They also allow many people to reduce or stop corticosteroids. The main drawbacks are cost (often thousands of dollars per month, though insurance usually covers them), the need for ongoing infusions or injections, and increased risk of serious infections because they suppress specific immune pathways. Your doctor will screen you for tuberculosis and other infections before starting a biologic and will monitor you during treatment.

Combination therapy: When one medication is not enough

Many people need more than one medication to control ulcerative colitis. A common approach is mesalamine plus an immunosuppressant, or a biologic plus mesalamine. Combining medications can work better than increasing the dose of one drug, and it may allow you to use lower doses of each, reducing side effects. Your doctor decides which combinations make sense based on how severe your disease is and how you have responded to previous treatments.

If you are on a biologic, your doctor may continue mesalamine as maintenance therapy even though the biologic is doing most of the work. This approach has shown better long-term outcomes in some studies. Do not stop or change any medication on your own—stopping abruptly can trigger a severe flare, and switching between medications requires planning to avoid gaps in coverage.

What happens if medications stop working

Some people's ulcerative colitis stops responding to a medication they have been on for months or years. This is called loss of response and is more common with biologic drugs. Your doctor may increase the dose, switch to a different medication in the same class, or move to a completely different type of drug. If no medication controls your symptoms and you are having frequent severe flares or complications like toxic megacolon or perforation, surgery to remove the colon may be discussed as a definitive option.

Before concluding that a medication is not working, make sure you are taking it correctly and consistently. Many people with ulcerative colitis do not take their maintenance medication as prescribed, which looks like treatment failure but is actually a dosing issue. Talk honestly with your doctor about whether you are taking your medication as directed.

Frequently Asked Questions

Can I stop taking my ulcerative colitis medication once my symptoms go away?

No. Ulcerative colitis is a chronic condition, and stopping medication almost always brings inflammation back within weeks or months. Maintenance medications prevent flares; they do not cure the disease. Your doctor will tell you how long to stay on your current medication—usually indefinitely, or until you and your doctor decide to try stepping down under close monitoring.

How long does it take for ulcerative colitis medication to work?

Corticosteroids work in days to weeks. Mesalamine takes 4 to 8 weeks to show full benefit. Immunosuppressants and some biologic drugs take 8 to 12 weeks. If a medication has not improved your symptoms after the expected timeframe, your doctor will switch or add another drug rather than wait longer.

What if I am pregnant or planning to become pregnant?

Some ulcerative colitis medications are safe during pregnancy; others are not. Mesalamine and certain biologics are generally considered safe. Corticosteroids can be used short-term if needed. Immunosuppressants like azathioprine carry more risk. Tell your gastroenterologist and your obstetrician that you have ulcerative colitis so they can coordinate your care and choose medications that are safe for you and your baby.

Why does my doctor want me to try mesalamine first if it might not work?

Mesalamine has the fewest serious side effects and works for many people, especially those with mild to moderate disease. Starting with it avoids exposing you to stronger medications and their risks unless necessary. If mesalamine does not work after a fair trial, your doctor moves to the next option. This step-wise approach balances effectiveness with safety.

Can I switch medications on my own if one is not working?

No. Switching or stopping ulcerative colitis medications without medical guidance can trigger severe flares or complications. Your doctor needs to know why you think a medication is not working, monitor your symptoms during any change, and plan the transition carefully to avoid gaps in treatment. If you are having side effects or concerns, contact your gastroenterologist before making any changes.