There are many causes of leg edema, including certain health conditions or medications. Older adults and pregnant women are most likely to get edema. But it can happen to anyone.