The right medication for swelling depends on what’s causing it. Swelling from an injury or inflammation responds best to anti-inflammatory drugs, while swelling from fluid buildup requires a completely different approach with diuretics. Allergy-related swelling calls for antihistamines. Here’s how each category works and when it’s most useful.
Anti-Inflammatory Drugs (NSAIDs)
For swelling caused by injuries, arthritis, sprains, or general inflammation, nonsteroidal anti-inflammatory drugs are the most common first choice. Ibuprofen (Advil, Motrin) and naproxen (Aleve) are widely available over the counter. They work by blocking the production of prostaglandins, chemicals your body releases that trigger inflammation, pain, and swelling at the site of an injury or irritation.
For a one-time injury like a twisted ankle, you’ll typically notice reduced swelling within a few hours. Chronic conditions like arthritis take longer. Ibuprofen usually begins working within one week for ongoing joint inflammation, but severe cases can take two weeks or more before you feel meaningful improvement, and several weeks before you get the full effect.
Among common NSAIDs, ibuprofen carries the lowest risk of gastrointestinal side effects like stomach ulcers and bleeding, partly because it’s typically used at lower doses. The risk of stomach problems climbs two to threefold at higher doses regardless of which NSAID you take, so using the lowest effective dose for the shortest time possible is a practical safeguard. If you need something stronger or longer-lasting, naproxen lasts about 12 hours per dose compared to ibuprofen’s 4 to 6.
Topical Anti-Inflammatory Gels
If swelling is limited to one joint or a specific area, topical NSAIDs like diclofenac gel (Voltaren) can work as well as oral options with fewer side effects. One study comparing topical diclofenac to oral naproxen for musculoskeletal injuries found the gel provided greater pain relief throughout treatment, with patients and physicians both rating it more effective. People using the gel also reported fewer gastrointestinal complaints than those taking oral NSAIDs.
Topical options make the most sense for swelling in your hands, knees, elbows, or ankles, where the medication can penetrate to the affected tissue. They’re less practical for deeper joints like the hip or for widespread inflammation.
Corticosteroids for Severe Swelling
When swelling is intense and NSAIDs aren’t enough, prescription corticosteroids like prednisone are a powerful step up. These drugs suppress your immune system’s inflammatory response broadly, making them effective for conditions where inflammation is aggressive or widespread.
Corticosteroids have strong evidence for specific situations. In acute gout, oral prednisone controls pain and swelling as effectively as the NSAID indomethacin over 14 days of follow-up. For severe allergic contact dermatitis covering more than 20% of the body, or affecting the face, hands, feet, or genitals, a two-week course of oral corticosteroids is the standard recommendation. They’re also well-supported for reducing facial nerve swelling in Bell’s palsy when started within three days of symptom onset.
Short courses (typically 5 to 15 days) are generally well tolerated, but corticosteroids carry real side effects with prolonged use, including bone thinning, blood sugar changes, and weight gain. They’re prescribed strategically for flare-ups rather than as ongoing treatment.
Diuretics for Fluid-Related Swelling
Swelling caused by fluid retention, called edema, looks and feels different from inflammatory swelling. It often shows up in your ankles, legs, or feet, and pressing on the swollen area may leave a temporary dent. This type of swelling is common with heart failure, kidney problems, liver disease, and certain medications.
Diuretics (water pills) treat this by helping your kidneys flush out extra salt and water through your urine. Loop diuretics like furosemide are the most potent option, preferred when kidney function is reduced. Thiazide diuretics are milder and often used for high blood pressure that contributes to mild edema. Potassium-sparing diuretics work more gently and help prevent the potassium loss that other diuretics can cause.
Diuretics are prescription medications because the underlying cause of fluid retention matters. They can help with fluid buildup in the lungs, fluid accumulation in the abdomen, and generalized leg swelling tied to heart or kidney conditions. They won’t help with swelling from a sprained ankle or a bee sting since that’s inflammatory, not fluid-based.
Antihistamines for Allergic Swelling
Swelling triggered by an allergic reaction, whether from food, insect stings, or contact with an allergen, responds to antihistamines. These block histamine, the chemical your immune system releases during an allergic response that causes tissues to swell, redden, and itch.
Non-drowsy options like cetirizine (Zyrtec) and loratadine (Claritin) are the standard first-line treatment for hives and angioedema (deeper tissue swelling, often around the eyes or lips). Diphenhydramine (Benadryl) also works but causes significant drowsiness. For mild to moderate allergic swelling, over-the-counter antihistamines are often sufficient. Severe allergic reactions with throat swelling or difficulty breathing require epinephrine, not antihistamines alone.
Herbal and Supplement Options
Arnica, available as a topical cream or oral pellets, has some clinical support for post-surgical swelling. Multiple randomized trials found that arnica can speed up the reduction of swelling and bruising after surgery, particularly in the first week. However, results are inconsistent. Some well-designed studies found no significant difference between arnica and placebo, and by about a week post-surgery, the differences between groups tended to disappear. Combining arnica with bromelain (an enzyme from pineapple) may provide additional benefit, though the evidence is preliminary.
These supplements are generally well tolerated but shouldn’t be relied on as a substitute for proven medications when swelling is significant or worsening.
Interactions Worth Knowing About
If you’re already taking blood pressure medication, adding an NSAID can be a problem. Combining NSAIDs with diuretics, blood pressure drugs that affect the renin-angiotensin system (like ACE inhibitors or ARBs), or both increases the risk of acute kidney injury. The risk is about 60% higher with any dual combination and climbs further with all three together. People over 75 and those with existing kidney problems face the greatest risk. If you take blood pressure medication regularly and need something for swelling, this is a conversation to have with your pharmacist or prescriber before grabbing ibuprofen off the shelf.
It’s also worth noting that NSAIDs themselves can paradoxically cause fluid retention. They reduce your kidneys’ ability to excrete salt and water by about 30%, which can lead to ankle swelling in some people, particularly at higher doses or with prolonged use. If you notice new swelling while taking an NSAID regularly, the medication itself may be contributing.

