Chinese rural students' perception of parental educational expectation affects their cognitive ability through their own educational expectations. The number of migrant parents within a family further moderates the indirect effect of education expectation.