Several medications, over-the-counter remedies, and self-care strategies can significantly reduce the discomfort of opiate withdrawal. The most effective approach combines prescription medications that target withdrawal at the brain level with supportive care for individual symptoms like nausea, diarrhea, and insomnia. Withdrawal is rarely life-threatening, but it can be intensely uncomfortable, and having the right tools makes the difference between pushing through and giving up.
What Withdrawal Feels Like and How Long It Lasts
Opiate withdrawal produces a predictable cluster of symptoms: muscle and joint aches, stomach cramps, diarrhea, sweating, chills, goosebumps, runny nose, watery eyes, yawning, restlessness, anxiety, irritability, rapid heartbeat, and trouble sleeping. The experience is often compared to a severe flu combined with intense anxiety and restlessness. These symptoms happen because your brain has adapted to the presence of opioids, and removing them creates a temporary rebound in systems that opioids were suppressing.
The timeline depends on what you were taking. Short-acting opioids like heroin, oxycodone, and hydrocodone typically trigger withdrawal symptoms 8 to 24 hours after the last dose, with the worst hitting around days 2 to 3 and the whole episode lasting 4 to 10 days. Long-acting opioids like methadone have a slower onset, starting 12 to 48 hours after the last dose, but withdrawal can stretch 10 to 20 days. Knowing this timeline helps because the worst of it is temporary, even when it doesn’t feel that way.
Prescription Medications That Target Withdrawal Directly
Three FDA-approved medications treat opioid use disorder, and two of them are particularly relevant during the withdrawal phase: buprenorphine and methadone. Both work by activating the same brain receptors that opioids do, but in a controlled, safer way that prevents withdrawal symptoms without producing a significant high.
Buprenorphine (found in brand names like Suboxone and Zubsolv, which combine it with naloxone) is the most accessible option for most people. It can be prescribed in a regular doctor’s office, and it dramatically reduces withdrawal symptoms within 30 to 60 minutes of the first dose. The key requirement is timing: you generally need to be in at least mild withdrawal before starting it. Most protocols require waiting a minimum of 12 hours after your last short-acting opioid dose, or 24 to 72 hours after long-acting opioids like methadone. Starting too early can actually trigger worse withdrawal. Clinicians use a scoring tool that measures things like your pulse rate, pupil size, sweating, restlessness, and GI symptoms to confirm you’re ready.
Methadone is typically dispensed through specialized clinics rather than regular pharmacies, which makes it less convenient but still highly effective. It’s often used for people with heavier dependence or those who haven’t responded well to buprenorphine.
Naltrexone, the third FDA-approved medication, blocks opioid receptors entirely and is used to prevent relapse after withdrawal is complete. It doesn’t help during the acute withdrawal phase itself.
Medications for Specific Symptoms
Even with buprenorphine or methadone, some people still experience residual symptoms. And for those managing withdrawal without those medications, targeting individual symptoms becomes essential.
Clonidine is one of the most widely used supportive medications for opiate withdrawal, though it’s technically prescribed off-label for this purpose. Originally a blood pressure drug, it works by calming the part of the nervous system that goes into overdrive during withdrawal. It helps with anxiety, sweating, rapid heart rate, restlessness, and muscle aches. It won’t eliminate withdrawal entirely, but it takes the edge off considerably.
Lofexidine (brand name Lucemyra) is the only non-opioid medication specifically FDA-approved for managing withdrawal symptoms. It works similarly to clonidine but was designed specifically for this purpose. The typical dose is three tablets taken four times daily, adjusted by your provider. It targets stomach cramps, muscle spasms, racing heart, runny eyes, and sleep problems.
Gabapentin is sometimes added to help with nausea and sleep disturbances during detox. For insomnia specifically, providers may prescribe trazodone, doxepin, or mirtazapine, all of which promote sleep without the addiction risk of sedatives.
Over-the-Counter Relief
Several symptoms respond to things you can get without a prescription. For diarrhea, loperamide (Imodium) is the standard recommendation and can prevent the dehydration that makes everything else feel worse. For muscle aches and mild pain, ibuprofen or acetaminophen can help. Bismuth subsalicylate (Pepto-Bismol) can calm nausea and stomach upset.
Dehydration is one of the most common complications of withdrawal because vomiting and diarrhea deplete fluids and electrolytes quickly. Drinking water alone isn’t enough. Oral rehydration solutions or electrolyte drinks help replace the sodium, potassium, and other minerals your body is losing. Sipping small amounts frequently works better than trying to drink large quantities at once, especially if nausea is an issue.
Nutrition and Self-Care During Withdrawal
Your appetite will likely disappear for the first few days. When you can eat, bland foods like bananas, rice, toast, and broth are easiest to tolerate and help restore electrolytes. Small, frequent meals put less strain on a sensitive stomach than full-sized ones.
Vitamin C has emerging evidence supporting its use during recovery. Multiple studies have found that it has mild pain-relieving properties and can reduce the amount of opioid medication people need after surgery. While the research hasn’t been conducted specifically on withdrawal pain, the mechanism is relevant, and doses around 2 grams daily have shown benefit in pain-related studies. It’s low-risk and inexpensive.
Hot baths or showers can temporarily ease muscle aches and restlessness. Some people cycle between hot and cold sensations during withdrawal, so having both heating pads and light blankets available helps. Light physical movement, even just walking, can reduce restlessness and improve sleep, though intense exercise is unrealistic during peak symptoms.
What Makes Withdrawal Dangerous
Opiate withdrawal is almost never fatal on its own, but it carries real risks. The most serious is aspirating vomit, where stomach contents are inhaled into the lungs during vomiting, potentially causing a lung infection. This is most likely if someone is sedated or lying flat while vomiting. Sleeping on your side reduces this risk.
Severe dehydration from persistent vomiting and diarrhea can become a medical emergency if fluids can’t be kept down. If you haven’t been able to hold down liquids for more than several hours, that warrants medical attention.
The other major danger isn’t during withdrawal itself but immediately after. Your tolerance drops rapidly once you stop using opioids. If you relapse and take the same dose you were used to, the risk of fatal overdose is extremely high. This is one of the strongest arguments for transitioning to medications like buprenorphine or naltrexone rather than simply detoxing and hoping for the best.
Medical vs. At-Home Withdrawal
Medically supervised withdrawal offers the best symptom control because providers can combine prescription medications, monitor for complications, and adjust treatment in real time. This can happen in an inpatient detox facility, a hospital, or increasingly through outpatient clinics where you visit daily or receive telehealth check-ins.
Some people attempt withdrawal at home, either by choice or because they lack access to medical care. If you go this route, having someone with you for at least the first three to four days significantly improves safety. Stock up on electrolyte drinks, OTC medications for diarrhea and pain, clean bedding, and easy-to-digest food before symptoms start. The peak is predictable, so preparing in advance matters.
Regardless of the setting, withdrawal alone is not treatment. Detox clears opioids from your body, but without ongoing medication, counseling, or both, relapse rates are very high. The medications described above, particularly buprenorphine and naltrexone, are designed for long-term use and dramatically improve outcomes when continued for months or years after the acute withdrawal phase ends.

