Most middle back pain comes from muscle strain or poor posture and improves significantly within about seven days with the right approach. Full recovery typically takes closer to 30 days. The key is combining short-term relief strategies like stretching and over-the-counter pain relievers with longer-term fixes for the postural habits that caused the pain in the first place.
What’s Causing Your Middle Back Pain
The middle back, or thoracic spine, is the 12 vertebrae between your neck and lower back. This region is more stable than the lower back because your ribs attach here, so it’s less prone to disc injuries. But it’s highly vulnerable to muscle strain and stiffness, especially from prolonged sitting.
The most common culprit is a postural pattern where certain muscles become tight while others weaken. Your chest muscles, upper trapezius (the muscles running from your neck to your shoulders), and the muscles along the side of your neck tighten up, while the muscles between your shoulder blades and your lower trapezius weaken. This combination pulls your shoulders forward and rounds your upper back, creating chronic tension and pain in the middle back. Physical therapists call this “upper crossed syndrome,” and it’s extremely common in people who work at desks or spend hours on their phones.
Other causes include osteoarthritis in the thoracic vertebrae, compression fractures from osteoporosis (especially in older adults), and less commonly, conditions like ankylosing spondylitis or Scheuermann’s disease. Middle back pain can also be referred from internal organs. Gallstones and pancreatitis can send pain to the mid-back area between your shoulder blades. Kidney problems tend to show up as lower back or flank pain.
Stretches and Exercises for Quick Relief
The thoracic spine is designed to rotate, but desk work locks it in one position for hours. Mobility exercises that restore rotation and extension give the fastest relief.
Wall rotations: Get into a deep lunge position with your back knee on a pillow and your front foot flat on the floor, hip bent to 90 degrees. Rest the arm closest to the wall at shoulder level against the wall. Then twist your upper back and sweep your free arm around as far as you comfortably can, following it with your eyes. This targets the rotational stiffness that builds up from sitting.
Cat-cow: On your hands and knees, alternate between arching your back toward the ceiling (rounding like a cat) and letting your belly drop toward the floor while lifting your chest. Move slowly and focus on the motion happening in your mid-back, not just your lower back. Try 10 to 15 repetitions, twice a day.
Thread the needle: From the same hands-and-knees position, reach one arm underneath your body and through to the opposite side, letting your shoulder drop toward the floor. You should feel a stretch and gentle rotation through the middle back. Hold for a few seconds, return, and repeat on the other side.
These exercises work best when done consistently, not just once when the pain flares. Two to three short sessions per day, even five minutes each, are more effective than one longer session.
Using a Foam Roller Safely
Foam rolling the thoracic spine can release tight muscles and improve mobility, but there are a few rules to follow. Always roll slowly, in line with the muscles. When you hit a tight spot or knot, stop and rest on it for 20 to 30 seconds until you feel the area soften. If the pressure is too painful, shift some of your weight off the roller by planting your feet more firmly on the ground.
Keep your core lightly engaged the entire time and maintain a neutral position in your neck. Don’t let your lower back arch excessively. Roll from your upper back down to the bottom of your rib cage, but not into your lower back. The lower back lacks the rib cage’s structural support, and rolling directly on the lumbar spine can cause more harm than good. Avoid rolling over any bony prominences or areas with open wounds. All foam roller exercises for this area should be pain-free. Uncomfortable pressure on a muscle knot is fine, but sharp or shooting pain means you should stop. Drink water afterward, just as you would after a massage.
Fixing the Posture Behind the Pain
If you don’t address the muscle imbalances driving the pain, stretches and foam rolling will only provide temporary relief. The fix involves two things: strengthening the weak muscles between and below your shoulder blades, and loosening the tight muscles in your chest and upper shoulders.
Scapular stabilization exercises are the gold standard here. These target the middle and lower trapezius, the serratus anterior (the muscle along your rib cage under your armpit), and the rhomboids (between your shoulder blades). Research shows these exercises significantly improve postural alignment and correct the muscular imbalances that cause mid-back pain. Simple options include:
- Prone Y-raises: Lie face down and raise your arms overhead in a Y shape, squeezing your shoulder blades together and down. Hold briefly, lower, and repeat for 10 to 15 reps.
- Band pull-aparts: Hold a resistance band at shoulder height with arms straight. Pull the band apart by squeezing your shoulder blades together. Focus on using the muscles between your shoulder blades, not your upper traps.
- Wall slides: Stand with your back flat against a wall, arms in a “goalpost” position. Slowly slide your arms up and down while keeping your wrists and elbows in contact with the wall.
For the tight side of the equation, stretch your chest muscles by standing in a doorway with your forearm against the frame and gently leaning forward. Stretch your upper trapezius by tilting your ear toward your shoulder and holding for 20 to 30 seconds per side.
Setting Up Your Workspace
Your desk setup has an outsized influence on middle back pain. According to OSHA guidelines, the top of your monitor should sit at or slightly below eye level, with the center of the screen positioned about 15 to 20 degrees below your horizontal line of sight. If your monitor is too low, you’ll round forward to see it, loading the muscles in your middle back for hours at a time.
Your elbows should rest close to your body, and your head should stay straight and in line with your torso rather than jutting forward. A common and easy fix: if you use a laptop, get a separate keyboard and raise the laptop on a stand or stack of books so the screen sits at the correct height. Even small misalignments between your body and your screen compound over an eight-hour workday.
Over-the-Counter Pain Relief
For acute flare-ups, anti-inflammatory medications can reduce both pain and the underlying inflammation. Ibuprofen can be taken as one to two 200 mg tablets every four to six hours, up to 1,200 mg per day. Naproxen sodium is taken as one to two 220 mg tablets every 8 to 12 hours, with a daily limit of 660 mg. Naproxen lasts longer per dose, so it’s a better option if you don’t want to re-dose throughout the day.
These are meant for short-term use during acute pain, not as a daily long-term strategy. Applying heat (for muscle tightness) or ice (for inflammation after a strain) can complement medication. Heat tends to work better for the chronic, posture-related middle back pain most people experience.
When Middle Back Pain Needs Medical Attention
About 80% of back pain cases seen even in emergency departments turn out to be straightforward musculoskeletal problems. But certain symptoms raise the odds of something more serious. Fever with back pain is a strong warning sign for infection. Unexplained weight loss, urinary symptoms like sudden inability to urinate, numbness in the groin area, or writhing, uncontrollable pain all warrant prompt medical evaluation.
Pain between your shoulder blades that comes on suddenly and is accompanied by nausea, sweating, or shortness of breath could signal a cardiac or abdominal emergency rather than a muscle problem. Mid-back pain that doesn’t improve at all after two to three weeks of consistent self-care, or pain that wakes you from sleep, is also worth getting checked out.
What Professional Treatment Looks Like
If self-care isn’t enough, physical therapy is the most evidence-backed next step. About 80% of physiotherapists treating thoracic spine pain use a multimodal approach that combines hands-on manual therapy (joint mobilizations, soft tissue work), therapeutic exercise, and education about posture and movement habits. This combination works better than any single treatment alone.
Soft tissue techniques like trigger point release and muscle energy techniques address specific knots and restrictions. Therapeutic exercises build the strength and endurance needed to maintain better posture throughout the day. The education component helps you understand which daily habits are perpetuating the problem so you can break the cycle on your own.
Most people with uncomplicated middle back pain see significant improvement within the first week of actively managing it, with maximum recovery around the 30-day mark. If your pain started from an obvious strain or from prolonged poor posture, that timeline is a realistic expectation as long as you’re consistent with stretching, strengthening, and ergonomic changes.

