Ghani was inaugurated in late September after signing a power-sharing deal with his poll rival Abdullah Abdullah, but negotiations over ministerial posts brought politics to a stalemate and threatened to fuel the Taliban insurgency.
The "unity government" deal was seen as saving Afghanistan from the risk of imminent civil war when both candidates claimed to have won the election in a stand-off that fanned long-standing ethnic tensions.
Three women were named in the cabinet, as ministers for higher education, information and culture, and women's affairs.
Allocating the ministries was fraught with difficulty due to Afghanistan's ethnic divisions.
Ghani, a former World Bank economist, is largely backed by Pashtun tribes of the south and east, while Abdullah, a former anti-Taliban resistance fighter, draws his support from Tajiks and other northern groups.
The breakthrough comes at a sensitive time as Taliban insurgents push to exploit the end of NATO's combat mission on December 31 after 13 years of fighting.
