COX-2 (cyclooxygenase-2) is an enzyme your body produces to drive inflammation, pain, and fever. It works by converting a fatty acid found in cell membranes, called arachidonic acid, into prostaglandins, which are chemical messengers that trigger swelling, increase pain sensitivity, and raise body temperature. COX-2 is the target of common pain relievers like ibuprofen and a class of prescription drugs designed specifically to block it.
How COX-2 Works in Your Body
Every cell membrane contains arachidonic acid. When tissue is damaged or infected, COX-2 acts as a gatekeeper, converting that fatty acid into prostaglandins through a two-step chemical process. First it transforms arachidonic acid into an intermediate compound, then it converts that intermediate into a precursor that branches out into five different signaling molecules. Each of these molecules has a different job: some cause blood vessels to dilate, some make nerve endings more sensitive to pain, some promote blood clotting, and others recruit immune cells to the site of injury.
COX-2 is called an “inducible” enzyme, meaning your body doesn’t keep large amounts of it around all the time. Instead, cells ramp up COX-2 production when they detect damage, infection, or stress. This is what distinguishes it from its sibling enzyme, COX-1, which is present at steady levels in most tissues and handles routine housekeeping tasks like protecting the stomach lining and supporting normal blood clotting.
COX-2 Beyond Inflammation
Although COX-2 is best known for its role in inflammation, it also performs quieter jobs in healthy tissue. In the kidneys, COX-2 is expressed at low levels under normal conditions and helps regulate salt and water balance. When the kidneys are injured or obstructed, COX-2 production spikes dramatically, increasing prostaglandin output as part of the organ’s stress response. This is one reason why drugs that block COX-2 can sometimes affect kidney function, particularly in people who already have reduced blood flow to the kidneys.
COX-2 is also active in the brain, the reproductive system, and developing bone tissue, where prostaglandins play roles in processes that have nothing to do with inflammation.
COX-2 Inhibitors: Drugs That Block It
The discovery of COX-2 led to a generation of painkillers designed to block it selectively, sparing COX-1 and its protective effects on the stomach. The FDA has approved several selective COX-2 inhibitors over the years, including celecoxib (Celebrex), rofecoxib (Vioxx), and valdecoxib (Bextra). Vioxx was approved in 1999 for osteoarthritis, acute pain, and menstrual pain, and later for rheumatoid arthritis in both adults and children, before being pulled from the market in 2004 due to cardiovascular concerns. Bextra was also withdrawn. Celebrex remains available.
Traditional over-the-counter pain relievers like ibuprofen and naproxen block both COX-1 and COX-2. This makes them effective against pain and inflammation but also more likely to irritate the stomach, because COX-1 normally helps maintain the protective mucus lining of the digestive tract.
Stomach Protection and Tradeoffs
The original promise of selective COX-2 inhibitors was fewer stomach problems. Clinical data supported that promise: in short-term studies, COX-2 inhibitors caused about the same amount of stomach damage as a placebo, even at high doses. Long-term data showed roughly a 60% reduction in serious gastrointestinal complications like perforation and hemorrhage compared to traditional painkillers.
That said, the stomach advantage doesn’t mean zero risk. Among patients taking any NSAID (including COX-2 inhibitors) for three to six months, about 1% develop upper gastrointestinal ulcers, bleeding, or perforation. That number climbs to 2% to 4% for patients treated for a full year. Older adults and anyone with a history of stomach ulcers face higher risk. These events can happen without warning symptoms.
Heart Risk: Why Vioxx Was Withdrawn
Blocking COX-2 reduces the production of a prostaglandin that helps keep blood vessels relaxed and prevents blood platelets from clumping together. Meanwhile, COX-1 continues producing a clotting-promoting compound called thromboxane. This imbalance, less vessel relaxation combined with normal clotting activity, tips the scales toward blood clot formation. That’s the biological reason COX-2 inhibitors carry cardiovascular risk.
Current FDA labeling for celecoxib states plainly that all NSAIDs, including selective COX-2 inhibitors, increase the risk of serious cardiovascular events such as heart attack and stroke. This risk can appear early in treatment and grows with higher doses and longer use. The FDA’s guidance is to use the lowest effective dose for the shortest time needed.
COX-2 and Cancer
COX-2 plays a role in tumor biology that goes well beyond inflammation. Many cancers, including pancreatic, colorectal, and breast cancers, show abnormally high levels of COX-2. The enzyme promotes tumor growth in part by stimulating angiogenesis, the formation of new blood vessels that feed a growing tumor. Research in pancreatic cancer has shown that elevated COX-2 drives the release of a growth signal called VEGF, which directly triggers new blood vessel formation. Blocking COX-2 in these studies decreased angiogenesis.
COX-2 overexpression has also been linked to resistance to chemotherapy drugs and to the ability of cancer cells to spread to distant organs. This has led to ongoing interest in whether COX-2 inhibitors, or even regular aspirin, might play a role in cancer prevention or treatment, particularly for colorectal cancer. Some of the strongest epidemiological evidence comes from long-term aspirin users, who show lower rates of certain cancers, though the cardiovascular and gastrointestinal risks of these drugs mean they aren’t recommended for cancer prevention in most people.
Why COX-2 Matters for Everyday Decisions
If you take ibuprofen for a headache, you’re blocking COX-2 (along with COX-1). If your doctor prescribes celecoxib for arthritis, you’re blocking COX-2 more precisely. Understanding what COX-2 does helps explain why these drugs relieve pain and swelling, why they can upset your stomach or affect your kidneys, and why long-term use requires weighing benefits against cardiovascular and gastrointestinal risks. The enzyme itself is neither good nor bad. It’s a tool your body uses to respond to damage, and medications that target it are simply intercepting that response.

