Anaplasmosis is an infectious disease affecting goats and other ruminants. Our goal was to estimate the prevalence of Anaplasma spp. infections, and to identify different tick species in goa ts along with their associated risk factors. The epidemiology of Anaplasma spp. (A. ovis/A. marginale) was investigated from April to September 2016 in dairy goats from three different agro-ecological areas in the northeast region of Algeria (Guelma and El-Taref). We tested 182 goat sera using a MSP5 competitive ELISA (cELISA) test for IgG antibody screening, and by microscopic examination using the Giemsa (May-Greunwald-Giemsa) stain of 128 blood smears to detect intraerythrocytic inclusions bodies. The results demonstrated a total infection rate of 78.02 % and 42.18 % using cELISA and MGG, respectively. Only two species of ticks collected were identified, i. e. Rhipicephalus sanguineus (85.39 %) and Rhipicephalus bursa (14.60 %). Our study revealed that factors, such as the season, the type of farming, the hygienic status and the climatic conditions of the studied areas were found to be significantly associated with the tick infestation of goats (P < 0.05). The Anaplasma spp. infection prevalence was found to be highly dependent on the climatic conditions, the season (P < 0.05) and most closely related to the type of breeding and herd management (P = 0.000).The evaluation of the Giemsa technique showed specificity and sensitivity of 60.71 % and 45.16 % respectively. Calculating the concordance between the two techniques revealed Cohen’s Kappa value of 0.038 in the range 0.21—0.40, which corresponded to a very low agreement. The McNemar test results showed that both tests gave significantly different results (P < 0.05). This work provides evidence for Anaplasma spp. in goats from north-eastern Algeria.