Youth in Tajikistan and Afghanistan struggle to attend secondary school. Educational research indicates that individual, family and community factors are key determinants of educational participation. The question that dominated past research was whether family or community variables had a greater influence on educational participation. Instead, this article asks how the community context shapes the influence of family characteristics on educational participation. Using recent data from the Tajikistan Living Standards Measurement Survey and Afghanistan National Risk and Vulnerability Assessment, we demonstrate ways that school availability, school costs and work opportunities shape individual and family determinants of youth educational participation in Tajikistan and Afghanistan. We find that there is greater divergence between communities in Tajikistan than in Afghanistan.