Toxoplasma gondii is a zoonotic parasite with a wide host range that includes humans, domestic animals and wild animals. Small mammals serve as intermediate hosts for T. gondii and may contribute to the persistence of this parasite in the environment. Mass mortality in wild animals and deaths in rare endemic species make the study of this parasite of growing importance. In this study, T. gondii infection prevalence was evaluated in brain tissues from 474 small mammals captured at 26 trapping points in urban and rural areas of Tatarstan, Russian Federation. Nested PCR was used to detect the T. gondii B1 gene in the samples. Overall, 40/474 samples (8.44 %) showed B1 gene positivity. T. gondii infection among the wild small mammals trapped in the rural area was significantly higher as a whole than that of the urban area as a whole. Multivariate logistical regression analysis also showed that the trapping area (rural or urban) significantly contributed to T. gondii positivity. Vegetation in the trapping points, small mammal species, sex, age or distance from the trapping points to the nearest human settlements did not significantly affect T. gondii positivity in the sampled small mammals.