BACKGROUND/AIMS: To evaluate the electroretinographic (ERG) changes in the early postoperative period following glaucoma filtration surgery, and its relationship with choroidal detachment (CD). METHODS: This retrospective observational single-centre study included 57 consecutive patients with primary open-angle glaucoma who underwent unilateral glaucoma filtration surgery. The patients were divided into two groups according to the presence or absence of CD. ERG components, including the photopic negative response (PhNR), a-wave and b-wave were compared before and after surgery using skin electrodes. RESULTS: There were 46 patients in the non-CD group and 11 in the CD group. ERG was recorded within 5.1 (2.1 to 8.1) (mean (95% CI)) days after surgery. In the non-CD group, the PhNR amplitude, PhNR/b-wave amplitude ratio and PhNR implicit time improved significantly after surgery (p=0.008, 0.002 and 0.039, respectively). In the CD group, the amplitude of the PhNR, a-wave and b-wave were significantly deteriorated after surgery (p=0.002, 0.001 and 0.001, respectively). Postoperative intraocular pressure (IOP) (p=0.031) and postoperative CD (p<0.001) were significantly associated with change in the PhNR amplitude in the univariate models. In the multivariate analysis, severe CD (stage 3) cases tended to be deteriorated more. CONCLUSION: Even in the early postoperative period within several days, the PhNR amplitude increased with IOP lowering following filtration surgery in the absence of CD. The presence of CD may arrest the improvement of the retinal ganglion cell function. The present results enhance understanding the structural and functional recovery after glaucoma surgery and the role of postoperative CD.