Sustainable Development Goal 6.2 aims to end open defecation by 2030 by ensuring universal access to private household toilets. However, private toilets might not be feasible for poor households. As a result, policy makers and academics have suggested well-managed shared sanitation facilities as an alternative solution. Less is known about the associations between shared sanitation use and health. Using data from the fifth round of the National Family Health Survey from 2019 to 2021, we estimated the association between usual defecation location and child anthropometry outcomes among children under 2 years in India. The primary exposure was usual defecation location at the household level. We compared both shared improved toilet use and open defecation to private, improved toilet use. We used linear regression to estimate the associations between the exposures and linear outcomes: height-for-age Z-score, weight-for-height Z-score, and weight-for-age Z-score. We used Poisson regression with a log link to estimate the prevalence ratios of stunting, wasting, and underweight. After controlling for environmental, maternal, socioeconomic, and child confounders, we found no differences in six child anthropometry outcomes when comparing shared toilet use or open defecation to private toilet use. This finding was consistent across both urban and rural households. Our findings confirm the null associations between private toilet use and child growth found in previous studies, and that this association does not vary if the toilet is being shared. Future research should examine these differences between private and shared toilets in the context of other health outcomes.