Deaths were reported from Kaimur, East Champaran, Jehanabad, Gaya, Patna, Vaishali and Muzaffarpur, a Bihar State Disaster Department official said.
In Jharkhand, five persons, including two minors, were killed and another suffered injuries at Kusmahapahadi block of Jamtara district.
The maximum of four people died in Latehar while two died in Lohardaga and Gumla each. Lightning also claimed three lives in Bokaro and one each in Jamshedpur, Palamu, Muri and Piparwar.
The banned CPI (Maoist) had planted as many as 56 IEDs along the route in the Naxal-affected Samri, with an intent to ambush the troopers who were expected to cover the area during their patrol.
The bodies were handed over to their family members after the post-mortem at the district hospital.
Chief Minister Yogi Adityanath has directed the district magistrates of the affected areas to immediately provide compensation to families of those killed and said no laxity will be tolerated.