Mature leaves of the sweet pepper, Capsicum annuum, exhibited resistance against the American serpentine leafminer, Liriomyza trifolii (Burgess), Agromyzidae. Based on bioassay-guided fractionation, three compounds, namely 4-aminobutanoic acid, (2S,4R)-4-hydroxy-1-methyl-2-pyrrolidine carboxylic acid and 4-amino-1--D-ribofuranosyl-2(1H)-pyrimidinone, were isolated from the leaves of sweet pepper. These compounds had significant oviposition deterrence towards adult flies of L. trifolii from laying their eggs on host plant leaves treated at 3.70, 16.60 and 6.45 g/cm 2 , respectively.