Purpose. Improving the efficiency of surgical treatment of patients with diabetic macular edema and epiretinal membrane. Material and methods. Clinical studies were based on the analysis of morphological and functional parameters of the central retina. Patients with diffuse diabetic macular edema (DME) and epiretinal membrane (ERM) made up group A (main) of 96 people (96 eyes). Group B (control) included 22 patients (44 eyes) without ophthalmological diseases. Depending on the chosen method of surgical treatment, patients in group A were divided into three subgroups. Results. According to the data of optical coherence tomography, it was revealed that the average index of retinal thickness as a result of edema increased by 1.35 times (p=0.011) compared with group B. When conducting microperimetry in the macular zone in patients of group A, the total light sensitivity was reduced in 1.88 times compared with group B (p=0.028). Comparative analysis of long-term results of surgical treatment of patients with DMO and ERM showed that complex simultaneous vitrectomy and administration of an angiogenesis inhibitor is preferable compared to delayed administration of drugs, which is confirmed by a decrease in the total thickness of the retina in 78.3% of cases, preservation of the total photosensitivity of the central part of the retina on average, up to 15.3±3.24 dB, visual acuity - up to 0.51±0.22, no recurrence of edema in 63.4% of patients and the development of ERM - in 100% of cases. Conclusion. If the central thickness of the retina at the preoperative stage is less than 400 microns, it is possible to use a step-by-step method (vitrectomy + intravitreal administration of an angiogenesis inhibitor after 1 month). The use of the proposed one-step operation technique is preferable when the retina thickness is more than 400 microns. Vitrectomy with peeling of the internal limiting membrane in patients with cysts in the retinal edema zone with a diameter of more than 200 µm does not lead to a positive anatomical and functional result. Key words: diabetic macular edema, angiogenesis inhibitor, vitrectomy, microperimetry, epiretinal membrane.