To report the change in refractive error over 5 years following primary intraocular lens (IOL) placement by age at surgery, and to identify factors associated with the change in refractive error after 5 years. Prospective observational study at 61 pediatric eye care practices. 186 eyes of 152 children undergoing primary IOL implantation before 13 years of age for non-traumatic cataract. Cataract surgery with primary IOL placement MAIN OUTCOME MEASURES: Five-year change in refractive error (spherical equivalent) by age at surgery (<1 year; 1 to <2.5 years; 2.5 to <4 years; 4 to <7 years; 7 to <13 years). Five-year myopic shift in children 4 to <13 years with immediate postoperative myopia vs emmetropia or hyperopia. Mean spherical equivalent myopic shift (95% confidence interval [CI]) was -5.99 D (-7.64 to -4.34) when surgery was performed at 0 to <1 year of age (n=13), -3.53 D (-4.57 to -2.48) at 1 to <2.5 years (n=28), -1.91 D (-2.55 to -1.26) at 2.5 to <4 years (n=36), -2.04 D (-2.60 to -1.49) at 4 to <7 years (n=60), and -0.83 D (-1.27 to -0.40) at 7 to <13 years (n=49) (P<.01 for each comparison with the oldest group). Variability of myopic shift also decreased with increasing age (P<.01). In eyes of children 4 to <13 years (small sample size precluded analysis of children <4 years), there was significantly less mean change [95% CI] in refractive error over 5 years in eyes with myopia immediately after surgery (-0.69, 95% CI -1.48 to +0.10) than eyes with emmetropia/hyperopia immediately after surgery (-1.70, 95% CI -2.10 to -1.31) (difference = -1.01 D, 95% CI -1.89 to -0.14 D, P=.03). In this large, prospective cohort study of children younger than 13 years of age undergoing cataract surgery with primary IOL placement, there was greater and more variable myopic shift in children undergoing surgery at a younger age. Our finding of less myopic shift over 5 years in eyes with unintended immediate postoperative myopia deserves further study to more accurately guide IOL power selection.