In general, you should elevate your legs between 10 to 30 minutes which is the ideal duration for swelling, rest, and after exercise.