Testing the trade-off between child quantity and quality within a family is complicated by the endogeneity of family size. Using data from the Chinese Population Census, we examine the effect of family size on child educational attainment in China. We find a negative correlation between family size and child outcome, even after we control for the birth order effect. We then instrument family size by the exogenous variation that is induced by a twin birth and find a negative effect of family size on children’s education. We also find that the effect of family size is more evident in rural China, where the public education system is poor. Given that our estimates of the effect of having twins on nontwins at least provide the lower bound of the true effect of family size, these findings suggest a quantity-quality trade-off for children in developing countries.