Autism spectrum disorders (ASD) are complex, polygenic and heterogenous neurodevelopmental conditions. The severity of autism-associated variants is influenced by environmental factors, particularly social experiences during the critical neurodevelopmental period. While early behavioral interventions have shown efficacy in some children with autism, pharmacological support for core features - impairments in social interaction and communication, and stereotyped or restricted behaviors - is currently lacking. In this study, we examined how the social environment influences both wild-type (WT) and Shank3 knockout (KO) mice, a model reflecting core autism-like traits. Our findings revealed that chronic social isolation enhanced social interaction and olfactory neuron responses in WT animals. Furthermore, it restored impairments in social novelty preference and olfactory function, as well as self-grooming in Shank3 KO mice. Conversely, an enriched social environment heightened social interest toward novel conspecifics in WT mice, but elicited the opposite effect in Shank3 KO mice. Notably, Shank3 KO mice displayed distinct social responses when exposed to WT or Shank3 KO mice. These results offer novel insights that could favor the implementation of behavioral interventions and inclusive classroom programs for children with ASD.