Swelling of the legs and feet is typical when flying. Usually, it's not harmful. The most likely cause is spending a lot of time in a stationary position. Blood pools in the veins of the legs when one sits with feet on the floor for an extended period of time.