The aim of this study was to assess the effect of ecological and integrated farming on the occurrence of epigeic animal groups. The earth trap method was used, were exposed in Pisum sativum and Hordeum vulgare. The experiment was performed from 2015 to 2017 at the research fields of the Plant Biology and Ecology Centre in Nitra. During the three-year period, 11,866 exemplars were collected from 21 taxonomic groups. Under integrated farming of 5,456 exemplars belonging to 20 groups were collected, in the ecological farming of 6,410 exemplars belonging to 19 groups were collected. The decreasing tendency of abundance in most groups was recorded. Both types of farming showed the Coleoptera, Acarina, Araneida, Collembola as the highly dominant groups. The Opilionida occurred subdominantly. The occurrence of others was recedent or subrecedent. The presence of these animal groups in the agroecosystem increases its biodiversity. The impact of cultivated crops, temperature and type of farming on occurrence of animal epigeic groups was significant. The impact of precipitation was non-significant. The faunistic similarity was of 85.71%, the identity of dominancy was of 95.57%. The highest value of diversity was recorded in the integrated farming with Pisum sativum, in ecological farming with Hordeum vulgare.