Clogmia albipunctata (Williston, 1893) is a non-hematophagous insect belonging to the order Diptera, suborder Nematocera (Lower Diptera) and family Psychodidae. In the present work, we investigated how C. albipunctata control their midgut pH under different physiological conditions, comparing their midgut physiology with some nematoceran hematophagous species. The C. albipunctata midgut pH was measured after ingestion of sugar, protein and under the effect of the alkalinizing hormone released in the hemolymph of the hematophagous sand fly Lutzomyia longipalpis obtained just after a blood meal. The midgut pH of unfed or sugar-fed C. albipunctata is 5.5–6, and its midgut underwent alkalinization after protein ingestion or under treatment with hemolymph collected from blood fed L. longipalpis. These results suggested that in nematocerans, mechanisms for pH control seem shared between hematophagous and non-hematophagous species. This kind of pH control is convenient for successful blood digestion. The independent evolution of many hematophagous groups from the Lower Diptera suggests that characteristics involved in midgut pH control were already present in non-hematophagous species and represent a readiness for adaptation to this feeding mode.