Nigeria's army chief, Lieutenant General Ibrahim Attahiru, died in an air force plane crash on Friday.
He was on an official visit to the northern state of Kaduna, which has had security challenges in recent months.
The air force said in a statement that its plane crashed near Kaduna airport and that it was investigating the cause.
The presidency added that other military officers were also killed in the crash.
President Muhammadu Buhari, in a presidency statement, described the crash as a "mortal blow ... at a time our armed forces are poised to end the security challenges facing the country."
Nigeria, Africa's most populous nation, has had poor air safety record in the past, although it has improved in recent years.
Buhari appointed Attahiru alongside other military chiefs in January after years of mounting criticism over spreading violence by insurgents and armed gangs.


Britain working with allies to support shipping through Strait of Hormuz
Five Iranian women's soccer players granted humanitarian visas in Australia
Almost 700,000 displaced after Israeli strikes on Lebanon, UN agencies say
Iran fighting back but not stronger than U.S. thought, top U.S. general says
British warship HMS Dragon departs for Eastern Mediterranean
One dead, several injured in Iranian attack on Manama building
Russian drones injure 20 in Ukraine's Kharkiv, Dnipro
Trump says war could be over soon, as Iran rallies behind new leader
