What are NSAIDs, really?
NSAIDs stands for non-steroidal anti-inflammatory drugs. The name is a mouthful but the idea is simple: pills that take the edge off pain, bring down fever, and quiet inflammation, without being hormones. The word "non-steroidal" is just there to separate them from the steroid family — prednisone and friends — which also fight inflammation but do it through a completely different door, with a completely different price tag.
In the real world this name covers a huge family. Ibuprofen (Advil, Motrin), naproxen (Aleve), diclofenac (Voltaren), ketorolac (Toradol), meloxicam (Mobic), celecoxib (Celebrex), nabumetone, indomethacin, and good old aspirin (Bayer) are all NSAIDs. They are cousins by mechanism, but each has its own personality. One is harder on the stomach, another nudges the heart more, a third is gentler on both but also milder in effect. We will get to that.
The single most useful thing to keep in your head: NSAIDs are a symptomatic tool. They turn down the volume on pain and inflammation. They do not repair the thing that is causing it.
How they work — the simple version
Inside your body there is an enzyme called cyclooxygenase, or COX for short. Think of it as a tiny factory that takes fatty acids and turns them into a family of signaling molecules called prostaglandins. Prostaglandins do a lot of jobs, but three are particularly loud: they crank up pain, they fan inflammation, and they push body temperature up. When your tooth throbs or your knee aches, prostaglandins are the megaphone amplifying that signal on its way to your brain.
NSAIDs jam the COX factory. Less COX activity means fewer prostaglandins, which means a quieter signal. The pain is not "treated" — it is just no longer shouting. This was figured out in 1971 by British pharmacologist John Vane, who later won a Nobel Prize for it (Vane, Nature New Biology, 1971).
Here is where it gets more interesting. COX comes in two main flavors:
- COX-1 is the maintenance crew. It runs in the background all day, every day, in healthy tissue. Its prostaglandins protect the stomach lining, keep blood flow through the kidneys steady, and help platelets clump together when you cut yourself.
- COX-2 is the fire department. It only really shows up when tissue is injured or inflamed. Its prostaglandins are the ones throwing pain, swelling and heat at the problem area.
The dream, in a perfect drug, would be to switch off only COX-2 — kill the fire, leave the maintenance crew alone. That dream produced the selective COX-2 inhibitors, the "coxibs": celecoxib, etoricoxib, the now-infamous rofecoxib (Vioxx). The rest — ibuprofen, naproxen, diclofenac, ketorolac — are non-selective. They hit both. About half the trouble with this class lives inside that single design choice.
Aspirin is a slight oddball. At low doses it irreversibly disables COX-1 in platelets, which is why a baby aspirin is taken to thin the blood after a heart attack — not for pain.
What else they do to your body, beyond pain
Once you understand the mechanism, the side effects stop looking like a random list of warnings and start looking like physics. You disabled the maintenance crew. The maintenance crew was doing things. Those things now break.
Stomach and gut. Those COX-1 prostaglandins are part of the system that protects your stomach from its own acid: they push out mucus, drive bicarbonate secretion, and keep blood flow through the stomach wall healthy. Block COX-1 and the shield gets thin. Result: heartburn, erosions, ulcers, sometimes bleeding ulcers. And here is the part most people miss — this is not just local irritation from a tablet sitting in your stomach. Even if you take an NSAID by injection or rectally, the risk to your stomach lining stays, because the harm is systemic, traveling through your blood. Bjarnason and colleagues laid the mechanism out cleanly in Gastroenterology, 2018.
Kidneys. Prostaglandins help dilate the blood vessels feeding the kidneys, especially when you are dehydrated, sick, or your blood pressure has dropped. NSAIDs cut that support. For a healthy 25-year-old at a music festival on a hot day, that is barely a blip. For someone older, on diuretics, on an ACE inhibitor, or just dried out from a stomach bug, it is a real path to acute kidney injury.
The heart and blood vessels. This is the plot twist of modern pharmacology. In the early 2000s, the selective COX-2 inhibitors were marketed as the safe answer to all that NSAID stomach trouble. And technically, they were gentler on the gut. But the VIGOR trial showed something nobody wanted to see: people on rofecoxib had several times more heart attacks than people on naproxen (Bombardier et al., NEJM, 2000). By 2004 rofecoxib (Vioxx) had been pulled from the market over cardiovascular deaths — one of the largest pharma withdrawals in history. A massive Lancet meta-analysis in 2013 (Bhala et al., the CNT Collaboration) confirmed that diclofenac and high-dose ibuprofen carry cardiovascular risk in the same neighborhood as the coxibs, while naproxen looks comparatively gentler. Based on that body of evidence, in 2015 the FDA strengthened the warnings on every non-aspirin NSAID label about heart attack and stroke risk.
Blood pressure. Through that same prostaglandin system, NSAIDs can nudge your blood pressure up a bit and blunt the effect of several blood-pressure medications. For someone whose hypertension is just barely controlled, an over-the-counter habit can be the straw that pushes the number out of the safe zone.
None of this means NSAIDs are bad. It means their pharmacology is double-sided. The mechanism that makes them work is the mechanism that makes them risky over time and in the wrong body.
What people usually take with them, and why
Because the stomach is the most predictable casualty, medicine has been working on a shield for decades. The standard pairing is an NSAID plus a proton pump inhibitor (PPI) — omeprazole (Prilosec), esomeprazole (Nexium), pantoprazole (Protonix), or one of their relatives.
The logic is clean. PPIs shut down acid secretion in the stomach. With less aggressive acid in the picture, even a thinned-out lining survives better. This does not erase NSAID damage, but it meaningfully drops the risk of ulcer and bleeding for the people most likely to get one.
Who counts as "most likely" is spelled out in guidelines, not folklore. The American College of Gastroenterology, in their 2009 guideline (Lanza et al.), names the high-risk profile: age over 65, a history of ulcers, anyone also taking an anticoagulant, antiplatelet (including low-dose aspirin "for the heart"), or a corticosteroid, anyone on high doses, and anyone unfortunate enough to be on two different NSAIDs at once. For these patients, gastroprotection is recommended from day one of the NSAID course, not "if it starts to burn." NICE made the same call in NG226 (2022) for osteoarthritis: offer a PPI alongside any oral NSAID.
The alternatives to PPIs are misoprostol (a synthetic prostaglandin that essentially gives back to the stomach what the NSAID took) or switching to a coxib while keeping cardiovascular risk in mind. H2 blockers (famotidine, the active ingredient in Pepcid) lower acid too, but for preventing NSAID ulcers they are weaker than PPIs and live in current guidelines as a backup, not a first choice.
A few drug interactions are worth knowing about, even if you are not the one writing the prescription:
- With anticoagulants (warfarin, apixaban, rivaroxaban) and antiplatelets (yes, even low-dose aspirin), NSAIDs stack the bleeding risk. This does not mean "never," but it does mean "never on your own."
- With ACE inhibitors, ARBs and diuretics, NSAIDs form what doctors call the triple whammy — three drugs that all gang up on the kidneys at once, especially in older or dehydrated patients.
- With corticosteroids (prednisone, dexamethasone), NSAIDs sharply raise the ulcer risk. If both are on the medication list, gastroprotection is almost always part of the deal.
- With methotrexate or lithium, NSAIDs push the levels of those drugs up in the blood, which matters because both have narrow safety margins.
None of this is a reason to panic over the occasional Advil for a headache. It is the reason a regular habit deserves a real conversation with a pharmacist or doctor.
Red flags — when to call a doctor
If you are taking an NSAID, or recently were, and any of the following shows up — this is not a "let's see how it goes tomorrow" situation. This is a put-the-phone-down, call-a-doctor or go-to-the-ER situation.
- Black, tar-like stools (melena) or vomiting blood or what looks like coffee grounds — those are signs of gastrointestinal bleeding.
- Severe upper abdominal pain, especially if it does not let up and comes with weakness, paleness or sweating.
- Blood in your urine, or a sudden, sharp drop in how much urine you are passing — possible acute kidney injury.
- Swelling of the face, lips, tongue, or throat, wheezing, trouble breathing after a dose — that is an allergic reaction, possibly anaphylaxis. There is also a separate, well-described "aspirin-exacerbated respiratory disease" in some asthma patients reacting to NSAIDs.
- Sudden swelling in the legs, shortness of breath, or a few pounds of weight gain in a couple of days — possible heart failure decompensation.
- Chest pain, sudden weakness on one side of the body, slurred speech — possible heart attack or stroke, especially in someone already at cardiovascular risk.
- Yellowing of skin or the whites of the eyes, dark urine while on the drug — rarely, NSAIDs can cause liver injury.
A separate flag goes up around pregnancy. NSAIDs are contraindicated in the third trimester — they can prematurely close a fetal blood vessel called the ductus arteriosus and damage fetal kidney function. The FDA actually extended that warning in 2020 to apply from 20 weeks of pregnancy onward. Earlier in pregnancy: only with a clinician, and as little as possible.
And one bigger picture: if you find yourself reaching for a painkiller every single day for more than a week or two, that is no longer a question about NSAIDs. That is a question about a diagnosis. Pain that keeps coming back is not the kind of thing you switch off with a pill — it is the kind of thing you investigate.
What people get wrong
"NSAIDs treat my arthritis." They do not. They turn down the pain and the inflammation, which makes you feel better and move better — both genuinely valuable — but they do not regrow cartilage and they do not stop osteoarthritis from progressing. That is not a reason to skip them when you need relief. It is a reason not to mistake a course of ibuprofen for a cure.
"Acetaminophen is just a milder NSAID." It is not an NSAID at all. Acetaminophen (paracetamol, Tylenol, Panadol) barely touches peripheral COX-1 and COX-2, which is why it does almost nothing for inflammation, and why it is much easier on the stomach. Its risk profile lives somewhere completely different — in the liver. Different tool, different rules. Moore and colleagues compared the two head-to-head across acute and chronic pain in European Journal of Pain, 2015, and the punchline is: they are not interchangeable.
"COX-2 selective drugs are the safe NSAIDs." The rofecoxib story exists precisely to puncture that idea. "Safer" in one direction (the stomach) turned out to be "more dangerous" in another (the heart). The modern picture: coxibs really are gentler on the gut, but choosing an NSAID for cardiovascular risk is now an individualized calculation, not a class verdict.
"If I take it with milk, my stomach will be fine." Milk does not protect the lining against the systemic mechanism. Some of the damage is local, but a meaningful chunk happens through the bloodstream after the drug is absorbed — and no amount of dairy fixes that. What actually protects is either a PPI or a switch to a less gut-aggressive option.
"It's over the counter, so it's basically harmless." Over-the-counter status reflects a typical use case: a one-off headache, a feverish kid, a sore back after the gym. It does not mean the drug is harmless at higher amounts or longer durations. The same ibuprofen aisle that lives next to the gum is governed by FDA boxed warnings about heart and stroke risk for chronic use.
"If one NSAID isn't working, I'll just add another." Doubling up two NSAIDs does not double the painkilling — it doubles the ulcer and bleeding risk and not much else. The standard medical move is to switch, not to stack.
And the most underrated mistake: NSAIDs are not "pre-game insurance." Popping one before a long run or a flight, just in case something hurts later, is a habit worth dropping. Every dose taken without a problem to solve is risk you accepted in exchange for nothing.