Back & Neck Pain Treatment How to Get Relief From Back Spasms By Anne Asher, CPT Updated on January 30, 2023 Medically reviewed by Oluseun Olufade, MD Print Muscle spasms in the middle back can often be relieved by stretching. If that doesn't help, try hydrotherapy—ice, moist heat, or a warm bath or shower. Over-the-counter pain relievers like Aleve (naproxen), Advil (ibuprofen), or Tylenol (acetaminophen) can also ease the discomfort of back spasms. If muscle spasms do not respond to at-home treatments or occur frequently, talk to your healthcare provider. Middle-back muscle spasms can be due to an underlying problem like a herniated disk in the thoracic spine. This article explains the different causes of mid-back muscle spasms, how to treat them, and possible ways to prevent spasms. Prostock-Studio / Getty Images What Causes Mid-Back Spasms? Back muscle spasms happen when the muscles spontaneously contract and tighten. These spasms or cramps can vary in intensity from a mild twitch to very sharp and painful. Muscle spasms can seriously impact quality of life if uncontrolled. While many times spasms stem from the muscles themselves, they can also be a result of a more structural problem such as disc herniation. When this is the case, the muscles are trying to stabilize the affected area and prevent you from moving in such a way as to cause further damage. Potential Causes for Mid-Back Spasms There are many factors that can lead to muscle spasms in the middle back, including: Anxiety Arthritis Being sedentary Dehydration Electrolyte imbalance Injury Over-exercising Poor posture Sitting at a desk for too long Spinal stenosis Spondylosis Stress In some cases, back muscle spasms may be due to problems with an internal organ. Gallstones, kidney stones, and kidney infections can also cause back pain and muscle spasms. How to Ease Mid-Back Muscle Spasms Ultimately, the best thing you can do for a back muscle spasm is stretch, said Dr. Loren Fishmen, a physical medicine, and rehabilitation specialist in New York. (Fishman is also a yoga instructor.) When back muscles spasm they are hard at work. The contraction clamps down on blood vessels causing acid build up in your muscle which can hurt—and makes for more spasms. It's a vicious cycle until you can relax the muscle, Dr. Fishmen explained. How to Relieve Neck Spasms Home Remedies for Back Muscle Spasms Spasms can happen at any time—while exercising, simply sitting, or even sleeping. These remedies may help relieve the spasm: Stretching exercises to release the tension caused by the spasm Massage the affected area with your hands or a massage roller Stand up and walk around Apply heat or ice: put an ice pack together or apply a heating pad, or take a warm bath Cold therapy is thought to reduce pain, blood flow, edema, inflammation, and muscle spasm while heat therapy relieves pain and increases blood flow and elasticity of tissues. There is limited research on the effectiveness of both therapies, but some studies have shown that heat therapy provides more pain relief than cold therapy. Over-the-Counter (OTC) Therapies Acetominophen (Tylenol) is often recommended first because it has fewer side effects than other drugs. Non-steroidal anti-inflammatories drugs (NSAIDs), such as ibuprofen and naproxen, may also be recommended before trying prescription medications. These medications can help reduce pain and inflammation. NSAIDs and acetaminophen in high doses, or if taken for a long time, can cause serious side effects, including include stomach pain, ulcers or bleeding, and kidney or liver damage so should be taken with caution. Prescriptions Muscle relaxant medications are sometimes prescribed and have been shown to provide pain relief short-term, but the effectiveness of muscle relaxants for chronic back pain is unknown. Examples of muscle relaxants include: CarisoprodolCyclobenzaprineDiazepamMethocarbamol Side effects of muscle relaxants are common and include: DrowsinessDizzinessConfusionNauseaVomiting These medicines can be habit-forming and may interact with other medications, so talk to your healthcare provider about whether it's safe for you to take these medications. Conventional Medical Treatment If home remedies and medications don't take care of the muscle spasms, other treatment options may be tried to interrupt the blood vessel constriction-muscle spasm cycle, such as: Ultrasound. According to one study, ultrasound may be useful for increasing range of motion, but research is very limited regarding the effectiveness of ultrasound for back muscle spasms specifically. Injection. BOTOX injections have been shown to be effective in treating muscle cramping syndromes adn muscle spasticity in older people, but no research has evaluated the effectiveness specifically for back muscle spasms. Physical therapy. To learn stretching and strengthening exercises specifically for your back muscles. Other techniques might include electrical stimulation to fatigue the muscles, thereby enabling them to relax. Ways to Prevent Back Muscle Spasms Although back spasms may not be entirely preventable, these habits may help: Drink plenty of fluids to stay well hydratedMaintain good postureStrengthen the muscles in your abdomen and lower backAvoid sitting for long periods of time Exercise regularlyManage stress Summary The most effective treatments for muscle spasms in the middle back are mostly home therapies, such as stretching, massage, heat or cold therapy, OTC medications, and when necessary, prescription medications. If muscle spasms do not respond to these treatments or occur frequently, talk to your healthcare provider to determine if there may be an underlying condition that is causing muscle spasms. 9 Sources Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy. North American Spine Society. Muscle Spasms. Cleveland Clinic. Back spasms. Cleveland Clinic. Muscle spasms. Malanga GA, Yan N, Stark J. Mechanisms and efficacy of heat and cold therapies for musculoskeletal injury. Postgrad Med. 2015;127(1):57-65. doi:10.1080/00325481.2015.992719 Medline Plus. Medicines for back pain. Abdel Shaheed C, Maher CG, Williams KA, McLachlan AJ. Efficacy and tolerability of muscle relaxants for low back pain: Systematic review and meta-analysis. Eur J Pain. 2017;21(2):228-237.doi:10.1002/ejp.907 Morishita K, Karasuno H, Yokoi Y, et al. Effects of therapeutic ultrasound on range of motion and stretch pain. J Phys Ther Sci. 2014;26(5):711-715. doi:10.1589/jpts.26.711 Bertolasi L, Priori A, Tomelleri G, et al. Botulinum toxin treatment of muscle cramps: a clinical and neurophysiological study. Ann Neurol. 1997;41(2):181-186. doi:10.1002/ana.410410209 Grazko MA, Polo KB, Jabbari B. Botulinum toxin A for spasticity, muscle spasms, and rigidity. Neurology. 1995;45(4):712-717. doi:10.1212/wnl.45.4.712 Additional Reading Hirayama J, Yamagata M, Ogata S, Shimizu K, Ikeda Y, Takahashi K. Relationship Between Low-Back Pain, Muscle Spasm and Pressure Pain Thresholds in Patients With Lumbar Disc Herniation. Eur Spine J. 2006;15(1):41-47. doi:10.1007/s00586-004-0813-2. Fishman, L., MD, Ardman, C. Back Pain: How to Relieve Low Back Pain and Sciatica. Norton. 1997. New York. Katz, J., MD, Parkinson, G. Heal Your Aching Back. Mc Graw-Hill. 2007. By Anne Asher, CPT Anne Asher, ACE-certified personal trainer, health coach, and orthopedic exercise specialist, is a back and neck pain expert. See Our Editorial Process Meet Our Medical Expert Board Share Feedback Was this page helpful? Thanks for your feedback! What is your feedback? Other Helpful Report an Error Submit