Toxorhynchites mosquitoes have an exclusively phytophagous feeding habit as adults, which leads to significant differences in their morphophysiology compared with haematophagous mosquitoes. However, the molecular mechanisms of digestion in this mosquito are not well understood. In this study, RNA sequencing of the posterior midgut (PMG) of the mosquito Toxorhynchites theobaldi was undertaken, highlighting its significance in mosquito digestion. Subsequently, a comparison was made between the differential gene expression of the PMG and that of the anterior midgut. It was found that the most abundant proteases in the PMG were trypsin and chymotrypsin, and the level of gene expression for enzymes essential for digestion (such as serine protease, α-amylase and pancreatic triacylglycerol lipase) and innate immune response (including catalase, cecropin-A2 and superoxide dismutase) was like that of haematophagous mosquitoes. Peritrophin-1 was detected in the entire midgut, with an elevated expression level in the PMG. Based on our findings, it is hypothesized that a non-haematophagic habit might have been exhibited by the ancestor of Tx. theobaldi, and this trait may have been retained. This study represents a pioneering investigation at the molecular level of midgut contents in a non-haematophagous mosquito. The findings offer valuable insights into the evolutionary aspects of feeding habits in culicids.