Sudden ankle swelling is usually caused by fluid building up in the tissues of your lower legs, a condition called peripheral edema. It can stem from something as simple as sitting too long or taking certain medications, or it can signal a more serious problem with your heart, kidneys, or blood vessels. The key to figuring out what’s going on is whether the swelling affects one ankle or both, how quickly it appeared, and what other symptoms came with it.
One Ankle vs. Both Ankles
This distinction matters more than almost anything else when sorting out the cause. Swelling in just one leg raises concern for a blood clot (deep vein thrombosis), an injury, an infection, or a problem with the veins or lymph nodes on that side. Swelling in both legs at the same time points more toward a systemic issue: your heart isn’t pumping efficiently, your kidneys aren’t filtering properly, or something is causing your body to retain fluid across the board.
If you notice one leg is swollen while the other looks normal, and the swollen leg feels warm, tender, or has changed color to red or purple, that pattern is characteristic of a blood clot. The pain often starts in the calf and can feel like a deep cramp or soreness. This is one of the situations where timing matters: a blood clot needs medical attention quickly because it can break loose and travel to the lungs.
Common Causes That Aren’t Emergencies
Many cases of sudden ankle swelling have an explanation that becomes obvious once you think about your recent activities or habits. Sitting for hours without moving, especially on a long flight or road trip, lets gravity pull fluid into your lower legs. Standing all day does the same thing. In both cases, your calf muscles aren’t contracting enough to push blood back up toward your heart, so fluid pools around your ankles.
Excess body weight puts additional pressure on your veins and makes it harder for blood to return from your legs. A diet high in salt can cause your body to hold onto extra water, and the effect shows up first in your ankles and feet because gravity does the rest. Hot weather also contributes: your blood vessels dilate to release heat, and some fluid leaks into surrounding tissues.
Injuries are another straightforward cause. A sprained ankle, a stress fracture, or even overuse from a new exercise routine can trigger inflammation that looks and feels like sudden swelling. If you can trace the swelling back to a specific moment of pain or a change in activity, that’s likely your answer.
Medications That Cause Ankle Swelling
Several widely prescribed drugs list ankle swelling as a side effect, and it can appear weeks or even months after you start taking them. Blood pressure medications in the calcium channel blocker family are among the most common culprits. The swelling is dose-related: at lower doses, somewhere between 1 and 15% of people develop it, but at high doses taken long-term, the rate can exceed 80%. Amlodipine and nifedipine are particularly well-known for this effect.
Over-the-counter pain relievers like ibuprofen and naproxen also cause fluid retention, especially with regular use. Diabetes medications, hormone therapy (including estrogen and testosterone), and certain antidepressants can do the same. If your ankle swelling started after a new prescription or a dosage change, that connection is worth exploring with whoever prescribed the medication.
Heart, Kidney, and Liver Problems
When the swelling is in both legs and came on without an obvious trigger, the concern shifts to how well your organs are working. In heart failure, the heart can’t pump blood forward efficiently, so pressure builds in the veins and forces fluid out into surrounding tissues. Your kidneys respond to this reduced blood flow by holding onto sodium and water, which makes the problem worse. The result is a cycle: weaker pumping leads to more fluid retention, which leads to more swelling.
Kidney disease on its own can cause the same kind of fluid buildup. When the kidneys lose their ability to filter waste and balance fluids, excess water accumulates throughout the body, and the ankles are where you notice it first. Liver disease, particularly cirrhosis, reduces the production of a protein called albumin that helps keep fluid inside your blood vessels. Without enough of it, fluid leaks out into tissues.
These organ-related causes tend to produce swelling that gets worse over the course of the day, improves somewhat overnight when you’re lying flat, and may be accompanied by other symptoms: shortness of breath, fatigue, changes in urination, or abdominal bloating. The swelling often leaves a visible dent when you press on it with your finger, which is called pitting edema. Doctors grade this on a 1-to-4 scale based on how deep the dent is and how long it takes to bounce back. A grade 1 pit is about 2 millimeters deep and rebounds immediately. A grade 4 pit is 8 millimeters deep and takes two to three minutes to fill back in.
Sudden Swelling During Pregnancy
Some ankle swelling during pregnancy is completely normal, especially in the third trimester. But a sudden increase in swelling, particularly if it also appears in your hands and face, can be a sign of preeclampsia. This is a serious pregnancy complication involving high blood pressure and organ stress. Other warning signs that accompany preeclampsia include severe headaches, visual changes like blurring or flashing lights, intense pain just below the ribs, and persistent nausea or vomiting. If you’re pregnant and your swelling escalates rapidly alongside any of these symptoms, contact your midwife or maternity unit immediately.
How to Check Your Swelling at Home
Press a finger firmly into the swollen area for about five seconds, then release. If the skin bounces right back, the swelling may be from inflammation or a lymphatic issue. If it leaves a noticeable dent that takes several seconds to fill, you’re dealing with fluid-based edema.
Compare both legs. Look for differences in size, skin color, and temperature. Check whether the swelling extends above your ankle into your calf or stays localized. Note whether it’s worse at the end of the day or present first thing in the morning. All of these details help narrow down the cause and will be useful if you see a doctor.
What Helps Reduce the Swelling
For swelling caused by prolonged sitting, standing, or minor fluid retention, elevating your legs above heart level is the single most effective thing you can do. Lie on your back and prop your legs on pillows or rest them against a wall. Even 15 to 20 minutes makes a noticeable difference. Moving around regularly throughout the day keeps your calf muscles acting as pumps to push fluid back up.
If the swelling follows an injury, the standard approach is rest, ice, compression with an elastic bandage, and elevation for the first 48 to 72 hours. Reducing salt intake helps with fluid-related swelling by lowering the amount of water your body holds onto. Compression socks or stockings, available at most pharmacies, apply gentle pressure that prevents fluid from pooling.
These measures work well for benign causes. They won’t resolve swelling caused by a blood clot, heart failure, kidney disease, or a medication side effect. Those require a different kind of intervention.
Red Flags That Need Prompt Attention
Certain combinations of symptoms alongside ankle swelling signal something that needs medical evaluation sooner rather than later. Swelling in one leg only, with warmth and pain, suggests a possible blood clot. Swelling paired with shortness of breath could point to a heart or lung problem. A fever alongside a red, hot, swollen ankle raises concern for an infection like cellulitis.
Other warning signs to take seriously: severe pain that limits your ability to walk, coughing or vomiting blood, yellowing of the skin or eyes, and swelling that appeared suddenly and keeps getting worse despite elevation and rest. A personal or family history of heart, lung, liver, or kidney disease lowers the threshold for seeking care, because ankle swelling in that context is more likely to reflect a flare or progression of an underlying condition.
What a Doctor Will Do
Evaluation typically starts with a physical exam and a conversation about your medical history, medications, and recent activities. In many cases, that’s enough to identify the cause. When it’s not, the next steps may include blood tests to check kidney and liver function, an ultrasound of the leg veins to rule out a blood clot, or imaging of the heart to assess how well it’s pumping. The specific workup depends on which diagnosis your doctor suspects based on the pattern of your symptoms.

