Piroplasmosis and anaplasmosis are serious tick-borne diseases (TBDs) that are concerning for the public and animal health. This study aimed to detect the molecular prevalence and epidemiological risk factors of Piroplasma and Anaplasma species in animal hosts and their associated ticks in Egypt. A total of 234 blood samples and 95 adult ticks were collected from animal hosts (112 cattle, 38 sheep, 28 goats, 26 buffaloes, 22 donkeys, and 8 horses) from six provinces of Egypt (AL-Faiyum, AL-Giza, Beni-Suef, Al-Minufia, Al-Beheira, and Matruh). Blood and tick samples were investigated by polymerase chain reaction coupled with sequencing targeting 18S and 16S RNA genes for Piroplasma sp. and anaplasmataceae, respectively. Statistical analysis was conducted on the potential epidemiological factors. Of the 234 animals examined, 54 (23.08%) were positive for pathogens DNA distributed among the six provinces, where 10 (4.27%) were positive for Piroplasma sp., 44 (18.80%) for anaplasmataceae, and 5 (2.14%) were co-infected. Co-infections were observed only in cattle as Theileria annulata and Anaplasma marginale plus Babesia bigemina, A. marginale plus B. bigemina, and T. annulata plus B. bigemina. Piroplasmosis was recorded in cattle, with significant differences between their prevalence in their tick infestation factors. Animal species, age, and tick infestation were the potential risk factors for anaplasmosis. All ticks were free from piroplasms, but they revealed high prevalence rates of 72.63% (69/95) with anaplasmataceae. We identified T. annulata, B. bigemina, and A. marginale in cattle; A. platys in buffaloes; A. marginale and A. ovis in sheep; for the first time, A. ovis in goats; and Ehrlichia sp. in Rhipicephalus annulatus ticks. Our findings confirm the significant prevalence of piroplasmosis and anaplasmosis among subclinical and carrier animals in Egypt, highlighting the importance of the government developing policies to improve animal and public health security.