Intensive agricultural activity over large areas on earth, which is necessary to meet the increasing demand of a growing human population, may lead to biodiversity loss. This loss may be mitigated by keeping natural and semi-natural patches within agricultural fields to allow the maintenance of biological diversity (‘Wildlife Friendly Agriculture’). We conducted our study in an agroecosystem comprised of small isolated patches nested within agricultural fields. We trapped reptiles in 13 sampling sites, each of which included arrays of pitfall traps in a natural patch, in the adjacent wheat field and at the patch-field edge. We conducted six trapping sessions in the spring – four times before, once immediately after and once a week after the wheat harvest. Prior to the harvest, we found an intensive movement of Trachylepis vittata, the most common reptile in our study, from the semi-natural patches into the fields, but negligible movement in the opposite direction. This pre-harvest directional movement corresponded with higher abundance of prey (i.e., arthropods) in the wheat field compared to the natural patches in early spring. The individuals that moved into the fields were adults of better body condition than those remaining in the patch, suggesting that the motivation for movement was habitat preference by individuals with high prospective fitness rather than the exclusion of subordinates. The population of T. vittata in the wheat fields and movement across habitats dropped to zero during and after the harvest. Our results provide strong evidence that the agricultural fields serve as an ecological trap to organisms inhabiting nearby natural habitats. We suggest that plans for Wildlife-Friendly Agriculture for biodiversity conservation should consider also potential negative effects, such as the ecological trap effect