Emerging evidence suggests that gender dysphoria or gender diversity (GD) intersects frequently with autism spectrum disorder or autism traits. However, the magnitude and interpretation of this link continue to be debated. Most child studies on this topic were performed in clinical populations, and little is known about the generalizability of this co‐occurrence to the broader community, especially to non‐Western samples. Also, little is known about whether specific subdomains of autism are more strongly associated with GD. Therefore, we investigated GD and its association with autism traits in a Chinese community sample of 4–12‐year‐olds (N = 379; 51% birth‐assigned girls). Parents provided information about GD characteristics using the standardized Gender Identity Questionnaire for Children and autism traits using the Chinese version of the Autism‐Spectrum Quotient‐Children. In addition, broader behavioral and emotional challenges were measured by the Behavior Problem Index (BPI) to account for psychological challenges other than autism traits. In this community sample of Chinese children, increased GD was associated with increased autism traits, even after accounting for the BPI. Of the four subscales, the Imagination and Patterns subscales in birth‐assigned girls and the Imagination subscale in birth‐assigned boys were especially associated with GD. These findings indicate that the association between GD and autism traits generalizes to a nonclinical, non‐Western sample. Clinicians and researchers working with clinical as well as community children should thus pay attention to the co‐occurrence of GD and autism traits, in and outside the West.