The strike happened on Wednesday when an aircraft of Nigerian Air Force (NAF) spotted a Boko Haram gun truck with scores of fighters in the forest, NAF spokesman Ibikunle Daramola said in a statement.
He said the forest was a hideout for the terrorists who prepared to attack nearby troops positions and some terrorists were also seen pushing another vehicle to a location in the area.
Several NAF jets attacked targeted spots in turn, killing scores of the Boko Haram fighters and destroying their many structures, he said, without revealing the exact number of deaths.
Daramola said the air force, in concert with surface forces, would continue to attack the rest of the terrorists in northeastern Nigeria.
The northeast region has been destabilized for over a decade by Boko Haram, which most notoriously kidnapped hundreds of schoolgirls in 2014.
Boko Haram is known for its agenda to maintain a virtual caliphate in the most populous African country.