What Causes Lower Back Pain and Swollen Ankles?

Lower back pain and swollen ankles appearing together usually point to a systemic problem, one where a single underlying condition is affecting multiple parts of your body at once. While each symptom on its own is common and often harmless, the combination can signal issues with your heart, liver, kidneys, or spine that deserve attention. The most frequent culprits are heart failure, liver disease, kidney problems, and certain inflammatory conditions, though pregnancy-related complications can also cause both symptoms simultaneously.

Why These Two Symptoms Appear Together

Lower back pain and ankle swelling don’t seem obviously connected, but they share a common thread: fluid. When your body retains excess fluid, it tends to pool in your lower extremities due to gravity, causing swollen ankles and feet. That same fluid buildup adds weight and pressure to your lower body, straining muscles and joints in the lumbar spine. In other cases, an inflammatory process affects both the spine and peripheral joints directly. Understanding which mechanism is at work helps narrow down the cause.

Heart Failure

Heart failure is one of the most important causes to rule out when back pain and ankle swelling occur together. It happens when the heart muscle can no longer pump blood efficiently, causing blood to back up in the circulatory system. Right-sided heart failure specifically causes fluid to accumulate in the belly, legs, and feet, producing noticeable swelling in the ankles that may worsen throughout the day.

The fluid retention can be substantial enough to cause rapid weight gain over just days or weeks. That extra weight, concentrated in the abdomen and lower body, places significant strain on the lumbar spine. Many people with heart failure also spend more time in reclined positions due to fatigue and shortness of breath, which can aggravate back pain. Other signs to watch for include shortness of breath (especially when lying flat), persistent fatigue, and a rapid or irregular heartbeat.

Liver Disease and Cirrhosis

Advanced liver disease, particularly cirrhosis, creates a condition called portal hypertension where pressure builds in the veins that carry blood through the liver. This elevated pressure forces fluid out of the blood vessels and into surrounding tissues. The result is swelling in the legs, feet, and ankles (edema) along with fluid accumulation in the abdomen (ascites).

When the abdomen fills with fluid, it can grow significantly distended. This shifts your center of gravity forward, forcing the muscles and structures of the lower back to compensate. The strain produces chronic lower back pain that worsens as ascites progresses. Early signs of cirrhosis also include fatigue, easy bruising, itchy skin, nausea, and small spider-like blood vessels visible on the skin. Redness on the palms is another characteristic sign.

Kidney Problems

Your kidneys regulate how much fluid stays in your body. When they aren’t filtering properly, sodium and water accumulate, leading to swelling that typically starts in the ankles and feet and can spread upward. Kidney disease also disrupts the balance of proteins in your blood, particularly albumin, which normally helps keep fluid inside blood vessels. When albumin drops too low, fluid leaks into surrounding tissues throughout the body.

The connection to back pain is twofold. The kidneys sit against the muscles of the lower back, so kidney infections or inflammation can produce direct pain in that area, often felt as a deep ache on one or both sides of the spine just below the ribs. Additionally, the generalized fluid retention adds the same kind of mechanical strain on the lower back seen in heart failure and liver disease.

Inflammatory Spinal Conditions

Ankylosing spondylitis is a chronic inflammatory disease that primarily attacks the spine, causing persistent low back pain and, over time, reduced spinal mobility as vertebrae gradually fuse together. What many people don’t realize is that this condition frequently affects areas beyond the spine. According to Johns Hopkins Arthritis Center, most patients experience inflammatory back pain from sacroiliitis (inflammation where the spine meets the pelvis), often accompanied by peripheral arthritis and enthesitis, which is inflammation where tendons and ligaments attach to bone.

When peripheral arthritis affects the ankles, it produces swelling, warmth, and stiffness in those joints. The key distinguishing feature of inflammatory back pain is that it tends to be worst in the morning or after periods of inactivity and improves with movement, the opposite pattern of mechanical back pain from lifting or strain. It typically begins before age 40 and develops gradually over weeks rather than appearing suddenly.

Pregnancy Complications

Some degree of ankle swelling and lower back pain is normal during pregnancy, especially in the third trimester. The growing uterus compresses veins that return blood from the legs, promoting fluid retention, while the added weight and shifted posture strain the lumbar spine. However, when swelling appears suddenly, particularly in the face and hands along with the ankles, it may signal preeclampsia.

Preeclampsia is defined by high blood pressure and signs of organ damage, most commonly to the kidneys. Other warning signs include severe headaches, vision changes (blurred vision, light sensitivity, or temporary vision loss), upper belly pain under the ribs on the right side, nausea, and shortness of breath. Sudden weight gain from fluid retention, as opposed to the gradual gain of normal pregnancy, is a red flag that warrants immediate medical evaluation.

Less Common Causes

Cellulitis, a bacterial skin infection, can cause localized swelling in the legs or ankles along with redness, warmth, and tenderness. If it progresses, it can lead to bone infections in the spine (osteomyelitis) that produce lower back pain, or even meningitis, which causes back and leg pain along with fever, headaches, and neurological symptoms. Deep vein thrombosis (a blood clot in the leg) can also cause swelling in one ankle, and the reduced mobility it causes can aggravate existing back problems.

Certain medications are worth considering as well. Drugs for blood pressure, diabetes, and inflammation can cause fluid retention as a side effect, producing ankle swelling. If you’re also dealing with a separate back issue, the two symptoms may coincidentally overlap without sharing a single root cause.

How Doctors Figure Out the Cause

Because so many conditions can produce this combination, doctors typically cast a wide net with initial testing. Blood work usually includes a complete blood count, a metabolic panel that evaluates kidney function, liver enzymes, albumin levels, thyroid hormones, and a marker called atrial natriuretic peptide that helps detect heart failure. A urinalysis checks for protein or other abnormalities that point to kidney damage.

Imaging depends on which direction the initial results point. An echocardiogram (ultrasound of the heart) can assess pumping function if heart failure is suspected. An abdominal ultrasound can evaluate the liver for cirrhosis or check for ascites. MRI of the spine may be ordered when a musculoskeletal or neurological cause seems more likely, such as a herniated disc, spinal stenosis, or an inflammatory condition like ankylosing spondylitis.

If both symptoms have persisted for more than a month without an obvious explanation, that’s a strong signal to pursue diagnostic testing rather than waiting. The combination is especially concerning when accompanied by shortness of breath, rapid unexplained weight gain, fever, or changes in urination, as these suggest the underlying cause may be progressing.