An anti-inflammatory drug is any medication that reduces inflammation, the body’s immune response to injury or irritation that causes swelling, redness, pain, and heat. These drugs fall into three broad categories: over-the-counter painkillers like ibuprofen, prescription steroids like prednisone, and newer biologic therapies that target specific parts of the immune system. Which type you encounter depends entirely on the condition being treated and how severe it is.
How NSAIDs Work
Nonsteroidal anti-inflammatory drugs, or NSAIDs, are the most commonly used anti-inflammatory medications. The group includes familiar names: ibuprofen (Advil, Motrin), naproxen (Aleve), aspirin, and diclofenac. They work by blocking enzymes called COX-1 and COX-2, which your body uses to produce prostaglandins. Prostaglandins are chemical messengers that trigger inflammation, amplify pain signals, and raise your body temperature during a fever. By cutting off prostaglandin production, NSAIDs reduce all three at once.
The problem is that prostaglandins also do useful things. In your stomach, they help maintain the protective mucous lining. In your kidneys, they regulate blood flow. This is why NSAIDs can cause stomach ulcers and kidney problems, particularly with long-term use. Traditional NSAIDs like ibuprofen and aspirin block both COX-1 and COX-2 without distinction, which is what makes stomach side effects so common.
A subclass called COX-2 inhibitors was designed to be more selective, targeting only the COX-2 enzyme involved in inflammation while leaving the stomach-protecting COX-1 alone. Celecoxib (Celebrex) is the main one still in use. Others, like rofecoxib (Vioxx), were pulled from the market in 2004 after causing an unacceptable rate of heart attacks.
OTC Dosing Limits
For adults, the standard ibuprofen dose starts at 400 mg, followed by 200 to 400 mg every four hours as needed, with a maximum of four doses in 24 hours. Adults over 65 should not exceed 220 mg every 12 hours unless directed by a doctor. These limits exist because the risks of NSAIDs, particularly to the stomach, kidneys, and cardiovascular system, climb with both dose and duration.
One critical restriction applies to children: aspirin should never be given to children or teenagers, especially during viral illnesses like the flu or chickenpox. Aspirin use during these infections has been linked to Reye’s syndrome, a rare but potentially fatal condition that causes swelling in the liver and brain. The only exception is children with specific chronic conditions, such as Kawasaki disease, who may need aspirin under close medical supervision.
Cardiovascular and Bleeding Risks
The FDA has strengthened its warning that non-aspirin NSAIDs can cause heart attacks and strokes. This risk is not limited to people who already have heart disease. It applies broadly, and it increases the longer you take these drugs. The FDA also recommends avoiding NSAIDs entirely after 20 weeks of pregnancy because they can reduce amniotic fluid levels.
If you take a blood thinner (an oral anticoagulant), adding an NSAID on top significantly raises your bleeding risk. A large study of patients on anticoagulants found that those who started taking an NSAID had roughly 60 to 70 percent higher rates of major bleeding and clinically significant bleeding episodes. NSAIDs contribute to this risk in multiple ways: they interfere with platelet clumping, damage the stomach lining, and can cause slow intestinal bleeding that drops hemoglobin levels over time. The combination also doubles the risk of hospitalization for heart failure.
Corticosteroids: Stronger but Riskier
Corticosteroids like prednisone, cortisone, and dexamethasone are a completely different class of anti-inflammatory drug. They suppress the immune system more broadly than NSAIDs, which makes them effective for severe inflammatory conditions like lupus flares, serious asthma attacks, and autoimmune diseases. They work fast and powerfully, but they come with a much heavier side-effect burden when used long term.
One of the most significant consequences of prolonged steroid use is bone loss. Corticosteroids directly suppress the cells that build new bone while temporarily stimulating the cells that break it down. They also weaken the bone’s structural proteins and the surrounding muscle. What makes this particularly dangerous is that fractures from steroid-induced bone loss can happen at bone density levels that would normally be considered safe in other forms of osteoporosis. In other words, your bone scan might look acceptable, but your bones are still fragile.
Because of these risks, experts strongly recommend against using oral or injectable systemic corticosteroids for long stretches. Local injections into a single inflamed joint are a different story. Those deliver the drug directly where it’s needed without flooding the whole body, and they can provide meaningful temporary relief from arthritis or bursitis pain.
Biologic Anti-Inflammatory Drugs
Biologics represent the newest generation of anti-inflammatory treatment. Unlike NSAIDs or steroids, which broadly dampen inflammation, biologics are precision tools. They target specific proteins in the immune system that drive chronic inflammatory diseases like rheumatoid arthritis, psoriasis, and ankylosing spondylitis.
The first widely used biologics were TNF inhibitors, which block a protein called tumor necrosis factor alpha. TNF-alpha is a key driver of joint destruction in rheumatoid arthritis, and blocking it can slow or halt disease progression in many patients. Another group targets interleukin-6, a different immune signaling protein. These work especially well in patients whose disease is driven more by a specific branch of the immune system involving B cells and antibody-producing cells.
Newer biologics go after other targets. IL-17 inhibitors block a protein involved in conditions like psoriasis and spinal arthritis, offering an alternative for people who don’t respond to TNF blockers. Another drug targets both IL-12 and IL-23. A newer oral option, called JAK inhibitors, blocks the effects of multiple immune signals at once rather than just one, giving it a broader reach than a single biologic.
All biologics share one important trade-off: because they suppress parts of your immune system, they increase your susceptibility to infections. This is true across every subclass, whether TNF inhibitors, interleukin blockers, or JAK inhibitors. They’re reserved for moderate to severe disease that hasn’t responded to simpler treatments, and they require ongoing monitoring.
Choosing the Right Type
The category of anti-inflammatory drug that makes sense depends on what you’re dealing with. For a headache, a pulled muscle, or menstrual cramps, an over-the-counter NSAID like ibuprofen or naproxen is the standard first choice. For a sudden, severe inflammatory flare in conditions like gout or asthma, a short course of corticosteroids can bring rapid relief. For chronic autoimmune diseases where the immune system is actively destroying tissue, biologics or other targeted therapies offer disease control that NSAIDs and steroids simply can’t match.
What unites all three categories is the basic principle: inflammation is driven by specific chemical signals in your body, and each drug class interrupts those signals at a different point. NSAIDs block prostaglandin production at the source. Corticosteroids suppress immune activity across multiple pathways. Biologics snipe individual immune proteins. The more targeted the drug, the fewer body-wide side effects it tends to cause, but the more expensive and complex it becomes to use.

