Food safety regulations increasingly pressure growers to remove hedgerows, ponds and other natural habitats from farms to keep out pathogen-carrying wildlife and livestock. Yet, this could come at the cost of biodiversity.