CONTEXTIn the humid tropics, the socioecological advantages of family-based, multistory agroforestry systems are well recognized. Yet public policies tend to focus on conservation and land-sparing strategies alongside the promotion of modern intensive agriculture, neglecting these biodiverse agroecosystems, which are in decline. This is a particularly central issue in cocoa cultivation. In Africa's two largest cocoa-producing countries (Côte d'Ivoire and Ghana), cocoa plantations with few associated trees contribute to deforestation and biodiversity loss. In contrast, in regions like Cameroon, biodiversity-rich cocoa agroforests prevail. Considering global changes and rising cocoa demand, it is crucial to preserve and develop these agroforestry systems that reconcile cocoa production with ecosystem services. OBJECTIVEThis study, conducted in Cameroon between 2013 and 2017, aimed to pinpoint the socioeconomic factors influencing the characteristics, maintenance, and degradation of cocoa agroforests, with the ultimate goal of identifying intervention strategies to promote their preservation and development. METHODSThe study collected data from (i) on-field measurements in 95 cocoa agroforestry plots, (ii) interviews with the 95 farmers managing the plots, and (iii) historical interviews with 50 key informants. We focused on five sites across a gradient of population density, encompassing various socioecological environments and types of cocoa agroforests. Through thematic and statistical analyses, we evaluated differences between the five sites. RESULTS AND CONCLUSIONSOur results indicated contrasting management practices, dendrometric structure, species composition, and cocoa yields between sites. These contrasts largely reflected socioeconomic factors and site-specific dynamics. Cocoa agroforests were less rich in biodiversity in sites where farmers with capital using hired labor had acquired land than in sites where family farmers predominated. A trade-off was found between the richness of companion trees and cocoa yields. Plots managed by smallholder family farmers near urban areas tended to better reconcile cocoa production and biodiversity conservation. These farmers had gradually transformed their traditional agroforests to adapt to increasing demographic pressure by integrating diverse fruit tree species, using pesticides sparingly, and introducing selected cocoa varieties mixed with older varieties. SIGNIFICANCEThe small-scale family-managed cocoa agroforests, which incorporate fruit species as described in this study, could serve as a model for a more sustainable cocoa production strategy. However, developing such a strategy would require greater investment and support from policymakers. This includes supporting the marketing of products from companion trees, stabilizing cocoa prices at a high level, and implementing land policies that protect small and medium-sized family farmers.