Purpose To investigate changes in macular and panretinal neuroretinal functions by electroretinographic examinations in eyes with diabetic macular edema (DME) treated with intravitreal ranibizumab. Material and methods Sixty-four patients with DME were included in this prospective study. Patients were treated with ranibizumab injection according to the PRN regimen for over 12 months. Before treatment, all patients underwent fundus fluorescein angiography, optical coherence tomography (OCT), best-corrected visual acuity (BCVA) assessment, full-field (ff-ERG), and multifocal electroretinography (mf-ERG). In monthly visits, BCVA and OCT were performed. Besides, mf-ERG recordings were obtained at months 3, 6, 9, and 12, and ff-ERG was performed at month 12. Results Fifty-eight patients completed the study. The mean age was 61.1 +/- 8.5 (39-80) years. The mean number of injections was 6.19 +/- 1.9. The decimal BCVA improved from 0.30 to 0.45 during the 12-month follow-up (p < 0.05). Macular thickness decreased from 413.5 mu m to 329.5 mu m (p < 0.05). The mf-ERG recordings in the central macular region showed improvements N1 and P1 amplitudes at months 9 and 12. There was a positive correlation between the baseline central (p < 001; r: - 0.378 and p < 0.05; r:-0.335, respectively), the second ring (p < 0.05; r: - 0.260 and p < 0.05; r: - 0.270, respectively) P1- and N1-wave amplitudes, and the BCVA at month 12. Full-field ERG recordings showed that peripheral neuroretinal responses were maintained or improved at month 12. Statistically significant improvements in BCVA and macular thickness were observed at all follow-up visits. Conclusion Multifocal electroretinographic recording started to improve 6 months after the beginning of intravitreal ranibizumab treatment in eyes with DME. This improvement was significant at months 9 and 12. A significant improvement in ff-ERG was observed at month 12.