This dataset contains information about the pairwise food web relationships between three trophic groups in montane deciduous forest in Western Sichuan, China: (i) Chinese tree species in the family Fagaceae; (ii) herbivorous Cynipid gallwasps (Hymenoptera: Cynipidae: Cynipini) collected from the tree species; & (iii) parasitoid wasps reared from the Cynipid galls. The records are for samples collected between November 2017 and June 2022 from two sites (Emeishan and Mianning) in Sichuan Province. The dataset contains 9 tables: Three are tables of relationships between galls and trees, at each of Emeishan and Mianning, and for both sites combined. Three are tables of relationships between parasitoids and trees, at Emeishan, Mianning, and for both sites combined. And three are tables of relationships between galls and parasitoids, at Emeishan, Mianning, and for both sites combined. The data were collected during individual tree-level surveys funded by a NERC Discovery grant (NE/T000120/1): ‘TRICOMM: Structure, assembly and evolution of natural tritrophic communities’. Full details about this dataset can be found at https://doi.org/10.5285/b5455ff8-81c3-4c9f-b2d2-6ff1a0db9951