There’s no single “best” pain medication for a herniated disc. The right choice depends on how severe your pain is, whether you’re feeling nerve symptoms like shooting leg pain, and how long symptoms have lasted. That said, anti-inflammatory drugs are the clear first-line treatment, and most people see meaningful improvement within a few weeks using them alongside activity changes.
Anti-Inflammatory Drugs: The Starting Point
NSAIDs (nonsteroidal anti-inflammatory drugs) like ibuprofen, naproxen, and diclofenac are the standard first treatment for herniated disc pain. They work because much of the pain comes from inflammation around the disc and the nearby nerve root, not just mechanical pressure. A large Cochrane review found that NSAIDs reduced pain on a 100-point scale by about 8 to 12 points more than a placebo, with roughly 19% more patients reporting meaningful global improvement after one week.
When researchers compared NSAIDs head-to-head against acetaminophen (Tylenol), the difference was small and not statistically significant for acute back pain. That means acetaminophen can be a reasonable option if you can’t tolerate anti-inflammatories, but NSAIDs have the edge because they actually reduce the inflammation driving the pain rather than simply dulling the signal.
Over-the-counter options like ibuprofen (up to 1,200 mg daily without a prescription) and naproxen are where most people start. If those aren’t enough, a doctor may prescribe a stronger NSAID like diclofenac or a higher dose of ibuprofen. The tradeoff with NSAIDs is that they carry real risks at high doses or with prolonged use. High-dose diclofenac and ibuprofen increase the risk of a major cardiovascular event (heart attack or stroke) by about a third, translating to roughly 3 extra heart attacks per year for every 1,000 people treated. Ulcer bleeding risk goes up two to four times depending on the specific drug. For short-term use of a few weeks, these risks are low for most people, but they matter if you’re managing pain over months.
Muscle Relaxants for Spasm-Related Pain
When a herniated disc triggers intense muscle tightening in the back, a muscle relaxant can help break the pain-spasm cycle. Commonly prescribed options include cyclobenzaprine, tizanidine, and methocarbamol. These are effective for short-term relief, but the key word is short-term. Most clinical trials use them for 5 to 21 days, and guidelines emphasize caution beyond that window because the risk of dependency is substantial, particularly with drugs in the benzodiazepine family like diazepam.
Muscle relaxants also cause significant drowsiness. They’re typically reserved for people who haven’t gotten enough relief from anti-inflammatories alone, and they’re best thought of as a temporary add-on rather than a standalone treatment.
Medications for Nerve Pain
Herniated discs often compress or irritate a spinal nerve, producing shooting pain, tingling, or numbness down the leg (sciatica) or arm. Standard painkillers don’t always touch this type of nerve pain effectively. Medications originally developed for seizures or depression can help by calming overactive nerve signals.
Gabapentin is the most commonly used option for disc-related nerve pain. In one study of patients with lumbar disc herniation, a majority treated with gabapentin reported good or excellent outcomes. However, side effects like dizziness and drowsiness cause some patients to stop treatment. Pregabalin works through a similar mechanism and is sometimes used as an alternative. These medications typically need a gradual dose increase over days to weeks before they reach full effectiveness, so they aren’t instant relief.
Oral Steroids: Modest but Real Benefits
A short course of oral corticosteroids (typically prednisone taken over about two weeks) is sometimes prescribed for acute flare-ups, especially when nerve symptoms are prominent. A randomized trial published in JAMA found that prednisone produced modestly better functional improvement compared to placebo at both 3 weeks and 52 weeks. Patients on prednisone were about 30% more likely to achieve at least a 50% improvement in their disability scores over a year.
The catch: the same trial found no significant improvement in pain scores compared to placebo, and no difference in the likelihood of eventually needing surgery (about 9 to 10% in both groups). So oral steroids seem to help people function better, even if they don’t dramatically reduce pain intensity. They’re a reasonable short-term option, not a long-term solution.
When Opioids Enter the Picture
Opioids are reserved for severe pain that hasn’t responded to the options above. CDC guidelines from 2022 are clear on this: for acute pain lasting less than a month, opioids should only be considered when anticipated benefits outweigh the risks, and they should be prescribed at the lowest effective dose. For pain lasting longer than one to three months, opioids are explicitly not recommended as first-line or routine therapy.
In practice, this means a short course of a mild opioid might be appropriate during the worst days of an acute herniation when you can’t sleep or function, but it shouldn’t become the ongoing plan. The risk of dependence rises quickly with continued use, and opioids don’t address the underlying inflammation or nerve irritation.
Topical Options Worth Considering
Topical treatments can be a useful addition, particularly for localized pain near the spine or nerve pain that radiates to a specific area. A 5% lidocaine patch applied directly over the painful area has shown effectiveness for neuropathic pain after disc herniation. In a study of 23 patients treated for an average of about 7.5 months, over half used the lidocaine patch as their only pain treatment and experienced meaningful pain reduction. Topical diclofenac gel is another option for localized back pain, with the advantage of delivering anti-inflammatory medication directly to the area while exposing your whole body to far less of the drug than an oral pill would.
Epidural Steroid Injections
If four to six weeks of medication and physical therapy haven’t provided enough relief, epidural steroid injections are the typical next step. These deliver a concentrated dose of corticosteroid directly around the irritated nerve root. Patients report the greatest pain relief about one month after the injection, with a median drop of 3 points on a 10-point pain scale. Relief tends to hold well through the five-month mark, then gradually decreases over the following months, though some benefit persists up to a year. In one cohort study, only about 27% of patients who received injections went on to have surgery within the following year.
The Typical Treatment Timeline
Most people with a herniated disc see their symptoms improve within a few days to weeks with conservative treatment. The standard approach follows a clear progression: start with anti-inflammatories and activity modification, add a muscle relaxant or nerve pain medication if needed, consider oral steroids for significant nerve symptoms, and reassess after about six weeks. If symptoms haven’t improved meaningfully by that point, especially if you’re still dealing with poorly controlled pain, numbness, weakness, or difficulty walking, interventional treatments like injections or surgery come into the conversation.
The reassuring reality is that most herniated discs improve without surgery. Medications are primarily about managing pain well enough that your body can heal on its own, which it does in the majority of cases. The “best” medication is whichever one controls your specific symptoms with the fewest side effects while that natural healing takes place.

