Birth weight is an established risk factor for some pediatric cancers but is dependent on gestational age and sex. Furthermore, it is unclear how associations may differ by infant sex, age at diagnosis, maternal race/ethnicity and maternal nativity status. We examined the association between size for gestation and a spectrum of pediatric cancers registered in the Texas Cancer Registry from 1995 to 2011. We analyzed up to 7547 cases and 37 735 controls. Analyses were conducted using logistic regression. Small‐for‐gestational age (SGA) and large‐for‐gestational age (LGA) were significantly associated with several tumors. SGA was associated with hepatic tumors (aOR = 1.76, 95% CI: 1.13, 2.74). Conversely, inverse associations were with Hodgkin lymphoma (aOR = 0.41, 95% CI: 0.19, 0.87) and soft tissue sarcomas (aOR = 0.65, 95% CI: 0.43, 0.97). LGA was associated with acute lymphoblastic leukemia (aOR = 1.37, 95% CI: 1.19, 1.57), Burkitt lymphoma (aOR = 1.90, 95% CI: 1.05, 3.45) and germ cell tumors (aOR = 1.55, 95% CI: 1.08, 2.23). Results did not differ when stratified by infant sex. The association with LGA and leukemia was strongest in those diagnosed 1 to 5 and 6 to 10 years. When stratified by maternal race/ethnicity, the association with LGA and neuroblastoma and renal tumors was strongest in children whose mother identified as non‐Hispanic/Latina (H/L) Black. Among H/L women, children of Mexican‐born women had a stronger association with LGA and leukemia, CNS tumors, neuroblastoma and renal tumors than children of US‐born women (aOR range: 1.61‐2.25 vs 1.12‐1.27). Size for gestation is associated with several pediatric cancers. Associations may differ by age at diagnosis, maternal race/ethnicity and nativity.