Analysis of the seed endophyte of the climate-smart crop fonio indicated that despite possessing a heritable core microbiome, native conditions may shape the overall fonio seed microbiomes in different populations. These distinct microbiomes could play important roles in the adaptation of fonio to different environmental conditions. Our study identified the seed microbiome as a potential target for enhancing crop resilience to climate stress in a sustainable way. Video Abstract.