The relationship between nutrition and ageing is complex. The metabolism and synthesis of micronutrients within the gut microbiome can influence human health but is challenging to study. Furthermore, studying ageing in humans is time-consuming and difficult to control for environmental factors. Studies in model organisms can guide research efforts in this area. This review describes how the nematode Caenorhabditis elegans can be used to study how bacteria and diet influence ageing and inform follow-on studies in humans. It is known that certain bacteria accelerate ageing in C. elegans. This age-accelerating effect is prevented by inhibiting folate synthesis within the bacteria, and we propose that in the human microbiome, certain bacteria also accelerate ageing in a way that can be modulated by interfering with bacterial folate synthesis. Bacterial-derived folates do not promote ageing themselves; rather, ageing is accelerated by bacteria in some way, either through secondary metabolites or other bacterial activity, which is dependent on bacterial folate synthesis. In humans, it may be possible to inhibit bacterial folate synthesis in the human gut while maintaining healthy folate status in the body via food and supplementation. The supplement form of folic acid has a common breakdown product that can be used by bacteria to increase folate synthesis. Thus, supplementation with folic acid may not be good for health in certain circumstances such as in older people or those with an excess of proteobacteria in their microbiome. For these groups, alternative supplement strategies may be a safer way to ensure adequate folate levels.