The human pathogen Escherichia coli O157:H7 is thought to be spread by direct or indirect contact with infected animal or human faeces. The present study investigated the effects of the plant coumarin esculin and its aglycone esculetin on the survival of a strain of E. coli O157 under gut conditions. The addition of these compounds to human faecal slurries and in vitro continuous-flow fermenter models simulating conditions in the human colon and rumen caused marked decreases in the survival of an introduced strain of E. coli O157. When four calves were experimentally infected with E. coli O157 and fed esculin, the pathogen was detected in five of twenty-eight (18 %) of faecal samples examined post-inoculation, compared with thirteen of thirty-five (37 %) of faecal samples examined from five control calves not fed esculin. Coumarin compounds that occur naturally in dietary plants or when supplemented in the diet probably inhibit the survival of E. coli O157 in the gut.