The incident happened at the government middle school in Rampur Bakhra village under Lalganj block.
District Magistrate Jitendra Shrivastava said the 27 school children were admitted to Hajipur Sadar hospital where all of them were stated to be out of danger.
The children complained of stomach pain and vomiting after taking mid-day meal which reportedly contained a dead lizard.
The DM said the District Education Officer has been directed to inquire into the matter.
The police were also probing the issue separately.
Shrivastava said the left out food has been sent for test.
The incident has come close on the heels of death of 23 children after eating mid-day meal at neighbouring Chhapra school on July 16.
Nagpal row: UP govt tries to save face, Congress wakes up
Akhilesh makes surprise visit to Sonia's constituency
Probe ordered into Pak nationals holding ration, voter ID cards
Photos: Army chief's final farewell to brave martyrs
Army Chief Gen Bikram Singh pays respect to martyred jawans