Species distribution models (SDMs), which are well established in many fields of biological research, are still uncommon in the agricultural risk analysis of pest insects. To exemplify the use of SDMs, we investigated the influence of environmental factors on the occurrence of Hyalesthes obsoletus Signoret (Hemiptera: Cixiidae). The planthopper is the only known vector of the grapevine yellows disease ‘bois noir’. The study was conducted in 145 locations in the Baden region of southwest Germany. The planthopper was surveyed on host plant patches, consisting of stinging nettle and/or bindweeds. We used a stratified modelling framework where (1) species presence–absence data were related to an extensive environmental dataset using logistic regressions; and (2) different types of average models were developed based on an information theoretic method. The results show that the incidence of H. obsoletus is associated to above- as well as below-ground environmental factors, particularly to the amount of fine soil and average annual precipitation. This result was consistent across all average models. The relative importance of other environmental variables was dependent upon the average model under consideration and thus may vary according to their intended use, either the explanation of habitat requirements or the prediction and mapping of occurrence risks. The study showed that SDMs offer a quantification of species’ habitat requirements and thus, could represent a valuable tool for pest management purposes. By providing examples of current issues of grapevine pests in viticulture, we discuss the use of SDMs in agricultural risk analysis and highlight their advantages and caveats.