To evaluate the postoperative longitudinal refractive changes in children younger than 8 years with ectopia lentis and Marfan syndrome (MFS). Zhongshan ophthalmic center, Guangzhou, China. Retrospective cohort study. Medical data of patients diagnosed with ectopia lentis and MFS that underwent surgery younger than 8 years were collected. Refractive errors and ocular biometric parameters were collected preoperatively and at each follow-up visit. Patients were stratified into groups according to age at surgery, and only the eye operated on first was selected. Multivariate analysis was performed to determine the association between refractive shift and potential risk factors. In total, 54 eyes of 54 patients were enrolled. The median age at surgery was 6.21 years (interquartile range [IQR], 5.25 to 6.85), and the median follow-up was 2.0 years (IQR, 1.2 to 2.8 years). At age 8 years, patients demonstrated a median myopic shift ranged from -1.75 diopters (D) (IQR, -2.75 to -1.00 D) for the 4-year-old group to -0.13 D (IQR, -0.50 to -0.06 D) for the 7-year-old group. Multivariate analysis showed that greater myopic shift was associated with younger age at surgery ( P = .004), male sex ( P = .026), and shorter preoperative axis length ( P = .005). A tendency toward increasing postoperative myopic was demonstrated in children with ectopia lentis and MFS, with the greatest myopic shift in the younger age groups. If the goal is to reach emmetropia by age 8 years, the immediate postoperative hypermetropic targets should be 1.75 D for age 4 years, 1 D for age 5 years, 0.5 D for age 6 years, and 0 to 0.25 D for age 7 years.