ABSTRACT Gall-inducing insects can change the anatomical pattern of host plant tissues by inducing peculiar gall morphotypes. In this study, the structural changes observed in Lopesia galls on Mimosa tenuiflora resemble those found in other Cecidomyiidae, with two tissue compartments. Nevertheless, the parenchyma layers of the inner compartment, between the mechanical zone and the nutritive tissue, are peculiar. Gall development does not impair the synthesis of any compounds detected by histochemical tests on non-galled tissues of M. tenuiflora. Lignin, polyphenols, alkaloids and terpenoids were detected in the outer compartment, suggesting their involvement in chemical defence of galls. Proteins, reducing sugars and lipids were detected both in outer and inner compartments, whereas nutritive tissue is rich in reducing sugar. This profile is linked with the nutrition of the gall-inducing insect. The Caatinga environment does not seem to constrain the development of galls, but the thick periclinal cell wall and homogeneous parenchyma may contribute to the control of humidity and light radiation, thus favouring the survival of the gall-inducing insect.