Depending on its cause, edema can last from 30 minutes to more than a month. However, if the swelling persists even after a month, it is best to see your physician.