A total of 20 749 bulk tank milk (BTM) samples was collected in November 2008 from all over Germany, corresponding to 20·9% of all German dairy herds. The BTM samples were analysed for antibodies against Fasciola hepatica using the excretory–secretory (ES) ELISA. A geospatial map was drawn to show herd prevalences per postal code area. Various spatial risk factors were tested for potential statistical associations with the ELISA results in logistic regression supported by a geographical information system (GIS). The mean seroprevalence was 23·6% and prevalences in different German federal states varied between 2·6% and 38·4%. GIS analysis revealed statistically significant positive associations between the proportion of grassed area and water bodies per postal code area and positive BTM ELISA results. This can be explained by the biology of the intermediate host, the amphibious snail Galba (Lymnea) truncatula and the pasture-borne nature of fasciolosis. The full logistic regression model had a Pseudo-R2 of 22%, while the final model obtained by controlled stepwise model building revealed a Pseudo-R2 of 14%, indicating that additional, unrecorded factors and random effects contributed substantially to the occurrence of positive ELISA results. Considering the high seroprevalences in some areas and the economic impact of fasciolosis, farmers and veterinarians should be strongly advised to implement effective liver fluke control programmes.