Pain in your ankles and feet at the same time usually points to one of a handful of common causes: tendon inflammation, arthritis, nerve compression, flat feet, or the lingering effects of a sprain you may not remember. Less often, it signals a systemic issue like fluid retention from a heart or kidney problem. The cause depends heavily on where exactly the pain is, when it started, and whether one side or both are affected.
Tendon Problems
The tendons running through your ankle don’t stop at the joint. They continue into your foot, which is why an inflamed tendon can produce pain that seems to span both areas at once. Two of the most common culprits are the peroneal tendons, which run along the outer ankle bone and down the side of the foot, and the posterior tibial tendon, which tracks along the inner ankle and into the arch.
Achilles tendonitis is another frequent cause, producing pain at the back of your lower leg just above the heel. You’ll typically notice it more in the morning, after exercise, or when climbing stairs. There are two forms: one affects the middle of the tendon, causing swelling and thickening partway up, while the other hits right where the tendon attaches to your heel bone. Both can make it feel like your entire rear foot and ankle are involved. Stiffness, tenderness, and mild swelling are the hallmark signs.
Tendon pain tends to build gradually rather than appear overnight. It’s often linked to a recent increase in activity, a change in footwear, or repetitive motions like running or walking on hard surfaces.
Arthritis in the Foot and Ankle
Osteoarthritis wears down the cartilage cushioning your joints, and the foot and ankle contain more than 30 joints where this can happen. The pain tends to be worse in the morning or after sitting for a while, then eases somewhat once you start moving. Over time, the joints may stiffen, swell, or feel tender to the touch.
Rheumatoid arthritis behaves differently. It’s an autoimmune condition, meaning your immune system attacks your own joint tissue. It often affects both feet symmetrically and can cause warmth, redness, and more persistent swelling. Blood tests can help distinguish it from osteoarthritis. Other inflammatory conditions like lupus and ankylosing spondylitis can also target the feet and ankles, though they’re less common.
If you’re over 50 and the pain has crept in slowly over months or years, osteoarthritis is a likely explanation. If you’re younger and the pain came on more suddenly with noticeable swelling in multiple joints, an inflammatory type of arthritis is worth investigating.
Flat Feet and Overpronation
Your foot’s arch acts as a shock absorber. When the arch flattens too much, either because of your natural foot structure or because the supporting tendon has weakened over time, your foot rolls inward with each step. This is called overpronation, and it shifts impact forces in ways your ankle and foot aren’t designed to handle long-term.
That inward roll strains the muscles, tendons, and ligaments that support the arch, producing a dull ache through the inner ankle and the bottom of the foot. People with high arches can experience a mirror version of this problem, with strain concentrated on the outer ankle and foot. Either pattern tends to worsen with prolonged standing or walking and may feel fine when you’re off your feet. Supportive shoes or custom insoles can correct the alignment and reduce the strain significantly.
Nerve Compression
Tarsal tunnel syndrome is essentially the ankle’s version of carpal tunnel syndrome in the wrist. A nerve called the tibial nerve passes through a narrow channel on the inner side of your ankle. When that channel gets compressed by swelling, a cyst, or an inflamed tendon, the nerve fires off distress signals.
The symptoms are distinctive: burning, tingling, numbness, or a “pins and needles” sensation in the bottom of your feet and toes. You might also notice weakness in your foot muscles. The pain can radiate from the inner ankle down into the sole, making it feel like a widespread problem. A simple clinical test involves your doctor tapping the nerve at the ankle. If that reproduces your tingling or pain, it’s a strong indicator of tarsal tunnel syndrome.
Sprains and Injuries
A sprained ankle is one of the most common injuries overall, and the pain doesn’t always stay neatly at the ankle joint. Depending on which ligaments are damaged, you can feel soreness extending into the top or outer edge of the foot. Mild sprains typically heal in one to two weeks. A complete ligament tear, especially one requiring surgery, can take several months.
Not every sprain is dramatic. You can partially stretch a ligament by stepping off a curb awkwardly or walking on uneven ground without even realizing you’ve injured yourself. The resulting low-grade pain may persist for weeks if you keep walking on it without rest. If you’ve had ankle pain since a specific moment when your foot twisted or rolled, a sprain is the most likely explanation, even if it didn’t seem serious at the time.
Swelling on Both Sides
When both ankles and feet are swollen and painful at the same time, and there’s no obvious injury, systemic causes come into play. Fluid retention (called edema) can result from problems with the heart, kidneys, or liver. Medications like blood pressure drugs or anti-inflammatory painkillers can also cause bilateral swelling.
Pregnancy, prolonged sitting or standing, and excess salt intake are more benign explanations. The key distinction is whether the swelling is new and unexplained, especially if you also have shortness of breath, unusual fatigue, or reduced urination. Those combinations deserve a prompt medical evaluation because they can indicate that your heart or kidneys aren’t managing fluid effectively.
What Helps at Home
For pain that started recently and isn’t severe, rest and ice are your first move. Apply ice with a thin barrier (a towel or cloth) for 10 to 20 minutes at a time, repeating every hour or two. This is most effective within the first eight hours after the pain begins or worsens. Keep the affected foot elevated above heart level when you can, which helps reduce swelling by letting gravity assist drainage.
Supportive footwear matters more than most people realize. Worn-out shoes or flat sandals offer almost no arch support and can perpetuate the exact mechanical problems causing your pain. If the pain improves with rest but returns every time you’re active, your shoes or the surfaces you walk on are worth examining closely.
Gentle stretching of the calf and Achilles tendon can relieve tension on the back of the ankle and heel. Rolling a tennis ball under the sole of your foot loosens tight tissue in the arch. These small interventions work best for tendon-related and biomechanical pain, not for acute injuries with significant swelling.
Signs You May Need an X-Ray
After a twisting injury, certain findings strongly suggest a fracture rather than a simple sprain. The Ottawa ankle rules, used in emergency departments worldwide, flag the need for imaging when there’s tenderness along the back edge or tip of either ankle bone, tenderness at the base of the fifth metatarsal (the bony bump on the outer edge of your midfoot), tenderness at the navicular bone (on the inner midfoot), or an inability to take four steps both immediately after the injury and when examined. If any of those apply to you, an X-ray is warranted to rule out a break. Visible deformity, bruising that spreads rapidly, or complete inability to put weight on the foot are additional reasons not to wait.

