Dogs (Canis lupus familiaris) are one of the most widely kept companion animals and are frequently affected by ectoparasite infestations due to their close contact with humans and environmental exposure. This makes them potential reservoirs and sentinel hosts for various vector-borne pathogens including those of zoonotic concern. Theileria ovis is primarily a tick-borne hemo-protozoan parasite of small ruminants; however, dogs may become infected indirectly through exposure to infected ticks that commonly infest multiple host species. The present study investigated the molecular prevalence and the phylogenetic associations of Theileria ovis in dogs that were enrolled from District Charsadda in Khyber Pakhtunkhwa. A total of 165 blood samples along with epidemiological data were collected during December 2024 until May 2025 and they were screened for the presence of Theileria ovis by using PCR that targeted the 18S rRNA gene of this parasite. Out of 165 blood samples 25 (15.15%) yielded a ~520 bp amplicon specific for Theileria ovis. Sanger sequencing and BLAST analysis confirmed the presence of Theileria ovis. Phylogenetic analysis showed that the sequences obtained in this study clustered closely with the 18S rRNA gene of Theileria ovis previously reported from ruminants in Pakistan and India. No significant association was observed between Theileria ovis infection and risk factors such as age (P = 1), sex (P = 0.3), breed (P = 0.7) or the presence of ticks on screened dogs (P = 0.4). In conclusion, for the first time, we are reporting a relatively high molecular prevalence (15.15%) of Theileria ovis in dogs from Charsadda district in Khyber Pakhtunkhwa Pakistan. These findings underscore the need for broader epidemiological surveys across the country to better understand the distribution, genetic diversity, transmission dynamics and potential zoonotic implications of Theileria ovis in canine populations.