The president of Burkina Faso was arrested on Monday and detained by soldiers along with members of his cabinet, security sources said.
This was one day after troops staged a mutiny.
Soldiers rose up at several army bases across the West African country on Sunday.
They demanded the sacking of the military top brass and more resources to fight the insurgency that erupted in 2015.
President Roch Marc Christian Kabore, in power since 2015, won re-election in 2020 vowing to prioritize the fight against the insurgency.
He has faced rising public anger about failure to stop the bloodshed.
Burkina Faso has seen several coups or attempted coups.
In neighboring Mali, where the insurgency began before crossing the border, the military toppled the civilian government in 2020.
Burkina Faso is a landlocked country of 21 million people in West Africa with a Muslim majority population.