Risk factors related to herd and farmer status, farm and pasture management, and environmental factors derived by satellite data were examined for their association with the prevalence of F. hepatica in sheep and goat farms in Thessaly, Greece. Twelve farms (16·2%) and 58 farms (78·4%) of 74 had evidence of infection using coproantigen and serology respectively. The average normalized difference vegetation index (NDVI) of farm location for 12 months before sampling was the most significant environmental risk factor for F. hepatica infection based on high seropositivity. The risk of infection increased by 1% when the value of NDVI increased by 0·01 degree. A geospatial map was constructed to show the relative risk (RR) of Fasciola infection in sheep and goat farms in Thessaly. In addition, geospatial maps of the model-based predicted RR for the presence of Fasciola infection in farms in Thessaly and the entire area of Greece were constructed from the developed model based on NDVI. In conclusion, this study demonstrated that Thessaly should be regarded as an endemic region for Fasciola infection and it represents the first prediction model of Fasciola infection in small ruminants in the Mediterranean basin.