Medications that can cause swollen ankles include calcium channel blockers to treat high blood pressure, steroids to treat inflammatory conditions, antidepressants, and estrogen and testosterone.