If both your ankles are swollen it can be a symptom of a multitude of medical conditions, including pregnancy, infection, heart problems, and more. It could also be caused by a side effect of medications you’re taking, such as those for high blood pressure, diabetes, and arthritis.