Swelling in the legs and feet is caused by edema (swelling due to fluid buildup) and/or inflammation. Some conditions that can cause both lower back pain and swelling are not serious and can be treated at home, while others demand medical attention.
Source: Verywell Health