Heart failure is one cause of swollen legs, but it is not the only cause. There are many causes of leg edema and many can be effectively treated. Medical evaluation is essential in treating and managing this problem.