The foreign ministers of military-ruled Burkina Faso, Mali and Niger on Friday recommended creating a confederation as part of a long-term goal of uniting the West African neighbours within a federation.

Mali and Burkina, ruled by juntas who seized power in coups in 2020 and 2022 respectively, rushed to back Niger's military rulers when they ousted elected president Mohamed Bazoum in July.

They created a pact, the Alliance of Sahel States, setting up closer economic ties and mutual defence assistance if the sovereignty or territorial integrity of a member is threatened.

In a joint statement following a two-day meeting in Mali's capital Bamako, the foreign ministers spoke of the "great potential for peace, stability, diplomatic strength and economic development that a strengthened political alliance offers".

"The ministers... guided by the ambition to ultimately achieve a federation uniting Burkina, Mali and Niger recommend the creation of a confederation to the heads of state of the Alliance of Sahel States," the statement said.

Malian Foreign Minister Abdoulaye Diop said the conclusions will be submitted to their heads of state, who are due to meet in Bamako at an unspecified date.

The military regimes have also formed close ties against international pressure for a swift return to civilian rule and long-running jihadist insurgencies raging in the three countries.

The Bamako meeting aimed to flesh out the workings of the new alliance, with the ministers emphasising the importance of diplomacy, defence and development "to consolidate political and economic integration".

The countries' economy and finance ministers last month recommended creating a stabilisation fund, an investment bank and a committee that would study an economic and monetary union, the statement added.