This study primarily focuses on exploring the nature of anisotropic spheres within the framework of extended symmetric teleparallel gravity. To accomplish this, an anisotropic matter distribution for gravity model with Tolman–Kuchowicz spacetime is considered. Through this analysis, the necessary conditions for matching the interior and exterior geometries of the spheres are discussed and calculated the values of the unknown parameters involved. Furthermore, the physical properties of these spheres are analyzed using observational data from compact objects. The results demonstrate that the interior solutions obtained for anisotropic spheres fulfill all requisite physical criteria, thereby ensuring the stability of our model.