Once the cause of the ankle swelling is determined, effective treatment can be initiated. Ankle swelling causes the accumulation of fluid within the ankle joint or in the soft tissues surrounding the ankle. A traumatic injury, such as an ankle sprain or a broken ankle, is the most common cause of ankle swelling.