A blood clot in the leg can cause swelling. If only one leg is affected that might be a likely cause. A sprained ankle or a bad bruise can cause ankle and foot swelling, often with pain and discoloration. Kidney problems can cause water retention, which often shows up as swollen feet and ankles ...