Celecoxib: what it treats, how to take it, side effects

Last updated September 3, 2026.

Celecoxib is the COX-2 inhibitor - an NSAID built to target inflammation with less stomach trouble than its older cousins. You may know it as Celebrex. "Less stomach trouble" is a relative claim, though: it still carries the full NSAID boxed warning, and it has one allergy flag all its own.

What does it treat?

The pain, tenderness, swelling, and stiffness of osteoarthritis, rheumatoid arthritis, and ankylosing spondylitis - plus juvenile rheumatoid arthritis in children 2 and older, painful menstrual periods, and short-term pain from injuries, surgery, and dental work. It is also used, with surgery and other treatments, to reduce colon polyps in familial adenomatous polyposis.

How do you take it?

Once or twice a day, same times every day. Up to 200 mg per dose, food is optional; more than 200 mg per dose, take it with food - ask your pharmacist if you are unsure which you are on. Cannot swallow the capsule? It opens and sprinkles over a teaspoon of cold applesauce, keeps 6 hours in the fridge, and gets followed by a full glass of water. Missed dose: take it when you remember unless the next one is close; never double up.

Questions about celecoxib

Start a free AI doctor consult →

Side effects to know

Who should not take it?

Anyone with a sulfa allergy - that is the celecoxib-specific flag - plus allergy to aspirin or other NSAIDs. Anyone who recently had a heart attack, unless their doctor directs it, and no one right before or after coronary bypass surgery. The NSAID class risks apply: heart attack and stroke risk climbing with long use, and stomach bleeding risk climbing with age, long use, and heavy alcohol. Blood thinners, aspirin, other NSAIDs, salicylate pain relievers, oral steroids, and SSRI or SNRI antidepressants all need flagging. Around 20 weeks of pregnancy or later it can harm the fetus. Flag asthma with nasal polyps, heart failure, swelling, and liver or kidney disease.

When is it an emergency?

Chest pain, one-sided weakness, slurred speech, or trouble breathing is a 911 call. Vomiting blood or black tarry stools means same-day care. For an overdose, call Poison Control at 1-800-222-1222. Pymander's escalation routing is built and tested specifically for this class of decision; see the safety architecture working paper.

What a Pymander AI doctor consult looks like

Week three on the celecoxib - how is the knee, and any stomach or swelling issues?
One 200 mg capsule every morning. The knee swelling is down enough that stairs feel normal again. No stomach pain, no ankle swelling, and I checked - no sulfa allergy in my history.
Thanks for giving me all this information. Based on what you've said, the celecoxib is doing its job cleanly. Keep the single-morning-capsule rhythm, keep ibuprofen and naproxen off the table since they stack the risk, and keep alcohol light. The heart-warning symptoms - chest pain, one-sided weakness, slurred speech - are always a 911 call, and black stools are a same-day one. Here's your care note to share with your care team.
Care note
Celecoxib course check
On celecoxib 200 mg once daily for knee osteoarthritis, week 3; swelling down, stairs normal. No GI or edema issues. Sulfa allergy ruled out.
View care note →

Illustrative example, not a real member's messages.

Common questions

How is celecoxib different from ibuprofen?

Both are NSAIDs, but celecoxib selectively blocks COX-2, the inflammation enzyme, while sparing more of COX-1, which protects the stomach lining - the design goal was fewer ulcers. The trade-off history is real: this class made headlines for heart risk, and celecoxib still carries the same NSAID boxed warning about heart attack, stroke, and stomach bleeding. Gentler on the stomach on average, not risk-free.

Why did my doctor ask if I am allergic to sulfa drugs?

Celecoxib is chemically related to sulfonamides, and MedlinePlus lists sulfa medications among the allergies to disclose before taking it - a sulfa-allergic person can react to celecoxib. It is the one allergy question that is specific to this drug, and the answer changes the prescription.

Why does celecoxib warn about heart attacks if it is the safer NSAID?

Safer for the stomach, not the heart. MedlinePlus states the class warning: people taking NSAIDs like celecoxib may have a higher risk of heart attack or stroke, without warning, sometimes fatal, and climbing with long-term use. A recent heart attack or upcoming bypass surgery makes it a no unless your doctor directs otherwise. Your doctor weighs that against your specific risk factors - smoking, blood pressure, cholesterol, diabetes.

Can I open the celecoxib capsule if I can't swallow pills?

Yes - this one allows it. MedlinePlus says the capsule contents can be sprinkled over a teaspoon of cold or room-temperature applesauce, stored up to 6 hours in the refrigerator, then swallowed whole with water to wash it all down. Useful for children on it too, since it is approved for juvenile arthritis from age 2.

Can I drink alcohol while taking celecoxib?

Heavy drinking is on the risk list - MedlinePlus names large amounts of alcohol among the factors that raise the chance of stomach ulcers and bleeding on NSAIDs. Light to none is the honest answer, and your doctor can calibrate it to your other risk factors.

What happens if I miss a dose of celecoxib?

Take it as soon as you remember, unless it is almost time for the next one - then skip it and never double up. At once or twice daily, anchoring it to a meal (required anyway above 200 mg per dose) keeps the routine automatic.

Sources

Pymander is not a replacement for a physician and does not provide medical advice, diagnosis, or treatment.

Free AI doctor, 24/7 by textStart a free AI doctor consult