Macular edema is a condition in which there is swelling in the macula, the part of the retina that gives you your best vision. This swelling can cause your vision to get bad. When it is diagnosed early and treated, you vision usually can be preserved. However, if the swelling goes untreated for several months, it can cause permanent vision loss.