In recent years, there has been an increasing risk of hematophagous bat attacks in Latin America, where livestock production is a basic source of food for local populations. In Ecuador, livestock represented an important part of agricultural output. Some cases of cattle bitten by bats in the province of Santa Elena have been reported; however, no previous studies have been conducted to determine the magnitude of the attacks and the associated risk factors. In this research, a cross-sectional descriptive study was performed recording attacks of hematophagous bats (Desmodus rotundus) through visual inspection of livestock and the capture of specimens by mist nets. Generally, the prevalence of D. rotundus attacks on farms was 69%, whereas attacks on bovine had 24% of prevalence. From the captured specimens, 93% were identified as D. rotundus and within the 30% of the captured D. rotundus, no infections for rabies virus were diagnosed. The univariable analysis used for estimating the risk factors associated with bat attacks showed that corrals away from populated centers present the highest risk (odds ratio [OR] = 19.864; p = 0.0004), followed by tree density >30 per hectare (OR = 16.313; p < 0.0001) and predatory birds of bats (OR = 15.375; p < 0.0001); a binary logistic regression model showed "corrals away from populated centers" (OR = 23.47; p = 0.006) as the main risk factor. Linear regression analysis showed good correlation between the number of bovines attacked and the number of bites (R2 = 0.977; p < 0.0001) suggesting some feeding patterns of D. rotundus. This study could be used as a starting point for understanding the feeding habits of D. rotundus and factors governing their attacks in coastal regions of Ecuador, and potential occurrences of rabies infections. With this knowledge, surveillance and control programs can be supported to improve rabies transmission monitoring.