Swollen ankles are a common side effect of long-haul flights. They most often occur due to the buildup of fluid in the legs, known as edema. Studies show that edema is present in around 97 in 100 people who fly for more than 7 hours. In some other cases, a person's ankles may swell due to DVT.