Methyl eugenol (ME), is converted into two major phenylpropanoids, 2-allyl-4,5-dimethoxyphenol and trans-coniferyl alcohol, following consumption by the male fruit fly Bactrocera papayae. Chemical analysis of wild male B. papayae rectal glands, where the compounds are sequestered, revealed the presence of ME metabolites in varying quantities. These phenylpropanoids are shown to be involved in the fruit fly defense both in no-choice and choice feeding tests against the Malayan spiny gecko, Gekko monarchus. After being acclimatized to feeding on fruit flies, geckos consumed significantly fewer ME-fed male flies than controls that consumed all the ME-deprived male flies offered throughout a two-week period. Diagnosis of dissected livers from geckos that consumed ME-fed male flies revealed various abnormalities. These included discoloration and hardening of liver tissue, whitening of the gallbladder, or presence of tumor-like growths in all geckos that consumed ME-fed male flies. Control geckos fed on ME-deprived male flies had healthy livers. When given an alternative prey, geckos preferred to eat untreated house flies, Musca domestica to avoid preying on ME-fed fruit flies.