NSAIDs, or nonsteroidal anti-inflammatory drugs, are one of the most widely used classes of pain relievers in the world. The most familiar examples are ibuprofen (Advil, Motrin), naproxen (Aleve), and aspirin. But the full list extends well beyond those three, ranging from over-the-counter staples to prescription-only options and even topical patches. Here’s a practical breakdown of the different types and what sets them apart.
Over-the-Counter NSAIDs
Most people reach for one of three NSAIDs they can buy without a prescription:
- Ibuprofen (sold as Advil and Motrin) is a short-acting option, typically taken every four to six hours as needed.
- Naproxen sodium (sold as Aleve) lasts longer, so it only needs to be taken every eight to twelve hours.
- Aspirin (sold as Bayer and many generic brands) is used for pain and fever, but also at low doses for heart protection in certain people.
The biggest practical difference between ibuprofen and naproxen is how long each dose works. Ibuprofen wears off faster, which means more frequent dosing throughout the day. Naproxen provides longer relief per dose, making it a common choice for sustained pain like menstrual cramps or joint stiffness. Aspirin stands apart because it has a unique blood-thinning effect that the others don’t share at standard doses.
One important note on aspirin: it should not be given to children or teenagers who have the flu, chickenpox, or other viral illnesses. It has been linked to Reye’s syndrome, a rare but serious condition that affects the brain and liver. Ibuprofen and naproxen do not carry this risk.
Prescription NSAIDs
When over-the-counter options aren’t strong enough or a condition requires more targeted treatment, doctors may prescribe higher-potency NSAIDs. Common prescription examples include:
- Diclofenac (Voltaren), taken two to three times per day, often used for arthritis and acute injuries.
- Celecoxib (Celebrex), a once- or twice-daily option that works differently from most other NSAIDs (more on that below).
- Meloxicam, a once-daily NSAID frequently prescribed for osteoarthritis and rheumatoid arthritis.
- Indomethacin (Indocin), commonly used for gout flares and certain types of inflammatory conditions.
- Ketorolac (Toradol), a powerful short-term NSAID typically used for acute pain, often given after surgery or in emergency settings.
Prescription NSAIDs also include less commonly used options like fenoprofen, ketoprofen, sulindac, oxaprozin, and piroxicam. These vary in how often you take them. Piroxicam and oxaprozin are both once-daily drugs, while ketoprofen and fenoprofen need to be taken four times a day, similar to ibuprofen.
Higher-potency ibuprofen and naproxen are also available by prescription at doses above what’s sold over the counter.
Selective vs. Non-Selective NSAIDs
All NSAIDs work by blocking enzymes called COX-1 and COX-2. These enzymes help your body produce chemicals that trigger inflammation, pain, and fever. By blocking them, NSAIDs reduce all three.
Most NSAIDs block both COX-1 and COX-2. The problem is that COX-1 also plays a protective role in your stomach lining, which is why traditional NSAIDs can cause stomach irritation, ulcers, and bleeding. Selective COX-2 inhibitors were designed to block only the enzyme tied to pain and inflammation while leaving the stomach-protecting enzyme alone. Celecoxib (Celebrex) is the main COX-2 selective NSAID still on the market. Two others, rofecoxib (Vioxx) and valdecoxib (Bextra), were pulled from sale after they were linked to increased heart risks.
All prescription NSAIDs, including celecoxib, now carry an FDA-required boxed warning about both cardiovascular risks (heart attack and stroke) and gastrointestinal bleeding. These risks can appear early in treatment and may increase the longer you use them. Older adults and anyone with a history of stomach ulcers face the greatest risk of serious GI complications.
Topical NSAIDs
Not all NSAIDs come as pills. Topical formulations deliver the drug directly to the painful area through the skin, which reduces the amount that enters your bloodstream and lowers the chance of stomach-related side effects.
Diclofenac is the most widely available topical NSAID. It comes in several forms: a gel (Voltaren Gel, available over the counter in many countries), a liquid solution, and a transdermal patch. The patch version (Flector) is typically applied twice a day, every 12 hours, and is used for short-term pain from minor strains, sprains, and bruises. A newer patch formulation (Licart) is applied once daily. Topical diclofenac gel is a popular choice for joint pain in the hands and knees, particularly for people who want to avoid taking oral NSAIDs regularly.
How Long Each Type Lasts
The duration of action varies widely across NSAIDs, and this is one of the most practical differences when choosing between them. Short-acting NSAIDs like ibuprofen, fenoprofen, and ketoprofen need to be taken three to four times a day. Mid-range options like naproxen, diclofenac, and sulindac are taken two to three times a day. Long-acting NSAIDs like meloxicam, piroxicam, and oxaprozin are taken just once a day.
For people managing chronic conditions like arthritis, a once-daily NSAID is often more convenient and easier to stick with. For occasional headaches or muscle soreness, a short-acting option like ibuprofen gives you more control over when the drug is active in your system.
Key Risks and Interactions
All NSAIDs share the same core risks to varying degrees: stomach bleeding, cardiovascular events, and kidney stress. These risks climb with higher doses and longer use.
Drug interactions are a major concern. If you take a blood thinner like warfarin, adding an NSAID increases your risk of gastrointestinal bleeding by five to six times compared to taking the blood thinner alone. NSAIDs can also interfere with certain blood pressure medications, including ACE inhibitors and beta blockers, by reducing their effectiveness and adding strain on the kidneys. Taking an NSAID alongside these drugs can quietly push kidney function in the wrong direction, especially in older adults or anyone with existing kidney issues.
Because so many NSAIDs are available without a prescription, it’s easy to underestimate these interactions. If you’re already taking medication for blood pressure, blood clotting, or kidney-related conditions, the choice of pain reliever matters more than you might expect.

