Thyroid hormones are essential for neurodevelopment. Few studies have considered associations with quantitatively measured autism spectrum disorder (ASD)-related traits, which may help elucidate associations for a broader population. Participants were drawn from two prospective pregnancy cohorts: the Early Autism Risk Longitudinal Investigation (EARLI), enrolling pregnant women who already had a child with ASD, and the Health Outcomes and Measures of the Environment (HOME) Study, following pregnant women from the greater Cincinnati, OH area. Gestational thyroid-stimulating hormone (TSH) and free thyroxine (FT4) were measured in mid-pregnancy 16 (±3) weeks gestation serum samples. ASD-related traits were measured using the Social Responsiveness Scale (SRS) at ages 3-8 years. The association was examined using quantile regression, adjusting for maternal and sociodemographic factors. 278 participants (132 from EARLI, 146 from HOME) were included. TSH distributions were similar across cohorts, while FT4 levels were higher in EARLI compared to HOME. In pooled analyses, particularly for those in the highest SRS quantile (95th percentile), higher FT4 levels were associated with increasing SRS scores (β = 5.21, 95% CI = 0.93, 9.48), and higher TSH levels were associated with decreasing SRS scores (β = -6.94, 95% CI = -11.04, -2.83). The association between TSH and SRS remained significant in HOME for the 95% percentile of SRS scores (β = -6.48, 95% CI = -12.16, -0.80), but not EARLI. Results for FT4 were attenuated when examined in the individual cohorts. Our results add to evidence that gestational thyroid hormones may be associated with ASD-related outcomes by suggesting that relationships may differ across the distribution of ASD-related traits and by familial likelihood of ASD.