We document and analyze the emergence of a substantial gender gap in mathematics in the early years of schooling using a large, recent, and nationally representative panel of children in the United States. There are no mean differences between boys and girls upon entry to school, but girls lose...