Hot weather can cause the feet to swell and not having enough potassium. If you walk or stand for long periods, this could cause the feet, ankles, and legs to suffer from swelling. Too much caffeine or salt will also create this problem.