The right medication for swollen lymph nodes depends entirely on what’s causing them to swell. Over-the-counter pain relievers like ibuprofen or naproxen can ease tenderness and discomfort, but they don’t treat the underlying problem. Swollen nodes are a symptom, not a disease, so the medication that actually resolves them targets whatever triggered the swelling in the first place.
Pain Relievers for Immediate Comfort
For tender, sore lymph nodes, nonsteroidal anti-inflammatory drugs (NSAIDs) like ibuprofen (Advil, Motrin) or naproxen (Aleve) reduce both pain and inflammation. Acetaminophen (Tylenol) is another option for pain relief, though it doesn’t have the same anti-inflammatory effect. These are available without a prescription and can make you more comfortable while you wait for the underlying cause to resolve.
Warm compresses applied to the swollen area also help with tenderness and pair well with pain relievers. A warm, damp washcloth held against the node for 10 to 15 minutes several times a day is a simple approach recommended by the Mayo Clinic.
One caution with NSAIDs: in people who already have kidney problems, are older, or take certain blood pressure medications, these drugs can disrupt blood flow to the kidneys and potentially cause acute kidney injury. FDA research has found that patient education about NSAIDs often focuses narrowly on stomach bleeding risks while underplaying kidney risks. If you have existing kidney disease or take multiple medications, acetaminophen is generally safer for short-term pain relief.
Antibiotics for Bacterial Infections
Bacterial infections are one of the most common treatable causes of swollen lymph nodes, particularly in the neck. When bacteria from a skin wound, dental infection, or throat infection spread to nearby nodes, the result is bacterial lymphadenitis: nodes that are swollen, warm, red, and often quite painful.
Antibiotics are the standard treatment. For straightforward cases, doctors typically prescribe a narrow-spectrum antibiotic from the penicillin or cephalosporin family. In regions where MRSA (a resistant type of staph infection) is more common, such as the United States, clindamycin is often the first choice instead. Most experts agree that about 7 days of antibiotics is sufficient for uncomplicated bacterial lymphadenitis, though more severe cases with abscess formation or systemic symptoms like high fever may require 10 to 14 days of treatment.
You should start feeling improvement within 2 to 3 days of starting antibiotics. The nodes themselves may take a few weeks to return to normal size even after the infection clears. If swelling doesn’t begin to improve after several days on antibiotics, your doctor may need to reassess or consider drainage if an abscess has formed.
Viral Infections: Mostly Supportive Care
The most common reason lymph nodes swell is a viral infection, whether that’s a cold, the flu, mononucleosis (caused by Epstein-Barr virus), or other common viruses. In these cases, there’s no medication that directly shrinks the nodes. The swelling resolves on its own as your immune system clears the virus, usually within 2 to 4 weeks.
For most viral causes, treatment means managing symptoms: rest, fluids, and pain relievers as needed. In specific situations where a treatable virus is responsible, antiviral medications may be prescribed, but these target the virus itself rather than the node swelling directly. The nodes shrink as a downstream effect of controlling the infection.
Steroids have been used since the 1950s to try to reduce lymph node swelling in mononucleosis, with short courses of oral prednisolone tapered over 3 to 14 days. However, the evidence for their effectiveness specifically for swollen glands remains unclear. Steroids are more commonly reserved for serious complications of mono, like airway obstruction, rather than routine node swelling.
Autoimmune Disease Medications
Autoimmune conditions like lupus and rheumatoid arthritis can cause lymph nodes to swell as part of widespread, misdirected immune activity. When this is the cause, the goal is controlling the autoimmune disease itself, which in turn resolves the lymph node enlargement.
The medications used fall into a class called disease-modifying drugs. For rheumatoid arthritis, methotrexate is the most widely used first-line option. For lupus, hydroxychloroquine is recommended for nearly all patients, with newer biologic drugs available for moderate to severe disease. These medications work by dialing down the overactive immune response that’s causing inflammation throughout the body, including in the lymph nodes. They take weeks to months to reach full effect, so node swelling from autoimmune causes tends to improve gradually rather than overnight.
Cancer-Related Lymph Node Swelling
When lymph node swelling is caused by lymphoma or cancer that has spread from another site, treatment involves therapies aimed at the cancer itself. These include chemotherapy, targeted therapy using lab-made antibodies that attach to specific proteins on cancer cells, and immunotherapy drugs that help your immune system recognize and attack cancer. In some cases, a stem cell transplant follows chemotherapy.
The specific combination depends on the type and stage of cancer. For Hodgkin lymphoma, for example, treatment often combines chemotherapy with targeted therapy or immunotherapy. These treatments are complex and tailored to each case, so the lymph node swelling is managed as part of a broader cancer treatment plan rather than addressed separately.
When Swelling Signals Something Serious
Most swollen lymph nodes are caused by routine infections and resolve within a few weeks. Certain characteristics suggest something more serious is going on. Nodes that are hard or rubbery rather than soft and tender, nodes that are fixed in place rather than movable under the skin, nodes larger than about 2 centimeters (roughly the size of a grape), or swelling that persists beyond 2 to 4 weeks without an obvious infection all warrant medical evaluation.
Generalized lymph node swelling, where nodes in multiple areas of the body enlarge at the same time, is another signal that points to systemic causes. This pattern can indicate infections like mononucleosis, HIV, or autoimmune disease, and it requires a different workup than a single swollen node in your neck during a cold. Unexplained weight loss, drenching night sweats, or persistent fevers alongside swollen nodes also raise the urgency of getting evaluated.

