We report a fossil snake from the middle Eocene (48 Ma) Messel Pit, in whose stomach is a lizard, in whose stomach is an insect. This is the second known vertebrate fossil containing direct evidence of three trophic levels. The snake is identified as a juvenile of Palaeopython fischeri on the basis of new characters of the skull; the lizard is identified as Geiseltaliellus maarius, a stem-basilisk; and the insect, despite preserved structural colouration, could not be identified more precisely. G. maarius is thought to have been an arboreal species, but like its extant relatives may have foraged occasionally on the ground. Another, larger specimen of G. maarius preserves plant remains in the digestive tract, suggesting that omnivory in this species may have been common in larger individuals, as in extant Basiliscus and Polychrus. A general picture of the trophic ecology of P. fischeri is not yet possible, although the presence of a lizard in the stomach of a juvenile individual suggests that this snake could have undergone a dietary shift, as in many extant boines.