Objective To compare the axial length (AL) measured with IOLMaster and contact A-Scan in eyes with macular edema (ME) and to investigate the correlation between measurement difference and foveal thickness.Methods Sixty-seven ME eyes of 42 patients (ME group) and 40 healthy eyes of 30 participants (control group) were enrolled in this study. Foveal thickness was measured with 3D optical coherence topography (OCT)-1000. The AL was prospectively measured by IOLMaster and contact A-scan.The correlation between measurement difference and foveal thickness was analyzed by Pearson correlation analysis.Results Mean foveal thickness of ME eyes was (377.85plusmn;119.84) mu;m. Mean AL by IOLMaster and contact A-scan were (22.95plusmn;0.97) mm and (22.82plusmn;1.04) mm in ME group, and (23.21plusmn;1.08) mm and (23.17plusmn;1.15) mm in the control group respectively. The difference between two groups was statistically significant (t=-3.102,P=0.003). There was no correlation between measurement difference and foveal thickness in ME group (r=-0.097;P=0.447). Conclusions There is a difference of AL measurements using contact A-scan and IOLMaster in ME eyes. However, there was no correlation between measurement difference and the foveal thickness.